/* GLOBAL */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #CFCFCF;
    background: #181818;
}

h1, h2, h3 {
    margin: 0;
}

/*@media (max-width: 600px) {
    .hero-content {
        padding: 0 30px;
    }
}
*/
/* HERO */
.hero {
    position: relative;
    height: 120vh;
    background: url('../img/bg.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #181818;
    z-index: 0;
    background-attachment: fixed;
}

/* Disable fixed background on mobile */
/*@media (max-width: 900px) {
    .hero {
        background-attachment: scroll;
    }
}
*/
.hero-subtext {
    color: #CFCFCF;
    /* font-size: clamp(6rem, 14vw, 20rem); */
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);

    /* Animation fix */
    opacity: 0;
    animation: fadeIn 1.4s ease-out forwards;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0);

    z-index: 999;
    box-sizing: border-box;
}

.cta-btn {
    position: absolute;
    right: 20px;
    top: 45px;
    
    background: #ffb400;
    padding: 10px 18px;
    border-radius: 6px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

.logo {
    height: 100px;
}

.cta-btn {
    background: #ffb400;
    padding: 10px 18px;
    border-radius: 6px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    gap: 5px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 120px;
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/*.hero-content h1 {
    font-size: 150px;
} */

.hero-content p {
    font-size: 36px;
    margin-top: 10px;
}

.hero-buttons {
    margin-top: 30px;
}

.btn {
    background: #ffb400;
    padding: 12px 24px;
    margin: 0 10px;
    border-radius: 6px;
    color: black;
    text-decoration: none;
    font-weight: bold;
}

/* SERVICES */
.services {
    padding: 80px 20px;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #1f1f1f;
    border-radius: 10px;
    padding-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.service-card h3 {
    margin: 20px 0 10px;
}

/* CONTACT */
.contact {
    padding: 20px 20px;
    text-align: center;
    background: #181818;
}

/*.contact-box {
    margin: 30px auto;
    padding: 20px;
    max-width: 400px;
    background: #1f1f1f;
    border-radius: 10px;
}
*/
.pre-footer-cta {
    text-align: center;
    padding: 60px 20px 20px;
}

.cta-offer {
    background: #ffb400;
    padding: 14px 28px;
    border-radius: 8px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease;
}

.cta-offer:hover {
    background: #ffca3a;
    transform: translateY(-2px);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #0a0a0a;
    text-decoration: none;
    color: white;
}

/* MOBILE FIXES
@media (max-width: 800px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .services {
        grid-template-columns: 1fr;
    }
}
/*
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .hero-subtext {
        font-size: clamp(2rem, 8vw, 4rem);
        padding: 0 20px;
    } */