/* =========================================
   HOME PAGE STYLES (css/index.css) 
   Premium Clean Edition
   ========================================= */

:root { 
    --primary: #e91e63; 
    --dark: #2C3E50; 
    --white: #fff; 
    --bg-light: #fcfcfc; 
}

body, html { 
    margin: 0; 
    padding: 0; 
    width: 100%; 
    overflow-x: hidden; 
    background: var(--bg-light); 
    font-family: 'Poppins', sans-serif;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: all 0.8s ease-out; 
}
.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ==========================================
   GLOBAL HEADINGS
   ========================================== */
.section-heading { 
    font-family: 'Playfair Display', serif; 
    color: var(--dark); 
    margin-bottom: 45px; 
    font-size: 2.4rem; 
    text-align: center; 
    position: relative; 
    padding-bottom: 12px;
}
.section-heading::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 70px; 
    height: 3px; 
    background: var(--primary); 
    border-radius: 2px;
}
.text-white { color: #fff !important; }
.text-white::after { background: #fff !important; }
.text-white-sub { 
    color: #eee; 
    text-align: center; 
    font-size: 1.1rem; 
    margin-top: -20px; 
    margin-bottom: 40px; 
}

/* ==========================================
   1. HERO SECTION (Clean & Bold Title)
   ========================================== */
.hero-banner { 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('../images/bg.jpg') center/cover no-repeat; 
    text-align: center; 
    color: var(--white); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    padding: 0 20px; 
    height: 85vh; 
}
.main-brand-title { 
    font-size: 4.5rem; 
    font-weight: 800;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.5); 
    margin-bottom: 10px; 
    font-family: 'Playfair Display', serif; 
    letter-spacing: 2px;
    color: var(--white);
}
.hero-subtitle { 
    font-size: 1.1rem; 
    max-width: 600px; 
    margin-bottom: 30px; 
    opacity: 0.95; 
    line-height: 1.6;
}
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-primary { padding: 12px 35px; background: var(--primary); color: var(--white); font-weight: 600; border-radius: 30px; transition: 0.3s; border: 2px solid var(--primary); display: inline-block; text-decoration: none; }
.btn-primary:hover { background: var(--dark); border-color: var(--dark); transform: translateY(-3px); }
.btn-secondary { background: transparent; color: var(--white); padding: 12px 35px; border: 2px solid var(--white); border-radius: 30px; font-weight: 600; transition: 0.3s; cursor: pointer; text-decoration: none;}
.btn-secondary:hover { background: var(--white); color: var(--primary); transform: translateY(-3px);}

/* ==========================================
   2. POLAROID CATEGORIES
   ========================================== */
.categories-section { padding: 80px 20px; text-align: center; background: #fff; }
.polaroid-category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; padding: 10px; }
.polaroid-card { background: #fff; border-radius: 4px; padding: 10px 10px 15px 10px; text-decoration: none; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #f0f0f0; }
.polaroid-card:nth-child(odd) { transform: rotate(-2deg); }
.polaroid-card:nth-child(even) { transform: rotate(2deg); }
.polaroid-card:hover { transform: rotate(0deg) scale(1.05) !important; z-index: 10; box-shadow: 0 10px 25px rgba(233, 30, 99, 0.1); border-color: #fce4ec; }
.polaroid-card .img-frame { background: #fafafa; margin-bottom: 10px; border: 1px solid #eee; border-radius: 2px; }
.polaroid-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.polaroid-card .cat-name { color: var(--dark); font-weight: 600; font-size: 0.95rem; }

/* ==========================================
   3. AUTO SCROLLING PRODUCTS (10 Images)
   ========================================== */
.auto-scroll-products {
    padding: 60px 0;
    background: #fafafa;
    overflow: hidden;
}
.scroll-track-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}
.scroll-track {
    display: inline-flex;
    gap: 25px;
    animation: autoScroll 25s linear infinite; 
}
.scroll-track:hover {
    animation-play-state: paused;
}
.scroll-item {
    flex: 0 0 auto;
    width: 250px;
    text-decoration: none;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    background: #fff;
    padding: 8px;
    border: 1px solid #eee;
}
.scroll-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.15);
    border-color: #fce4ec;
}
.scroll-img-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 6px;
    overflow: hidden;
}
.scroll-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.scroll-item:hover .scroll-img-wrapper img {
    transform: scale(1.05);
}
@keyframes autoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12.5px)); }
}

/* ==========================================
   4. BUDGET SECTION
   ========================================= */
