/* =========================================================
   VEDHA ORGANICS
   MAIN WEBSITE STYLESHEET
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f8faf6;

    color: #26332a;

    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}


/* =========================================================
   COLORS

   Primary Green: #2f7d32
   Dark Green:    #1b5e20
   Light Green:   #eef7ed
   Cream:         #fbfaf4
========================================================= */

:root {

    --green: #2f7d32;

    --dark-green: #1b5e20;

    --light-green: #eef7ed;

    --very-light-green: #f7fbf5;

    --cream: #fbfaf4;

    --gold: #d39a32;

    --text: #26332a;

    --muted: #69736b;

    --white: #ffffff;

    --border: #dfe8dd;

    --shadow:
        0 10px 35px rgba(28, 67, 32, 0.10);

    --radius: 14px;

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: 92%;

    max-width: 1180px;

    margin: 0 auto;

}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {

    height: 38px;

    background:
        linear-gradient(
            90deg,
            #1b5e20,
            #2f7d32,
            #388e3c
        );

    color: white;

    overflow: hidden;

    display: flex;

    align-items: center;

}

.announcement {

    display: inline-block;

    white-space: nowrap;

    padding-left: 100%;

    animation:
        announcementScroll 18s linear infinite;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.2px;

}

@keyframes announcementScroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    background: rgba(255,255,255,0.97);

    position: sticky;

    top: 0;

    z-index: 1000;

    box-shadow:
        0 2px 15px rgba(0,0,0,0.07);

}

.nav-container {

    width: 92%;

    max-width: 1180px;

    margin: 0 auto;

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}

.logo {

    display: flex;

    align-items: center;

    text-decoration: none;

}

.logo img {

    width: 155px;

    height: auto;

    display: block;

}


/* Navigation */

.main-nav {

    display: flex;

    align-items: center;

    gap: 5px;

}

.main-nav a {

    position: relative;

    padding: 11px 15px;

    text-decoration: none;

    color: #354239;

    font-size: 14px;

    font-weight: 700;

    border-radius: 7px;

    transition:
        color 0.25s,
        background 0.25s;

}

.main-nav a:hover {

    color: var(--green);

    background: var(--light-green);

}

.main-nav a.active {

    color: var(--green);

}

.main-nav a.active::after {

    content: "";

    position: absolute;

    bottom: 2px;

    left: 15px;

    right: 15px;

    height: 2px;

    background: var(--green);

    border-radius: 5px;

}


/* Mobile menu button */

.menu-toggle {

    display: none;

    border: 0;

    background: var(--green);

    color: white;

    width: 42px;

    height: 42px;

    border-radius: 8px;

    font-size: 22px;

    cursor: pointer;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 520px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

}

.hero-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: contain;

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10,38,15,0.82) 0%,
            rgba(10,38,15,0.58) 45%,
            rgba(10,38,15,0.18) 100%
        );

}

.hero-content {

    position: relative;

    z-index: 2;

    width: 92%;

    max-width: 1180px;

    margin: 0 auto;

    color: white;

}

.hero-label {

    display: inline-block;

    padding: 8px 14px;

    margin-bottom: 20px;

    border:
        1px solid rgba(255,255,255,0.35);

    background:
        rgba(255,255,255,0.10);

    border-radius: 30px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

}

.hero h1 {

    font-size: clamp(42px, 6vw, 76px);

    line-height: 1.05;

    margin-bottom: 22px;

    letter-spacing: -2px;

}

.hero h1 span {

    color: #c9e89d;

}

.hero p {

    max-width: 590px;

    font-size: 19px;

    line-height: 1.7;

    margin-bottom: 32px;

    color: rgba(255,255,255,0.92);

}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    min-height: 48px;

    padding: 12px 23px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.2s,
        background 0.2s,
        box-shadow 0.2s;

}

.btn:hover {

    transform: translateY(-2px);

}

.btn-primary {

    background: var(--green);

    color: white;

    box-shadow:
        0 6px 18px rgba(47,125,50,0.25);

}

.btn-primary:hover {

    background: var(--dark-green);

}

.btn-light {

    background: white;

    color: var(--dark-green);

}

.btn-secondary {

    background: #e7f2e4;

    color: var(--dark-green);

}

.btn-outline-light {

    border:
        1px solid rgba(255,255,255,0.7);

    color: white;

    background: transparent;

}

.outline-btn {

    display: inline-block;

    border:
        1px solid var(--green);

    color: var(--green);

    padding: 10px 17px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

}

.outline-btn:hover {

    background: var(--green);

    color: white;

}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {

    padding: 85px 0;

    text-align: center;

    background:

        linear-gradient(
            135deg,
            #f0f7ed,
            #fbfaf4
        );

    border-bottom:
        1px solid var(--border);

}

