/* ==========================================
   HERO CAROUSEL / SLIDER STYLES
   ========================================== */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 420px; /* Compact premium desktop height */
    overflow: hidden;
    background-color: #ffffff; /* White background to seamlessly integrate contained slide banners */
}

/* Slides Wrapper */
.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    list-style: none;
}

/* Individual Slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Images */
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Fit the full width and height of the container exactly */
    object-position: center;
    display: block;
}

/* Slider Controls (Arrows) */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0; /* Hidden by default, show on slider hover */
    visibility: hidden;
}

.hero-slider-container:hover .hero-arrow {
    opacity: 1;
    visibility: visible;
}

.hero-arrow:hover {
    background-color: var(--accent-orange, #f26522);
    border-color: var(--accent-orange, #f26522);
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.hero-arrow-left {
    left: 24px;
}

.hero-arrow-right {
    right: 24px;
}

.hero-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}



/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 992px) {
    .hero-slider-container {
        height: 320px;
    }
    
    .hero-arrow {
        opacity: 1; /* Always visible on mobile/tablets */
        visibility: visible;
        width: 42px;
        height: 42px;
    }
    
    .hero-arrow-left {
        left: 12px;
    }
    
    .hero-arrow-right {
        right: 12px;
    }
    
}

/* Small Devices (Mobile, less than 576px) */
@media (max-width: 576px) {
    .hero-slider-container {
        height: 200px; /* Compact height for clean mobile reading */
    }
    
    .hero-arrow {
        width: 36px;
        height: 36px;
    }
    
    .hero-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .hero-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-dot.active {
        width: 16px;
    }
}
