/* =========================
   CHAYYA NATURALS
   GLOBAL STYLES
========================= */

:root{
    --primary:#0B4F3A;
    --primary-dark:#07382A;
    --secondary:#A46A2A;
    --gold:#C7A66A;
    --light:#F8F7F3;
    --white:#ffffff;
    --dark:#1A1A1A;
    --text:#555555;
    --border:#E5E7EB;

    --shadow-sm:0 4px 12px rgba(0,0,0,.08);
    --shadow-md:0 8px 25px rgba(0,0,0,.12);
    --shadow-lg:0 15px 40px rgba(0,0,0,.15);

    --radius-sm:8px;
    --radius-md:15px;
    --radius-lg:25px;

    --transition:.3s ease;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--white);
    color:var(--dark);
    overflow-x:hidden;
    line-height:1.7;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

.section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:2.5rem;
    color:var(--primary);
    margin-bottom:10px;
    font-weight:700;
}

.section-title p{
    color:var(--text);
    max-width:700px;
    margin:auto;
}

/* =========================
   BUTTONS
========================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:14px 28px;

    border:none;
    cursor:pointer;

    border-radius:50px;

    font-weight:600;

    transition:var(--transition);
}

.btn-primary{
    background:var(--primary);
    color:white;
}

.btn-primary:hover{
    background:var(--primary-dark);
    transform:translateY(-3px);
}

.btn-secondary{
    background:var(--gold);
    color:var(--dark);
}

.btn-secondary:hover{
    transform:translateY(-3px);
}

.btn-outline{
    border:2px solid var(--primary);
    color:var(--primary);
    background:transparent;
}

.btn-outline:hover{
    background:var(--primary);
    color:white;
}

/* =========================
   CARDS
========================= */

.card{
    background:white;
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
}

/* =========================
   TOP BAR
========================= */

.topbar{
    background:var(--primary);
    color:white;
    padding:8px 0;
    font-size:.9rem;
}

.topbar-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
}

.topbar-left,
.topbar-right{
    display:flex;
    align-items:center;
    gap:20px;
}

.topbar i{
    margin-right:6px;
}

/* =========================
   HEADER
========================= */

header{
    position:sticky;
    top:0;
    z-index:999;
    background:white;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:85px;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    width:65px;
}

.logo-text h3{
    color:var(--primary);
    font-size:1.2rem;
    line-height:1.1;
}

.logo-text span{
    font-size:.8rem;
    color:var(--text);
}

.nav-links{
    display:flex;
    align-items:center;
    gap:28px;
}

.nav-links a{
    font-weight:500;
    position:relative;
}

.nav-links a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--primary);
    transition:var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active:not(.btn){
    border-bottom:3px solid var(--primary);
}

.menu-toggle{
    display:none;
    font-size:1.7rem;
    cursor:pointer;
}

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

.hero{
    min-height:90vh;

    display:flex;
    align-items:center;

    position:relative;

    background:
    linear-gradient(
    rgba(0,0,0,.65),
    rgba(0,0,0,.65)
    ),
    url('https://images.unsplash.com/photo-1596040033229-a9821ebd058d?q=80&w=2000');

    background-size:cover;
    background-position:center;
}

.hero-content{
    max-width:700px;
    color:white;
}

.hero h1{
    font-size:3.8rem;
    line-height:1.2;
    margin-bottom:20px;
}

