/* Hero Banner Styles - Ultra-Wide Panorama */

.hero-banner {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--banner-height);
    overflow: hidden;
    z-index: 2000;
    /* Ensure it's always on top of content */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    /* Ensure content behind is hidden */
}

/* Main App styles handles sticky hero-banner by default */

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient phuc hop: 
       1. Trai sang Phai (de noi chu) 
       2. Tren xuong Duoi (de hoa vao nen web o duoi cung) */
    /* Gradient Trai (Trang sang) -> Phai (Trong suot) de noi chu */
    background: linear-gradient(to right, rgba(255, 255, 255, 0.75) 30%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 80%),
        linear-gradient(to bottom, transparent 70%, #D6EBFF 100%);
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Hoàn toàn không blur */
    filter: saturate(1.3) brightness(1.05);
    /* Tang do tuoi va do sang */
}

/* Title Overlay - No background, Vertically Centered */
.banner-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    z-index: 20;
}

.banner-logo {
    max-height: 80%;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.banner-logo:hover {
    transform: scale(1.02);
}

/* Banner Dots */
.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

.banner-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-banner {
        height: 140px;
    }

    .banner-title-overlay {
        padding: 0 1rem;
    }

    .banner-logo {
        max-height: 70%;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 100px;
        /* Restored to be more prominent */
    }

    .banner-title-overlay {
        padding: 0 0.75rem;
    }

    .banner-logo {
        max-height: 60%;
    }
}