/* Slider Section Styles */
.slider-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.swiper-container {
    width: 100%;
    /* Remove problematic height/auto, let children define height */
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1200/400; /* Keep banner aspect ratio (matches your images) */
    display: flex;
    align-items: stretch;
}

/* Remove height: max-content, let slides fill container */
.swiper-wrapper {
    display: flex;
    transition-timing-function: ease-in-out;
    width: 100%;
    height: 100%; /* Fill the swiper-container */
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%; /* Force slide to fill swiper-container */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.swiper-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    position: absolute !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(248, 204, 84, 0.9) !important;
    border-radius: 50% !important;
    color: #000 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    z-index: 10 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 235, 148, 0.95) !important;
    border-color: #F8CA50 !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 16px !important;
}

.swiper-button-next:after {
    content: '\f054' !important;
}

.swiper-button-prev:after {
    content: '\f053' !important;
}

.swiper-button-next {
    right: 20px !important;
}

.swiper-button-prev {
    left: 20px !important;
}

/* Pagination Dots */
.swiper-pagination {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    gap: 8px !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.swiper-pagination-bullet:hover {
    background: rgba(248, 204, 84, 0.8) !important;
}

.swiper-pagination-bullet-active {
    background: #F8CA50 !important;
    border-color: #fff !important;
}

/* Responsive Design */
@media (max-width: 1420px) {
    .swiper-container {
        aspect-ratio: 3/1; /* a little more flexible */
    }
}
@media (max-width: 1000px) {
    .swiper-container {
        aspect-ratio: 16/6;
    }
}
@media (max-width: 768px) {
    .swiper-container {
        aspect-ratio: 2/1;
        margin: 2rem auto;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
    
    .swiper-button-next {
        right: 10px !important;
    }
    
    .swiper-button-prev {
        left: 10px !important;
    }
    
    .swiper-pagination {
        bottom: 15px !important;
    }
    
    .swiper-pagination-bullet {
        width: 10px !important;
        height: 10px !important;
    }
}
@media (max-width: 600px) {
    .swiper-container {
        aspect-ratio: 16/9;
    }
}
@media (max-width: 480px) {
    .swiper-container {
        aspect-ratio: 16/9; /* near square/portrait for mobile */
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
        font-size: 12px !important;
    }
    
    .swiper-button-next {
        right: 5px !important;
    }
    
    .swiper-button-prev {
        left: 5px !important;
    }
    
    .swiper-pagination {
        bottom: 10px !important;
    }
    
    .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
    }
}