.page-hero h1 {

    color: var(--dark-green);

    font-size:
        clamp(36px, 5vw, 56px);

    line-height: 1.1;

    margin: 10px 0 15px;

}

.page-hero p {

    max-width: 650px;

    margin: auto;

    color: var(--muted);

    font-size: 17px;

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding: 90px 0;

}

.section-light {

    background: #f7faf6;

}

.section-green {

    background:
        linear-gradient(
            135deg,
            #eff8eb,
            #e5f1e0
        );

}

.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 25px;

    margin-bottom: 40px;

}

.section-heading.center {

    display: block;

    text-align: center;

    max-width: 700px;

    margin:
        0 auto 45px;

}

.section-heading h2 {

    font-size:
        clamp(30px, 4vw, 44px);

    line-height: 1.15;

    color: var(--dark-green);

    margin-top: 7px;

}

.section-heading p {

    color: var(--muted);

    margin-top: 12px;

}

.eyebrow {

    color: var(--green);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.6px;

}

.eyebrow.light {

    color: #d8efb7;

}


/* =========================================================
   TWO COLUMN
========================================================= */

.two-column {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 65px;

    align-items: center;

}

.section-text h2 {

    color: var(--dark-green);

    font-size:
        clamp(32px, 4vw, 48px);

    line-height: 1.15;

    margin: 10px 0 25px;

}

.section-text p {

    color: var(--muted);

    margin-bottom: 17px;

}

.text-link {

    display: inline-block;

    margin-top: 10px;

    color: var(--green);

    text-decoration: none;

    font-weight: 800;

    font-size: 14px;

}

.text-link:hover {

    color: var(--dark-green);

}

.image-card {

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

}

.image-card img {

    width: 100%;

    display: block;

    aspect-ratio: 1.15;

    object-fit: cover;

    transition: transform 0.5s;

}

.image-card:hover img {

    transform: scale(1.04);

}


/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

}

.feature-card {

    background: white;

    padding: 30px 22px;

    border-radius: var(--radius);

    border:
        1px solid var(--border);

    transition:
        transform 0.3s,
        box-shadow 0.3s;

}

.feature-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow);

}

.feature-icon {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--light-green);

    border-radius: 50%;

    font-size: 27px;

    margin-bottom: 18px;

}

.feature-card h3 {

    color: var(--dark-green);

    margin-bottom: 10px;

}

.feature-card p {

    color: var(--muted);

    font-size: 14px;

}


/* =========================================================
   PRODUCT PREVIEW
========================================================= */

.product-preview-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

}

.preview-card {

    position: relative;

    min-height: 330px;

    overflow: hidden;

    border-radius: var(--radius);

    text-decoration: none;

    box-shadow: var(--shadow);

}

.preview-card img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s;

}

.preview-card:hover img {

    transform: scale(1.07);

}

.preview-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 30%,
            rgba(0,0,0,0.78)
        );

}

.preview-overlay {

    position: absolute;

    z-index: 2;

    bottom: 0;

    left: 0;

    right: 0;

    padding: 25px;

    color: white;

}

.preview-overlay h3 {

    font-size: 22px;

    margin-bottom: 5px;

}

.preview-overlay span {

    font-size: 13px;

    color: #d8efb7;

}


/* =========================================================
   RICE BANNER
========================================================= */

.rice-banner {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    min-height: 480px;

    background: #1b3f20;

    color: white;

}

.rice-image {

    overflow: hidden;

}

.rice-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.rice-content {

    padding:
        70px 9%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

}

.rice-content h2 {

    font-size:
        clamp(35px, 4vw, 55px);

    line-height: 1.1;

    margin: 10px 0 20px;

}

.rice-content p {

    max-width: 520px;

    color: rgba(255,255,255,0.78);

    margin-bottom: 25px;

}


/* =========================================================
   SERVICE PREVIEW
========================================================= */

.service-preview-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

}

.service-mini {

    display: flex;

    flex-direction: column;

    background: white;

    border-radius: var(--radius);

    overflow: hidden;

    text-decoration: none;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.07);

    transition: transform 0.3s;

}

.service-mini:hover {

    transform: translateY(-5px);

}

.service-mini img {

    width: 100%;

    height: 180px;

    object-fit: cover;

}

.service-mini div {

    padding: 18px;

}

.service-mini h3 {

    color: var(--dark-green);

    margin-bottom: 4px;

}

.service-mini p {

    color: var(--muted);

    font-size: 13px;

}


/* =========================================================
   CTA
========================================================= */

.cta {

    padding: 80px 0;

    text-align: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            #1b5e20,
            #2e7d32
        );

}

