@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
    --deep-blue: #1A1A2E;
    --navy: #0D2952;
    --ocean: #1565C0;
    --sky: #42A5F5;
    --sand: #F5F0E8;
    --coral: #FF6B6B;
    --gold: #FF6B4A;
    --text: #2C3E50;
    --text-light: #6B7B8D;
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --border: #E8ECF0;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-w: 780px;
    --max-w-wide: 1100px;
    --pad: 1rem;
}

/* ================================================================
   GLOBAL RESET — ZERO OVERFLOW TOLERANCE
   ================================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--sans);
    color: var(--text);
    line-height: 1.8;
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* HARD LIMIT: nothing escapes the viewport */
img, video, iframe, embed, object, svg, canvas, figure {
    max-width: 100% !important;
    height: auto;
    display: block;
}

/* All text wraps — no exceptions */
p, li, td, th, h1, h2, h3, h4, h5, h6, a, span, blockquote, figcaption, label, dd, dt {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* Preformatted text scrolls instead of overflowing */
pre, code {
    overflow-x: auto;
    max-width: 100%;
}


/* ================================================================
   HEADER
   ================================================================ */
.site-header {
    background: linear-gradient(135deg, var(--deep-blue), var(--navy));
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
    width: 100%;
}

.header-inner {
    max-width: var(--max-w-wide);
    margin: 0 auto;
    padding: 0.85rem var(--pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    z-index: 1001;
    flex-shrink: 0;
}
.logo span { color: var(--gold); }


/* ================================================================
   HAMBURGER
   ================================================================ */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.menu-toggle .bar {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 270px;
    height: 100vh;
    height: 100dvh;
    background: var(--deep-blue);
    padding: 5rem 1.5rem 2rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.nav-menu.open { right: 0; }

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.nav-menu .nav-section { margin-bottom: 1.5rem; }

.nav-menu .nav-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
}

.nav-menu a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.2s, padding-left 0.2s;
}
.nav-menu a:hover,
.nav-menu a:active {
    color: var(--gold);
    padding-left: 8px;
}


/* ================================================================
   HERO
   ================================================================ */
.hero-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

.hero {
    background: linear-gradient(160deg, var(--deep-blue) 0%, #1A3A6B 50%, var(--ocean) 100%);
    color: var(--white);
    padding: 2.5rem var(--pad) 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 5vw, 2.8rem);
    font-weight: 700;
    max-width: 700px;
    margin: 0 auto 0.8rem;
    position: relative;
    line-height: 1.2;
    padding: 0 0.25rem;
}

.hero .subtitle {
    font-size: clamp(0.85rem, 2.5vw, 1.1rem);
    font-weight: 300;
    opacity: 0.9;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    line-height: 1.6;
    padding: 0 0.25rem;
}

.hero .badge {
    display: inline-block;
    background: var(--gold);
    color: var(--deep-blue);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
}


/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb {
    max-width: var(--max-w-wide);
    margin: 0 auto;
    padding: 0.6rem var(--pad);
    font-size: 0.78rem;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.breadcrumb a { color: var(--ocean); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.3rem; opacity: 0.5; }


/* ================================================================
   MAIN LAYOUT
   ================================================================ */
.content-wrap {
    width: 100%;
    max-width: var(--max-w-wide);
    margin: 0 auto;
    padding: 1.5rem var(--pad) 2rem;
    overflow: hidden;
}

@media (min-width: 960px) {
    .content-wrap {
        display: grid;
        grid-template-columns: 1fr 280px;
        gap: 3rem;
        padding: 2.5rem var(--pad) 3rem;
    }
}


/* ================================================================
   ARTICLE
   ================================================================ */
article {
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
}

@media (min-width: 960px) {
    article {
        max-width: none;
        margin: 0;
    }
}

article h1 {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

article h2 {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 3vw, 1.45rem);
    color: var(--deep-blue);
    margin: 2.5rem 0 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sand);
}

article h3 {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 700;
    color: var(--ocean);
    margin: 1.8rem 0 0.5rem;
}

article p {
    margin-bottom: 1.1rem;
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    line-height: 1.8;
}

article ul, article ol {
    margin: 0.5rem 0 1.2rem 1rem;
    padding-left: 0.3rem;
}

article li {
    margin-bottom: 0.45rem;
    font-size: clamp(0.9rem, 1.8vw, 1.02rem);
    line-height: 1.7;
}

article strong { color: var(--deep-blue); }

article a {
    color: var(--ocean);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
article a:hover { color: var(--coral); }


/* ================================================================
   ARTICLE IMAGES — hard constrained
   ================================================================ */
.article-hero {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: block;
}

.article-inline-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1.2rem 0;
    display: block;
}

.photo-credit {
    font-size: 0.65rem;
    color: var(--text-light);
    text-align: right;
    margin-top: -1rem;
    margin-bottom: 1.2rem;
    opacity: 0.5;
}
.photo-credit a { color: var(--text-light); text-decoration: none; }


/* ================================================================
   TABLES — scroll container, NEVER overflow
   ================================================================ */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.2rem 0;
}

