/* Holiday Banner & Design Styles */

/* Holiday Body Classes */
body.holiday-christmas {
    /* Weihnachts-Design-Anpassungen */
    position: relative;
}

body.holiday-christmas::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 51, 102, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 51, 102, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body.holiday-newyear {
    /* Silvester-Design-Anpassungen */
    position: relative;
}

body.holiday-newyear::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(51, 204, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 51, 102, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Discount Banner (Top, unaufdringlich) */
.holiday-discount-banner {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.95) 0%, rgba(51, 204, 255, 0.95) 100%);
    padding: 12px 20px;
    text-align: center;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.holiday-discount-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.holiday-discount-banner-percent {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.holiday-discount-banner-code {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
    padding: 6px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.5);
}

.holiday-discount-banner-button {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.holiday-discount-banner-button:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}

/* Hero Holiday Title/Subtitle */
.holiday-hero-title-wrapper {
    margin-bottom: 30px;
    text-align: center;
}

.holiday-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(255, 51, 102, 0.5);
    line-height: 1.2;
}

.holiday-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Countdown in Hero */
.holiday-countdown-wrapper {
    margin: 30px 0;
    padding: 25px;
    background: rgba(255, 51, 102, 0.15);
    border-radius: 15px;
    border: 2px solid rgba(255, 51, 102, 0.4);
    backdrop-filter: blur(10px);
}

.holiday-countdown-title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.holiday-countdown-items {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.holiday-countdown-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 80px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.holiday-countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff3366;
    display: block;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
}

.holiday-countdown-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    display: block;
    text-align: center;
}

/* Snowflakes Animation */
.holiday-snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.holiday-snowflake {
    position: absolute;
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.8;
    animation: snowfall linear infinite;
    pointer-events: none;
    user-select: none;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Holiday Design Adjustments */
.homepage-hero.holiday-christmas {
    position: relative;
}

.homepage-hero.holiday-christmas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 51, 102, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.homepage-hero.holiday-newyear {
    position: relative;
}

.homepage-hero.holiday-newyear::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(51, 204, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .holiday-hero-title {
        font-size: 2rem;
    }

    .holiday-hero-subtitle {
        font-size: 1.1rem;
    }

    .holiday-countdown-wrapper {
        padding: 20px 15px;
    }

    .holiday-countdown-item {
        padding: 12px 15px;
        min-width: 70px;
    }

    .holiday-countdown-number {
        font-size: 2rem;
    }

    .holiday-discount-banner-content {
        flex-direction: column;
        gap: 10px;
    }

    .holiday-discount-banner-percent {
        font-size: 1.2rem;
    }

    .holiday-discount-banner-code {
        font-size: 1rem;
        padding: 5px 12px;
    }
}
