/* =========================================================
   NISARG ORGANIC FARM - HOMEPAGE STYLE
   Independent recreation stylesheet
   Replace image URLs in HTML later with your own images
========================================================= */

/* ==================== ROOT ==================== */

:root {
    --primary: #294d2c;
    --primary-dark: #18351d;
    --secondary: #d9a441;
    --cream: #f7f4eb;
    --light-cream: #fcfaf5;
    --white: #ffffff;
    --black: #1e1e1e;
    --text: #353535;
    --muted: #747474;
    --border: #e7e3d8;

    --container: 1320px;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;

    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}


/* ==================== RESET ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: none;
    cursor: pointer;
}

ul {
    list-style: none;
}


/* ==================== COMMON ==================== */

.container {
    width: min(92%, var(--container));
    margin: auto;
}

.section {
    padding: 80px 0;
}

.section-light {
    background: var(--cream);
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title .eyebrow {
    display: block;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title h2 {
    color: var(--primary);
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.2;
    font-weight: 700;
}

.section-title p {
    max-width: 700px;
    margin: 15px auto 0;
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}


/* ==================== ANNOUNCEMENT BAR ==================== */

.announcement-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
}

.announcement-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.announcement-content span {
    white-space: nowrap;
}


/* ==================== HEADER ==================== */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 100;
}

.header-main {
    min-height: 86px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 25px;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-right {
    justify-content: flex-end;
}

.logo {
    text-align: center;
}

.logo img {
    max-height: 65px;
    width: auto;
    margin: auto;
}

.logo-text {
    color: var(--primary);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-icon,
.menu-toggle {
    background: transparent;
    color: var(--text);
    font-size: 20px;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    display: grid;
    place-items: center;
}

.menu-toggle {
    display: none;
}


/* ==================== HERO ==================== */

.hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--cream);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(20, 40, 20, 0.75) 0%,
        rgba(20, 40, 20, 0.45) 45%,
        rgba(20, 40, 20, 0.05) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    color: var(--white);
    padding: 70px 0;
}

.hero-content .eyebrow {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 7px 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    margin-bottom: 22px;
    font-weight: 700;
}

.hero-content p {
    max-width: 560px;
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.92);
}

.hero-content .btn-primary {
    background: var(--secondary);
}

.hero-content .btn-primary:hover {
    background: #bf8d2e;
}


/* ==================== TRUST FEATURES ==================== */

.trust-section {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    text-align: left;
}

.trust-item img,
.trust-item .trust-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
}

.trust-item h4 {
    color: var(--primary);
    font-size: 13px;
    line-height: 1.35;
}


/* ==================== CATEGORY GRID ==================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    background: #e8e6de;
    border-radius: 4px;
}

.category-card img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 45px 20px 20px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        transparent
    );
}

.category-overlay h3 {
    color: var(--white);
    font-size: 19px;
    font-weight: 600;
}


/* ==================== PRODUCT SECTION ==================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    background: #f5f4ef;
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
}

.product-info {
    padding: 18px 4px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 8px;
    min-height: 46px;
}

.product-info h3 a:hover {
    color: var(--primary);
}

.rating {
    color: var(--secondary);
    font-size: 13px;
    margin-bottom: 7px;
}

.price {
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
    margin-left: 7px;
}

.product-btn {
    margin-top: 14px;
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.product-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.view-all {
    text-align: center;
    margin-top: 40px;
}


/* ==================== HEALTH CONCERNS ==================== */

.concern-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.concern-card {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    background: #e8e6de;
}

.concern-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.concern-card:hover img {
    transform: scale(1.08);
}

.concern-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 40, 20, 0.85),
        transparent 65%
    );
}

.concern-card h3 {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    z-index: 2;
    color: var(--white);
    font-size: 17px;
    line-height: 1.3;
}


/* ==================== WHY NISARG ==================== */

.why-section {
    background: var(--cream);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.why-image {
    min-height: 560px;
    background: #ddd;
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.why-content .eyebrow {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.why-content h2 {
    color: var(--primary);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    margin: 12px 0 22px;
}

.why-content p {
    color: var(--muted);
    margin-bottom: 25px;
}

.feature-list {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.feature-list li::before {
    content: "✓";
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 13px;
}


/* ==================== FARM JOURNEY ==================== */

.farm-journey {
    background: var(--primary);
    color: var(--white);
}

.journey-header {
    text-align: center;
    margin-bottom: 45px;
}

.journey-header h2 {
    font-size: clamp(32px, 4vw, 50px);
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    gap: 20px;
}

.journey-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 65px;
    height: 65px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-size: 22px;
    font-weight: 700;
}

.journey-step h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.journey-step p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}


/* ==================== CERTIFICATES ==================== */

.certificate-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 10px 0 20px;
}

.certificate-slider::-webkit-scrollbar {
    height: 5px;
}

.certificate-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
}

.certificate-item {
    min-width: 160px;
    height: 180px;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    background: var(--white);
    padding: 20px;
}

.certificate-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* ==================== EXPERT CONSULTATION ==================== */

.expert-banner {
    background: var(--cream);
}

.expert-box {
    min-height: 380px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
}

