/* Reset */
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Montserrat', sans-serif;
}

                                            /* Header */

/* Header - Professional Glassmorphic */
.header {
    width: 100%;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(240, 242, 245, 0.95) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Solid when scrolling */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    height: 85px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a3a3a;
    letter-spacing: -0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f0b746);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    color: #d4af37;
    transform: translateY(-2px);
}

.logo:hover::after {
    width: 100%;
}

.logo img {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo:hover img {
    transform: scale(1.05) translateY(-2px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.logo-text {
    display: inline-block;
}

/* Centering the nav */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Navigation */
.nav-list {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-list li {
    position: relative;
}

.nav-list li a {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    color: #1a3a3a;
    position: relative;
    padding: 10px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

/* Hover underline animation */
.nav-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background: #f0b746;
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Hover background effect */
.nav-list li a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-list li a:hover::before {
    width: 100%;
}

.nav-list li a:hover::after {
    width: 120px;
    height: 120px;
}

.nav-list li a:hover {
    color: #1a3a3a;
    transform: translateY(-2px);
}

/* Active state */
.nav-list li a.active {
    font-weight: 700;
    color: #f0b746;
}

.nav-list li a.active::before {
    width: 100%;
}

.nav-list li a.active::after {
    display: none;
}

/* Header Buttons Container */
.header > div:has(.login-btn),
.header > div[style*="display: flex"]:has(.login-btn) {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .header > div:has(.login-btn),
    .header > div[style*="display: flex"]:has(.login-btn) {
        gap: 8px;
    }
}

/* Login Button - Smaller and More Beautiful */
.login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.25),
                0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    text-transform: none;
    font-family: 'Montserrat', sans-serif;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.35),
                0 2px 5px rgba(0, 0, 0, 0.15);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.login-btn i {
    font-size: 11px;
    opacity: 0.95;
}

.login-btn.logged-in {
    background: linear-gradient(135deg, #10b548 0%, #0d9e3d 100%);
    box-shadow: 0 3px 12px rgba(16, 181, 72, 0.25),
                0 1px 3px rgba(0, 0, 0, 0.1);
}

.login-btn.logged-in:hover {
    background: linear-gradient(135deg, #0d9e3d 0%, #10b548 100%);
    box-shadow: 0 5px 20px rgba(16, 181, 72, 0.35),
                0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Mobile responsive for login button */
@media (max-width: 768px) {
    .login-btn {
        padding: 7px 16px;
        font-size: 11px;
        gap: 5px;
    }
    
    .login-btn i {
        font-size: 10px;
    }
}

/* Book Now button (Desktop Right) */
.book-btn {
    background: linear-gradient(90deg, #f0b746 0%, #d69c2c 100%);
    color: #fff;
    padding: 12px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.book-btn:hover::before {
    left: 100%;
}

.book-btn:hover {
    background: linear-gradient(90deg, #f5c85a 0%, #f0b746 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.book-btn:active {
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 999;
    position: relative;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #f0b746; /* 🌈 Visible golden color */
    border-radius: 2px;
    transition: 0.3s;
}

/* Hamburger Animation */
.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);
}

/* MOBILE MENU */
@media (max-width: 992px) {
    .header {
        padding: 0 20px;
        height: 80px;
    }

    .header.scrolled {
        height: 75px;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .logo-text {
        display: inline-block;
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .desktop-book {
        display: none;
    }
    
    /* Login button in mobile - ensure it's visible and styled */
    .login-btn {
        padding: 7px 14px;
        font-size: 11px;
        gap: 5px;
    }
    
    /* Header buttons container spacing */
    .header > div:has(.login-btn) {
        gap: 10px;
    }

    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: rgba(5, 8, 15, 0.85);
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
        flex-direction: column;
        padding: 0;
        box-shadow: none;
        height: 100vh;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
        gap: 0;
        border: none;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        z-index: 998;
    }

    .nav-list li {
        width: auto;
        border-bottom: none;
        margin: 8px 0;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list li a {
        display: block;
        padding: 16px 30px;
        font-size: 18px;
        width: auto;
        text-align: center;
        transition: all 0.3s ease;
        color: #ffffff;
        border-radius: 8px;
        min-width: 180px;
    }

    .nav-list li a::before {
        display: none;
    }

    .nav-list li a::after {
        display: none;
    }

    .nav-list li a:hover {
        color: #f0b746;
        background: rgba(240, 183, 70, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(240, 183, 70, 0.2);
    }

    .nav-list li a.active {
        color: #f0b746;
        background: rgba(240, 183, 70, 0.2);
        font-weight: 700;
    }

    .nav-list.show {
        opacity: 1;
        visibility: visible;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Mobile menu backdrop overlay */
    .nav-list::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        z-index: -1;
    }

    .hamburger {
        display: flex;
    }

    .hamburger span {
        background-color: #f0b746;
    }
    
    .hamburger.active span {
        background-color: #ffffff;
    }

    /* Floating book button */
    .mobile-book-btn {
        position: fixed;
        bottom: 30px;
        right: 20px;
        background: linear-gradient(135deg, #d4af37 0%, #f0b746 100%);
        padding: 16px 28px;
        border-radius: 50px;
        color: #fff;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 0.5px;
        z-index: 1000;
        text-decoration: none;
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
        transition: all 0.3s ease;
        text-transform: uppercase;
    }

    .mobile-book-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 12px;
        height: 75px;
    }

    .header.scrolled {
        height: 70px;
    }

    .nav-list {
        top: 0;
        width: 100%;
        height: 100vh;
    }

    .logo {
        font-size: 15px;
        gap: 10px;
        flex: 1;
        min-width: 0;
        max-width: calc(100% - 120px); /* Adjusted for login button */
    }

    .logo img {
        height: 45px;
        width: 45px;
        flex-shrink: 0;
    }

    .logo-text {
        display: inline-block;
        font-size: 13px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.2;
        font-weight: 600;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0 10px;
    }

    .logo {
        font-size: 13px;
        gap: 8px;
        max-width: calc(100% - 45px);
    }

    .logo img {
        height: 40px;
        width: 40px;
    }

    .logo-text {
        display: inline-block;
        font-size: 11px;
        line-height: 1.2;
        letter-spacing: -0.2px;
        white-space: normal;
        word-break: break-word;
    }
}

@media (max-width: 360px) {
    .header {
        padding: 0 8px;
    }

    .logo {
        gap: 6px;
        font-size: 12px;
    }

    .logo img {
        height: 38px;
        width: 38px;
    }

    .logo-text {
        font-size: 10px;
        line-height: 1.15;
    }
}
