/* =========================
   HERO
========================= */

html {
    scroll-behavior: smooth;
}

.hero {
    position: relative;
    height: 800px;
    overflow: hidden;
    transition: height 2.2s cubic-bezier(.4,0,.2,1); 
}

html {
    scroll-behavior: smooth;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.hero--560 {
    height: 610px;
}

.hero--400 {
    height: 0;
}

#hero-video {
    position: absolute;
    top: 40%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    top: 35%;
    transform: translateY(-50%);
    text-align: center;
    padding: 0 20px;
    color: var(--color-text);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-content p {
    max-width: 760px;
    margin: 0 auto 30px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-soft);
}

.hero-content .btn {
    display: inline-block;
    padding: 15px 30px;
}

/* =========================
   FEATURED products
========================= */

.featured-products .product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.product-item {
    width: 300px;
    padding: 20px;
    text-align: center;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-brand);
    display: flex;
    flex-direction: column;
}



.product-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: var(--radius-sm);
    display: block;
}
.product-item h3 {
    font-size: 1.375rem;
    margin-bottom: 10px;
    color: var(--color-brand);
}

.product-item p {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--color-text-soft);
}

.product-item .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* =========================
   ABOUT US
========================= */

.about-us {
    padding: 60px 0;
    text-align: center;
    background-color: var(--color-bg);
}

.about-us p {
    max-width: 720px;
    margin: 0 auto 20px;
    line-height: 1.7;
    color: var(--color-text-soft);
}

.about-us .btn {
    padding: 12px 25px;
}

/* =========================
   SERVICES
========================= */

.services .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-item {
    width: 280px;
    padding: 30px;
    text-align: center;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-brand);

}


.service-item i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--color-brand);
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--color-brand);
}

.service-item p {
    font-size: 1rem;
    color: var(--color-text-soft);
}

/* =========================
   CONTACT CTA
========================= */

.contact {
    padding: 60px 0;
    text-align: center;
    background-color: var(--color-bg);
}

.contact p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: var(--color-text-soft);
}

.contact .btn {
    padding: 12px 25px;
}



/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .hero {
        height: 600px;
    }

    .hero--560 {
        height: 420px;
    }

    .hero-content {
        top: 45%;
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .featured-products .product-grid,
    .services .services-grid {
        gap: 20px;
    }

    .product-item,
    .service-item {
        width: 100%;
        max-width: 340px;
    }

    .call-button {
        bottom: 20px;
        left: 15px;
        padding: 14px 18px;
        font-size: 0.95rem;
    }
}