/*
 * Banner Enhanced CSS
 * Advanced styles for banner animations and enhanced features
 */

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced banner styles */
.banner-enhanced {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-enhanced .banner-content {
    animation: fadeInUp 1s ease-out;
    max-width: 800px;
    padding: 2rem;
}

.banner-enhanced .banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.banner-enhanced .banner-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.banner-enhanced .banner-button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(238, 90, 36, 0.3);
    animation: slideInRight 1s ease-out 0.6s both;
    transition: all 0.3s ease;
}

.banner-enhanced .banner-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(238, 90, 36, 0.4);
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
}

/* Particle effect background */
.banner-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.banner-particles::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s linear infinite;
}

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

/* Banner carousel enhancements */
.banner-carousel-enhanced {
    position: relative;
    overflow: hidden;
}

.banner-carousel-enhanced .banner-slide {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-carousel-enhanced .banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-carousel-enhanced .banner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-carousel-enhanced .banner-indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .banner-enhanced .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-enhanced .banner-subtitle {
        font-size: 1.1rem;
    }
    
    .banner-enhanced {
        min-height: 400px;
    }
    
    .banner-enhanced .banner-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .banner-enhanced .banner-title {
        font-size: 2rem;
    }
    
    .banner-enhanced .banner-subtitle {
        font-size: 1rem;
    }
    
    .banner-enhanced {
        min-height: 350px;
    }
    
    .banner-enhanced .banner-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}