/* ===================================
   FIESTAA PREMIUM HERO SLIDER
=================================== */

/* ==========================================
   FIESTAA PREMIUM HERO BANNER SLIDER
   Bright + Luxury + Responsive
========================================== */

#hero {
    position: relative;
    height: 100vh;
    min-height: 680px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: #111;
}


/* ==========================================
   SLIDER WRAPPER
========================================== */

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}


/* ==========================================
   INDIVIDUAL SLIDES
========================================== */

.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;

    /* Subtle cinematic zoom */
    transform: scale(1.05);

    /*
       Bright resort look:
       - Slight brightness boost
       - Better greenery / pool / room colours
       - Very light contrast enhancement
    */
    filter:
        brightness(1.12)
        saturate(1.14)
        contrast(1.02);

    transition:
        opacity 1.3s ease-in-out,
        transform 7s ease-out;
}


/* Active Slide */

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}


/* ==========================================
   LIGHT PREMIUM OVERLAY

   IMPORTANT:
   Previous overlay was making images dull.
   This version keeps photography bright.
========================================== */

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(5, 14, 9, 0.25) 0%,
            rgba(5, 14, 9, 0.12) 32%,
            rgba(5, 14, 9, 0.04) 52%,
            transparent 75%
        ),
        linear-gradient(
            0deg,
            rgba(3, 9, 6, 0.22) 0%,
            transparent 35%
        );

    pointer-events: none;
}


/* ==========================================
   HERO CONTENT
========================================== */

.hero-body {
    position: relative;
    z-index: 3;

    width: min(1200px, calc(100% - 60px));

    margin: 0 auto;

    color: #fff;
}


/* Small Heading */

.hero-eye {
    margin: 0 0 18px;

    font-size: 12px;
    font-weight: 500;

    line-height: 1.5;

    letter-spacing: 0.22em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.92);

    /* Helps readability without darkening image */
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.28);
}


/* Main Heading */

.hero-h1 {
    margin: 0;

    max-width: 850px;

    font-size: clamp(3.5rem, 6.5vw, 7rem);
    line-height: 0.95;

    font-weight: 500;

    letter-spacing: -0.045em;

    color: #fff;

    /*
       Text shadow lets us keep
       background photography bright
    */
    text-shadow:
        0 3px 20px rgba(0, 0, 0, 0.25),
        0 1px 5px rgba(0, 0, 0, 0.20);
}


/* Description */

.hero-sub {
    margin: 28px 0 0;

    max-width: 620px;

    font-size: 17px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.95);

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
}


/* ==========================================
   CTA BUTTONS
========================================== */

.hero-ctas {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;
}


/* ==========================================
   SLIDER NAVIGATION
========================================== */

.hero-slider-nav {
    position: absolute;

    right: 5%;
    bottom: 42px;

    z-index: 5;

    display: flex;
    align-items: center;

    gap: 14px;
}


/* Dots Wrapper */

.hero-dots {
    display: flex;
    align-items: center;

    gap: 8px;
}


/* Normal Dot */

.hero-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.55);

    cursor: pointer;

    transition:
        width 0.35s ease,
        background 0.35s ease,
        opacity 0.35s ease;
}


/* Active Dot */

.hero-dot.active {
    width: 28px;

    border-radius: 20px;

    background: #fff;
}


/* Previous / Next Buttons */

.hero-nav-btn {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.55);

    background: rgba(0, 0, 0, 0.10);

    color: #fff;

    font-size: 18px;

    cursor: pointer;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.hero-nav-btn:hover {
    background: #fff;
    color: #111;

    transform: translateY(-2px);
}


/* ==========================================
   SCROLL INDICATOR
========================================== */

.scroll-hint {
    position: absolute;

    bottom: 34px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 4;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 0.65rem;

    letter-spacing: 0.22em;
    text-transform: uppercase;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}


.scroll-arr {
    width: 22px;
    height: 22px;

    border-right: 1px solid rgba(255, 255, 255, 0.70);
    border-bottom: 1px solid rgba(255, 255, 255, 0.70);

    transform: rotate(45deg);

    animation: scrollBounce 2.2s ease-in-out infinite;
}


@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: rotate(45deg) translate(5px, 5px);
        opacity: 1;
    }
}


/* ==========================================
   LARGE DESKTOP
========================================== */

