/* ============================================
   HERO SLIDER COMPONENT
   ============================================ */

.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Changed from fixed to prevent mobile/iOS zoom bug */
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 2rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease-out 0.2s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(to bottom, #fff, #ddd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: white;
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.slider-nav:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    right: 30px;
}

.slider-nav.next {
    left: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    background: var(--primary-gold);
    border-color: white;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 992px) {
    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .slider-nav.prev {
        right: 15px;
    }

    .slider-nav.next {
        left: 15px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 65vh; /* Reduced height on mobile to fit landscape images without heavy zooming */
    }

    .slide {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }

    .slider-nav {
        display: none;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .slider-dots {
        bottom: 25px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }
}
