/* Premium Navigation Styles */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: none;
    border-bottom: 1px solid rgba(18, 58, 95, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.navbar.navbar-scrolled {
    box-shadow: 0 10px 28px rgba(7, 34, 62, 0.12);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 3.5rem;
}

.brand-logo {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
}

.brand-name:hover {
    color: var(--primary-blue);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    flex-wrap: nowrap;
}

.navbar-menu > li {
    display: flex;
    align-items: center;
}

.navbar-menu a,
.discover-toggle {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.45rem 0;
    transition: color 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.navbar-menu a::after,
.discover-label::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: rgba(0, 102, 204, 0.65);
    transition: width 0.25s ease;
}

.navbar-menu a:hover,
.discover-toggle:hover {
    color: #0066cc;
}

.navbar-menu a:hover::after,
.discover-toggle:hover .discover-label::after,
.navbar-menu a[aria-current="page"]::after,
.nav-item-discover.is-active .discover-label::after {
    width: 100%;
}

.navbar-menu a[aria-current="page"],
.nav-item-discover.is-active .discover-toggle {
    color: #0f4f85;
    font-weight: 600;
}

.discover-toggle {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 40px;
    cursor: pointer;
    font-family: inherit;
}

.discover-label {
    position: relative;
    display: inline-block;
}

.discover-chevron {
    font-size: 0.75rem;
    line-height: 1;
    color: #496b89;
    transition: transform 0.2s ease;
}

.nav-item-discover.open .discover-chevron,
.nav-item-discover:hover .discover-chevron,
.nav-item-discover:focus-within .discover-chevron {
    transform: rotate(180deg);
}

.nav-item-discover {
    position: relative;
}

.discover-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    min-width: 220px;
    padding: 0.5rem;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid rgba(0, 102, 204, 0.14);
    border-radius: 12px;
    box-shadow: 0 16px 30px rgba(7, 34, 62, 0.14);
    display: block;
    opacity: 0;
    transform: translateY(6px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    z-index: 1005;
}

.discover-menu li {
    width: 100%;
}

.discover-menu a {
    display: block;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
}

.discover-menu a::after {
    display: none;
}

.discover-menu a:hover {
    background: rgba(0, 102, 204, 0.08);
}

.nav-item-discover:hover .discover-menu,
.nav-item-discover:focus-within .discover-menu,
.nav-item-discover.open .discover-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.btn-book-now {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.btn-book-now::after {
    display: none !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        z-index: 1001;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand {
        margin-right: 0;
    }

    .navbar-menu.active {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .navbar-menu li {
        width: 100%;
    }

    .navbar-menu a,
    .discover-toggle {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: left;
    }

    .navbar-menu a::after,
    .discover-label::after {
        display: none;
    }

    .discover-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .discover-menu {
        position: static;
        min-width: 0;
        width: 100%;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        background: #f7fbff;
        opacity: 1;
        transform: none;
        visibility: visible;
        pointer-events: auto;
        transition: none;
    }

    .discover-menu a {
        padding-left: 2.75rem;
        background: transparent;
    }

    .nav-item-discover:not(.open) .discover-menu {
        display: none;
    }

    .nav-item-discover.open .discover-menu {
        display: block;
    }
}
