/* =====================================================
   APEX SLIDER - FINAL REFINED VERSION
   ===================================================== */


/* ===== GLOBAL SAFETY ===== */
.apex-slider-wrap {
    overflow: hidden;
    position: relative;
}


/* ===== STOP TEXT ANIMATIONS ===== */
.apex-slider-wrap .slider-one__title,
.apex-slider-wrap .slider-one__text,
.apex-slider-wrap .slider-one__tag-line,
.apex-slider-wrap .slider-one__btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
}


/* ===== SLIDE BASE ===== */
.apex-slider-wrap .slider-one__slide {
    height: 85vh; /* slightly reduced */
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center center !important;
    position: relative;
}


/* ===== DARK OVERLAY ===== */
.apex-slide-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.55) 40%,
        rgba(0,0,0,0.2) 70%,
        rgba(0,0,0,0) 100%
    );

    z-index: 1;
}


/* ===== CONTENT LAYER ===== */
.apex-slider-wrap .container {
    position: relative;
    z-index: 2;
    padding-left: 30px;
    padding-right: 30px;
}


/* ===== NAVIGATION ===== */
.apex-slider-wrap .owl-nav {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
    gap: 12px;
    z-index: 10;
}


/* ===== NAV BUTTON ===== */
.apex-slider-wrap .owl-nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff !important;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: none; /* performance */
}


/* ===== HOVER ===== */
.apex-slider-wrap .owl-nav button:hover {
    background: #e0a965 !important;
    border-color: #e0a965;
    transform: translateY(-2px);
}


/* =====================================================
   MOBILE OPTIMIZATION (REFINED)
   ===================================================== */

@media (max-width: 768px) {

    /* ===== HEIGHT FIX (NO MORE TALL HERO) ===== */
    .apex-slider-wrap .slider-one__slide {
        height: auto;
        min-height: 520px;   /* controlled height */
        padding-top: 120px;
        padding-bottom: 30px;
        align-items: flex-start;

        /* BETTER IMAGE FRAMING */
        background-position: 65% center !important;
    }


    /* ===== TEXT ALIGNMENT (LEFT, PREMIUM LOOK) ===== */
    .apex-slider-wrap .container {
        text-align: left;
        padding-left: 20px;
        padding-right: 20px;
    }


    /* ===== TITLE ===== */
    .apex-slider-wrap .slider-one__title {
        font-size: 28px;
        line-height: 1.2;
        max-width: 85%;
        margin-top: 10px;
    }


    /* ===== TEXT ===== */
    .apex-slider-wrap .slider-one__text {
        font-size: 14px;
        max-width: 85%;
        margin-top: 8px;
    }


    /* ===== BUTTON ===== */
    .apex-slider-wrap .slider-one__btn {
        margin-top: 12px;
    }


    /* ===== NAV BUTTONS ===== */
    .apex-slider-wrap .owl-nav {
        bottom: 15px;
        right: 15px;
    }

    .apex-slider-wrap .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}