.cta h2 {

    font-size:
        clamp(30px, 4vw, 45px);

    margin-bottom: 12px;

}

.cta p {

    color: rgba(255,255,255,0.8);

    margin-bottom: 25px;

}

.cta-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

}


/* =========================================================
   CATEGORY NAV
========================================================= */

.category-nav {

    position: sticky;

    top: 82px;

    z-index: 900;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;

    padding: 15px;

    background: rgba(255,255,255,0.96);

    border-bottom:
        1px solid var(--border);

    backdrop-filter: blur(10px);

}

.category-nav a {

    padding: 9px 15px;

    border-radius: 30px;

    background: var(--light-green);

    color: var(--dark-green);

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition: 0.25s;

}

.category-nav a:hover {

    background: var(--green);

    color: white;

}


/* =========================================================
   PRODUCTS
========================================================= */

.product-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;

}

.product-card {

    background: white;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow:
        0 4px 16px rgba(28,67,32,0.06);

    transition:
        transform 0.3s,
        box-shadow 0.3s;

}

.product-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);

}

.product-image-wrap {

    height: 220px;

    position: relative;

    overflow: hidden;

}

.product-image-wrap img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s;

}

.product-card:hover
.product-image-wrap img {

    transform: scale(1.07);

}

.product-tag {

    position: absolute;

    top: 12px;

    left: 12px;

    padding: 5px 9px;

    border-radius: 20px;

    background: white;

    color: var(--green);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

}

.product-info {

    padding: 19px;

}

.product-info h3 {

    color: var(--dark-green);

    font-size: 17px;

    margin-bottom: 5px;

}

.product-info p {

    color: var(--muted);

    font-size: 13px;

}


/* =========================================================
   SERVICES
========================================================= */

.service-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 28px;

}

.service-card-large {

    display: grid;

    grid-template-columns:
        43% 57%;

    background: white;

    border-radius: var(--radius);

    overflow: hidden;

    border:
        1px solid var(--border);

    box-shadow:
        0 5px 22px rgba(0,0,0,0.06);

    transition: transform 0.3s;

}

.service-card-large:hover {

    transform: translateY(-5px);

}

.service-image {

    min-height: 300px;

}

.service-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.service-content {

    padding: 28px;

}

.service-number {

    color: #a9c88a;

    font-size: 13px;

    font-weight: 800;

}

.service-content h2 {

    color: var(--dark-green);

    font-size: 24px;

    margin: 8px 0 13px;

}

.service-content p {

    color: var(--muted);

    font-size: 14px;

    margin-bottom: 12px;

}


/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 17px;

}

.gallery-item {

    position: relative;

    min-height: 260px;

    overflow: hidden;

    border-radius: var(--radius);

    background: #ddd;

    text-decoration: none;

}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {

    grid-column: span 2;

    grid-row: span 2;

}

.gallery-item img {

    width: 100%;

    height: 100%;

    min-height: 260px;

    object-fit: cover;

    transition: transform 0.5s;

}

.gallery-item:hover img {

    transform: scale(1.08);

}

.gallery-item::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 40%,
            rgba(0,0,0,0.75)
        );

}

.gallery-caption {

    position: absolute;

    z-index: 2;

    bottom: 0;

    left: 0;

    right: 0;

    padding: 20px;

    color: white;

}

.gallery-caption h3 {

    font-size: 18px;

    margin-bottom: 3px;

}

.gallery-caption span {

    color: #d8efb7;

    font-size: 12px;

}


/* =========================================================
   CONTACT
========================================================= */

.contact-grid {

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 30px;

    align-items: stretch;

}

.contact-card {

    background: white;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    padding: 38px;

    box-shadow: var(--shadow);

}

.contact-card h2 {

    color: var(--dark-green);

    font-size: 36px;

    margin: 8px 0 12px;

}

.contact-intro {

    color: var(--muted);

    margin-bottom: 30px;

}

.contact-detail {

    display: flex;

    gap: 15px;

    margin-bottom: 25px;

}

.contact-icon {

    flex: 0 0 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--light-green);

    border-radius: 50%;

    font-size: 21px;

}

.contact-detail span {

    display: block;

    color: #8a938c;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 4px;

}

.contact-detail a {

    display: block;

    color: var(--dark-green);

    font-weight: 700;

    text-decoration: none;

}

.contact-detail p {

    color: var(--muted);

}

.contact-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;

}

.map-card {

    min-height: 500px;

    overflow: hidden;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}

.map-card iframe {

    width: 100%;

    height: 100%;

    min-height: 500px;

    border: 0;

    display: block;

}


/* Contact actions */

.contact-actions {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}

.action-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 28px 18px;

    background: white;

    border-radius: var(--radius);

    text-decoration: none;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.06);

    transition: transform 0.3s;

}

