/* --- /css/sections/home-banner-section.css --- */

.home-banner-section {
    width: 100%;
    position: relative;
}

.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 700; /* Default for desktop */
    overflow: hidden;
}

.slides-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.slide-content {
    color: #fff;
    text-align: center;
    padding-right: 10%;
}

.slide-content .brand-logo {
    max-width: 250px;
    margin-bottom: 10px;
}

.slide-content .tagline-ghAR {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
    padding-left: 20px;
}

.slide-content .tagline-shaandar {
    font-size: 3rem;
    font-weight: 700;
    color: #e13111;
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 5px 30px;
    display: inline-block;
    margin-top: 5px;
}

/* --- Slider Controls --- */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 1.5rem;
    z-index: 10;
    transition: background-color 0.2s ease;
}

.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.slider-nav.prev {
    left: 15px;
    border-radius: 50%;
}

.slider-nav.next {
    right: 15px;
    border-radius: 50%;
}

.slider-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.pagination-dot.active {
    background-color: white;
}

/* Initially hide the mobile slider */
.mobile-slider {
    display: none;
}

/* --- Mobile Optimizations --- */
@media (max-width: 991px) {
    .slider {
        aspect-ratio: 16 / 9;
    }
    .slide-content .brand-logo {
        max-width: 200px;
    }
    .slide-content .tagline-shaandar {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    /* Hide the desktop slider and show the mobile slider */
    .desktop-slider {
        display: none;
    }
    .mobile-slider {
        display: block;
    }

    /* Set the aspect ratio for mobile banners */
    .slider {
        aspect-ratio: 1070 / 1338; /* <-- This line has been changed */
    }

    .slide-content {
        padding-right: 5%;
        padding-left: 5%;
        width: 100%;
        justify-content: center;
    }

    .slide-content .brand-logo {
        max-width: 150px;
    }
    .slide-content .tagline-ghAR {
        font-size: 1rem;
    }
    .slide-content .tagline-shaandar {
        font-size: 1.8rem;
        padding: 5px 20px;
    }

    .slider-nav {
        padding: 10px;
        font-size: 1.2rem;
    }
}