/* ==========================================================================
   1. GOOGLE FONTS IMPORT
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700;800&family=Kalam:wght@400;700&display=swap');

/* ==========================================================================
   2. COLOR VARIABLES & THEME SETTINGS (Premium Look)
   ========================================================================== */
:root {
    --bg-light: #fcfbf9;             
    --card-bg: #ffffff;              
    --text-dark: #111111;            
    --text-light: #444444;           
    --accent-gold: #c59b27;          
    --gold-gradient: linear-gradient(135deg, #E6C27A 0%, #D4AF37 50%, #B8972E 100%);
    --wa-green: #25D366;             
    --wa-gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.08); 
    --shadow-hover: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   3. GENERAL BODY STYLES & SPACING
   ========================================================================== */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    margin: 0; padding: 0;
    color: var(--text-dark);
    overflow-x: hidden;
}

.page-container { 
    max-width: 1250px; 
    margin: 0 auto; 
    padding: 10px 10px 30px 10px; /* Reduced Spacing */
}

/* ==========================================================================
   4. TYPOGRAPHY & TITLES
   ========================================================================== */
.section-title { 
    font-family: 'Playfair Display', serif; 
    text-align: center; 
    font-size: 2rem; 
    color: var(--text-dark); 
    margin: 15px 0 5px 0; /* Reduced Spacing */
    position: relative;
}
.section-title::after {
    content: ''; display: block; width: 50px; height: 3px;
    background: var(--gold-gradient); margin: 5px auto 0 auto; border-radius: 5px;
}
.sub-heading { 
    text-align: center; 
    margin-bottom: 10px; /* Reduced gap */
    font-size: 0.95rem; 
}
.bold-dark {
    font-weight: 700;
    color: var(--text-dark);
}

.section-header-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

/* ==========================================================================
   5. TOP CASHBACK STRIP
   ========================================================================== */
.cashback-banner { 
    background: var(--gold-gradient); color: #111; text-align: center; 
    padding: 10px 15px; font-size: 1.1rem; font-weight: 800; /* Bolded completely */
    letter-spacing: 1px; box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   6. HERO SECTION WITH BACKGROUND & SEARCH
   ========================================================================== */
.hero-banner-luxury {
    width: 100%;
    min-height: 380px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('../../images/wrapping_hero.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
}
.hero-content { max-width: 800px; width: 100%; }
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem; 
    color: #FFFDD0; /* Cream Color that pops */
    text-shadow: 2px 2px 5px #000000; /* Better contrast */
    margin-bottom: 5px;
}
.hero-content .subtitle-en { 
    font-size: 1.25rem; 
    color: #FFF1D0; 
    text-shadow: 1px 1px 3px #000;
    margin-bottom: 5px; 
    font-weight: 600;
}
.hero-content .subtitle-hi { 
    font-size: 1.1rem; 
    color: #ffffff; 
    text-shadow: 1px 1px 3px #000;
    margin-bottom: 20px; 
    font-weight: 600;
}

/* Search Bar Inside Hero */
.search-wrapper { position: relative; width: 100%; max-width: 500px; margin: 0 auto; }
.search-input { 
    width: 100%; padding: 12px 25px 12px 45px; font-size: 0.95rem; 
    border: none; border-radius: 50px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.4); outline: none;
}
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-light); }

/* ==========================================================================
   7. AUTO-SWIPE SQUARE MEDIA SLIDER
   ========================================================================== */
.media-slider {
    display: flex;
    overflow-x: auto;
    gap: 10px; /* Reduced spacing */
    padding: 5px 5px 20px 5px;
    margin-bottom: 15px; /* Reduced */
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; 
    -webkit-overflow-scrolling: touch;
}
.media-slider::-webkit-scrollbar { display: none; }
.slide-item {
    flex: 0 0 auto;
    width: 250px; /* Smaller */
    aspect-ratio: 1 / 1; /* Perfect Square */
    border-radius: 8px; /* Slight corners, but essentially square */
    overflow: hidden;
    scroll-snap-align: start; 
    background: #000;
    box-shadow: var(--shadow-soft);
}
.slide-item img, .slide-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* ==========================================================================
   8. PREMIUM CATEGORY CARDS (SQUARES)
   ========================================================================== */
.category-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 12px; /* Reduced distance */
    margin-bottom: 25px; /* Reduced distance */
}
.cat-card {
    background: var(--card-bg); 
    box-shadow: var(--shadow-soft);
    border: 1px solid #eaeaea; 
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--accent-gold); }

.img-wrapper { 
    width: 100%; 
    aspect-ratio: 1 / 1; /* Pure Square Cover */
    overflow: hidden; 
    cursor: pointer;
}
.card-img { 
    width: 100%; height: 100%; 
    object-fit: cover; /* Retains filling the square without cutting corners */
    transition: transform 0.4s ease; 
}
.cat-card:hover .card-img { transform: scale(1.05); }