@media (min-width: 1400px) {

    .hero-body {
        width: min(1320px, calc(100% - 100px));
    }

}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    #hero {
        min-height: 650px;
    }

    .hero-body {
        width: calc(100% - 50px);
    }

    .hero-h1 {
        font-size: clamp(3rem, 8vw, 5rem);
    }

    .hero-sub {
        max-width: 550px;

        font-size: 16px;
    }

    .hero-slider-nav {
        right: 25px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    #hero {
        height: 100svh;
        min-height: 620px;

        align-items: flex-end;
    }


    /*
       Slightly less brightness on mobile
       because text overlays more of image.
    */

    .hero-slide {
        background-position: center center;

        filter:
            brightness(1.08)
            saturate(1.10)
            contrast(1.02);
    }


    /*
       Bottom gradient only.
       Top/property photography remains bright.
    */

    .hero-veil {
        background:
            linear-gradient(
                0deg,
                rgba(3, 9, 6, 0.58) 0%,
                rgba(3, 9, 6, 0.25) 35%,
                rgba(3, 9, 6, 0.06) 62%,
                transparent 82%
            );
    }


    /* Content */

    .hero-body {
        width: 100%;

        margin: 0;

        padding:
            0 24px
            max(135px, env(safe-area-inset-bottom));
    }


    .hero-eye {
        margin-bottom: 13px;

        font-size: 9px;
        line-height: 1.6;

        letter-spacing: 0.18em;
    }


    .hero-h1 {
        max-width: 100%;

        font-size: clamp(2.7rem, 12vw, 4.2rem);
        line-height: 0.98;

        letter-spacing: -0.035em;
    }


    .hero-sub {
        max-width: 100%;

        margin-top: 18px;

        font-size: 14px;
        line-height: 1.6;
    }


    .hero-ctas {
        margin-top: 24px;

        gap: 10px;
    }


    /* Navigation */

    .hero-slider-nav {
        left: 24px;
        right: auto;

        bottom: 35px;

        gap: 12px;
    }


    .hero-nav-btn {
        width: 40px;
        height: 40px;
    }


    /* Hide scroll indicator on mobile */

    .scroll-hint {
        display: none;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {

    #hero {
        min-height: 600px;
    }

    .hero-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-h1 {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .hero-sub {
        font-size: 13.5px;
    }

    .hero-slider-nav {
        left: 20px;
    }

}


/* ==========================================
   REDUCED MOTION / ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

    .hero-slide {
        transform: none !important;

        transition: opacity 0.4s ease;
    }

    .scroll-arr {
        animation: none;
    }

}


/**************For Video***************************************/
/* ===================================
   PREMIUM VIDEO HERO
=================================== */

.hero-video-section {
    position: relative;

    height: 100vh;
    min-height: 680px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #0b110d;
}


/* VIDEO */
.hero-video-wrap {
    position: absolute;
    inset: 0;

    z-index: 0;

    overflow: hidden;
}

.hero-video {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    min-width: 100%;
    min-height: 100%;

    transform: translate(-50%, -50%);

    object-fit: cover;
}


/* CINEMATIC OVERLAY */
.hero-video-veil {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:

        linear-gradient(
            90deg,
            rgba(4,12,7,.72) 0%,
            rgba(4,12,7,.42) 38%,
            rgba(4,12,7,.08) 75%
        ),

        linear-gradient(
            0deg,
            rgba(3,8,5,.65) 0%,
            transparent 50%
        );

    pointer-events: none;
}


/* CONTENT */
.hero-video-section .hero-body {
    position: relative;

    z-index: 3;

    width: min(1200px, calc(100% - 60px));

    margin: 0 auto;

    color: #fff;
}


/* VIDEO PAUSE BUTTON */
.video-control {
    position: absolute;

    right: 45px;
    bottom: 40px;

    z-index: 5;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.4);

    background: rgba(0,0,0,.12);

    color: #fff;

    font-size: 13px;

    cursor: pointer;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition: .3s ease;
}

.video-control:hover {
    background: #fff;
    color: #111;

    transform: scale(1.05);
}


/* MOBILE */
@media (max-width: 767px) {

    .hero-video-section {
        height: 100svh;
        min-height: 620px;

        align-items: flex-end;
    }

    .hero-video-section .hero-body {
        width: 100%;

        padding:
            0 24px
            max(110px, env(safe-area-inset-bottom));
    }

    .hero-video-veil {
        background:

            linear-gradient(
                0deg,
                rgba(4,12,7,.92) 0%,
                rgba(4,12,7,.58) 45%,
                rgba(4,12,7,.12) 100%
            );
    }

    .video-control {
        width: 42px;
        height: 42px;

        right: 22px;
        bottom: 28px;
    }

}