/*WHATSAPP ------------------*/
.btn-inquiry-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-inquiry-whatsapp:hover {
    background: #1ea952;
    color: #fff;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    height: 55px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    padding: 0 18px 0 0;
    text-decoration: none;
    width: auto;
    transition: 0.2s;
}

.whatsapp-link img {
    width: 50px;
    height: 50px;
    margin: 0 10px;
    flex-shrink: 0;
}

.whatsapp-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 10px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .whatsapp-link {
        padding: 0 14px 0 0;
    }

    .whatsapp-text {
        font-size: 0.8rem;
    }
}

/*WHATSAPP ------------------*/


/*INQUIRY BUTTON*/
.inquiry-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inquiry-btn {
    animation: pulse-glow 1.8s infinite;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 14px 36px;
    border-radius: 50px;
    box-shadow: 0 0 0 0 rgba(253, 167, 1, 0.7);
    display: inline-flex;
    align-items: center;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(253, 167, 1, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(253, 167, 1, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(253, 167, 1, 0);
        transform: scale(1);
    }
}

.inquiry-btn:hover {
    animation: none;
    transform: scale(1.08);
    background-color: #fda701;
    border-color: #fda701;
    transition: all 0.3s ease;
}

.inquiry-arrow {
    transition: transform 0.3s ease;
}

.inquiry-btn:hover .inquiry-arrow {
    transform: translateX(5px);
}

.inquiry-subtext {
    color: #fff;
    font-size: 0.85rem;
    margin-top: 10px;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .inquiry-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
        width: 90%;
        max-width: 300px;
        justify-content: center;
    }

    .inquiry-subtext {
        font-size: 0.78rem;
        padding: 0 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .inquiry-btn {
        padding: 10px 20px;
        font-size: 0.88rem;
        width: 95%;
    }

    .inquiry-arrow {
        display: none;
    }
}

/*INQUIRY BUTTON*/

/*NAV BAR*/
@media (min-width: 460px) and (max-width: 515px) {
    .header-booking-now {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem !important;
        white-space: nowrap;
        border-radius: 6px;
        flex-shrink: 0;
        line-height: 1.2;
    }

    .header-booking-now i {
        margin-right: 3px;
        font-size: 0.75rem;
    }
}


.header {
    --background-color: rgba(0, 0, 0, 0);
    --default-color: #ffffff;
    --heading-color: #ffffff;
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 14px 0;
    min-height: 64px;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
    z-index: 997;
}

.header .container {
    gap: 10px;
}

.scrolled .header {
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    background: linear-gradient(to right top, rgba(197, 129, 0, 0.92), rgba(197, 129, 0, 0.92), #c58100);
}

/* -------------------------------------------------------------------- */
/* 2. Logo + site name                                                   */
/* -------------------------------------------------------------------- */
.header .logo {
    line-height: 1;
    display: flex;
    align-items: center;
    min-width: 0; /* required so the child text can actually shrink/ellipsis */
    flex: 1 1 auto;
}

.header .logo-img {
    height: clamp(26px, 7vw, 46px);
    width: auto;
    margin-right: clamp(6px, 2vw, 12px);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.header .logo:hover .logo-img {
    transform: scale(1.06);
}

.header .sitename {
    font-size: clamp(0.78rem, 3.6vw, 1.5rem);
    font-weight: 700;
    margin: 0;
    color: var(--heading-color);
    line-height: 1.15;
    white-space: normal;
    word-break: break-word;
    min-width: 0;
}

.header-booking-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1.2;
    border: 1px solid whitesmoke;
    border-radius: 8px;
    padding: clamp(6px, 1.6vw, 10px) clamp(10px, 3vw, 22px);
    font-size: clamp(0.72rem, 2.6vw, 0.95rem);
    animation: header-booking-pulse 1.8s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-booking-now:hover,
.header-booking-now:focus-visible {
    animation: none;
    border: 1px solid gold;
    transform: translateY(-2px) scale(1.04);
}

.header-booking-now i {
    font-size: 0.95em;
}

/* Below ~340px there's no room for the label — show the icon only */
@media (max-width: 339.98px) {
    .header-booking-now {
        padding: 8px;
        min-width: 34px;
    }

    .header-booking-now .btn-text {
        display: none;
    }
}

@keyframes header-booking-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 168, 1, 0.55);
        transform: translateY(0) scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 168, 1, 0);
        transform: translateY(-2px) scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 168, 1, 0);
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-booking-now {
        animation: none;
    }
}

/* -------------------------------------------------------------------- */
/* 4. Nav menu — desktop (>= 1200px, matches Bootstrap's d-xl-none)      */
/* -------------------------------------------------------------------- */
@media (min-width: 1200px) {
    .header .logo {
        order: 1;
        max-width: none;
    }

    .navmenu {
        order: 2;
        padding: 0;
    }

    .header-booking-now {
        order: 3;
        margin: 0 0 0 15px;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu > ul > li {
        white-space: nowrap;
        padding: 15px 14px;
    }

    .navmenu > ul > li:last-child {
        padding-right: 0;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        font-size: 15px;
        padding: 0 2px;
        font-family: var(--nav-font), serif;
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        position: relative;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu > ul > li > a:before {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -6px;
        left: 0;
        background-color: var(--accent-color);
        visibility: hidden;
        transition: all 0.3s ease-in-out 0s;
    }

    .navmenu a:hover:before,
    .navmenu li:hover > a:before,
    .navmenu .active:before {
        visibility: visible;
        width: 100%;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    /* "Explore More" duplicate link only makes sense in the mobile menu */
    .taxi-booking-item {
        display: none;
    }
}

/* -------------------------------------------------------------------- */
/* 5. Nav menu — mobile (< 1200px): hamburger + slide-down panel         */
/* -------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--nav-color, #fff);
        font-size: clamp(24px, 6vw, 28px);
        width: 44px;
        height: 44px; /* comfortable 44px touch target */
        line-height: 0;
        cursor: pointer;
        flex-shrink: 0;
        transition: color 0.3s;
    }

    .header .logo {
        order: 2;
        max-width: none;
    }

    .navmenu {
        order: 3;
        padding: 0;
        z-index: 9997;
    }

    .header-booking-now {
        order: 1;
        margin: 0 0 0 15px;
    }


    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 64px 14px 14px 14px;
        max-height: calc(100vh - 90px);
        padding: 8px 0;
        margin: 0;
        border-radius: 10px;
        background-color: var(--nav-mobile-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transition: 0.3s;
        z-index: 9998;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 13px 20px; /* comfortable tap height */
        font-family: var(--nav-font);
        font-size: 16px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown > .dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    /* Extra link, mobile-only: mirrors the "Explore More" booking button
       so it's reachable from inside the menu too */
    .taxi-booking-item {
        display: list-item;
    }

    /* Open state (toggled by main.js on <body>) */
    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: fixed;
        font-size: 30px;
        top: 14px;
        right: 16px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }
}

/* Default (desktop-first fallback so the hamburger is hidden unless the
   <1200px rule above turns it on) */
.taxi-booking-item {
    display: none;
}

/* -------------------------------------------------------------------- */
/* 6. Focus visibility for keyboard/screen-reader users                  */
/* -------------------------------------------------------------------- */
.navmenu a:focus-visible,
.mobile-nav-toggle:focus-visible,
.header-booking-now:focus-visible {
    outline: 2px solid var(--accent-color, #ffa801);
    outline-offset: 2px;
}

/*NAV BAR*/