/* ==========================================================================
   Sliding Picture Banner Styles (Cleaned)
   ========================================================================== */
.top-picture-banner {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #0f172a;
    z-index: 1000;
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.15) contrast(1.05);
}

/* Overlay centered over the slide image */
.banner-overlay {
    position: absolute;
    inset: 0;
    /* Softened opacity for a significantly brighter background */
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.banner-text h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.banner-text p {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin: 0;
}

/* Arrow Navigation */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    font-size: 1.2rem;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
    z-index: 5;
}

.banner-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Slide Indicators (Dots) */
.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.banner-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.banner-dots .dot.active {
    background-color: #38bdf8;
    width: 24px;
    border-radius: 10px;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .top-picture-banner {
        height: 130px;
    }

    .banner-overlay {
        padding: 0 20px;
    }

    .banner-text h2 {
        font-size: 1.1rem;
    }

    .banner-text p {
        font-size: 0.8rem;
    }

    .banner-nav {
        display: none;
    }
}