/* ==========================================
   PRODUCTS PAGE STYLES
   Savitri Timbers Pvt. Ltd.
   ========================================== */


/* ===== HERO SECTION ===== */

.products-hero {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 220px 40px 120px;
    background: linear-gradient(
        160deg,
        #0a1f11 0%,
        #0d2b1a 45%,
        #142d1e 100%
    );
}

.products-hero .hero-content {
    max-width: 900px;
    position: relative;
    z-index: 5;
}

.products-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 5vw, 68px);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--white);
}

.products-hero p:not(.tagline) {
    max-width: 700px;
    margin: 0 auto 40px;
}


/* ===== INTRO SECTION ===== */

.products-intro {
    background: linear-gradient(
        135deg,
        #0d2b1a 0%,
        #1a4a2e 100%
    );
    text-align: center;
}

.products-intro h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 52px);
    margin-bottom: 24px;
    color: var(--white);
}

.products-intro p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-light);
    font-weight: 300;
}


/* ===== FEATURED SPECIES ===== */

.featured-species {
    background: var(--green-dark);
}

.species-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.species-detail-card {
    background: rgba(26, 74, 46, 0.25);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-top: 3px solid var(--gold);

    padding: 40px 36px;

    transition: all 0.3s ease;
}

.species-detail-card:hover {
    transform: translateY(-6px);

    background: rgba(45, 106, 71, 0.30);

    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.20);
}

.species-detail-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 600;
    color: var(--white);

    margin-bottom: 24px;
}

.species-detail-card p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-light);

    margin-bottom: 16px;
}

.species-detail-card strong {
    color: var(--gold);
    font-weight: 600;
}


/* ===== APPLICATIONS ===== */

.applications {
    background: linear-gradient(
        160deg,
        #0a1f11 0%,
        #0d2b1a 100%
    );
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;

    margin-top: 60px;
}

.application-card {
    padding: 40px 30px;

    text-align: center;

    border: 1px solid rgba(201, 168, 76, 0.15);

    background: rgba(26, 74, 46, 0.25);

    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-6px);

    background: rgba(45, 106, 71, 0.30);
}

.application-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;

    color: var(--white);

    margin-bottom: 20px;
}

.application-card p {
    font-size: 14px;
    line-height: 1.8;

    color: var(--text-light);
}


/* ===== PRODUCT CTA ===== */

.product-cta {
    text-align: center;

    background: linear-gradient(
        135deg,
        var(--walnut) 0%,
        #2a1505 100%
    );
}

.product-cta h2 {
    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(36px, 4vw, 52px);

    color: var(--white);

    margin-bottom: 24px;
}

.product-cta p {
    max-width: 700px;

    margin: 0 auto 40px;

    font-size: 15px;

    line-height: 1.9;

    color: var(--text-light);

    font-weight: 300;
}

.product-cta .btn {
    padding: 16px 40px;
}


/* ===== ACTIVE NAVIGATION ===== */

header nav a.active {
    color: var(--gold);
    position: relative;
}

header nav a.active::after {
    content: '';

    position: absolute;

    bottom: -8px;
    left: 0;

    width: 100%;
    height: 2px;

    background: var(--gold);
}


/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 992px) {

    .species-detail-grid {
        grid-template-columns: 1fr;
    }

    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-hero {
        padding-top: 180px;
    }

}


@media (max-width: 768px) {

    .products-hero {
        min-height: auto;

        padding: 180px 30px 100px;
    }

    .products-hero h1 {
        font-size: 42px;
    }

    .application-grid {
        grid-template-columns: 1fr;
    }

    .species-detail-card,
    .application-card {
        padding: 32px 24px;
    }

}


@media (max-width: 576px) {

    .products-hero h1 {
        font-size: 36px;
    }

    .products-intro,
    .featured-species,
    .applications,
    .product-cta {
        padding-left: 30px;
        padding-right: 30px;
    }

    .species-detail-card h3 {
        font-size: 30px;
    }

    .application-card h3 {
        font-size: 24px;
    }

}