.card-header { 
    padding: 10px 8px; 
    text-align: center; 
    background: #fff; 
    border-top: 1px solid #f0f0f0; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
.card-header h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin: 0 0 2px 0; cursor: pointer; color: var(--text-dark); font-weight: 700; }

/* Hindi Text - Dark & Bold */
.hi-bold { 
    margin: 0 0 10px 0; 
    color: var(--text-dark); 
    font-size: 0.85rem; 
    font-weight: 800; 
}

/* Direct WhatsApp Button in Card */
.direct-wa-btn {
    background: var(--wa-green); 
    color: #fff;
    padding: 8px 10px; 
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.9rem;
    display: block;
    width: 100%; 
    text-align: center;
    box-sizing: border-box;
    transition: background 0.3s;
}
.direct-wa-btn:hover { background: #128C7E; color:#fff;}

/* ==========================================================================
   9. LARGE SQUARES - PACKING MAGIC (NO SPACING)
   ========================================================================== */
.reels-grid-scroll { 
    display: flex; 
    overflow-x: auto; 
    gap: 0; /* NO SPACING */
    padding: 5px 0 20px 0; 
    scrollbar-width: none; 
    margin-bottom: 25px; 
}
.reels-grid-scroll::-webkit-scrollbar { display: none; }
.reel-square { 
    flex: 0 0 280px; /* Big Squares */
    aspect-ratio: 1 / 1; 
    position: relative; 
    background: #000; 
    display: block;
}
.reel-square img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.3s; }
.reel-square:hover img { opacity: 1; }
.play-btn { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
    color: rgba(255, 255, 255, 0.9); font-size: 3rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); 
}

/* ==========================================================================
   10. STICKY NOTES REVIEWS
   ========================================================================== */
.reviews-masonry { 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px; 
    padding: 10px;
}
.sticky-note {
    width: 250px;
    background: #feff9c; /* Sticky note yellow */
    padding: 20px 15px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.15);
    position: relative;
    font-family: 'Kalam', cursive; /* Handwritten feel */
    color: #222;
}
/* Tape/Pin effect */
.pin {
    width: 30px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.rotate-left { transform: rotate(-3deg); }
.rotate-right { transform: rotate(3deg); }
.sticky-note:hover { transform: scale(1.05); z-index: 5; box-shadow: 6px 6px 15px rgba(0,0,0,0.2); }

.stars { color: #f39c12; margin-bottom: 8px; font-size: 0.9rem; text-align: center;}
.review-text { font-size: 1rem; line-height: 1.4; margin-bottom: 10px; text-align: center; }
.reviewer-name { font-weight: 700; font-size: 1.1rem; margin: 0; text-align: right; }

/* ==========================================================================
   11. CUSTOMIZATION BOTTOM SECTION
   ========================================================================== */
.bottom-wa-action {
    text-align: center;
    padding: 25px 15px;
    background: #fff;
    border: 2px dashed var(--accent-gold); /* Attractive border */
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    margin: 10px auto 40px auto;
    max-width: 800px;
}
.bottom-wa-action h3 {
    font-family: 'Playfair Display', serif; 
    font-size: 1.8rem; 
    color: var(--text-dark);
    margin: 0 0 10px 0;
}
.bottom-wa-action p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 5px 0;
}
.btn-large-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--wa-green);
    color: #fff;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}
.btn-large-wa:hover { transform: translateY(-3px); color: #fff; }

/* ==========================================================================
   12. FLOATING WHATSAPP BUTTON
   ========================================================================== */
.float-wa {
    position: fixed; bottom: 20px; right: 20px; background: var(--wa-gradient); color: #fff; 
    width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    font-size: 30px; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); z-index: 999; text-decoration: none; 
}

/* ==========================================================================
   13. MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
    .hero-banner-luxury { min-height: 280px; padding: 15px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content .subtitle-en { font-size: 0.95rem; }
    .hero-content .subtitle-hi { font-size: 0.85rem; margin-bottom: 10px; }
    
    .slide-item { width: 180px; } /* Smaller auto slider on mobile */
    .media-slider { gap: 8px; margin-bottom: 10px; }

    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 20px; }
    .card-header { padding: 8px 5px; }
    .card-header h3 { font-size: 0.9rem; }
    .hi-bold { font-size: 0.75rem; margin-bottom: 8px; }
    .direct-wa-btn { padding: 6px; font-size: 0.8rem; }
    
    .reel-square { flex: 0 0 200px; } /* Big squares mobile */
    
    .sticky-note { width: 45%; padding: 15px 10px; } /* 2 notes per row on mobile */
    .review-text { font-size: 0.85rem; }
    .reviewer-name { font-size: 0.9rem; }

    .bottom-wa-action h3 { font-size: 1.4rem; }
    .bottom-wa-action p { font-size: 0.9rem; }
    .btn-large-wa { width: 90%; font-size: 1rem; padding: 12px 15px; }
    
    .float-wa { width: 50px; height: 50px; font-size: 26px; bottom: 80px; right: 15px; }
}
