/* ═══════════════════════════════════════════════
   100 Travel Hacks — Shared Hack Page Styles
   ═══════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
    --black: #0a0a0a;
    --charcoal: #1a1a1a;
    --graphite: #2d2d2d;
    --steel: #6b6b6b;
    --silver: #9a9a9a;
    --mist: #c8c8c8;
    --cloud: #e8e6e3;
    --cream: #f5f3f0;
    --white: #fafaf8;
    --gold: #b8965a;
    --gold-light: #d4b87c;
    --gold-muted: rgba(184, 150, 90, 0.12);
    --link-gold: #8a6d3b;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    background: var(--white);
    color: var(--charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ─── 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);
}
.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;
}
.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;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    padding-top: 10px;
}
.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mist);
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--white); }

/* ─── HERO BANNER (shared base) ─── */
.article-banner {
    margin-top: 72px;
    width: 100%;
    height: clamp(240px, 32vw, 380px);
    background: linear-gradient(160deg, #0d0d0d 0%, #1a1a1a 40%, #232323 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s ease 0.15s forwards;
}
.article-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(184, 150, 90, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 60%, rgba(184, 150, 90, 0.05) 0%, transparent 60%);
}
.article-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}
.banner-float { position: absolute; z-index: 0; }
.banner-float-1 { top: 15%; left: 8%; width: 120px; height: 120px; border: 1px solid rgba(184, 150, 90, 0.08); border-radius: 50%; animation: floatSlow 8s ease-in-out infinite; }
.banner-float-2 { bottom: 20%; right: 10%; width: 80px; height: 80px; border: 1px solid rgba(184, 150, 90, 0.06); border-radius: 50%; animation: floatSlow 6s ease-in-out infinite reverse; }
.banner-caption {
    position: absolute;
    bottom: 2rem; right: 3rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(184, 150, 90, 0.7);
}

/* ─── ARTICLE HERO ─── */
.article-hero {
    padding: 2.5rem 3rem 0;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}
.article-category {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-muted);
    padding: 0.4rem 1rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}
.article-title {
    font-family: var(--serif);
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--black);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.article-title em {
    font-style: italic;
    color: var(--gold);
}
.article-lede {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--steel);
    line-height: 1.7;
    max-width: 680px;
}
.article-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.article-stat-dot {
    color: var(--graphite);
    font-size: 0.9rem;
}
.article-number {
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--graphite);
}
.article-reading {
    font-size: 0.78rem;
    color: var(--graphite);
}
.article-rating-fires {
    display: flex;
    gap: 2px;
    font-size: 1rem;
    line-height: 1;
}
.fire-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}
.fire-icon:hover { transform: scale(1.25); }
.fire-icon.unlit { opacity: 0.2; filter: grayscale(1); }
.article-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 2.5rem auto;
}

/* ─── ARTICLE BODY ─── */
.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 3rem 4rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}
.article-body h2 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--black);
    margin: 3rem 0 1.25rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.article-body h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--black);
    margin: 2.5rem 0 0.75rem;
    line-height: 1.35;
}
.article-body p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--graphite);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}
.article-body strong {
    font-weight: 500;
    color: var(--black);
}
.article-body a {
    color: var(--link-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(138, 109, 59, 0.3);
    transition: border-color 0.3s ease;
}
.article-body a:hover { border-color: var(--link-gold); }

/* ─── CALLOUTS ─── */
.callout {
    background: var(--cream);
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    border-left: 3px solid var(--gold);
}
.callout-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.callout p {
    font-size: 0.95rem;
    color: var(--graphite);
    margin-bottom: 0;
}

/* ─── PULL QUOTES ─── */
.pull-quote {
    margin: 3rem 0;
    padding: 1.5rem 0 1.5rem 2rem;
    border-left: 2px solid var(--gold);
}
.pull-quote p {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.55;
    margin-bottom: 0;
}

/* ─── TIP ROWS ─── */
.tip-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--cloud);
}
.tip-row:last-child { border-bottom: none; }
.tip-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    color: var(--gold);
    font-family: var(--serif);
    font-size: 0.85rem;
}
.tip-content h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 0.3rem;
}
.tip-content p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--steel);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ─── RESOURCE BOX ─── */
.resource-box {
    margin: 3rem 0 2rem;
    padding: 2rem 2.5rem;
    border: 1px solid var(--cloud);
    border-left: 3px solid var(--charcoal);
}
.resource-box-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 1rem;
}
.resource-box ul { list-style: none; }
.resource-box li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--cloud);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.resource-box li:last-child { border-bottom: none; }
.resource-box a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--link-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(138, 109, 59, 0.3);
    transition: border-color 0.3s ease;
}
.resource-box a:hover { border-color: var(--link-gold); }
.resource-box .resource-desc {
    font-size: 0.75rem;
    color: var(--silver);
    text-align: right;
}

