/*  <!--/static/css/bulley/christmas.css-->*/
/*  Christmas decorations - Modern minimalist style */
/*  Controlled by CHRISTMAS_MODE environment variable */

/* Christmas color palette - Winter blues and subtle accents */
:root {
    --christmas-ice-blue: #E3F2FD;
    --christmas-winter-blue: #90CAF9;
    --christmas-deep-blue: #1976D2;
    --christmas-snow-white: #FFFFFF;
    --christmas-silver: #E0E0E0;
    --christmas-gold: #FFD700;
    --christmas-red-accent: #C62828;
}

/* Christmas greeting banner */
.christmas-banner {
    background: linear-gradient(135deg, var(--christmas-deep-blue) 0%, var(--christmas-winter-blue) 100%);
    color: var(--christmas-snow-white);
    text-align: center;
    padding: 12px 20px;
    font-family: 'ASV', 'Prompt', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.6s ease-out;
    width: 100%;
}

.christmas-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.christmas-banner-icon {
    font-size: 1.4rem;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* No body padding adjustment needed - banner is in normal flow */

/* Santa Claus decoration in header */
.christmas-santa {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    z-index: 100;
    animation: santaWave 3s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes santaWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

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

/* Individual snowflake styling */
.snowflake {
    position: absolute;
    top: -10px;
    color: var(--christmas-snow-white);
    font-size: 1em;
    opacity: 0.8;
    animation: fall linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Snowflake falling animation */
@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* Different snowflake variations for natural effect */
.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
    font-size: 1.2em;
}

.snowflake:nth-child(2) {
    left: 25%;
    animation-duration: 15s;
    animation-delay: 2s;
    font-size: 0.9em;
}

.snowflake:nth-child(3) {
    left: 40%;
    animation-duration: 18s;
    animation-delay: 4s;
    font-size: 1.1em;
}

.snowflake:nth-child(4) {
    left: 55%;
    animation-duration: 14s;
    animation-delay: 1s;
    font-size: 1em;
}

.snowflake:nth-child(5) {
    left: 70%;
    animation-duration: 16s;
    animation-delay: 3s;
    font-size: 0.95em;
}

.snowflake:nth-child(6) {
    left: 85%;
    animation-duration: 13s;
    animation-delay: 5s;
    font-size: 1.15em;
}

/* Winter blue accent for header */
.christmas-mode #header {
    border-bottom: 3px solid var(--christmas-winter-blue);
}

/* Subtle winter glow effect on navigation */
.christmas-mode .navbar {
    box-shadow: 0 2px 10px rgba(25, 118, 210, 0.1);
}

/* Christmas accent on links */
.christmas-mode a:hover {
    color: var(--christmas-deep-blue) !important;
    transition: color 0.3s ease;
}

/* Festive button styling */
.christmas-mode .btn-primary {
    background: linear-gradient(135deg, var(--christmas-deep-blue) 0%, var(--christmas-winter-blue) 100%);
    border: none;
    transition: transform 0.2s ease;
}

.christmas-mode .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

/* Winter frost effect on cards */
.christmas-mode .card {
    border: 1px solid var(--christmas-ice-blue);
    box-shadow: 0 2px 8px rgba(144, 202, 249, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .christmas-banner {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
    
    .christmas-santa {
        font-size: 3rem;
        top: 15px;
        right: 15px;
    }
    
    /* Reduce snowflakes on mobile for performance */
    .snowflake:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 480px) {
    .christmas-banner {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
    
    .christmas-santa {
        font-size: 2.5rem;
        top: 10px;
        right: 10px;
    }
}

/* Print styles - hide Christmas decorations when printing */
@media print {
    .christmas-banner,
    .christmas-santa,
    .snowflakes {
        display: none !important;
    }
}

/* Made with Bob */
