/* ==========================================
   PRODUCTS PAGE - SRV MAAVU KADAI
========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#FFFDF6;
    color:#333;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

img{
    width:100%;
    display:block;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* =========================
   ROOT COLORS
========================= */

:root{

    --green:#2E7D32;
    --orange:#FF9800;
    --cream:#FFFDF6;
    --white:#ffffff;
    --dark:#222;
    --shadow:0 18px 40px rgba(0,0,0,.08);

}

/* =========================
   NAVBAR
========================= */

.header{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    background:rgba(255,255,255,.94);

    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(0,0,0,.05);

    z-index:999;

}

.navbar{

    height:80px;

    display:flex;
    align-items:center;
    justify-content:space-between;

}

.logo{

    font-family:'Poppins',sans-serif;
    font-size:1.5rem;
    font-weight:700;

    color:var(--green);

}

.logo i{

    color:var(--orange);
    margin-right:8px;

}

.nav-links{

    display:flex;
    gap:35px;

}

.nav-links a{

    color:#444;
    font-weight:500;
    transition:.3s;

}

.nav-links a:hover,
.nav-links .active{

    color:var(--green);

}

.menu-btn{

    display:none;
    cursor:pointer;
    font-size:1.5rem;
    color:var(--green);

}

/* =========================
   HERO
========================= */

.products-hero{

    padding-top:170px;
    padding-bottom:90px;

    text-align:center;

    background:
    linear-gradient(
        135deg,
        rgba(46,125,50,.08),
        rgba(255,152,0,.08)
    );

    position:relative;
    overflow:hidden;

}

.products-hero::before{

    content:"";

    position:absolute;

    width:550px;
    height:550px;

    background:rgba(46,125,50,.08);

    border-radius:50%;

    top:-220px;
    left:-150px;

    filter:blur(40px);

}

.products-hero::after{

    content:"";

    position:absolute;

    width:450px;
    height:450px;

    background:rgba(255,152,0,.08);

    border-radius:50%;

    bottom:-180px;
    right:-100px;

    filter:blur(40px);

}

.hero-tag{

    display:inline-block;

    background:#E8F5E9;

    color:var(--green);

    padding:12px 24px;

    border-radius:40px;

    font-weight:600;

    margin-bottom:22px;

}

.products-hero h1{

    font-family:'Poppins',sans-serif;

    font-size:4rem;

    margin-bottom:20px;

    color:#222;

}

.products-hero h1 span{

    color:var(--green);

}

.products-hero p{

    max-width:760px;

    margin:auto;

    color:#666;

    line-height:1.8;

    font-size:1.05rem;

}

/* =========================
   PRODUCTS SECTION
========================= */

.products-section{

    padding:100px 0;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-family:'Poppins',sans-serif;

    color:var(--green);

    font-size:2.6rem;

    margin-bottom:15px;

}

.section-title p{

    color:#666;

    font-size:1rem;

}

.products-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}
/* ==========================================
   PRODUCT CARD
========================================== */

.product-card{

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    position:relative;

    transition:.4s ease;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    border:1px solid rgba(46,125,50,.08);

}

.product-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 50px rgba(46,125,50,.18);

}


/* ==========================================
   PRODUCT IMAGE
========================================== */

.product-image{

    position:relative;

    overflow:hidden;

    height:240px;

}

.product-image img{

    width:100%;
    height:100%;
    object-fit:cover;

    transition:.6s ease;

}

.product-card:hover .product-image img{

    transform:scale(1.1);

}


/* ==========================================
   PRODUCT BADGE
========================================== */

.badge{

    position:absolute;

    top:15px;
    left:15px;

    background:linear-gradient(135deg,#2E7D32,#43A047);

    color:#fff;

    padding:8px 16px;

    border-radius:30px;

    font-size:.82rem;

    font-weight:600;

    font-family:'Poppins',sans-serif;

    box-shadow:0 8px 20px rgba(46,125,50,.25);

}


/* ==========================================
   PRODUCT CONTENT
========================================== */

.product-content{

    padding:25px;

}

.product-content h3{

    font-family:'Poppins',sans-serif;

    color:#2E7D32;

    font-size:1.4rem;

    margin-bottom:12px;

}

.product-content p{

    color:#666;

    line-height:1.8;

    font-size:.95rem;

    margin-bottom:25px;

}


/* ==========================================
   ORDER BUTTON
========================================== */

.order-btn{

    display:flex;

    justify-content:center;
    align-items:center;

    gap:10px;

    width:100%;

    padding:15px;

    border-radius:50px;

    background:#25D366;

    color:#fff;

    font-weight:600;

    font-family:'Poppins',sans-serif;

    transition:.35s;

}

.order-btn i{

    font-size:1.2rem;

}

.order-btn:hover{

    background:#1EBE5D;

    transform:translateY(-4px);

    box-shadow:0 15px 30px rgba(37,211,102,.28);

}


/* ==========================================
   PRODUCT CARD BORDER EFFECT
========================================== */

.product-card::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:0%;
    height:5px;

    background:linear-gradient(
        90deg,
        #2E7D32,
        #FF9800
    );

    transition:.5s;

}

