/**
 * Holden Villa — Premium Site Header
 */

.hm-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-site-header__shell {
    position: relative;
    background: linear-gradient(180deg, rgba(10, 8, 28, 0.92) 0%, rgba(10, 8, 28, 0.62) 100%);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(245, 197, 24, 0.14);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.hm-site-header.is-scrolled .hm-site-header__shell {
    background: rgba(6, 10, 26, 0.97);
    border-bottom-color: rgba(245, 197, 24, 0.32);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 48px rgba(91, 33, 182, 0.15);
}

.hm-site-header__shine {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.7) 18%, rgba(245, 197, 24, 1) 50%, rgba(30, 58, 138, 0.7) 82%, transparent);
    opacity: 0.9;
}

.hm-site-header__inner {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Brand */
.hm-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.hm-brand__logo-img {
    height: 62px !important;
    width: auto !important;
    max-width: none !important;
    min-width: unset !important;
    display: block !important;
    filter: none !important;
    object-fit: contain !important;
}

/* Crown icon in Book Your Stay */
.hm-book-btn .fa-crown {
    font-size: 10px;
}

/* Nav */
.hm-site-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.hm-site-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hm-site-nav li + li {
    position: relative;
}

.hm-site-nav li + li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(245, 197, 24, 0.28) 35%,
        rgba(245, 197, 24, 0.28) 65%,
        transparent 100%);
    pointer-events: none;
}

.hm-site-nav a {
    position: relative;
    display: block;
    padding: 10px 15px;
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 10px;
    transition: color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.hm-site-nav a::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 5px;
    height: 3px;
    border-radius: 99px;
    /* Tapered / feathered gold underline — thick center, soft fade at ends */
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(245, 197, 24, 0.15) 10%,
        rgba(245, 197, 24, 0.75) 28%,
        #ffd54f 48%,
        #f5c518 52%,
        rgba(245, 197, 24, 0.75) 72%,
        rgba(245, 197, 24, 0.15) 90%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(245, 197, 24, 0.35);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.hm-site-nav li.is-active a {
    color: #f5c518;
    background: rgba(245, 197, 24, 0.1);
}

.hm-site-nav li.is-active a::after {
    transform: scaleX(1);
}

/* Actions */
.hm-site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hm-phone-drop {
    position: relative;
}

.hm-phone-drop__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 7px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hm-phone-drop__btn:hover,
.hm-phone-drop.is-open .hm-phone-drop__btn {
    border-color: rgba(245, 197, 24, 0.45);
    background: rgba(245, 197, 24, 0.08);
    box-shadow: 0 0 22px rgba(245, 197, 24, 0.15);
}

.hm-phone-drop__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #5b21b6, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5c518;
    font-size: 14px;
    flex-shrink: 0;
}

.hm-phone-drop__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}

.hm-phone-drop__text small {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.hm-phone-drop__text strong {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.hm-phone-drop__caret {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.25s ease;
}

.hm-phone-drop.is-open .hm-phone-drop__caret {
    transform: rotate(180deg);
}

.hm-phone-drop__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 250px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(10, 12, 30, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 197, 24, 0.28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    z-index: 30;
}

.hm-phone-drop__panel[hidden] {
    display: none !important;
}

.hm-phone-drop__panel a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.hm-phone-drop__panel a:hover {
    background: rgba(245, 197, 24, 0.12);
    color: #f5c518;
}

.hm-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    min-width: 150px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffe082 0%, #f5c518 50%, #e6a800 100%);
    color: #1a0533 !important;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 0 30px rgba(245, 197, 24, 0.5), 0 8px 22px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hm-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(245, 197, 24, 0.65), 0 12px 30px rgba(0, 0, 0, 0.35);
    color: #1a0533 !important;
}

.hm-book-btn i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.hm-book-btn:hover i {
    transform: translateX(4px);
}

.hm-book-btn--full {
    width: 100%;
}

.hm-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hm-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: #fff;
}

/* Mobile drawer */
.hm-mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
}

.hm-mobile-drawer.is-open {
    pointer-events: auto;
}

.hm-mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 18, 0.75);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hm-mobile-drawer.is-open .hm-mobile-drawer__backdrop {
    opacity: 1;
}

.hm-mobile-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(340px, 92vw);
    height: 100%;
    background: linear-gradient(180deg, #14082e 0%, #0a1628 100%);
    border-left: 1px solid rgba(245, 197, 24, 0.22);
    padding: 22px 20px 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
}

.hm-mobile-drawer.is-open .hm-mobile-drawer__panel {
    transform: translateX(0);
}

.hm-mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hm-mobile-drawer__close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(245, 197, 24, 0.14);
    color: #f5c518;
    cursor: pointer;
}

.hm-mobile-nav ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.hm-mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hm-mobile-nav li.is-active a,
.hm-mobile-nav a:hover {
    color: #f5c518;
}

.hm-mobile-contact p {
    margin: 0 0 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.55;
}

body.holdan-v2 .header-area,
body.holdan-v2 .offcanvas-menu {
    display: none !important;
}

@media (max-width: 1180px) {
    .hm-site-nav a {
        padding: 10px 10px;
        font-size: 12px;
    }
}

@media (max-width: 991.98px) {
    .hm-site-header__inner {
        min-height: 72px;
        gap: 12px;
    }

    .hm-site-nav,
    .hm-phone-drop,
    .hm-site-header__actions > .hm-book-btn {
        display: none;
    }

    .hm-menu-toggle {
        display: flex;
    }

    .hm-mobile-drawer {
        display: block;
    }

    .hm-brand__copy {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hm-site-header__inner {
        width: calc(100% - 24px);
    }

    .hm-brand__logo-img {
        height: 48px !important;
    }
}

@media (max-width: 479.98px) {
    .hm-brand__logo-img {
        height: 42px !important;
    }

    .hm-site-header__inner {
        min-height: 64px;
        gap: 8px;
    }
}
