/* =============================================================================
   NAV + FOOTER — single source of truth for 100travelhacks.com
   All pages link this file. Do not duplicate these rules inline.
   Matches homepage (index.html) exactly.
============================================================================= */

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding-top: 2px;
}

.nav-logo-number {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--gold);
}

.nav-logo-text {
    padding-top: 10px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
    padding-top: 10px;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover         { color: var(--white); }
.nav-links a:hover::after  { width: 100%; }
.nav-links a.active        { color: var(--white); }
.nav-links a.active::after { width: 100%; }

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 201;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white, #fafaf8);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu-overlay.open { display: flex; }

.mobile-menu-overlay a {
    font-family: var(--sans, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c8c8c8;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-overlay a:hover { color: #fafaf8; }

/* ── FOOTER ── */
.footer {
    background: #1c1c1c;
    padding: 2.5rem 3rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    font-family: var(--sans);
    font-size: 0.72rem;
    color: #aaaaaa;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    font-family: var(--sans);
    font-size: 0.72rem;
    color: #cccccc;
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
}

.footer-links a:hover { color: #ffffff; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hamburger     { display: flex; }
    .nav-links     { display: none !important; }
    .nav-inner     { padding: 0 1.5rem; }
    .footer        { padding: 2rem 1.5rem; }
    .footer-inner  { flex-direction: column; gap: 1rem; }
    .footer-links  { flex-wrap: wrap; gap: 1rem; }
}
