/* Holiday Seasonal CSS - Automatically enabled from day after Thanksgiving through January 1st */

/* Holiday Color Variables */
:root {
    --holiday-red: #c41e3a;
    --holiday-green: #165b33;
    --holiday-gold: #ffd700;
    --holiday-snow: #f5f5f5;
    --holiday-dark-green: #0e3d24;
}

/* Snowfall Animation Container */
.snowfall-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

/* Individual Snowflake - with shadow for visibility on light backgrounds */
.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(173, 216, 230, 0.95);
    font-size: 1rem;
    animation: snowfall linear infinite;
    text-shadow: 
        0 0 3px rgba(100, 149, 237, 0.8),
        0 0 6px rgba(70, 130, 180, 0.5),
        0 1px 2px rgba(0, 0, 0, 0.15);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

/* White snowflakes with subtle shadow for visibility */
.snowflake.snowflake-white {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 
        0 0 4px rgba(100, 149, 237, 0.6),
        0 0 8px rgba(70, 130, 180, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

@keyframes snowfall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* Sparkle Animation */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--holiday-gold);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--holiday-gold), 0 0 20px var(--holiday-gold);
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Holiday Banner Base Styles */
.holiday-banner {
    background: linear-gradient(135deg, var(--holiday-red) 0%, var(--holiday-dark-green) 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.holiday-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='2' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") repeat;
    background-size: 30px 30px;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.holiday-banner-content {
    position: relative;
    z-index: 1;
}

.holiday-banner h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.holiday-banner p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.holiday-banner .holiday-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.holiday-banner .holiday-features li {
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.holiday-banner .holiday-features li::before {
    content: '✨';
}

.holiday-banner .btn-holiday {
    display: inline-block;
    background: white;
    color: var(--holiday-red);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.holiday-banner .btn-holiday:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--holiday-gold);
    color: var(--holiday-dark-green);
}

/* Holiday Closure Notice Banner */
.holiday-closure-notice {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.holiday-closure-notice .notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.holiday-closure-notice .notice-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.holiday-closure-notice .notice-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Booking Page Holiday Special */
.holiday-booking-special {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(22, 91, 51, 0.1) 100%);
    border: 2px solid var(--holiday-green);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.holiday-booking-special::after {
    content: '🎁';
    position: absolute;
    top: -12px;
    right: 20px;
    font-size: 1.5rem;
    background: white;
    padding: 0 0.5rem;
}

.holiday-booking-special h4 {
    color: var(--holiday-red);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.holiday-booking-special p {
    color: #374151;
    margin: 0;
    font-size: 0.95rem;
}

/* Festive Icons Animation */
.festive-icon {
    display: inline-block;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Holiday Light String Decoration */
.holiday-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    z-index: 9997;
    pointer-events: none;
    display: flex;
    justify-content: space-around;
    padding: 0 20px;
}

.holiday-light {
    width: 12px;
    height: 18px;
    border-radius: 0 0 50% 50%;
    animation: twinkle 1.5s ease-in-out infinite;
    box-shadow: 0 5px 15px currentColor;
}

.holiday-light:nth-child(odd) {
    background: var(--holiday-red);
    color: var(--holiday-red);
    animation-delay: 0s;
}

.holiday-light:nth-child(even) {
    background: var(--holiday-green);
    color: var(--holiday-green);
    animation-delay: 0.75s;
}

.holiday-light:nth-child(3n) {
    background: var(--holiday-gold);
    color: var(--holiday-gold);
    animation-delay: 0.5s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Frost Edge Effect - Subtle icy vignette around screen edges */
.frost-edges {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9995;
    background: 
        radial-gradient(ellipse at top left, rgba(200, 220, 255, 0.15) 0%, transparent 25%),
        radial-gradient(ellipse at top right, rgba(200, 220, 255, 0.15) 0%, transparent 25%),
        radial-gradient(ellipse at bottom left, rgba(200, 220, 255, 0.1) 0%, transparent 20%),
        radial-gradient(ellipse at bottom right, rgba(200, 220, 255, 0.1) 0%, transparent 20%);
}

/* Subtle frost shimmer animation */
.frost-edges::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 20%, 
        rgba(200, 220, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0.4) 80%, 
        transparent 100%);
    animation: frost-shimmer 4s ease-in-out infinite;
}

@keyframes frost-shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Winter Mist Effect - subtle animated fog at bottom of screen */
.winter-mist {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 9994;
    background: linear-gradient(to top, 
        rgba(240, 248, 255, 0.4) 0%,
        rgba(240, 248, 255, 0.2) 40%,
        transparent 100%);
    animation: mist-drift 8s ease-in-out infinite;
}

.winter-mist::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 80px;
    background: 
        radial-gradient(ellipse at 20% 100%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 100%, rgba(230, 240, 255, 0.25) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 100%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
    animation: mist-float 12s ease-in-out infinite;
}

@keyframes mist-drift {
    0%, 100% { 
        opacity: 0.6;
        transform: translateY(0);
    }
    50% { 
        opacity: 0.8;
        transform: translateY(-5px);
    }
}

@keyframes mist-float {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3%); }
}

/* Subtle Aurora / Northern Lights Effect */
.aurora-container {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
    z-index: 9993;
    overflow: hidden;
    opacity: 0.3;
}

.aurora-wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(100, 200, 150, 0.15) 10%,
        rgba(80, 180, 220, 0.2) 25%,
        rgba(120, 100, 200, 0.15) 40%,
        rgba(80, 200, 180, 0.18) 55%,
        rgba(100, 150, 220, 0.15) 70%,
        rgba(150, 100, 180, 0.12) 85%,
        transparent 100%);
    animation: aurora-drift 20s ease-in-out infinite;
    filter: blur(20px);
}