.product-card:hover::before{

    width:100%;

}


/* ==========================================
   GLOW EFFECT
========================================== */

.product-card::after{

    content:"";

    position:absolute;

    width:220px;
    height:220px;

    right:-120px;
    top:-120px;

    background:radial-gradient(
        rgba(255,152,0,.18),
        transparent
    );

    opacity:0;

    transition:.5s;

}

.product-card:hover::after{

    opacity:1;

}


/* ==========================================
   FLOAT ANIMATION
========================================== */

@keyframes floatCard{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-5px);

    }

    100%{

        transform:translateY(0);

    }

}

.product-card{

    animation:floatCard 5s ease-in-out infinite;

}


/* ==========================================
   IMAGE OVERLAY
========================================== */

.product-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.18),
        transparent
    );

    opacity:0;

    transition:.4s;

}

.product-card:hover .product-image::after{

    opacity:1;

}
/* ==========================================
   PRODUCT CTA
========================================== */

.product-cta{
    padding:100px 20px;
    text-align:center;
    background:linear-gradient(135deg,#2E7D32,#43A047);
    color:#fff;
}

.product-cta h2{
    font-family:'Poppins',sans-serif;
    font-size:2.8rem;
    margin-bottom:18px;
}

.product-cta p{
    max-width:700px;
    margin:0 auto 35px;
    line-height:1.8;
    opacity:.95;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:15px 30px;
    border-radius:50px;
    font-weight:600;
    font-family:'Poppins',sans-serif;
    transition:.35s;
}

.whatsapp-btn{
    background:#25D366;
    color:#fff;
}

.call-btn{
    background:#FF9800;
    color:#fff;
}

.btn:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

/* ==========================================
   FOOTER
========================================== */

.footer{
    background:#17351B;
    color:#fff;
}

.footer-container{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:50px;
    padding:70px 0;
}

.footer h2,
.footer h3{
    font-family:'Poppins',sans-serif;
    margin-bottom:18px;
}

.footer p{
    color:#ddd;
    line-height:1.8;
}

.footer ul{
    list-style:none;
}

.footer ul li{
    margin-bottom:12px;
}

.footer ul li a{
    color:#ddd;
    transition:.3s;
}

.footer ul li a:hover{
    color:#FF9800;
    padding-left:6px;
}

.footer-bottom{
    text-align:center;
    border-top:1px solid rgba(255,255,255,.1);
    padding:22px;
    color:#ddd;
}

/* ==========================================
   FLOATING WHATSAPP
========================================== */

.floating-whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#25D366;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:2rem;

    z-index:999;

    box-shadow:0 12px 30px rgba(37,211,102,.35);

    transition:.35s;

    animation:whatsappFloat 2.5s infinite;
}

.floating-whatsapp:hover{
    transform:scale(1.12);
}

@keyframes whatsappFloat{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

.products-grid{
    grid-template-columns:repeat(2,1fr);
}

.footer-container{
    grid-template-columns:1fr;
    text-align:center;
}

.products-hero h1{
    font-size:3rem;
}

}

@media(max-width:768px){

.menu-btn{
    display:block;
}

.nav-links{
    position:absolute;
    top:80px;
    left:-100%;
    width:100%;
    background:#fff;
    flex-direction:column;
    align-items:center;
    gap:25px;
    padding:35px 0;
    transition:.4s;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.nav-links.active{
    left:0;
}

.products-grid{
    grid-template-columns:1fr;
}

.products-hero{
    padding-top:140px;
}

.products-hero h1{
    font-size:2.3rem;
}

.section-title h2{
    font-size:2rem;
}

.product-cta h2{
    font-size:2rem;
}

.cta-buttons{
    flex-direction:column;
}

.btn{
    width:100%;
}

}

@media(max-width:480px){

.container{
    width:92%;
}

.product-card{
    border-radius:20px;
}

.product-image{
    height:220px;
}

.product-content{
    padding:20px;
}

.product-content h3{
    font-size:1.2rem;
}

.hero-tag{
    font-size:.8rem;
}

.products-hero h1{
    font-size:1.9rem;
}

}

/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#f3f3f3;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(#2E7D32,#FF9800);
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#2E7D32;
}