/* 
 * Ellvie Beauty & Spa - Winter Rose Christmas V3
 * Dramatic yet sophisticated: Rich Crimson, Evergreen, Snowy Ivory, Blush, and Champagne Gold.
 */

:root {
    /* Winter Rose Palette */
    --winter-rose-crimson: #9B1B30;        /* Deep, sophisticated red */
    --winter-rose-cranberry: #7B1113;     /* Darker, rich accent */
    --winter-rose-evergreen: #053B2A;     /* Deep forest green */
    --winter-rose-ivory: #F9FBFB;         /* Snowy, clean white */
    --winter-rose-blush: #FFF5F5;         /* Soft, elegant pink-white */
    --winter-rose-champagne: #D4AF37;     /* Classic gold */
    --winter-rose-gold-glow: rgba(212, 175, 55, 0.6);
    --winter-rose-frost: rgba(249, 251, 251, 0.45);
    --winter-rose-glass-border: rgba(255, 255, 255, 0.6);
    
    /* Transitions */
    --holiday-transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Theme Activation */
body.christmas-active {
    background-color: var(--winter-rose-blush);
    color: #2D2D2D;
    transition: background-color 1.2s ease;
}

/* Site-wide Festive Elements */
.christmas-active header, 
.christmas-active footer {
    border-bottom: 2px solid var(--winter-rose-champagne);
}

/* Announcement Bar - Winter Rose Edit */
.christmas-announcement {
    background: linear-gradient(90deg, var(--winter-rose-evergreen), #0A5D42, var(--winter-rose-evergreen));
    color: var(--winter-rose-ivory);
    text-align: center;
    padding: 14px 0;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    z-index: 2000;
    border-bottom: 2px solid var(--winter-rose-champagne);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Hero Section - Editorial Winter Rose */
.christmas-active .hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg,rgba(255,246,243,.98) 0%,rgba(255,239,238,.89) 43%,rgba(255,226,229,.13) 65%),url('images/reference-hero.webp') right center/58% auto no-repeat,linear-gradient(90deg,#fff4f2,#edb8c0);
}

.christmas-active .hero h1 {
    color: var(--winter-rose-crimson);
    text-shadow: 0 0 15px rgba(255,255,255,0.7);
    font-weight: 500;
}

.christmas-active .hero-holiday-glow {
    display: block;
    font-style: italic;
    color: var(--winter-rose-evergreen);
    margin-top: 1.25rem;
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1.2s ease, transform 1.2s ease;
    text-shadow: 0 0 8px var(--winter-rose-ivory);
}

.christmas-active .hero-holiday-glow.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Magic - Crimson & Gold */
.christmas-active [data-book], 
.christmas-active .btn-primary {
    background: linear-gradient(135deg, var(--winter-rose-crimson), var(--winter-rose-cranberry)) !important;
    color: var(--winter-rose-ivory) !important;
    border: 1px solid var(--winter-rose-champagne) !important;
    box-shadow: 0 0 20px var(--winter-rose-gold-glow);
    transition: var(--holiday-transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.christmas-active [data-book]:hover, 
.christmas-active .btn-primary:hover {
    box-shadow: 0 0 30px var(--winter-rose-gold-glow), 0 0 15px var(--winter-rose-ivory);
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.1);
}

/* Focus states for accessibility */
.christmas-active [data-book]:focus-visible, 
.christmas-active .btn-primary:focus-visible {
    outline: 3px solid var(--winter-rose-champagne);
    outline-offset: 2px;
}

/* Shimmer effect for CTAs */
.christmas-active [data-book]::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -60%; }
    20% { left: 120%; }
    100% { left: 120%; }
}

/* Frosted Glass Panels */
.christmas-frost-panel {
    background: var(--winter-rose-frost);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--winter-rose-glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    position: relative;
}

/* Decorative Accents */
.christmas-decoration {
    position: absolute;
    pointer-events: none;
    aria-hidden: true;
    z-index: 10;
}

.christmas-garland-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1000 80\" preserveAspectRatio=\"none\"><path d=\"M0,0 Q50,40 100,0 T200,0 T300,0 T400,0 T500,0 T600,0 T700,0 T800,0 T900,0 T1000,0\" stroke=\"%23053B2A\" stroke-width=\"6\" fill=\"none\"/><circle cx=\"50\" cy=\"20\" r=\"4\" fill=\"%23D4AF37\"/><circle cx=\"150\" cy=\"20\" r=\"4\" fill=\"%23D4AF37\"/><circle cx=\"250\" cy=\"20\" r=\"4\" fill=\"%23D4AF37\"/><circle cx=\"350\" cy=\"20\" r=\"4\" fill=\"%23D4AF37\"/><circle cx=\"450\" cy=\"20\" r=\"4\" fill=\"%23D4AF37\"/><circle cx=\"550\" cy=\"20\" r=\"4\" fill=\"%23D4AF37\"/><circle cx=\"650\" cy=\"20\" r=\"4\" fill=\"%23D4AF37\"/><circle cx=\"750\" cy=\"20\" r=\"4\" fill=\"%23D4AF37\"/><circle cx=\"850\" cy=\"20\" r=\"4\" fill=\"%23D4AF37\"/><circle cx=\"950\" cy=\"20\" r=\"4\" fill=\"%23D4AF37\"/></svg>');
    background-repeat: repeat-x;
    background-size: 1000px 80px;
    opacity: 1;
}

.christmas-sparkle {
    width: 12px;
    height: 12px;
    background: var(--winter-rose-champagne);
    clip-path: polygon(50% 0%, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0% 50%, 39% 35%);
    opacity: 0.6;
    filter: blur(0.5px);
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.2) rotate(45deg); }
}

/* Falling Snow Effect */
.snow-particle {
    position: fixed;
    top: -10px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1500;
    opacity: 0.8;
    filter: blur(1px);
}

@keyframes fall {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(25vh) translateX(20px); }
    50% { transform: translateY(50vh) translateX(-20px); }
    75% { transform: translateY(75vh) translateX(20px); }
    100% { transform: translateY(105vh) translateX(0); }
}

/* Music Player Integration Style */
.ellvie-music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
    background: var(--winter-rose-frost);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--winter-rose-glass-border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: inherit;
    color: var(--winter-rose-evergreen);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 160px;
}

.ellvie-music-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    opacity: 0.8;
}

.ellvie-music-track {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.ellvie-music-buttons {
    display: flex;
    gap: 8px;
}

.ellvie-music-buttons button {
    background: var(--winter-rose-crimson);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background 0.2s;
}

.ellvie-music-buttons button:hover {
    background: var(--winter-rose-cranberry);
}

/* Accessibility: Honor prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .christmas-active .hero-holiday-glow,
    .snow-particle,
    .christmas-sparkle,
    .christmas-active [data-book]::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .christmas-announcement {
        font-size: 0.75rem;
        padding: 10px 0;
    }
    .hero-holiday-glow {
        font-size: 1.1rem !important;
    }
    .christmas-active .hero {
        background: linear-gradient(180deg,rgba(255,248,246,.99),rgba(255,239,237,.91) 47%,rgba(255,220,225,.05) 73%),url('images/reference-hero.webp') center bottom/auto 55% no-repeat,linear-gradient(#ffece9,#f5d3d5);
    }
}
