/* ===== 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;
    margin: 0;
    padding: 0.9em 10%;
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    /* same easing */
}

nav.scrolled .nav-container {
    padding: 0.7em 7%;

}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    /* was: transition: padding */
}

nav.scrolled .logo img {
    height: 62px;
    /* drop from 50 → 32, smooth */
}

/* Text container */
.logo-text {
    display: flex;
    padding-left: 15px;
    flex-direction: column;
    line-height: 1;
}

/* Andaman text */
.logo-text .andaman {
    font-size: 24px;
    transition: font-size 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 800;
    font-family: var(--font-display);
    text-transform: uppercase;
    color: var(--primary);
}

/* Paradise with lines */
.logo-text .paradise {
    font-size: 14px;
    transition: font-size 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: #0a3d4d;
    font-family: var(--font-body);
    position: relative;
    text-align: center;
    margin-top: 4px;
}

nav.scrolled .logo-text .andaman {
    font-size: 18px;
}

nav.scrolled .logo-text .paradise {
    font-size: 12px;
}

/* Lines on both sides */
.logo-text .paradise::before,
.logo-text .paradise::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 15px;
    height: 3px;
    border-radius: 15px;
    background: #0a3d4d;
}

.logo-text .paradise::before {
    left: -5px;
}

.logo-text .paradise::after {
    right: -5px;
}

/* ===== DESKTOP LINKS ===== */
.nav-links {
    display: flex;
    gap: 2em;
    list-style: none;
    padding-top: 12px;
    align-items: center;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.93em;

    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: 14px 30px;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 0.88em !important;
    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;
}

.hamburger span {
    display: block;
    width: 23px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 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: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .logo-text .andaman {
        font-size: 16px;
    }

    /* Paradise with lines */
    .logo-text .paradise {
        font-size: 10px;
    }

    .logo img {
        height: 52px;
    }

    nav.scrolled .logo img {
        height: 42px;
    }

    .logo-text .paradise::before,
    .logo-text .paradise::after {
        content: "";
        width: 0px;
    }

    .nav-container {
        padding: 0.9em 4%;
    }
}