/* ========================
   Product Page CSS
======================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* Root variables (ensure these exist if not in global.css) */
:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f8fafc;
    --accent-blue: #2563eb;
    --border-radius: 8px;
    --transition: 0.3s ease-in-out;
    --card-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.2);
    --text-dark: #111827;
    --text-gray: #6b7280;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}


/* =========================
   Mini Premium Nav
========================= */
.mini-nav {
    position: fixed;
    top: 20px;
    left: 20px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);

    border-radius: 999px;
    text-decoration: none;
    color: #111;
    font-size: 14px;
    font-weight: 500;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Dot */
.mini-nav .dot {
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
}


/*hero promo section */
/* ========================
   Hero Section - Promotional
======================== */
.hero {
    background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 100%);
    padding: 5rem 10rem;
    text-align: center;
    position: relative;
    overflow: hidden;
   
}

.hero h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    z-index: 2;
}
.hero h2 {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
    z-index: 2;
}


.hero p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.5;
    z-index: 2;
}
.image{ 
    display: flex; 
    position: absolute; 
    bottom: -150px; 
    right: -45px; } 
.images{ 
    display: flex; 
    flex-wrap: wrap; 
    position: absolute; 
    top: 50px; 
    left: 30px; 
    transform: scaleX(-1);
    }


/* ========================
   Products Section
======================== */
.products {
    background-color: var(--secondary-bg);
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

/* ========================
   Products Section
======================== */
.products {
    background-color: var(--secondary-bg);
    padding: 4rem 0;
}

/* =========================
   Products Grid
========================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    padding: 0.5rem 0.25rem;
}

/* =========================
   Product Card
========================= */
.product-card {
    background-color: var(--primary-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: pointer;

    /* animation base */
    opacity: 0;
    transform: translateY(24px);
    animation: staggerFade 0.6s ease forwards;
}

/* stagger delays */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes staggerFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* hover stays same */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

/* =========================
   Product Image
========================= */
.product-image {
    height: 220px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* =========================
   Product Info
========================= */
.product-info {
    padding: 1.2rem;
    font-weight: 300;
}

.product-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.product-info p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}





@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .cta-button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .hero {
        padding: 4rem 1rem;
    }
}
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-image {
        max-width: 300px;
        margin-top: 1.5rem;
    }
}
/* Hover effect (desktop only) */
@media (hover: hover) {
    .mini-nav:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        background: rgba(255, 255, 255, 0.9);
    }
}

/* =========================
   Mobile – icon only
========================= */
@media (max-width: 600px) {
    .mini-nav {
        top: auto;
        bottom: 16px;   /* thumb friendly */
        left: 16px;

        padding: 14px;
        border-radius: 50%;
    }

    .mini-nav .text {
        display: none; /* 🔑 hide "Home" text */
    }

    .mini-nav .dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 768px) {   /* for screen less than or equal to 768px */
    .image {
        width: 100px;
        bottom: -20px;
        right: -10px;
    }

    .images {
        width: 100px;
        height: 100px;
        top: 10px;
        left: 15px;
    }
}
@media (max-width: 480px) {   /* for screen less than or equal to 480px */
    .image {
        width: 180px;
        bottom: -40px;
        right: 80px;
       z-index: -1;
        
    }

    .images {
        width: 200px;
        height: 200px;
        top: 0px;
        left: 10px;
        transform: scaleX(-1);
        display: none;
    }

    .hero h1 {
        font-size: 1.2rem;
        line-height: 1.3;
        z-index: 2;
    }
	
	.hero h2 {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
    z-index: 2;
}


    .hero p {
        font-size: 0.85rem;
       margin-bottom: 100px;
        z-index: 10;
       
    }
    .hero {
        z-index: -2;
    }
}

