/* Holiday Banner Component - Fixed with header */
.holiday-banner {
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    text-align: center;
    margin: 0;
    animation: slideDown 0.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 1001;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Black Friday Theme */
body.holiday-black_friday {
    --holiday-primary: #dc2626;
    --holiday-accent: #1a1a1a;
    --holiday-bg: #0f0f0f;
    --holiday-text: #ffffff;
}

/* Cool Modern Black Friday Background */
body.holiday-black_friday .holiday-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #dc2626 25%, #991b1b 50%, #dc2626 75%, #1a1a1a 100%);
    background-size: 100% 100%;
    color: white;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    overflow: hidden;
}

body.holiday-black_friday .holiday-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 30px,
        rgba(220, 38, 38, 0.08) 30px,
        rgba(220, 38, 38, 0.08) 60px
    );
    animation: diagonalMove 15s linear infinite;
    z-index: 1;
}

@keyframes diagonalMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(50px, 50px) rotate(0deg);
    }
}

body.holiday-black_friday .holiday-banner::after {
    content: '💥 🔥 💸 ⚡ 💥 🔥 💸 ⚡';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-size: 2.5rem;
    opacity: 0.12;
    animation: dealPulse 2s ease-in-out infinite;
    z-index: 1;
    letter-spacing: 2rem;
}

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

/* Christmas Theme */
body.holiday-christmas {
    --holiday-primary: #dc2626;
    --holiday-accent: #059669;
    --holiday-bg: #fef2f2;
    --holiday-text: #1a202c;
}

/* Cool Modern Christmas Background */
body.holiday-christmas .holiday-banner {
    background: linear-gradient(135deg, #0f5132 0%, #dc2626 20%, #059669 40%, #dc2626 60%, #059669 80%, #0f5132 100%);
    background-size: 100% 100%;
    color: white;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    overflow: hidden;
}

body.holiday-christmas .holiday-banner::before {
    content: '🎄 ⭐ 🎄 ⭐ 🎄 ⭐ 🎄 ⭐';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 2rem;
    opacity: 0.15;
    animation: christmasScroll 25s linear infinite;
    z-index: 1;
}

@keyframes christmasScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

body.holiday-christmas .holiday-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    animation: sparkleMove 20s linear infinite;
    z-index: 1;
}

@keyframes sparkleMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* New Year Theme */
body.holiday-new_year {
    --holiday-primary: #f59e0b;
    --holiday-accent: #6366f1;
    --holiday-bg: #fffbeb;
    --holiday-text: #1a202c;
}

/* Cool Modern New Year Background */
body.holiday-new_year .holiday-banner {
    background: linear-gradient(135deg, #312e81 0%, #6366f1 15%, #ec4899 30%, #f59e0b 50%, #ec4899 70%, #6366f1 85%, #312e81 100%);
    background-size: 100% 100%;
    color: white;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    overflow: hidden;
}

body.holiday-new_year .holiday-banner::before {
    content: '✨ 🎆 ✨ 🎊 ✨ 🎆 ✨ 🎊 ✨ 🎆 ✨';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 2.5rem;
    opacity: 0.2;
    animation: fireworksRise 10s linear infinite;
    z-index: 1;
}

@keyframes fireworksRise {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100%) rotate(360deg);
        opacity: 0;
    }
}

body.holiday-new_year .holiday-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.03) 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.03) 55%, transparent 55%);
    background-size: 30px 30px;
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1) rotate(10deg);
    }
}

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

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

/* Banner Content */
.holiday-banner-content {
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 2;
}

.holiday-banner h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    font-family: 'Cormorant Garamond', serif;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.3);
}

.holiday-banner p {
    font-size: 1rem;
    margin: 0 0 0.75rem 0;
    opacity: 1;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

/* Discount Code Styling - Make it clear it's a code */
.holiday-discount-code {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: 3px solid rgba(255, 255, 255, 1);
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.holiday-discount-code::before {
    content: 'CODE: ';
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
    letter-spacing: 1px;
}

.holiday-discount-code:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.08);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.holiday-discount-code.copied {
    background: #10b981;
    color: white;
}

.holiday-discount-code.copied::after {
    content: ' ✓ Copied!';
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

/* Close Button */
.holiday-close-btn {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.holiday-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Floating Holiday Decorations */
.holiday-floating-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* Christmas Snowflakes */
body.holiday-christmas .holiday-snowflake {
    position: absolute;
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
    }
}

/* Black Friday Falling Emojis - Like Christmas Snowflakes */
body.holiday-black_friday .holiday-black_friday-emoji {
    position: absolute;
    color: #dc2626;
    font-size: 1.5rem;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.8), 0 0 20px rgba(255, 215, 0, 0.5);
    animation: fall linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* New Year Fireworks */
body.holiday-new_year .holiday-firework {
    position: absolute;
    font-size: 2rem;
    opacity: 0.9;
    animation: burst 2s ease-out infinite;
    filter: drop-shadow(0 0 10px currentColor);
}

@keyframes burst {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0;
    }
}

/* Mini Promo Badge - Bottom Right with better visibility */
.holiday-mini-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1a1a1a;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
    cursor: pointer;
    z-index: 10001;
    animation: miniPulse 2s infinite;
    transition: all 0.3s ease;
}

