/* Banner Styles */
.banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s ease-out;
    filter: brightness(0.85) contrast(1.1);
}

.slide.active .slide-bg {
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) rotate(0deg);
        filter: brightness(0.85) contrast(1.1);
    }
    100% {
        transform: scale(1.1) rotate(0.5deg);
        filter: brightness(0.9) contrast(1.15);
    }
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(50px);
    animation: heroEntrance 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(30px);
    animation: titleSlideUp 1s ease-out 1.2s forwards;
}

@keyframes titleSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content h1 span {
    background: linear-gradient(135deg, #e52d27 0%, #ff6b47 25%, #ff8e53 50%, #ff6b47 75%, #e52d27 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleFadeIn 1s ease-out 1.8s forwards;
    line-height: 1.6;
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.banner-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.banner-buttons .btn-primary,
.banner-buttons .btn-secondary {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: buttonSlideIn 0.8s ease-out forwards;
}

.banner-buttons .btn-primary {
    animation-delay: 2.2s;
    background: linear-gradient(135deg, #e52d27, #ff6b47, #ff8e53);
    background-size: 200% 200%;
    box-shadow: 0 8px 25px rgba(229, 45, 39, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-buttons .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.banner-buttons .btn-primary:hover::before {
    left: 100%;
}

.banner-buttons .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(229, 45, 39, 0.5);
    background-position: 100% 50%;
}

.banner-buttons .btn-secondary {
    animation-delay: 2.6s;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #e52d27;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 1);
}

@keyframes buttonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Particles Effect */
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: floatingParticles 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes floatingParticles {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100px);
    }
}

/* Search Container */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    animation: searchBoxEntrance 1s ease-out 3s forwards;
}

@keyframes searchBoxEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-box {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    background: transparent;
    outline: none;
    color: #333;
    transition: all 0.3s ease;
}

.search-box input::placeholder {
    color: #666;
}

.search-btn {
    background: linear-gradient(135deg, #e52d27, #ff6b47);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.search-btn:hover::before {
    width: 100%;
    height: 100%;
}

.search-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(229, 45, 39, 0.5);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 10px;
    display: none;
    animation: resultsSlideDown 0.3s ease-out;
}

@keyframes resultsSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(240, 240, 240, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(229, 45, 39, 0.1);
    transform: translateX(5px);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.search-result-description {
    color: #666;
    font-size: 0.9rem;
}

/* Banner Indicators */
.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
    opacity: 0;
    animation: indicatorsSlideUp 0.8s ease-out 3.5s forwards;
}

@keyframes indicatorsSlideUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #e52d27;
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.indicator.active::before {
    width: 100%;
    height: 100%;
}

.indicator.active {
    background: rgba(229, 45, 39, 0.3);
    transform: scale(1.3);
    box-shadow: 0 4px 15px rgba(229, 45, 39, 0.4);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
    }
    
    .banner-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .search-container {
        max-width: 90%;
    }
    
    .search-box input {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .search-btn {
        width: 45px;
        height: 45px;
    }
    
    .banner::before {
        background-size: 150px 75px;
    }
}

@media (max-width: 480px) {
    .banner {
        min-height: 500px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .banner-buttons {
        gap: 0.8rem;
    }
    
    .banner-indicators {
        gap: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}