.expert-content {
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expert-content span {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.expert-content h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    margin: 10px 0 20px;
}

.expert-image {
    min-height: 380px;
    background: #d8d2c1;
}

.expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==================== PARTNER CTA ==================== */

.partner-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.partner-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}

.partner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 52, 26, 0.78);
}

.partner-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    color: var(--white);
    text-align: center;
    margin: auto;
}

.partner-content span {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.partner-content h2 {
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.1;
    margin: 12px 0 20px;
}

.partner-content p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}


/* ==================== TESTIMONIALS ==================== */

.testimonial-section {
    background: var(--light-cream);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border: 1px solid var(--border);
}

.testimonial-stars {
    color: var(--secondary);
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.testimonial-card h4 {
    color: var(--primary);
    font-size: 17px;
    margin-bottom: 10px;
}

.testimonial-card p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 22px;
}

.customer-name {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}


/* ==================== INSTAGRAM / SOCIAL ==================== */

.social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.social-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #e5e5e5;
}

.social-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.social-item:hover img {
    transform: scale(1.1);
}


/* ==================== WHATSAPP COMMUNITY ==================== */

.community-section {
    background: var(--primary);
    color: var(--white);
    padding: 55px 0;
}

.community-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.community-box h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.community-box p {
    color: rgba(255,255,255,0.75);
}

.community-box .btn {
    background: var(--secondary);
    color: var(--white);
    white-space: nowrap;
}


/* ==================== NEWSLETTER ==================== */

.newsletter {
    background: var(--cream);
}

.newsletter-box {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.newsletter-box h2 {
    color: var(--primary);
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 10px;
}

.newsletter-box p {
    color: var(--muted);
    margin-bottom: 28px;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: auto;
}

.newsletter-form input {
    flex: 1;
    height: 52px;
    border: 1px solid var(--border);
    padding: 0 18px;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 0 28px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}


/* ==================== FOOTER ==================== */

.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 45px;
    padding-bottom: 50px;
}

.footer-logo {
    color: var(--white);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-column p,
.footer-column li,
.footer-column a {
    font-size: 14px;
    line-height: 1.8;
}

.footer-column ul {
    display: grid;
    gap: 8px;
}

.footer-column a:hover {
    color: var(--secondary);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.payment-method {
    width: 45px;
    height: 28px;
    background: var(--white);
    border-radius: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}


/* ==================== SCROLL TO TOP ==================== */

.scroll-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}


/* ==================== MOBILE MENU ==================== */

.mobile-menu {
    display: none;
}


/* ==================== TABLET ==================== */

@media (max-width: 1100px) {

    .nav-menu {
        gap: 18px;
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-grid,
    .concern-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ==================== MOBILE ==================== */

@media (max-width: 768px) {

    .section {
        padding: 60px 0;
    }

    .announcement-content {
        gap: 15px;
        font-size: 10px;
    }

    .header-main {
        min-height: 70px;
        grid-template-columns: 40px 1fr auto;
    }

    .nav-menu,
    .header-left .header-icon {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .logo {
        text-align: center;
    }

    .logo img {
        max-height: 48px;
    }

    .header-right {
        gap: 10px;
    }

    .hero {
        min-height: 600px;
    }

    .hero-overlay {
        background: rgba(20, 40, 20, 0.55);
    }

    .hero-content {
        text-align: center;
        margin: auto;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        justify-content: flex-start;
        padding: 10px;
    }

    .trust-item h4 {
        font-size: 12px;
    }

    .category-grid,
    .concern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card,
    .category-card img {
        min-height: 230px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .why-grid,
    .expert-box {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .why-image,
    .why-image img {
        min-height: 400px;
        height: 400px;
    }

    .why-content {
        padding-top: 40px;
    }

    .journey-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .expert-content {
        padding: 45px 30px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .community-box {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form button {
        height: 52px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}


/* ==================== SMALL MOBILE ==================== */

@media (max-width: 480px) {

    .container {
        width: min(94%, var(--container));
    }

    .hero {
        min-height: 520px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .category-grid,
    .concern-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-card,
    .category-card img {
        min-height: 190px;
    }

    .category-overlay h3,
    .concern-card h3 {
        font-size: 14px;
    }

    .product-grid {
        gap: 10px;
    }

    .product-info {
        padding: 12px 2px;
    }

    .product-info h3 {
        min-height: 60px;
        font-size: 13px;
    }

    .journey-steps {
        grid-template-columns: 1fr;
    }

    .expert-image {
        min-height: 280px;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        justify-content: center;
    }
}


/* ==================== IMAGE PLACEHOLDER SUPPORT ==================== */

/*
Use these classes wherever you have not added images yet.

Example:

<div class="image-placeholder">
    Add Image Here
</div>

*/

.image-placeholder {
    min-height: 300px;
    background:
        repeating-linear-gradient(
            45deg,
            #eeeeee,
            #eeeeee 10px,
            #e4e4e4 10px,
            #e4e4e4 20px
        );
    display: grid;
    place-items: center;
    color: #777;
    font-size: 14px;
    font-weight: 600;
    border: 1px dashed #aaa;
}


/* ==================== UTILITY CLASSES ==================== */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}