/* =============================================
   AVASA - HERO SLIDER
   ============================================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: block;
}

/* Slide track holds all background slides */
.slider-track {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Individual slide background */
.slider-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 8s ease;
}

.slider-slide.active {
    opacity: 1;
    transform: scale(1.0);
}

/* Dark gradient overlay on each slide */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            rgba(0, 0, 0, 0.6) 100%);
}

/* Content wrapper */
.slider-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Individual slide content */
.slider-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    padding-top: 180px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.slider-content.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* Subtitle with decorative lines */
.slider-content .hero-subtitle {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--avasa-font-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--avasa-gold);
    margin-bottom: 20px;
    animation: none;
}

.slider-content .hero-subtitle::before,
.slider-content .hero-subtitle::after {
    display: none;
}

.subtitle-line {
    display: inline-block;
    width: 50px;
    height: 1px;
    background: var(--avasa-gold);
    opacity: 0.7;
}

/* Hero title in slider */
.slider-content .hero-title {
    font-family: var(--avasa-font-primary);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 36px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    animation: none;
    opacity: 1;
}

/* Two-button row */
.hero-btns {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btns .avasa-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    background: transparent;
    backdrop-filter: blur(4px);
}

.hero-btns .avasa-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

/* ---- Arrows ---- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--avasa-gold);
    border-color: var(--avasa-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.slider-prev {
    left: 40px;
}

.slider-next {
    right: 40px;
}

/* ---- Dots ---- */
.slider-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
    align-items: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--avasa-gold);
    border-color: var(--avasa-gold);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.slider-dot:hover:not(.active) {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.3);
}

/* ---- Counter ---- */
.slider-counter {
    position: absolute;
    bottom: 85px;
    right: 48px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--avasa-font-secondary);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1em;
}

.slider-current {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--avasa-gold);
    line-height: 1;
}

.slider-sep {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* ---- Progress Bar ---- */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 20;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--avasa-gold), var(--avasa-gold-light));
    width: 0%;
    transition: width linear;
}

/* ---- Scroll Down Animation ---- */
.slider-scroll-down {
    position: absolute;
    bottom: 36px;
    left: 48px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--avasa-font-secondary);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.slider-scroll-down:hover {
    color: var(--avasa-gold);
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
    flex-shrink: 0;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background: var(--avasa-gold);
    border-radius: 2px;
    animation: scrollWheel 1.8s ease-in-out infinite;
}

/* Position adjustments when booking form is present */
.hero-slider .slider-dots {
    bottom: 110px;
}

.hero-slider .slider-counter {
    bottom: 115px;
}

.hero-slider .slider-scroll-down {
    bottom: 120px;
}

.hero-slider .slider-progress {
    bottom: 74px;
}

.hero-slider .slider-content {
    padding-bottom: 160px;
}

/* ---- Slider Booking Form ---- */
.slider-booking-form {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border-top: 3px solid var(--avasa-gold);
    padding: 0;
}

.slider-booking-form .booking-form-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    align-items: stretch;
}

.slider-booking-form .booking-form-group {
    padding: 16px 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.slider-booking-form .booking-form-group:last-child {
    border-right: none;
}

.slider-booking-form label {
    font-family: var(--avasa-font-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--avasa-gold);
    margin-bottom: 2px;
}

.slider-booking-form input,
.slider-booking-form select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--avasa-black);
    font-family: var(--avasa-font-secondary);
    padding: 0;
    width: 100%;
    cursor: pointer;
}

.slider-booking-form .avasa-btn-primary {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    height: 100%;
    border-radius: 0;
}