.aurora-wave:nth-child(2) {
    animation-delay: -7s;
    animation-duration: 25s;
    opacity: 0.7;
    top: 20px;
}

.aurora-wave:nth-child(3) {
    animation-delay: -14s;
    animation-duration: 18s;
    opacity: 0.5;
    top: 40px;
}

@keyframes aurora-drift {
    0%, 100% { 
        transform: translateX(-25%) scaleY(1);
    }
    50% { 
        transform: translateX(0%) scaleY(1.2);
    }
}

/* Snow Pile with Snowman - Realistic Chunky Snow Effect */
.snow-pile-container {
    position: fixed;
    bottom: 0;
    right: 20px;
    pointer-events: none;
    z-index: 9996;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 2s ease-out, transform 2s ease-out;
}

.snow-pile-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Main snow pile base - irregular chunky shape */
.snow-pile {
    width: 280px;
    height: 80px;
    position: relative;
    background: 
        /* Main body - bright white snow */
        linear-gradient(to top,
            #ffffff 0%,
            #fafcff 60%,
            #f0f5ff 100%);
    /* Irregular chunky top edge using multiple clip paths simulated with border-radius */
    border-radius: 45% 60% 35% 55% / 90% 85% 0 0;
    box-shadow: 
        inset 0 10px 25px rgba(200, 220, 245, 0.4),
        inset 0 -3px 10px rgba(255, 255, 255, 1),
        0 -2px 8px rgba(255, 255, 255, 0.8);
}

/* Snow chunk 1 - left side mound */
.snow-chunk-1 {
    position: absolute;
    left: -35px;
    bottom: 0;
    width: 90px;
    height: 50px;
    background: linear-gradient(to top, #ffffff 0%, #f5f8ff 70%, #e8f0ff 100%);
    border-radius: 55% 40% 0 0 / 100% 85% 0 0;
    box-shadow: 
        inset 0 8px 18px rgba(195, 215, 240, 0.35),
        inset 0 -2px 8px rgba(255, 255, 255, 1);
}

/* Snow chunk 2 - small bump on left */
.snow-chunk-2 {
    position: absolute;
    left: 25px;
    bottom: 35px;
    width: 40px;
    height: 30px;
    background: linear-gradient(to top, #ffffff 0%, #f8faff 100%);
    border-radius: 50% 45% 0 0 / 100% 90% 0 0;
    box-shadow: inset 0 5px 12px rgba(200, 220, 245, 0.3);
}

/* Snow chunk 3 - peak in center-left */
.snow-chunk-3 {
    position: absolute;
    left: 55px;
    bottom: 50px;
    width: 50px;
    height: 35px;
    background: linear-gradient(to top, #ffffff 0%, #f5f9ff 100%);
    border-radius: 40% 55% 0 0 / 95% 100% 0 0;
    box-shadow: inset 0 6px 14px rgba(195, 218, 245, 0.35);
}

/* Snow chunk 4 - tallest peak */
.snow-chunk-4 {
    position: absolute;
    left: 95px;
    bottom: 55px;
    width: 55px;
    height: 40px;
    background: linear-gradient(to top, #ffffff 0%, #f0f5ff 100%);
    border-radius: 45% 50% 0 0 / 100% 95% 0 0;
    box-shadow: inset 0 7px 16px rgba(190, 215, 242, 0.4);
}

/* Snow chunk 5 - right center mound */
.snow-chunk-5 {
    position: absolute;
    left: 140px;
    bottom: 45px;
    width: 45px;
    height: 32px;
    background: linear-gradient(to top, #ffffff 0%, #f8fbff 100%);
    border-radius: 50% 45% 0 0 / 90% 100% 0 0;
    box-shadow: inset 0 5px 12px rgba(200, 222, 248, 0.35);
}

/* Snow chunk 6 - small lump right */
.snow-chunk-6 {
    position: absolute;
    left: 175px;
    bottom: 35px;
    width: 35px;
    height: 25px;
    background: linear-gradient(to top, #ffffff 0%, #f5f8ff 100%);
    border-radius: 45% 55% 0 0 / 100% 85% 0 0;
    box-shadow: inset 0 4px 10px rgba(195, 218, 245, 0.3);
}

/* Snow chunk 7 - right side extension */
.snow-chunk-7 {
    position: absolute;
    right: -30px;
    bottom: 0;
    width: 70px;
    height: 40px;
    background: linear-gradient(to top, #ffffff 0%, #f8faff 80%, #edf3ff 100%);
    border-radius: 40% 55% 0 0 / 85% 100% 0 0;
    box-shadow: 
        inset 0 6px 14px rgba(200, 220, 245, 0.35),
        inset 0 -2px 6px rgba(255, 255, 255, 1);
}

/* Snow chunk 8 - tiny bump far right */
.snow-chunk-8 {
    position: absolute;
    right: 15px;
    bottom: 25px;
    width: 28px;
    height: 20px;
    background: linear-gradient(to top, #ffffff 0%, #f5f9ff 100%);
    border-radius: 50% 45% 0 0 / 100% 90% 0 0;
    box-shadow: inset 0 4px 8px rgba(195, 218, 245, 0.25);
}

/* Subtle shadow/depth layers on main pile */
.snow-pile::before {
    content: '';
    position: absolute;
    left: 20px;
    bottom: 10px;
    width: 70%;
    height: 60%;
    background: radial-gradient(ellipse at 50% 80%, 
        rgba(210, 225, 245, 0.2) 0%, 
        transparent 70%);
    border-radius: 50%;
}

/* Highlight on top surface */
.snow-pile::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 8px;
    width: 60%;
    height: 30%;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.9) 0%,
        transparent 100%);
    border-radius: 50%;
    filter: blur(3px);
}

/* Snow sparkle effect - tiny glitter points */
.snow-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(220, 240, 255, 0.9) 30%,
        transparent 70%);
    border-radius: 50%;
    animation: snow-glitter 2.5s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 1);
    z-index: 10;
}

.snow-sparkle:nth-child(1) { left: 12%; top: 25%; animation-delay: 0s; }
.snow-sparkle:nth-child(2) { left: 28%; top: 18%; animation-delay: 0.5s; }
.snow-sparkle:nth-child(3) { left: 42%; top: 30%; animation-delay: 1s; }
.snow-sparkle:nth-child(4) { left: 58%; top: 22%; animation-delay: 1.5s; }
.snow-sparkle:nth-child(5) { left: 72%; top: 35%; animation-delay: 2s; }
.snow-sparkle:nth-child(6) { left: 85%; top: 28%; animation-delay: 0.3s; }
.snow-sparkle:nth-child(7) { left: 35%; top: 40%; animation-delay: 0.8s; }
.snow-sparkle:nth-child(8) { left: 65%; top: 15%; animation-delay: 1.3s; }

@keyframes snow-glitter {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(0.6);
    }
    50% { 
        opacity: 1;
        transform: scale(1.3);
    }
}

.snowman {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: snowman-wobble 3s ease-in-out infinite;
}

@keyframes snowman-wobble {
    0%, 100% { transform: translateX(-50%) rotate(-2deg); }
    50% { transform: translateX(-50%) rotate(2deg); }
}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .snowflake,
    .sparkle,
    .festive-icon,
    .holiday-light,
    .holiday-banner::before,
    .frost-edges::before,
    .winter-mist,
    .winter-mist::before,
    .aurora-wave,
    .snowman,
    .snow-sparkle {
        animation: none !important;
    }
    
    .snowfall-container,
    .holiday-lights,
    .winter-mist,
    .aurora-container,
    .snow-pile-container {
        display: none !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .holiday-banner {
        padding: 1.25rem 1rem;
    }
    
    .holiday-banner h2 {
        font-size: 1.35rem;
    }
    
    .holiday-closure-notice {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .holiday-lights {
        height: 20px;
    }
    
    .holiday-light {
        width: 8px;
        height: 12px;
    }
    
    .snowflake {
        font-size: 0.75rem;
    }
}
