/* ========================================
   NAVBAR BASE STYLES
   ======================================== */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 50px;
    width: auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--coral);
    font-family: Georgia, serif;
    letter-spacing: 0.15em;
}

/* ========================================
   NAVIGATION LINKS - DESKTOP
   ======================================== */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--coral);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ========================================
   HAMBURGER MENU BUTTON
   ======================================== */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hamburger-menu:hover {
    background: rgba(232, 166, 135, 0.1);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--coral);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger animation when active */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   MOBILE MENU OVERLAY
   ======================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ========================================
   PROMOTIONAL BANNER
   ======================================== */
.promo-banner {
    background: linear-gradient(135deg, var(--coral) 0%, var(--light-coral) 100%);
    color: var(--white);
    padding: 0.8rem 2rem;
    text-align: center;
    position: relative;
    animation: slideDown 0.5s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.promo-banner.hidden {
    display: none;
}

.promo-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
}

.promo-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.promo-text {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.promo-text strong {
    background: var(--navy-blue);
    color: var(--coral);
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0 0.3rem;
}

.promo-close {
    position: absolute;
    right: 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.promo-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ========================================
   MOBILE RESPONSIVE - TABLET & BELOW
   ======================================== */
@media (max-width: 768px) {
    /* Show hamburger menu */
    .hamburger-menu {
        display: flex !important;
        position: relative;
        z-index: 1002;
    }

    nav {
        padding: 0.8rem 1rem;
    }

    .nav-container {
        flex-direction: row;
        gap: 0;
    }

    .logo-container {
        flex: 1;
    }

    .logo {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }

    .logo-image {
        height: 38px;
    }

    /* CRITICAL: Mobile Navigation Drawer - MUST be hidden off-screen */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100vw !important; /* Use viewport width to ensure fully hidden */
        width: 280px !important;
        max-width: 80vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: var(--white, #ffffff) !important;
        flex-direction: column !important;
        padding: 80px 0 30px !important;
        gap: 0 !important;
        z-index: 1000 !important;
        transition: right 0.3s ease !important;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15) !important;
        overflow-y: auto !important;
        display: flex !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Show menu when active */
    .nav-links.active {
        right: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--gray, #e0e0e0);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        color: var(--text-dark, #333);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(232, 166, 135, 0.1);
        color: var(--coral, #e7a689);
    }

    .nav-links a::after {
        display: none;
    }

    /* Promo Banner Mobile */
    .promo-banner {
        padding: 0.6rem 2.5rem 0.6rem 1rem;
    }

    .promo-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .promo-icon {
        display: none;
    }

    .promo-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .promo-close {
        top: 50%;
        transform: translateY(-50%);
        right: 0.5rem;
    }
}

/* ========================================
   MOBILE RESPONSIVE - SMALL PHONES
   ======================================== */
@media (max-width: 480px) {
    .logo {
        font-size: 0.95rem;
    }

    .logo-image {
        height: 32px;
    }

    .nav-links {
        width: 100% !important;
        max-width: 100% !important;
    }

    .promo-text {
        font-size: 0.8rem;
    }

    .promo-text strong {
        display: inline-block;
        margin-top: 0.2rem;
    }
}

/* ========================================
   BODY SCROLL LOCK WHEN MENU OPEN
   ======================================== */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}