/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.35s ease;
}

nav.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75em clamp(1rem, 3vw, 5%);  /* ← fluid, not fixed 10% */
    gap: 1rem;
    transition: padding 0.35s ease;
}

nav.scrolled .nav-container {
    padding: 0.6em clamp(1rem, 3vw, 5%);
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;  /* ← prevents logo from squishing */
}

.logo img {
    height: clamp(44px, 6vw, 68px);  /* ← fluid, not fixed */
    width: auto;
    transition: height 0.35s ease;
}

nav.scrolled .logo img {
    height: clamp(36px, 5vw, 58px);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .andaman {
    font-size: clamp(13px, 1.8vw, 22px);  /* ← scales with viewport */
    font-weight: 800;
    font-family: var(--font-display);
    text-transform: uppercase;
    color: var(--primary);
    transition: font-size 0.35s ease;
}

.logo-text .paradise {
    font-size: clamp(9px, 1vw, 14px);
    color: #0a3d4d;
    font-family: var(--font-body);
    position: relative;
    text-align: center;
    margin-top: 4px;
    transition: font-size 0.35s ease;
}

nav.scrolled .logo-text .andaman {
    font-size: clamp(12px, 1.5vw, 18px);
}

nav.scrolled .logo-text .paradise {
    font-size: clamp(8px, 0.9vw, 12px);
}

 
/* ===== DESKTOP LINKS ===== */
.nav-links {
    display: flex;
    gap: clamp(0.5em, 1.5vw, 2em);  /* ← fluid gap, compresses gracefully */
    list-style: none;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(11px, 1vw, 14px);  /* ← fluid font size */
    white-space: nowrap;  /* ← prevent wrapping mid-link */
    letter-spacing: 0.2px;
    position: relative;
    transition: color 0.25s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: clamp(8px, 0.9vw, 14px) clamp(12px, 1.8vw, 28px) !important;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: clamp(11px, 0.9vw, 13px) !important;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(232, 88, 10, 0.3);
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: scale(1.04) !important;
    box-shadow: 0 6px 20px rgba(232, 88, 10, 0.45) !important;
}

.nav-cta::after { display: none !important; }

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    border: none;
    background: transparent;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 23px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s, width 0.3s;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.mobile-menu.open { max-height: 420px; }

.mobile-menu-inner {
    padding: 0.5em 5% 1.4em;
    display: flex;
    flex-direction: column;
}

.mobile-menu a {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    padding: 0.85em 0.4em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s, padding-left 0.25s;
}

.mobile-menu a::after {
    content: '›';
    font-size: 1.1em;
    color: rgba(0, 0, 0, 0.2);
    transition: color 0.2s, transform 0.2s;
}

.mobile-menu a:hover { color: var(--primary); padding-left: 0.8em; }
.mobile-menu a:hover::after { color: var(--primary); transform: translateX(3px); }
.mobile-menu a:last-of-type { border-bottom: none; }

.mobile-cta-wrap { margin-top: 1em; }

.mobile-cta {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.9em !important;
    border-radius: 12px;
    font-weight: 700 !important;
    font-size: 0.95em !important;
    box-shadow: 0 4px 16px rgba(232, 88, 10, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.mobile-cta::after { display: none !important; }
.mobile-cta:hover { transform: scale(1.02); box-shadow: 0 6px 22px rgba(232, 88, 10, 0.45); }

/* ===== RESPONSIVE ===== */
@media (max-width: 680px) {  /* ← lowered from 768px */
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: block; }

    .logo-text .andaman { font-size: 14px; }
    .logo-text .paradise { font-size: 9px; }
    nav.scrolled .logo-text .andaman { font-size: 13px; }
    nav.scrolled .logo-text .paradise { font-size: 8px; }
    .logo img { height: 48px; }
    nav.scrolled .logo img { height: 38px; }

    .logo-text .paradise::before,
    .logo-text .paradise::after { width: 0; }

    .nav-container { padding: 0.9em 4%; }
}