.hero p{
    font-size:1.1rem;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

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

@media(max-width:992px){

    .nav-links{
        position:fixed;
        top:85px;
        right:-100%;
        width:280px;
        height:calc(100vh - 85px);

        background:white;

        flex-direction:column;
        align-items:flex-start;

        padding:40px 25px;

        transition:.4s;
    }

    .nav-links.active{
        right:0;
    }

    .menu-toggle{
        display:block;
    }

    .hero h1{
        font-size:3rem;
    }
}

@media(max-width:768px){

    .section{
        padding:70px 0;
    }

    .section-title h2{
        font-size:2rem;
    }

    .hero{
        min-height:80vh;
    }

    .hero h1{
        font-size:2.2rem;
    }

    .hero p{
        font-size:1rem;
    }

    .topbar-content{
        justify-content:center;
        text-align:center;
    }
}

@media(max-width:576px){

    .hero-buttons{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }
}

.product-category-grid,
.why-grid,
.industry-grid,
.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.category-card,
.feature-card,
.industry-card{
    padding:30px;
    text-align:center;
}

.category-card h3,
.feature-card h3{
    color:var(--primary);
    margin-bottom:10px;
}

.cta-section{
    background:var(--primary);
    color:white;
    text-align:center;
}

.cta-section h2{
    margin-bottom:15px;
}

.cta-section p{
    margin-bottom:25px;
}

.footer{
    background:#111;
    color:white;
    padding:70px 0 30px;
}

.footer h3{
    margin-bottom:15px;
    color:var(--gold);
}

.footer ul li{
    margin-bottom:10px;
}

.footer a:hover{
    color:var(--gold);
}

.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;
    width:60px;
    height:60px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    z-index:999;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.page-header{
    padding:120px 0;
    background:linear-gradient(rgba(11,79,58,.9),rgba(11,79,58,.9)),
    url('https://images.unsplash.com/photo-1596040033229-a9821ebd058d?q=80&w=2000');
    background-size:cover;
    background-position:center;
    color:white;
    text-align:center;
}

.page-header h1{
    font-size:3rem;
    margin-bottom:15px;
}

.light-bg{
    background:#f8f7f3;
}

.about-content{
    max-width:1000px;
    margin:auto;
}

.about-content p{
    margin-bottom:20px;
    color:var(--text);
}

.about-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.about-card{
    padding:30px;
}

.about-card h3{
    color:var(--primary);
    margin-bottom:15px;
}

.about-card ul{
    padding-left:20px;
    list-style:disc;
}

.about-card li{
    margin-bottom:10px;
}

.mission-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
}

.mission-card{
    padding:35px;
}

.mission-card h3{
    color:var(--primary);
    margin-bottom:15px;
}

@media(max-width:768px){

    .page-header h1{
        font-size:2.2rem;
    }

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

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.product-card{
    overflow:hidden;
}

.product-card img{
    height:250px;
    object-fit:cover;
}

.product-content{
    padding:25px;
}

.product-content h3{
    color:var(--primary);
    margin-bottom:15px;
}

.product-content ul{
    margin-bottom:20px;
}

.product-content li{
    margin-bottom:8px;
    color:var(--text);
}

.simple-card{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:180px;
    text-align:center;
    padding:20px;
}

.simple-card h3{
    color:var(--primary);
}

/* ==========================================
   PRODUCTS PAGE
========================================== */

.product-filters{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:50px;
}

.filter-btn{
    padding:12px 22px;
    border:none;
    cursor:pointer;
    border-radius:50px;
    background:#f3f4f6;
    color:var(--dark);
    font-weight:600;
    transition:var(--transition);
}

.filter-btn:hover{
    background:var(--primary);
    color:white;
}

.filter-btn.active{
    background:var(--primary);
    color:white;
}

.products-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.product-card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
}

.product-image{
    width:100%;
    height:260px;
    object-fit:cover;
}

.product-content{
    padding:25px;
}

.product-content h3{
    color:var(--primary);
    margin-bottom:15px;
    font-size:1.3rem;
}

.product-content p{
    color:var(--text);
    margin-bottom:20px;
}

.product-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:20px;
}

.product-tag{
    background:#f3f4f6;
    padding:6px 12px;
    border-radius:30px;
    font-size:.85rem;
    font-weight:500;
}

.product-card .btn{
    width:100%;
}

/* ==========================================
   PRODUCT MODAL
========================================== */

.product-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    z-index:9999;

    display:none;
    justify-content:center;
    align-items:center;

    padding:20px;
}

.product-modal.show{
    display:flex;
}

.product-modal-content{
    background:white;
    width:100%;
    max-width:1100px;

    border-radius:20px;

    overflow:hidden;

    display:grid;
    grid-template-columns:1fr 1fr;

    position:relative;

    max-height:90vh;

    overflow-y:auto;
}

.modal-close{
    position:absolute;
    top:15px;
    right:20px;

    background:none;
    border:none;

    font-size:2rem;
    cursor:pointer;

    z-index:10;
}

/* ==========================================
   MODAL GALLERY
========================================== */

.modal-gallery{
    position:relative;
    background:#f8f7f3;

    display:flex;
    align-items:center;
    justify-content:center;

    min-height:500px;
}

.modal-gallery img{
    width:100%;
    max-height:500px;
    object-fit:contain;
}

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);

    width:45px;
    height:45px;

    border:none;
    border-radius:50%;

    cursor:pointer;

    background:white;

    box-shadow:0 5px 15px rgba(0,0,0,.15);

    font-size:1.2rem;

    z-index:2;
}

