/* Custom CSS variables & Utilities for DJ Kader (Kprod) Website */
/* Refactored for Luminous Champagne & Gold Luxury Theme */

:root {
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8C2C;
    --champagne: #FAF9F6;      /* Soft warm cream base background */
    --champagne-dark: #F3EFE3; /* Soft warm beige secondary background */
    --text-dark: #1C1C1E;      /* Charcoal almost black for headers */
    --text-muted: #5E5E62;     /* Medium slate gray for body descriptions */
}

/* Scroll behaviour */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbars but keep functionality */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom premium transitions */
.transition-premium {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Glassmorphism utility classes */
.glass-nav {
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(212, 175, 55, 0.15);
}

/* Glowing card highlight on light theme */
.glow-gold {
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.12);
}
.glow-gold:hover {
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.8) !important;
}

/* Whatsapp Floating Button pulse effect */
.whatsapp-pulse {
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Stories progress bar animations */
.story-progress-bg {
    background: rgba(255, 255, 255, 0.3);
    height: 3px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    flex-grow: 1;
}

.story-progress-bar {
    height: 100%;
    background: #fff;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
}

.story-progress-bar.active {
    animation: playStory 5s linear forwards;
}

.story-progress-bar.seen {
    transform: scaleX(1);
    animation: none;
}

@keyframes playStory {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Hero text metallic gradient (optimised for readability on light backgrounds) */
.text-gold-gradient {
    background: linear-gradient(135deg, #AA8C2C 0%, #D4AF37 50%, #996515 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Gallery image overlay hover effect */
.gallery-zoom img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-zoom:hover img {
    transform: scale(1.08);
}

/* Smooth custom form controls for light theme */
.form-input-premium {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-input-premium:focus {
    border-color: #D4AF37;
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
    background: #ffffff;
}

/* Custom Lightbox Navigation styling */
.lightbox-btn {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.lightbox-btn:hover {
    background: #D4AF37;
    color: black;
}

/* ---------------------------------------------------------
   PREMIUM MUSIC PLAYER & FAQ & QCM WIZARD STYLES
   --------------------------------------------------------- */

/* Soundwave visualizer bar simulation */
.sound-bar {
    width: 3px;
    height: 15px;
    background-color: var(--gold);
    border-radius: 3px;
    transition: height 0.3s ease;
    animation: bounceVisualizer 1.2s ease-in-out infinite alternate;
}

/* Staggered visualizer delays */
.sound-bar:nth-child(2) { animation-delay: 0.15s; }
.sound-bar:nth-child(3) { animation-delay: 0.3s; }
.sound-bar:nth-child(4) { animation-delay: 0.45s; }
.sound-bar:nth-child(5) { animation-delay: 0.2s; }
.sound-bar:nth-child(6) { animation-delay: 0.1s; }
.sound-bar:nth-child(7) { animation-delay: 0.35s; }

.sound-visualizer.paused .sound-bar {
    animation-play-state: paused;
    height: 6px !important;
}

@keyframes bounceVisualizer {
    0% { height: 5px; }
    100% { height: 32px; }
}

/* Custom Audio Timeline */
.audio-timeline-container {
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: height 0.2s ease;
}

.audio-timeline-container:hover {
    height: 8px;
}

.audio-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #AA8C2C 0%, #D4AF37 50%, #F3E5AB 100%);
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.1s linear;
}

/* Audio Playlist Items light-mode */
.playlist-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(212, 175, 55, 0.2);
}

/* FAQ Accordion Transitions */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-card.active .faq-content {
    max-height: 350px;
    opacity: 1;
    margin-top: 16px;
}

.faq-icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card.active .faq-icon {
    transform: rotate(180deg);
    color: #D4AF37;
}

.faq-card {
    border: 1px solid rgba(212, 175, 55, 0.12);
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
    background: rgba(255, 255, 255, 0.75);
}

.faq-card.active {
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.06);
}

/* ---------------------------------------------------------
   QCM WIZARD BOOKING MODULE
   --------------------------------------------------------- */
.qcm-step {
    display: none;
    animation: fadeStep 0.4s ease forwards;
}

.qcm-step.active {
    display: block;
}

@keyframes fadeStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Choice option cards */
.qcm-option-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.qcm-option-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.08);
}

.qcm-option-card.selected {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.12);
}

.qcm-option-card.selected .qcm-icon-bg {
    background: #D4AF37;
    color: #000;
}

.qcm-icon-bg {
    background: rgba(212, 175, 55, 0.12);
    color: #D4AF37;
    transition: all 0.3s ease;
}

/* QCM Progress Indicator Line */
.qcm-progress-container {
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.qcm-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #AA8C2C 0%, #D4AF37 100%);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shake animation for validation errors */
.shake-anim {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* ---------------------------------------------------------
   LUXURY EDITORIAL HERO COLLAGE STYLES
   --------------------------------------------------------- */
.hero-collage-item {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15), 0 5px 15px -5px rgba(212, 175, 55, 0.05);
}

.hero-collage-item:hover {
    z-index: 50 !important;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35), 0 10px 25px -5px rgba(212, 175, 55, 0.2);
}

/* ---------------------------------------------------------
   INSTAGRAM REELS SHOWCASE STYLES
   --------------------------------------------------------- */
.reel-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
}

.reel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.25);
}

/* Smooth heart scaling animation when double clicked or liked */
@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.heart-active {
    animation: heartPulse 0.4s ease-in-out;
}