.budget-section { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/customize-home.png') center/cover no-repeat; padding: 80px 20px; text-align: center; }
.budget-content { max-width: 800px; margin: 0 auto; color: #fff; }
.budget-content .gift-icon { font-size: 4rem; color: var(--primary); margin-bottom: 20px; animation: bounceFloat 3s infinite ease-in-out; }
@keyframes bounceFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.budget-content h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 15px; }
.budget-content p { font-size: 1.15rem; margin-bottom: 30px; line-height: 1.6; opacity: 0.9; }

/* ==========================================
   5. POSTERS CAROUSEL
   ========================================= */
.posters-section.full-width-carousel { padding: 40px 0; background: #fafafa; text-align: center; overflow: hidden; }
.poster-carousel { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; padding: 0; scrollbar-width: none; scroll-behavior: smooth; }
.poster-carousel::-webkit-scrollbar { display: none; }
.carousel-poster { flex: 0 0 100%; width: 100vw; aspect-ratio: 9/16; max-height: 85vh; object-fit: cover; scroll-snap-align: center; border-radius: 0; transition: 0.3s; margin: 0; }

/* ==========================================
   6. PREMIUM PACKING
   ========================================= */
.premium-packing-section { background: url('../images/wrapping-bg.png') center/cover fixed no-repeat; position: relative; padding: 0; }
.packing-overlay { background: rgba(15, 23, 42, 0.6); padding: 80px 20px; width: 100%; height: 100%; box-sizing: border-box; }
.luxury-wrapping-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.wrapping-link { text-decoration: none; display: block; }
.luxury-wrap-card { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); border: 1px solid rgba(255, 255, 255, 0.3); position: relative; overflow: hidden; }
.luxury-wrap-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(233, 30, 99, 0.4); border-color: #ff1e56; }
.luxury-wrap-icon { width: 60px; height: 60px; background: #fff0f3; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; transition: transform 0.3s ease; }
.luxury-wrap-card:hover .luxury-wrap-icon { transform: scale(1.1); background: #ff1e56; color: #fff !important; }
.luxury-wrap-content h4 { margin: 0 0 5px; font-size: 1.1rem; color: #2C3E50; font-family: 'Poppins', sans-serif; font-weight: 700; }
.luxury-wrap-content p { margin: 0; font-size: 0.85rem; color: #64748b; line-height: 1.4; }
.luxury-wrap-action { margin-left: auto; color: #25D366; font-size: 1.5rem; opacity: 0; transform: translateX(-15px); transition: all 0.3s ease; }
.luxury-wrap-card:hover .luxury-wrap-action { opacity: 1; transform: translateX(0); }

/* ==========================================
   7. GRAPHICS SERVICES (Bigger, Bold, Clean Font)
   ========================================= */
.graphics-services { padding: 80px 20px; text-align: center; background: #fff; }
.graphics-title {
    font-size: 3.2rem !important; 
    font-weight: 800 !important; 
    font-family: 'Playfair Display', serif;
    color: var(--dark); /* Wapas original clean solid color */
    text-transform: uppercase; 
    letter-spacing: 1px;
    margin-bottom: 45px;
}
.image-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; max-width: 1200px; margin: 0 auto; }
.img-service-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.4s; border: 1px solid #eee; }
.img-service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(233, 30, 99, 0.1); border-color: #fce4ec; }
.img-service-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.img-service-card h4 { margin: 0; padding: 18px 15px; font-size: 1.1rem; color: var(--dark); font-weight: 600; }

/* ==========================================
   8. TRUST BADGES (With Moving 3D Wallpaper)
   ========================================= */
.trust-slider-section { 
    padding: 80px 20px; 
    text-align: center; 
    position: relative;
    /* Khisakta hua background image */
    background: url('../images/3d-bg.png') repeat-x center center;
    background-size: cover; /* Resize image properly */
    animation: moveSlideBg 40s linear infinite; 
    overflow: hidden;
}
.trust-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.85); /* Clean overlay taaki content focus me rahe */
    z-index: 1;
}
.trust-carousel { 
    position: relative;
    z-index: 2; /* Overlay ke upar content */
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    gap: 30px; 
    padding-bottom: 10px; 
    scrollbar-width: none; 
    scroll-behavior: smooth;
    justify-content: center;
}
.trust-carousel::-webkit-scrollbar { display: none; }
.trust-slide { 
    flex: 0 0 85vw; 
    max-width: 320px; 
    scroll-snap-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 25px 15px; 
    background: #fff; /* Solid white background cards for better contrast */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.trust-slide .icon-circle { width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--primary); color: var(--primary); display: flex; justify-content: center; align-items: center; font-size: 32px; margin-bottom: 20px; background: #fff; box-shadow: 0 5px 15px rgba(233,30,99,0.15);}
.trust-slide h3 { font-family: 'Playfair Display', serif; color: var(--dark); font-size: 1.6rem; margin-bottom: 10px;}
.trust-slide p { color: #555; font-size: 1rem; line-height: 1.5; margin: 0; text-align: center; }

@keyframes moveSlideBg {
    from { background-position: 0 0; }
    to { background-position: 1000px 0; }
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */
@media(min-width: 768px) {
    .polaroid-category-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } 
    .trust-slide { flex: 0 0 auto; }
}

@media (max-width: 768px) {
    .hero-banner { height: 70vh; }
    .main-brand-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-heading { font-size: 2rem; }
    .graphics-title { font-size: 2.2rem !important; margin-bottom: 25px; } 
    .polaroid-card { padding: 8px 8px 12px 8px; }
    .scroll-item { width: 200px; }
    .scroll-img-wrapper { height: 200px; }
    .budget-content h2 { font-size: 2rem; }
    .image-services-grid { gap: 15px; }
    .trust-carousel { justify-content: flex-start; } /* Mobile me scroll allow karein */
    .trust-slide h3 { font-size: 1.4rem; }
    .trust-slide .icon-circle { width: 70px; height: 70px; font-size: 28px; }
    .poster-carousel { width: 100%; }
}