@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #0F172A; /* Dark Blue/Black */
    --accent-color: #2563EB; /* Modern Blue */
    --text-color: #334155;
    --bg-color: #F8FAFC;
    --card-bg: #FFFFFF;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0; padding: 0;
    overflow-x: hidden;
}

/* --- HEADER (Dark Background & White Text Forced) --- */
/* --- NEW 3-SECTION HEADER --- */
/* --- NEW 3-SECTION HEADER --- */
header {
    background: #0F172A; /* Dark Theme */
    padding: 15px 0;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-bottom: 3px solid #2563EB;
}

/* Flex Container for Header */
.header-container {
    max-width: 1300px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; /* Mobile pe niche aa jaye */
}

/* 1. LEFT: Site Title */
.header-left .site-title {
    font-size: 1.5rem; font-weight: 700; color: #fff;
    text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none;
}

/* 2. CENTER: Contact Info */
.header-center {
    text-align: center; color: #cbd5e1;
}
.contact-name { font-size: 0.9rem; font-weight: 600; color: #fff; display: block; }
.contact-phone { font-size: 0.85rem; color: #ffffff; font-weight: 500; }

/* 3. RIGHT: Search & Filter */
.header-right form {
    display: flex; gap: 5px;
}
.header-right select, .header-right input {
    padding: 8px 10px; border-radius: 4px; border: none; font-size: 0.9rem; outline: none;
}
.header-right button {
    background: #2563EB; color: white; border: none; padding: 0 15px; border-radius: 4px; cursor: pointer;
}
.header-right button:hover { background: #1d4ed8; }

/* Mobile Responsiveness for Header */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    .header-center { order: 3; } /* Contact sabse niche */
    .header-right { width: 100%; }
    .header-right form { width: 100%; display: flex; }
    .header-right input { flex-grow: 1; }
}

/* ... (Niche baki Slider aur Product CSS same rahega) ... */

/* --- SLIDER (1920x200 & Auto Adjust) --- */
.carousel-item img {
    width: 100%;
    height: 200px !important; /* Fixed Height 200px */
    object-fit: cover; /* Image kategi nahi, box mein fill hogi */
    object-position: center; /* Center se adjust karega */
}

/* --- LAYOUT FIX (UTILIZE EMPTY SPACE) --- */

/* 1. Main Wrapper (Ab ye poori screen lega) */
.main-wrapper {
    display: flex;
    justify-content: space-between; /* Ads ko kinaron par phek dega */
    width: 100%; /* Full Width */
    max-width: 100%; /* Restriction hata di */
    padding-top: 0;
    position: relative;
}

/* 2. Sidebars (Left & Right Ads - Kinaron par chipkenge) */
.sidebar-ad {
    width: 200px; /* Thoda chouda kiya taaki ad comfortable dikhe */
    background: #f8fafc; /* Halka sa background taaki alag dikhe */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    flex-shrink: 0;
    border-right: 1px solid #e2e8f0; /* Left ad ke liye line */
}

/* Right Sidebar ke liye alag border */
.main-wrapper > .sidebar-ad:last-child {
    border-right: none;
    border-left: 1px solid #e2e8f0;
}

/* 3. Content Area (Products Center mein rahenge) */
.content-area {
    flex-grow: 1;
    max-width: 1300px; /* Products ko failne se rokega */
    margin: 0 auto; /* Center mein rakhega */
    padding: 0 30px; /* Thoda gap side ads se */
}

/* 4. Top Horizontal Ad (Header ke niche wala space) */
.horizontal-ad {
    width: 100%; /* Poori screen lega */
    min-height: 100px;
    background: linear-gradient(to bottom, #f1f5f9, #ffffff); /* Professional Shade */
    margin: 0 0 30px 0; /* Upar ka gap hataya */
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
}

/* --- RESPONSIVE FIX --- */
@media (max-width: 1400px) {
    /* Agar screen chhoti ho to side ads chhupa do taaki products dikhein */
    .sidebar-ad {
        display: none !important;
    }
}
/* Product Grid & Ads */
.horizontal-ad {
    width: 100%; height: 90px; background: #e2e8f0; margin: 20px 0;
    display: flex; align-items: center; justify-content: center; border-radius: 4px;
}
/* --- PRODUCT CARD FIXED DESIGN --- */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f1f5f9;
    padding-bottom: 20px; /* Niche jagah di icons ke liye */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
}

/* 1. TITLE (Top Fixed) */
.p-title {
    padding: 15px 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0F172A;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    min-height: 60px; /* Height fix taki line barabar rahe */
    display: flex; align-items: center; justify-content: center;
    line-height: 1.2;
}

/* 2. IMAGE (Middle) */
.img-box {
    width: 100%;
    padding-top: 100%; /* Square Box */
    position: relative;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}
.img-box img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: contain; /* Image puri dikhegi, kategi nahi */
    padding: 10px; /* Thoda gap image ke aas paas */
}

/* 3. SOCIAL ICONS (Bottom) */
.social-row {
    display: flex;
    justify-content: center;
    gap: 15px; /* Icons ke beech gap */
    padding-top: 15px;
    margin-top: auto; /* Ise sabse niche dhakelne ke liye */
}

.social-btn {
    width: 40px; height: 40px; /* Thoda bada size */
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white !important;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.social-btn:hover { transform: scale(1.1); opacity: 0.9; }

/* Colors */
.wa-btn { background-color: #25D366; }
.fb-btn { background-color: #1877F2; }
.ig-btn { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }


/* Footer */
footer {
    background: #0F172A !important; color: white; text-align: center;
    padding: 40px 0; margin-top: 50px;
}

/* Responsive (Mobile Settings) */
@media (max-width: 992px) {
    .sidebar-ad { display: none; }
    header h1 { font-size: 1.5rem; }
    
    /* Mobile par slider thoda chhota lekin saaf dikhe */
    .carousel-item img { 
        height: 150px !important; 
    }
}
/* --- NEW CATEGORY NAVIGATION BAR --- */
.category-nav {
    background-color: #1e293b; /* Dark Grey Background (Different from Header) */
    width: 100%;
    overflow-x: auto; /* Mobile pe horizontal scroll karega */
    white-space: nowrap; /* Line break nahi hone dega */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    position: sticky;
    top: 86px; /* Header ke niche chipak jayega sticky hone par */
    z-index: 900;
    border-bottom: 1px solid #334155;
    text-align: center; /* Desktop par center karega */
}

/* Category Links Buttons */
.cat-link {
    display: inline-block;
    padding: 12px 25px;
    color: #e2e8f0; /* Light Text */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-right: 1px solid #334155; /* Do buttons ke beech line */
}

.cat-link:last-child {
    border-right: none;
}

/* Hover & Active State */
.cat-link:hover {
    background-color: #334155;
    color: #ffffff;
}

.cat-link.active {
    background-color: #2563EB; /* Blue Highlight for selected category */
    color: #ffffff;
    font-weight: 700;
}

/* Mobile Scrollbar Hide (Clean Look) */
.category-nav::-webkit-scrollbar {
    height: 4px;
}
.category-nav::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

/* YouTube Button Color */
.yt-btn {
    background-color: #FF0000; /* YouTube Red */
}
.yt-btn:hover {
    background-color: #CC0000; /* Darker Red on Hover */
}
/* Phone Number White Color Fix */
.contact-phone {
    color: #ffffff !important;
}
.contact-phone i {
    color: #ffffff !important; /* Icon ko bhi white karne ke liye */
}
/* --- AD SPACES FIXED (Center & Transparent) --- */

/* 1. Horizontal Ads (Top & In-Feed) */
.horizontal-ad {
    width: 100%;
    min-height: 90px; /* Kam se kam itni jagah lega */
    background: transparent; /* Grey color hata diya */
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center; /* Bilkul Center karega */
    overflow: hidden; /* Agar ad badi ho to bahar na nikle */
    text-align: center;
}

/* 2. Sidebar Ads (Left & Right) */
.sidebar-ad {
    width: 160px;
    background: transparent; /* Grey color hata diya */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Upar se shuru hoga */
    padding-top: 20px;
    flex-shrink: 0;
    text-align: center;
}

/* Agar Sidebar Ad ke andar content hai to use center karo */
.sidebar-ad div {
    width: 100%;
    display: flex;
    justify-content: center;
}
/* --- PROMOTION PAGE STYLES --- */

/* Promo Card */
.promo-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Media Area (Image/Video) */
.promo-media {
    width: 100%;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.promo-media img, .promo-media video {
    width: 100%;
    height: auto;
    max-height: 400px; /* Zyada lamba na ho */
    object-fit: contain;
}

/* Action Buttons Area */
.promo-actions {
    padding: 15px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

/* Copy Button Animation */
.btn-copy {
    background: #334155; color: white; border: none;
    padding: 8px 15px; border-radius: 6px; font-size: 0.9rem;
    display: flex; align-items: center; gap: 5px; cursor: pointer;
    transition: 0.2s;
}
.btn-copy:active { transform: scale(0.95); }
.btn-copy.copied { background: #10b981; } /* Green jab copy ho jaye */

/* WhatsApp Share */
.btn-wa-share {
    background: #25D366; color: white; text-decoration: none;
    padding: 8px 15px; border-radius: 6px; display: flex; align-items: center; gap: 5px;
}
.btn-wa-share:hover { background: #1ebc57; color: white; }

/* Download Icon */
.btn-download {
    color: #64748b; font-size: 1.2rem;
}
.btn-download:hover { color: #0F172A; }