.prev-btn{
    left:15px;
}

.next-btn{
    right:15px;
}

/* ==========================================
   MODAL DETAILS
========================================== */

.modal-details{
    padding:40px;
}

.modal-details h2{
    color:var(--primary);
    margin-bottom:25px;
    font-size:2rem;
}

.modal-specs{
    margin-bottom:30px;
}

.modal-specs ul{
    list-style:none;
}

.modal-specs li{
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.modal-specs li strong{
    color:var(--primary);
}

.modal-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.modal-buttons .btn{
    flex:1;
    min-width:180px;
}

/* ==========================================
   PRODUCT INFO TABLE
========================================== */

.spec-table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

.spec-table tr{
    border-bottom:1px solid #eee;
}

.spec-table td{
    padding:12px 10px;
}

.spec-table td:first-child{
    font-weight:600;
    color:var(--primary);
    width:35%;
}

/* ==========================================
   PRODUCT BADGES
========================================== */

.badge{
    display:inline-block;

    padding:6px 12px;

    border-radius:25px;

    background:#e8f5e9;

    color:var(--primary);

    font-size:.85rem;
    font-weight:600;

    margin-right:8px;
    margin-bottom:8px;
}

.badge-orange{
    background:#fff4e5;
    color:#c77700;
}

/* ==========================================
   NO PRODUCTS MESSAGE
========================================== */

.no-products{
    text-align:center;
    padding:50px;
    font-size:1.1rem;
    color:var(--text);
}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:992px){

    .product-modal-content{
        grid-template-columns:1fr;
    }

    .modal-gallery{
        min-height:350px;
    }

    .modal-details{
        padding:25px;
    }
}

@media(max-width:768px){

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

    .product-filters{
        gap:10px;
    }

    .filter-btn{
        width:100%;
    }

    .modal-details h2{
        font-size:1.6rem;
    }

    .modal-buttons{
        flex-direction:column;
    }

    .modal-buttons .btn{
        width:100%;
    }
}

.cert-grid,
.quality-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.cert-card,
.quality-card{
    padding:35px;
    text-align:center;
}

.cert-card i{
    font-size:3rem;
    color:var(--primary);
    margin-bottom:20px;
}

.cert-card h3,
.quality-card h3{
    color:var(--primary);
    margin-bottom:15px;
}

.cert-card p,
.quality-card p{
    color:var(--text);
}

/* ==========================================
   GALLERY
========================================== */

.gallery-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.gallery-item{
    overflow:hidden;
    border-radius:15px;
    cursor:pointer;
    box-shadow:var(--shadow-sm);
}

.gallery-item img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.4s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

/* ==========================================
   LIGHTBOX
========================================== */

.gallery-lightbox{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.9);

    display:none;

    justify-content:center;
    align-items:center;

    z-index:99999;
}

.gallery-lightbox.show{
    display:flex;
}

.gallery-lightbox img{
    max-width:90%;
    max-height:90%;
}

.lightbox-close{
    position:absolute;
    top:20px;
    right:30px;

    color:white;

    font-size:3rem;

    cursor:pointer;
}

/* ==========================================
   CONTACT PAGE
========================================== */

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:50px;
}

.contact-card{
    display:flex;
    gap:20px;
    margin-bottom:25px;
    align-items:flex-start;
}

.contact-card i{
    font-size:1.5rem;
    color:var(--primary);
    margin-top:5px;
}

.contact-form-wrap{
    background:#fff;
    padding:35px;
    border-radius:15px;
    box-shadow:var(--shadow-sm);
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.contact-form-wrap input,
.contact-form-wrap textarea{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-family:inherit;
}

.contact-form-wrap button{
    border:none;
    cursor:pointer;
}

.map-container{
    border-radius:15px;
    overflow:hidden;
    box-shadow:var(--shadow-sm);
}

@media(max-width:992px){

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

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

.linkedin-link{
    color:var(--primary);
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

.linkedin-link:hover{
    color:#0A66C2;
    text-decoration:underline;
}
/* ==========================================
   CLICKABLE LINKS
========================================== */

.topbar a,
.contact-card a,
.footer a{

    color:inherit;
    text-decoration:none;
    transition:0.3s ease;

}

.topbar a:hover,
.contact-card a:hover,
.footer a:hover{

    color:var(--primary);

}

.contact-card a{

    font-weight:500;

}