/* ================= FINAL SMOOTH CAROUSEL ================= */

.banner_area {
    position: relative;
    overflow: hidden;
}

/* FIX HEIGHT */
.banner_area .carousel,
.banner_area .carousel-inner,
.banner_area .carousel-item {
    height: 100vh;
}

/* FIX FLICKER */
.banner_area .carousel-item {
    transition: opacity 1.2s ease-in-out !important;
}

.banner_area .carousel-fade .carousel-item {
    opacity: 0;
}

.banner_area .carousel-fade .carousel-item.active,
.banner_area .carousel-fade .carousel-item-next.carousel-item-left,
.banner_area .carousel-fade .carousel-item-prev.carousel-item-right {
    opacity: 1;
}

.banner_area .carousel-fade .active.carousel-item-left,
.banner_area .carousel-fade .active.carousel-item-right {
    opacity: 0;
}

/* REMOVE SLIDE MOVEMENT */
.banner_area .carousel-item-next,
.banner_area .carousel-item-prev,
.banner_area .carousel-item.active {
    transform: translateX(0) !important;
}

/* BACKGROUND */
.banner_area .booking_table {
    height: 100vh;
    width: 100%;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 6s ease;
    will-change: transform;
}

/* ZOOM EFFECT */
.banner_area .carousel-item.active .booking_table {
    transform: scale(1.08);
}

/* OVERLAY */
.banner_area .overlay {
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.6)) !important;
}

/* TEXT ANIMATION */
.banner_area .banner_content h6,
.banner_area .banner_content h2,
.banner_area .banner_content p,
.banner_area .banner_content a {
    opacity: 0;
    transform: translateY(-50px);
}

/* ACTIVE TEXT */
.banner_area .carousel-item.active .banner_content h6 {
    animation: slideDown 0.8s ease forwards;
}

.banner_area .carousel-item.active .banner_content h2 {
    animation: slideDown 1s ease forwards;
}

.banner_area .carousel-item.active .banner_content p {
    animation: slideDown 1.2s ease forwards;
}

.banner_area .carousel-item.active .banner_content a {
    animation: slideDown 1.4s ease forwards;
}

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= TEXT ================= */

.banner_area .banner_content h6 {
    color: #f1c40f;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    margin-bottom: 10px;
}

.banner_area .banner_content h2 {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
    margin-bottom: 15px;
}

.banner_area .banner_content p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    max-width: 650px;
    margin: 0 auto 20px;
}

/* BUTTON */
.banner_area .theme_btn {
    background: linear-gradient(45deg, #f1c40f, #d4ac0d);
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(241, 196, 15, 0.4);
}

.banner_area .theme_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(241, 196, 15, 0.7);
}

/* INDICATORS */
.banner_area .carousel-indicators .active {
    background: #f1c40f;
}

/* ================= TYPING ================= */

.banner_area .typing-text {
    border-right: 3px solid #f1c40f;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    min-height: 60px;
    animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {
    50% {
        border-color: transparent;
    }
}

/* ================= PARALLAX ================= */

.parallax_section {
    height: 400px;
    background: url('../uploads/sliders/slider1.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.parallax_section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.parallax_section .content {
    position: relative;
    z-index: 2;
}

/* ================= 🔥 MOBILE PERFECT FIX ================= */

@media (max-width: 768px) {

    /* IMAGE FIX */
    .banner_area .booking_table {
        background-position: center top !important;
    }

    /* REMOVE HEAVY ZOOM */
    .banner_area .carousel-item.active .booking_table {
        transform: scale(1.02);
    }

    /* CONTENT POSITION */
    .banner_area .banner_content {
        padding-top: 110px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* TEXT FIX */
    .banner_area .banner_content h6 {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .banner_area .banner_content h2 {
        font-size: 24px;
        line-height: 1.3;
        white-space: normal !important;
    }

    .banner_area .banner_content p {
        font-size: 13px;
        max-width: 95%;
    }

    /* BUTTON */
    .banner_area .theme_btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* CENTER FIX */
    .banner_area .booking_table {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* REMOVE TYPING CURSOR ON MOBILE */
    .banner_area .typing-text {
        border-right: none;
        animation: none;
    }

    /* PARALLAX FIX */
    .parallax_section {
        background-attachment: scroll;
    }
}