body.holiday-black_friday .holiday-mini-badge {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

body.holiday-christmas .holiday-mini-badge {
    background: linear-gradient(135deg, #dc2626, #059669);
}

body.holiday-new_year .holiday-mini-badge {
    background: linear-gradient(135deg, #6366f1, #f59e0b);
}

.holiday-mini-badge:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.4);
}

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

/* Section Decorations - Add to different sections */
.holiday-section-decor {
    position: relative;
}

/* Christmas Section Floating Decorations */
.holiday-section-floating {
    position: absolute;
    opacity: 0.35;
    pointer-events: none;
    z-index: 5;
    animation: floatSwing 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes floatSwing {
    0%, 100% {
        transform: translateY(0) rotate(-10deg) scale(1);
    }
    25% {
        transform: translateY(-20px) rotate(5deg) scale(1.1);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg) scale(0.95);
    }
    75% {
        transform: translateY(-25px) rotate(10deg) scale(1.05);
    }
}

/* New Year Section Firework Decorations */
.holiday-section-firework {
    position: absolute;
    opacity: 0.4;
    pointer-events: none;
    z-index: 5;
    animation: fireworkBurst 3s ease-out infinite;
    filter: drop-shadow(0 0 20px currentColor);
    text-shadow: 0 0 30px currentColor;
}

@keyframes fireworkBurst {
    0% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    40% {
        transform: scale(1.2) rotate(90deg);
        opacity: 0.6;
    }
    60% {
        transform: scale(0.8) rotate(180deg);
        opacity: 0.4;
    }
    80% {
        transform: scale(1.5) rotate(270deg);
        opacity: 0.2;
    }
    100% {
        transform: scale(2) rotate(360deg);
        opacity: 0;
    }
}

/* Christmas Section Decorations */
body.holiday-christmas .hero-section::before,
body.holiday-christmas #about::before,
body.holiday-christmas #services::before,
body.holiday-christmas #experiences::before {
    content: '🎄';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.15;
    animation: treeSwing 3s ease-in-out infinite;
}

body.holiday-christmas .hero-section::after,
body.holiday-christmas #about::after,
body.holiday-christmas #services::after {
    content: '🎁';
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: giftBounce 2s ease-in-out infinite;
}

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

/* Black Friday Section Decorations */
body.holiday-black_friday .hero-section::before,
body.holiday-black_friday #about::before,
body.holiday-black_friday #services::before,
body.holiday-black_friday #experiences::before {
    content: '🔥';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.2;
    animation: dealPulse 2s ease-in-out infinite;
}

body.holiday-black_friday .hero-section::after,
body.holiday-black_friday #about::after,
body.holiday-black_friday #services::after {
    content: '💸';
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 2.5rem;
    opacity: 0.2;
    animation: float 3s ease-in-out infinite;
}

/* New Year Section Decorations */
body.holiday-new_year .hero-section::before,
body.holiday-new_year #about::before,
body.holiday-new_year #services::before,
body.holiday-new_year #experiences::before {
    content: '🎆';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.2;
    animation: burst 3s ease-out infinite;
}

body.holiday-new_year .hero-section::after,
body.holiday-new_year #about::after,
body.holiday-new_year #services::after {
    content: '✨';
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 2.5rem;
    opacity: 0.25;
    animation: sparkle 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .holiday-banner {
        padding: 0.85rem 1rem;
        flex-direction: column;
    }
    
    .holiday-banner h3 {
        font-size: 1.25rem;
    }
    
    .holiday-banner p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .holiday-discount-code {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .holiday-close-btn {
        width: 30px;
        height: 30px;
        font-size: 1.25rem;
    }
    
    .holiday-mini-badge {
        bottom: 10px;
        right: 10px;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    body.holiday-christmas .hero-section::before,
    body.holiday-christmas #about::before,
    body.holiday-christmas #services::before,
    body.holiday-christmas #experiences::before,
    body.holiday-black_friday .hero-section::before,
    body.holiday-black_friday #about::before,
    body.holiday-black_friday #services::before,
    body.holiday-black_friday #experiences::before,
    body.holiday-new_year .hero-section::before,
    body.holiday-new_year #about::before,
    body.holiday-new_year #services::before,
    body.holiday-new_year #experiences::before {
        font-size: 2rem;
        top: 10px;
        right: 10px;
    }
    
    body.holiday-christmas .hero-section::after,
    body.holiday-christmas #about::after,
    body.holiday-christmas #services::after,
    body.holiday-black_friday .hero-section::after,
    body.holiday-black_friday #about::after,
    body.holiday-black_friday #services::after,
    body.holiday-new_year .hero-section::after,
    body.holiday-new_year #about::after,
    body.holiday-new_year #services::after {
        font-size: 1.75rem;
        bottom: 10px;
        left: 10px;
    }
}