/* ─── VALUE TABLE ─── */
.value-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
}
.value-table thead { border-bottom: 2px solid var(--black); }
.value-table th {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--steel);
    text-align: left;
    padding: 0 0 0.75rem;
}
.value-table th:last-child { text-align: right; }
.value-table td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--cloud);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--graphite);
}
.value-table td:last-child {
    text-align: right;
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--black);
}
.value-table .table-perk-name {
    font-weight: 400;
    color: var(--black);
}
.value-table .table-perk-detail {
    font-size: 0.82rem;
    color: var(--silver);
    margin-top: 0.2rem;
}
.value-table tfoot td {
    border-bottom: none;
    border-top: 2px solid var(--black);
    padding-top: 1rem;
    font-weight: 500;
    color: var(--black);
}
.value-table tfoot td:last-child {
    color: var(--gold);
    font-size: 1.2rem;
}

/* ─── NEXT/PREV NAV ─── */
.article-nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--cloud);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}
.article-nav-item {
    background: var(--white);
    padding: 2.5rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease;
}
.article-nav-item:hover { background: var(--cream); }
.article-nav-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 0.75rem;
}
.article-nav-title {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.35;
}
.article-nav-item.next { text-align: right; }

/* ─── FOOTER ─── */
.footer {
    background: var(--black);
    padding: 4rem 3rem;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--steel);
}
.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.footer-links a {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--steel);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--gold); }

/* ─── PROGRESS BAR ─── */
.progress-bar {
    position: fixed;
    top: 72px; left: 0;
    height: 2px;
    background: var(--gold);
    z-index: 99;
    transition: width 0.1s linear;
}

/* ─── CONTACT MODAL ─── */
.contact-modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; }
.contact-modal.open { display: flex; }
.contact-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.contact-panel { position: relative; z-index: 1; background: var(--white); width: 100%; max-width: 480px; padding: 3rem; margin: 1.5rem; animation: modalIn 0.3s ease; }
.contact-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 32px; height: 32px; background: none; border: none; cursor: pointer; color: var(--silver); font-size: 1.25rem; display: flex; align-items: center; justify-content: center; transition: color 0.3s ease; }
.contact-close:hover { color: var(--black); }
.contact-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.contact-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--black); margin-bottom: 1.5rem; }
.contact-field { margin-bottom: 1.25rem; }
.contact-field label { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--steel); margin-bottom: 0.5rem; }
.contact-field input, .contact-field textarea { width: 100%; padding: 0.75rem 1rem; font-family: var(--sans); font-size: 0.9rem; color: var(--charcoal); background: var(--cream); border: 1px solid var(--cloud); outline: none; transition: border-color 0.3s ease; }
.contact-field input:focus, .contact-field textarea:focus { border-color: var(--gold); }
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-submit { width: 100%; padding: 0.9rem; font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); background: var(--charcoal); border: none; cursor: pointer; transition: background 0.3s ease; margin-top: 0.5rem; }
.contact-submit:hover { background: var(--gold); }
.contact-success { display: none; text-align: center; padding: 2rem 0; }
.contact-success.show { display: block; }
.contact-success-icon { font-size: 2rem; margin-bottom: 1rem; }
.contact-success-title { font-family: var(--serif); font-size: 1.25rem; color: var(--black); margin-bottom: 0.5rem; }
.contact-success-text { font-size: 0.9rem; color: var(--steel); }

/* ─── ANIMATIONS ─── */
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .nav-inner { padding: 0 1.5rem; }
    .article-hero { padding: 2rem 1.5rem 0; }
    .article-body { padding: 0 1.5rem 4rem; }
    .article-stats { flex-wrap: wrap; gap: 0.5rem; }
    .article-nav { grid-template-columns: 1fr; padding: 0 1.5rem 4rem; }
    .callout { padding: 1.5rem; }
    .resource-box { padding: 1.5rem; }
    .resource-box li { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .resource-box .resource-desc { text-align: left; }
    .footer { padding: 3rem 1.5rem; }
    .footer-inner { flex-direction: column; gap: 1.5rem; }
    .banner-caption { right: 1.5rem; bottom: 1.5rem; }
}
