/* Base Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: #000;
}

/* Desktop Aspect Ratio */
@media (min-width: 1025px) {
    .hero-section {
        aspect-ratio: 1920/850;
        height: auto !important;
    }
}

/* Tablet Aspect Ratios */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
        height: 90vh !important;
        /* Set to 90% of viewport height */
        aspect-ratio: unset;
        /* Remove aspect ratio for tablet */
    }
}

/* Tablet Portrait Mode */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-slider .slide {
        background-size: cover;
        background-image: var(--tablet-portrait-bg-image) !important;
    }
}

/* Tablet Landscape Mode */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-slider .slide {
        background-size: cover;
        background-image: var(--tablet-landscape-bg-image) !important;
    }
}

/* Mobile Aspect Ratio */
@media (max-width: 767px) {
    .hero-section {
        aspect-ratio: 1080/1560 !important;
        height: auto !important;
        background: linear-gradient(45deg, #1a1a1a, #333333);
    }
}

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

/* Slide Styles */
.hero-slider .slide {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease-in-out;
    background-position: center;
    background-repeat: no-repeat;
}

/* Desktop */
@media (min-width: 1025px) {
    .hero-slider .slide {
        background-size: cover;
        background-image: var(--desktop-bg-image) !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-slider .slide {
        position: absolute;
        top: 0;
        left: 0;
        background-size: contain;
        background-image: var(--mobile-bg-image) !important;
    }
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
    display: block;
}

/* Slide Link */
.hero-slider a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Navigation Elements */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

@media (max-width: 767px) {
    .slider-nav {
        bottom: 20px;
    }
}

/* Navigation Dots */
.slider-dot {
    width: 12px;
    height: 12px;
    border: 2px solid;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
}

.slider-dot:hover,
.slider-dot.active {
    transform: scale(1.2);
}

@media (max-width: 767px) {
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* Arrow Navigation */
.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

@media (max-width: 767px) {
    .slider-arrows {
        padding: 0 15px;
    }
}

.slider-arrow {
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.slider-arrow:hover {
    transform: scale(1.1);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .slider-arrow {
        width: 35px;
        height: 35px;
    }

    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Single Hero Image */
.hero-section .slide picture {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-section .slide picture img,
.hero-section .slide picture source {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}