/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 4vw !important;
    box-sizing: border-box;
}

.navbar .logo img {
    height: 85px;
    width: auto;
    max-width: 45vw;
    /* never wider than half the screen */
    object-fit: contain;
}

.navbar .menu {
    display: none;
}

.navbar .dropdown {
    position: relative;
    margin-right: 15px;
}

.navbar .dropdown>a {
    cursor: pointer;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.navbar .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    min-width: 130px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar .dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
}

.navbar .dropdown-content a:hover {
    background: #f2f2f2;
}

.navbar .dropdown:hover .dropdown-content {
    display: block;
}

.navbar .btn {
    background: #f2be00;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.navbar .btn:hover {
    background: #000000ff;
}

/* Desktop menu */
.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Hamburger – hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: 0.3s;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    padding: 100px 30px 40px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    color: #333;
    font-size: 18px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mobile-menu a.btn {
    margin-top: 30px;
    text-align: center;
    border: none;
}

/* When menu is open */
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

/* Active menu item highlight */
.navbar a.active,
.mobile-menu a.active {
    color: #f2be00 !important;
    font-weight: bold;
}

/* Optional: add a gold underline or background */
.navbar .dropdown-content a.active,
.mobile-menu a.active {
    background: rgba(242, 190, 0, 0.1);
    border-left: 4px solid #f2be00;
    padding-left: 12px !important;
}

/* Book Now button when active */
.navbar .btn.active,
.mobile-menu .btn.active {
    background: #000;
    color: #f2be00;
    box-shadow: 0 0 0 2px #f2be00;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .navbar {
        height: 80px;
        padding: 0 4vw;
    }

    .navbar .logo img {
        height: 62px;
    }

    /* Hide desktop menu */
    .desktop-menu {
        display: none;
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Optional: change hamburger to X when open */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
/* Desktop – show the menu again */
@media (min-width: 769px) {
    .navbar .menu {
        display: flex;
        align-items: center;
        gap: 2rem;
        font-size: 18px;
    }

    .hamburger {
        display: none;
    }
}