.action-card:hover {

    transform: translateY(-5px);

}

.action-card span {

    font-size: 30px;

    margin-bottom: 8px;

}

.action-card strong {

    color: var(--dark-green);

}

.action-card small {

    color: var(--muted);

    margin-top: 5px;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: #142a17;

    color: white;

    padding-top: 60px;

}

.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1.3fr;

    gap: 50px;

    padding-bottom: 45px;

}

.footer-logo {

    width: 145px;

    height: auto;

    background: white;

    padding: 5px;

    border-radius: 5px;

    margin-bottom: 15px;

}

.footer p {

    max-width: 400px;

    color:
        rgba(255,255,255,0.62);

    font-size: 14px;

}

.footer h3 {

    color: white;

    margin-bottom: 15px;

    font-size: 16px;

}

.footer a {

    display: block;

    width: fit-content;

    color:
        rgba(255,255,255,0.67);

    text-decoration: none;

    font-size: 13px;

    margin-bottom: 9px;

    transition: color 0.2s;

}

.footer a:hover {

    color: #c9e89d;

}

.footer-bottom {

    border-top:
        1px solid rgba(255,255,255,0.09);

    text-align: center;

    padding: 18px;

    color:
        rgba(255,255,255,0.45);

    font-size: 12px;

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1050px) {

    .feature-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .product-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

    .product-preview-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .service-preview-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .gallery-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {

        grid-column: span 1;

        grid-row: span 1;

    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 800px) {

    .nav-container {

        min-height: 70px;

    }

    .logo img {

        width: 135px;

    }

    .menu-toggle {

        display: block;

    }

    .main-nav {

        display: none;

        position: absolute;

        top: 70px;

        left: 0;

        right: 0;

        background: white;

        flex-direction: column;

        align-items: stretch;

        padding: 10px 4%;

        box-shadow:
            0 8px 20px rgba(0,0,0,0.08);

    }

    .main-nav.open {

        display: flex;

    }

    .main-nav a {

        width: 100%;

    }

    .main-nav a.active::after {

        display: none;

    }


    .hero {

        min-height: 550px;

    }

    .hero-content {

        text-align: center;

    }

    .hero p {

        margin-left: auto;

        margin-right: auto;

    }

    .hero-buttons {

        justify-content: center;

    }


    .two-column {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .rice-banner {

        grid-template-columns: 1fr;

    }

    .rice-image {

        min-height: 330px;

    }


    .service-grid {

        grid-template-columns: 1fr;

    }

    .service-card-large {

        grid-template-columns: 1fr;

    }

    .service-image {

        min-height: 260px;

    }


    .contact-grid {

        grid-template-columns: 1fr;

    }

    .map-card,
    .map-card iframe {

        min-height: 400px;

    }


    .contact-actions {

        grid-template-columns: 1fr;

    }


    .footer-grid {

        grid-template-columns: 1fr 1fr;

    }


    .category-nav {

        top: 70px;

        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        white-space: nowrap;

    }

}


/* =========================================================
   RESPONSIVE - SMALL MOBILE
========================================================= */

@media (max-width: 560px) {

    .container {

        width: 90%;

    }

    .topbar {

        height: 35px;

    }

    .announcement {

        font-size: 11px;

    }


    .hero {

        min-height: 530px;

    }

    .hero h1 {

        letter-spacing: -1px;

    }

    .hero p {

        font-size: 16px;

    }


    .section {

        padding: 60px 0;

    }


    .section-heading {

        display: block;

    }

    .section-heading .outline-btn {

        margin-top: 15px;

    }


    .feature-grid {

        grid-template-columns: 1fr;

    }


    .product-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;

    }

    .product-image-wrap {

        height: 155px;

    }

    .product-info {

        padding: 14px 10px;

    }

    .product-info h3 {

        font-size: 14px;

    }

    .product-info p {

        font-size: 11px;

    }


    .product-preview-grid {

        grid-template-columns: 1fr;

    }


    .service-preview-grid {

        grid-template-columns: 1fr;

    }


    .gallery-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;

    }

    .gallery-item {

        min-height: 180px;

    }

    .gallery-item img {

        min-height: 180px;

    }


    .contact-card {

        padding: 25px 20px;

    }


    .footer-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .page-hero {

        padding: 60px 0;

    }


    .category-nav a {

        font-size: 11px;

        padding: 8px 12px;

    }

}


/* =========================================================
   VERY SMALL SCREEN
========================================================= */

@media (max-width: 380px) {

    .product-grid {

        grid-template-columns: 1fr;

    }

    .product-image-wrap {

        height: 220px;

    }

    .hero-buttons .btn {

        width: 100%;

    }

}