/* Banner CSS - Exact measurements from Figma Design */

/* Banner Hero Section */
.banner-hero {
    position: relative;
    width: 100%;
}

.banner-container {
    position: relative;
    width: 1920px;
    height: 718px;
    margin: 0 auto;
    margin-bottom: -44px;
    overflow: hidden;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.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;
    z-index: 1;
}

.banner-img {
    position: absolute;
    top: 0.08%;
    left: 0;
    width: 100%;
    height: 109.34%;
    max-width: none;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(243, 243, 243, 0) 76.22%, #F3F3F3 100%);
    pointer-events: none;
    z-index: 2;
}

/* Navigation Arrows */
.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

.banner-prev {
    left: 40px;
}

.banner-next {
    right: 40px;
}

/* Banner Pagination Dots */
.banner-pagination {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 24px;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    padding: 0;
    height: 20px;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 24px;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    width: 40px;
    background: rgba(255, 255, 255, 1);
    border-radius: 4px;
}

.pagination-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1920px) {
    .banner-container {
        width: 100%;
        max-width: 1920px;
    }
}

@media (max-width: 1440px) {
    .banner-container {
        height: 600px;
    }
}

@media (max-width: 1200px) {
    .banner-container {
        height: 500px;
    }
}

/* iPad Pro 12.9" */
@media (min-width: 1024px) and (max-width: 1366px) {
    .banner-container {
        height: 550px;
        margin-bottom: -40px;
    }

    .banner-prev,
    .banner-next {
        width: 44px;
        height: 44px;
    }

    .banner-prev {
        left: 30px;
    }

    .banner-next {
        right: 30px;
    }
}

/* iPad Landscape (11" and 10.9") */
@media (min-width: 835px) and (max-width: 1194px) {
    .banner-container {
        height: 480px;
        margin-bottom: -36px;
    }

    .banner-pagination {
        margin-bottom: 20px;
    }

    .banner-prev,
    .banner-next {
        width: 42px;
        height: 42px;
    }

    .banner-prev {
        left: 25px;
    }

    .banner-next {
        right: 25px;
    }
}

/* iPad Portrait */
@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
    .banner-container {
        height: 450px;
        margin-bottom: -32px;
    }

    .banner-pagination {
        margin-bottom: 18px;
        height: 18px;
    }

    .pagination-dot {
        width: 8px;
        height: 8px;
    }

    .pagination-dot.active {
        width: 36px;
    }

    .banner-prev,
    .banner-next {
        width: 42px;
        height: 42px;
    }

    .banner-prev {
        left: 24px;
    }

    .banner-next {
        right: 24px;
    }
}

@media (max-width: 991px) {
    .banner-hero {
        padding-bottom: 32px;
    }

    .banner-container {
        height: 400px;
        margin-bottom: -32px;
    }

    .banner-pagination {
        padding-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .banner-hero {
        padding-bottom: 24px;
    }

    .banner-container {
        height: 300px;
        margin-bottom: -24px;
    }

    .banner-pagination {
        margin-bottom: 12px;
        height: 14px;
        padding-left: 6px;
        padding-right: 6px;
        gap: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pagination-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .pagination-dot.active {
        width: 28px;
        height: 8px;
        border-radius: 4px;
    }

    .banner-prev,
    .banner-next {
        width: 40px;
        height: 40px;
    }

    .banner-prev {
        left: 20px;
    }

    .banner-next {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .banner-container {
        height: 250px;
    }

    .pagination-dot {
        width: 16px;
        height: 5px;
    }

    .pagination-dot.active {
        width: 24px;
    }

    .banner-prev,
    .banner-next {
        width: 36px;
        height: 36px;
    }

    .banner-prev {
        left: 10px;
    }

    .banner-next {
        right: 10px;
    }
}
