/* 8/3 Women's Day Banner Styles */

.march-8-banner {
    position: relative;
    background: linear-gradient(135deg, #ff6b9d 0%, #ffc3d8 50%, #ff8fab 100%);
    padding: 20px 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    animation: bannerGlow 3s ease-in-out infinite;
}

@keyframes bannerGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 157, 0.5);
    }
}

.march-8-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(60px) translateY(60px);
    }
}

.march-8-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 60px;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.banner-text {
    text-align: center;
    color: white;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.banner-subtitle {
    font-size: 1.3rem;
    margin: 10px 0 0 0;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.banner-discount {
    background: white;
    color: #ff6b9d;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: discountBounce 1s ease-in-out infinite;
    display: inline-block;
}

@keyframes discountBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.banner-cta {
    display: inline-block;
    background: white;
    color: #ff6b9d;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-top: 15px;
}

.banner-cta:hover {
    background: #fff5f8;
    color: #ff6b9d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.banner-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 24px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

/* Floating flowers animation */
.floating-flower {
    position: absolute;
    font-size: 30px;
    opacity: 0.6;
    animation: floatFlower 15s linear infinite;
    z-index: 1;
}

@keyframes floatFlower {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.floating-flower:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.floating-flower:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.floating-flower:nth-child(3) {
    left: 40%;
    animation-delay: 4s;
    animation-duration: 13s;
}

.floating-flower:nth-child(4) {
    left: 55%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.floating-flower:nth-child(5) {
    left: 70%;
    animation-delay: 3s;
    animation-duration: 16s;
}

.floating-flower:nth-child(6) {
    left: 85%;
    animation-delay: 5s;
    animation-duration: 11s;
}

/* Sparkle effect */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: sparkleAnimation 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes sparkleAnimation {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .march-8-banner {
        padding: 15px 10px;
    }
    
    .march-8-content {
        gap: 15px;
    }
    
    .banner-icon {
        font-size: 40px;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .banner-discount {
        font-size: 1.3rem;
        padding: 10px 20px;
    }
    
    .banner-cta {
        font-size: 1rem;
        padding: 10px 25px;
    }
    
    .floating-flower {
        font-size: 20px;
    }
}

/* Hide banner when closed */
.march-8-banner.hidden {
    display: none;
}


/* ==============================================
   DISABLE BANNER - USE FLOATING ICON INSTEAD
============================================== */
.march-8-banner {
    display: none !important;
}