article table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

article th {
    background: var(--deep-blue);
    color: var(--white);
    padding: 0.6rem 0.7rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
}

article td {
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.83rem;
}

article tr:nth-child(even) { background: var(--off-white); }
article tr:last-child td { border-bottom: none; }


/* ================================================================
   CALLOUTS
   ================================================================ */
.callout {
    background: linear-gradient(135deg, #EBF5FB 0%, #D6EAF8 100%);
    border-left: 4px solid var(--ocean);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    overflow: hidden;
}

.callout.tip {
    border-left-color: var(--gold);
    background: linear-gradient(135deg, #FEF9E7 0%, #FCF3CF 100%);
}

.callout h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--deep-blue);
}

.callout p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}


/* ================================================================
   FAQ
   ================================================================ */
.faq {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--sand);
}

.faq h2 { border-bottom: none; margin-bottom: 0.8rem; }

.faq-item {
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
    color: var(--deep-blue);
    font-family: var(--serif);
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}


/* ================================================================
   SIDEBAR
   ================================================================ */
.sidebar {
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
}

@media (min-width: 960px) {
    .sidebar {
        position: sticky;
        top: 80px;
        align-self: start;
        margin-top: 0;
    }
}

.sidebar-section {
    background: var(--sand);
    border-radius: 10px;
    padding: 1.1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.sidebar-section h3 {
    font-family: var(--serif);
    font-size: 0.92rem;
    color: var(--deep-blue);
    margin-bottom: 0.6rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--gold);
}

.sidebar-section ul { list-style: none; }
.sidebar-section li { margin-bottom: 0; }

.sidebar-section a {
    color: var(--ocean);
    text-decoration: none;
    font-size: 0.82rem;
    display: block;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    line-height: 1.35;
}
.sidebar-section a:hover { color: var(--coral); }

.dest-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.6rem;
    display: block;
    text-decoration: none;
}

.dest-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: 90px;
    object-fit: cover;
    display: block;
}

.dest-card .dest-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.4rem 0.7rem;
    background: linear-gradient(transparent, rgba(11,29,58,0.85));
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--serif);
}

.cta-box {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ocean) 100%);
    color: var(--white);
    border-radius: 10px;
    padding: 1.3rem;
    text-align: center;
    overflow: hidden;
}

.cta-box h3 {
    font-family: var(--serif);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    border: none;
    padding: 0;
}

.cta-box p {
    font-size: 0.82rem;
    opacity: 0.85;
    line-height: 1.5;
    margin-bottom: 0;
}


/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background: var(--deep-blue);
    color: rgba(255,255,255,0.55);
    padding: 2rem var(--pad);
    text-align: center;
    font-size: 0.78rem;
    margin-top: 3rem;
    width: 100%;
    overflow: hidden;
}

.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer p { margin-bottom: 0.3rem; }


/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ================================================================
   MOBILE TOUCH TARGETS
   ================================================================ */
@media (pointer: coarse) {
    .nav-menu a { padding: 0.7rem 0; min-height: 44px; display: flex; align-items: center; }
    .sidebar-section a { padding: 0.45rem 0; min-height: 44px; display: flex; align-items: center; }
}


/* ================================================================
   EXTRA SMALL (< 380px)
   ================================================================ */
@media (max-width: 380px) {
    :root { --pad: 0.75rem; }
    .logo { font-size: 1.3rem; }
    .hero { padding: 1.8rem var(--pad) 1.5rem; }
    .hero-img { max-height: 200px; }
    article h1 { font-size: 1.25rem; }
}


/* ================================================================
   DESKTOP (960px+)
   ================================================================ */
@media (min-width: 960px) {
    :root { --pad: 2rem; }

    .hero {
        padding: 4rem 2rem 3rem;
    }

    .hero-img {
        max-height: 400px;
    }

    .article-hero {
        max-height: 380px;
        border-radius: 12px;
    }

    article p {
        font-size: 1.05rem;
        line-height: 1.85;
    }
}


/* ================================================================
   PRINT
   ================================================================ */
@media print {
    .site-header, .nav-menu, .nav-overlay, .sidebar, .site-footer,
    .menu-toggle, .breadcrumb { display: none !important; }
    .content-wrap { display: block !important; }
    article { max-width: 100% !important; }
    body { font-size: 11pt; color: #000; }
}
