/*==========================================================
  Bi-Qing TRAVEL WEBSITE
==========================================================*/

/*==========================================================
  0. FONTS (self-hosted)

  Files expected at /fonts, sibling to /css -- e.g. from
  css/style.css that's ../fonts/cormorant-garamond-v21-latin-300.woff2.
  Filenames follow whatever gwfh.mranftl.com names them on
  download (varies by font version) -- check your fonts
  folder and adjust the src paths below if yours differ.
==========================================================*/

@font-face{
    font-family:"Cormorant Garamond";
    font-style:normal;
    font-weight:300;
    font-display:swap;
    src:url("../fonts/cormorant-garamond-v21-latin-300.woff2") format("woff2");
}

@font-face{
    font-family:"Cormorant Garamond";
    font-style:normal;
    font-weight:400;
    font-display:swap;
    src:url("../fonts/cormorant-garamond-v21-latin-regular.woff2") format("woff2");
}

@font-face{
    font-family:"Cormorant Garamond";
    font-style:normal;
    font-weight:500;
    font-display:swap;
    src:url("../fonts/cormorant-garamond-v21-latin-500.woff2") format("woff2");
}

@font-face{
    font-family:"Cormorant Garamond";
    font-style:normal;
    font-weight:600;
    font-display:swap;
    src:url("../fonts/cormorant-garamond-v21-latin-600.woff2") format("woff2");
}

@font-face{
    font-family:"Cormorant Garamond";
    font-style:normal;
    font-weight:700;
    font-display:swap;
    src:url("../fonts/cormorant-garamond-v21-latin-700.woff2") format("woff2");
}

@font-face{
    font-family:"Inter";
    font-style:normal;
    font-weight:300;
    font-display:swap;
    src:url("../fonts/inter-300.woff2") format("woff2");
}

@font-face{
    font-family:"Inter";
    font-style:normal;
    font-weight:400;
    font-display:swap;
    src:url("../fonts/inter-400.woff2") format("woff2");
}

@font-face{
    font-family:"Inter";
    font-style:normal;
    font-weight:500;
    font-display:swap;
    src:url("../fonts/inter-500.woff2") format("woff2");
}

@font-face{
    font-family:"Inter";
    font-style:normal;
    font-weight:600;
    font-display:swap;
    src:url("../fonts/inter-600.woff2") format("woff2");
}

@font-face{
    font-family:"Caveat";
    font-style:normal;
    font-weight:500;
    font-display:swap;
    src:url("../fonts/caveat-latin-500-normal.woff2") format("woff2");
}

/*==========================================================
  1. RESET
==========================================================*/

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    font-size:16px;
}

body{
    min-height:100vh;
    font-family:var(--font-body);
    font-size:var(--fs-md);
    line-height:1.65;
    color:var(--color-text-primary);
    background:var(--color-bg-main);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
}

img,
picture{
    display:block;
    max-width:100%;
}

svg{
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

button{
    font:inherit;
    background:none;
    border:none;
    cursor:pointer;
}

ul,
ol{
    list-style:none;
}

/*==========================================================
  2. DESIGN TOKENS
==========================================================*/

:root{
    /*==================================================
      Colour Palette
    ==================================================*/
    --color-bg-main:#FFFFFF;
    --color-bg-panel:#FFFFFF;
    --color-bg-card:#F7F7F5;
    --color-text-primary:#292929;
    --color-text-secondary:#6B6B6B;
    --color-accent:#778899;
    --color-accent-hover:#5F7385;
    --color-accent-selected:#292929;
    --color-accent-dark:#292929;
    --color-border:#D8D8D5;
    --color-hero-overlay:rgba(0,0,0,.38);
    /*==================================================
      Aliases (country-page CSS uses these short names)
    ==================================================*/
    --text-primary:var(--color-text-primary);
    --text-secondary:var(--color-text-secondary);
    --text-muted:var(--color-text-secondary);
    --accent:var(--color-accent);
    --border-color:var(--color-border);
    --surface-color:var(--color-bg-card);
    --font-heading:var(--font-display);
    /*==================================================
      Typography
    ==================================================*/
    --font-display:
        "Cormorant Garamond",
        serif;
    --font-body:
        "Inter",
        sans-serif;
    --fs-xs:.82rem;
    --fs-sm:.92rem;
    --fs-md:1rem;
    --fs-lg:1.25rem;
    --fs-xl:clamp(1.8rem,2vw,2.4rem);
    --fs-2xl:clamp(2.6rem,3vw,3.6rem);
    --fs-hero:clamp(3rem,5vw,5rem);
    /*==================================================
      Spacing
    ==================================================*/
    --space-xs:.5rem;
    --space-sm:1rem;
    --space-md:1.5rem;
    --space-lg:2rem;
    --space-xl:3rem;
    --space-2xl:4rem;
    /*==================================================
      Radius
    ==================================================*/
    --radius-sm:12px;
    --radius-md:18px;
    --radius-lg:24px;
    --radius-pill:999px;
    /*==================================================
      Shadows
    ==================================================*/
    --shadow-soft:
        0 10px 30px rgba(0,0,0,.05);
    --shadow-medium:
        0 18px 40px rgba(0,0,0,.12);
    --shadow-large:
        0 24px 60px rgba(0,0,0,.12);
    /*==================================================
      Layout
    ==================================================*/
    --page-width:1800px;
    --transition:.28s ease;
}

/*==========================================================
  3. TYPOGRAPHY
==========================================================*/

h1,
h2,
h3,
h4{
    font-family:var(--font-display);
    font-weight:600;
    color:var(--color-text-primary);
}

h1{
    font-size:var(--fs-hero);
    line-height:.92;
    letter-spacing:-.02em;
}

h2{
    font-size:var(--fs-xl);
    line-height:1.15;
}

h3{
    font-size:1.75rem;
}

p{
    color:var(--color-text-secondary);
}

small{
    font-size:var(--fs-xs);
}

/*==========================================================
  4. BASE ELEMENTS
==========================================================*/

main{
    width:min(100%,var(--page-width));
    margin-inline:auto;
}

section{
    position:relative;
}

::selection{
    background:var(--color-accent);
    color:white;
}

hr{
    border:none;
    border-top:1px solid #9A9A96;
}

/*==========================================================
  5. ACCESSIBILITY
==========================================================*/

a:focus-visible,
button:focus-visible{
    outline:2px solid var(--color-accent-selected);
    outline-offset:4px;
    border-radius:8px;
}

/*==========================================================
  6. COMMON TRANSITIONS
==========================================================*/

a,
button,
.country-chip,
.journey-wrapper,
.journey-arrow{
    transition:all var(--transition);
}

/*==========================================================
  7. UTILITY CLASSES
==========================================================*/

.hidden{
    display:none !important;
}

.visually-hidden{
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip:rect(0,0,0,0);
    border:0;
}

.text-center{
    text-align:center;
}

.flex{
    display:flex;
}

.grid{
    display:grid;
}
/*==========================================================
  LAYOUT
==========================================================*/

/*==========================================================
  8. MAIN LAYOUT
==========================================================*/

.layout{
    width:min(100%,var(--page-width));
    margin-inline:auto;
    display:grid;
    grid-template-columns:1.8fr 1fr;
    min-height:100vh;
    background:var(--color-bg-main);
}

/*==========================================================
  9. HERO PANEL
==========================================================*/

.hero-panel{
    position:relative;
    overflow:hidden;
    min-height:100vh;
    background:#D8D8D5;
}

.hero-image{
    position:absolute;
    inset:0;
}

.hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    user-select:none;
    -webkit-user-drag:none;
    -webkit-touch-callout:none;
}

.hero-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end;
    background:
        linear-gradient(
            to top,
            var(--color-hero-overlay) 0%,
            rgba(0,0,0,.18) 40%,
            rgba(0,0,0,0) 75%
        );
}

.hero-content{
    width:100%;
    max-width:720px;
    padding:var(--space-2xl);
}

.hero-country{
    font-family:var(--font-display);
    font-size:var(--fs-hero);
    line-height:.92;
    letter-spacing:-.01em;
    text-transform:uppercase;
    color:white;
    margin-bottom:var(--space-sm);
}

.hero-content h1{
    font-family:var(--font-display);
    font-weight:500;
    font-size:var(--fs-xl);
    line-height:1.25;
    color:rgba(255,255,255,.85);
    margin-bottom:var(--space-md);
}

.hero-years{
    color:#FFFFFF;
    font-weight:600;
    letter-spacing:.08em;
    margin-bottom:.9rem;
}

.hero-divider{
    width:56px;
    height:2px;
    background:#FFFFFF;
    margin-bottom:var(--space-md);
}

.hero-description{
    max-width:560px;
    color:rgba(255,255,255,.93);
    font-size:1.05rem;
}

/*==========================================================
  10. DASHBOARD
==========================================================*/

.dashboard{
    display:flex;
    flex-direction:column;
    gap:var(--space-lg);
    background:var(--color-bg-panel);
    padding:var(--space-xl);
    min-height:100vh;
    border-left:2px solid #9A9A96;
}

/*==========================================================
  11. DASHBOARD HEADER
==========================================================*/

.dashboard-header{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:var(--space-lg);
    padding-bottom:var(--space-md);
    border-bottom:2px solid #9A9A96;
}

.site-title{
    font-family:var(--font-display);
    font-size:2.25rem;
    font-weight:600;
    letter-spacing:.06em;
    color:var(--color-text-primary);
}

/*==========================================================
  12. NAVIGATION
==========================================================*/

.main-nav{
    display:flex;
    gap:var(--space-lg);
    align-items:center;
}

.main-nav a{
    position:relative;
    color:var(--color-text-secondary);
    font-size:1.35rem;
    font-weight:500;
    padding-bottom:.35rem;
}

.main-nav a:hover{
    color:var(--color-accent-selected);
}

.main-nav a.active{
    color:var(--color-accent-selected);
}

.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:2px;
    background:var(--color-accent-selected);
    transition:width var(--transition);
}

.main-nav a:hover::after,

.main-nav a.active::after{
    width:100%;
}

/*==========================================================
  13. MAP SECTION
==========================================================*/

.map-section{
    display:flex;
    flex-direction:column;
    gap:var(--space-md);
    padding-bottom:var(--space-md);
    border-bottom:2px solid #9A9A96;
}

.map-section h2{
    margin:0;
}

.map-container{
    display:flex;
    align-items:center;
    justify-content:center;
    /* Natural map ratio is 784.077/458.627 (~1.71:1). Going
       wider than that -- with preserveAspectRatio="none" on
       #world-map -- stretches the map horizontally relative
       to its height, flattening the projection. Raise the
       first number to flatten more, lower it to flatten
       less; drop back to 784.077/458.627 to undo it. */
    aspect-ratio:1.95 / 1;
}

#world-map{
    width:100%;
    height:100%;
    display:block;
    opacity:.92;
}

/*==========================================================
  14. STATISTICS
==========================================================*/

.statistics{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:var(--space-md);
    padding-bottom:var(--space-md);
    border-bottom:2px solid #9A9A96;
}

.stat{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:.4rem;
}

.stat:not(:last-child){
    border-right:2px solid #9A9A96;
    padding-right:var(--space-md);
}

.stat-icon{
    width:28px;
    height:28px;
    color:var(--color-accent);
    margin-bottom:.2rem;
}

.stat-number{
    font-family:var(--font-body);
    font-weight:400;
    font-size:2.5rem;
    color:black;
    line-height:1;
}

.stat-label{
    color:var(--color-text-secondary);
    text-transform:uppercase;
    letter-spacing:.08em;
    font-size:var(--fs-xs);
}

/*==========================================================
  15. SECTION SPACING
==========================================================*/

.dashboard > section{
    animation:fadeUp .45s ease;
}

/*==========================================================
  16. SIMPLE PAGE ANIMATION
==========================================================*/

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(18px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/*==========================================================
  COMPONENTS
==========================================================*/

/*==========================================================
  17. DESTINATIONS
==========================================================*/

.destinations-section{
    display:flex;
    flex-direction:column;
    gap:var(--space-md);
    padding-bottom:var(--space-md);
    border-bottom:2px solid #9A9A96;
}

/*==========================================================
  18. COUNTRY CHIPS
==========================================================*/

.country-list,
.more-countries{
    display:flex;
    flex-wrap:wrap;
    gap:.75rem;
}

.more-countries{
    display:none;
}

.more-countries.open{
    display:flex;
}

.country-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:.65rem 1.2rem;
    border:1px solid var(--color-border);
    border-radius:var(--radius-pill);
    background:transparent;
    color:var(--color-text-secondary);
    font-size:var(--fs-sm);
    font-weight:500;
    white-space:nowrap;
    transition:all var(--transition);
}

.country-chip:hover{
    border-color:var(--color-accent);
    color:var(--color-accent);
    transform:translateY(-2px);
}

.country-chip.active{
    background:var(--color-accent-selected);
    border-color:var(--color-accent-selected);
    color:white;
    box-shadow:var(--shadow-soft);
}

/*==========================================================
  19. EXPAND BUTTON
==========================================================*/

.expand-countries{
    align-self:flex-start;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:.65rem 1.2rem;
    border:1px solid var(--color-border);
    border-radius:var(--radius-pill);
    color:var(--color-text-secondary);
    font-size:var(--fs-sm);
    font-weight:600;
}

.expand-countries:hover{
    background:#3D3D3D;
    border-color:#3D3D3D;
    color:#FFFFFF;
}

/*==========================================================
  20. JOURNEY CARD
==========================================================*/

.journey-card{
    margin-top:auto;
}

.site-copyright{
    text-align:center;
    color:var(--color-text-secondary);
    font-size:var(--fs-xs);
    opacity:.7;
}

.journey-wrapper{
    display:flex;
    align-items:stretch;
    gap:var(--space-md);
    background:var(--color-bg-card);
    border:1px solid var(--color-border);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-medium);
    overflow:hidden;
}

.journey-wrapper:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow-large);
}

/*==========================================================
  21. JOURNEY IMAGE
==========================================================*/

.journey-image{
    flex-shrink:0;
    width:180px;
    background:#D8D8D5;
}

.journey-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s ease;
    user-select:none;
    -webkit-user-drag:none;
    -webkit-touch-callout:none;
}

.journey-wrapper:hover .journey-image img{
    transform:scale(1.05);
}

/*==========================================================
  22. JOURNEY CONTENT
==========================================================*/

.journey-content{
    flex:1;
    display:flex;
    flex-direction:column;
    min-height:135px;
    padding:var(--space-md) var(--space-md) var(--space-md) 0;
}

.journey-content h3{
    margin-bottom:.35rem;
}

.journey-location{
    margin-bottom:auto;
    color:var(--color-text-secondary);
}

.journey-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:var(--space-md);
}

#journey-meta{
    color:var(--color-text-secondary);
    font-size:var(--fs-sm);
}

/*==========================================================
  23. CIRCULAR BUTTON
==========================================================*/

.journey-arrow{
    display:flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:56px;
    border-radius:50%;
    border:1px solid var(--color-accent-selected);
    color:white;
    background:var(--color-accent-selected);
    flex-shrink:0;
}

.journey-arrow span{
    font-size:1.35rem;
    line-height:1;
}

.journey-wrapper:hover .journey-arrow{
    background:#3D3D3D;
    border-color:#3D3D3D;
    color:white;
    transform:translateX(2px);
}

/*==========================================================
  24. MAP STATES

  The map is built directly into this page by app.js (see
  world-map-data.js), so these rules reach it like any other
  element -- no separate stylesheet to keep in sync anymore.
==========================================================*/

.country{
    fill:#E9E8E4;
    stroke:#FFFFFF;
    stroke-width:0.4;
    vector-effect:non-scaling-stroke;
    transition:
        fill .25s ease,
        opacity .25s ease;
}

.country.visited{
    fill:#5A5955;
}

.country.selected{
    fill:#292929;
    stroke:#FFFFFF;
    stroke-width:2.5;
    opacity:1;
    filter:
        drop-shadow(0 0 6px rgba(41,41,41,.5))
        drop-shadow(0 3px 6px rgba(0,0,0,.35));
}

.country.visited:hover{
    opacity:.85;
    cursor:pointer;
}

/* Once something is selected, gently dim every other visited
   country so the selected one still reads clearly, without
   going as stark as a heavy fade. */
#world-map:has(.country.selected) .country.visited:not(.selected){
    opacity:.95;
}

#world-map:has(.country.selected) .country.visited:not(.selected):hover{
    opacity:1;
}

/*==========================================================
  25. MICRO INTERACTIONS
==========================================================*/

.site-title:hover{
    color:var(--color-accent);
}

/*==========================================================
  26. LOADING PLACEHOLDER
==========================================================*/

.hero-image img,
.journey-image img{
    background:#F7F6F3;
}

/*==========================================================
  27. FUTURE COMPONENTS

  Reserved for:
  - Search
  - Filters
  - Timeline
  - Photo Categories
==========================================================*/

/*==========================================================
  RESPONSIVE
==========================================================*/

/*==========================================================
  28. LARGE DESKTOP
==========================================================*/

@media (min-width:1800px){
    .layout{
        min-height:100vh;
    }
}

/*==========================================================
  29. DESKTOP / LARGE LAPTOP
==========================================================*/

@media (max-width:1600px){
    .dashboard{
        padding:2.5rem;
    }
    .hero-content{
        padding:3rem;
    }
    .journey-image{
        flex:0 0 clamp(150px,28%,190px);
    }
}

/*==========================================================
  30. LAPTOP
==========================================================*/

@media (max-width:1400px){
    .layout{
        grid-template-columns:1.7fr 1fr;
    }
    .dashboard{
        gap:2rem;
        padding:2.25rem;
    }
    .statistics{
        gap:1rem;
    }
    .stat-number{
        font-size:2.2rem;
    }
}

/*==========================================================
  31. TABLET
==========================================================*/

@media (max-width:1024px){
    .layout{
        grid-template-columns:1fr;
    }
    .hero-panel{
        min-height:70vh;
    }
    .dashboard{
        min-height:auto;
        border-left:none;
        border-top:2px solid #9A9A96;
    }
    .statistics{
        grid-template-columns:repeat(3,1fr);
    }
}

/*==========================================================
  32. MOBILE
==========================================================*/

@media (max-width:768px){
    .hero-panel{
        min-height:60vh;
    }
    .hero-content{
        padding:var(--space-lg);
    }
    .dashboard{
        padding:var(--space-lg);
        gap:var(--space-lg);
    }
    .dashboard-header{
        flex-wrap:wrap;
        gap:var(--space-md);
    }
    .main-nav{
        justify-content:space-between;
        gap:1rem;
        flex-wrap:wrap;
    }
    .map-container{
        min-height:250px;
    }
    .statistics{
        grid-template-columns:1fr;
        gap:var(--space-md);
    }
    .stat:not(:last-child){
        border-right:none;
        padding-right:0;
        border-bottom:2px solid #9A9A96;
        padding-bottom:var(--space-md);
    }
    .journey-wrapper{
        flex-direction:column;
        align-items:flex-start;
    }
    .journey-image{
        flex:none;
        width:100%;
        max-width:none;
        aspect-ratio:16/9;
    }
    .journey-content{
        width:100%;
        min-height:auto;
        padding:var(--space-md);
    }
    .journey-footer{
        width:100%;
    }
}

/*==========================================================
  33. SMALL PHONES
==========================================================*/

@media (max-width:480px){
    html{
        font-size:15px;
    }
    .hero-content{
        padding:1.5rem;
    }
    .dashboard{
        padding:1.5rem;
    }
    .country-list,
    .more-countries{
        gap:.6rem;
    }
    .country-chip{
        padding:.55rem .95rem;
        font-size:.85rem;
    }
    .journey-arrow{
        width:40px;
        height:40px;
    }
}

/*==========================================================
  34. TOUCH DEVICES
==========================================================*/

@media (hover:none){
    .journey-wrapper:hover{
        transform:none;
    }
    .journey-wrapper:hover .journey-image img{
        transform:none;
    }
    .journey-wrapper:hover .journey-arrow{
        transform:none;
    }
}

/*==========================================================
  35. REDUCED MOTION
==========================================================*/

@media (prefers-reduced-motion:reduce){
    *{
        animation:none !important;
        transition:none !important;
        scroll-behavior:auto !important;
    }
}

/*==========================================================
  36. PRINT
==========================================================*/

@media print{
    body{
        background:white;
        color:black;
    }
    .dashboard{
        background:white;
        border:none;
        box-shadow:none;
    }
    .journey-arrow{
        display:none;
    }
}

/*==========================================================
    SITE HEADER
==========================================================*/

.site-header{
    border-bottom:1px solid rgba(0,0,0,.25);
    background:#4A5259;
}

.site-header .site-title{
    color:#F7F6F3;
}

.site-header .main-nav a{
    color:#FFFFFF;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active{
    color:#C9B79C;
}

.site-header .main-nav a::after{
    background:#C9B79C;
}

.header-container{
    max-width:1400px;
    margin:0 auto;
    padding:1.1rem 3rem;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/*==========================================================
    COUNTRY PAGE
==========================================================*/

.country-page{
    max-width:1400px;
    margin:0 auto;
    padding:4rem 3rem 2.5rem;
}

/*==========================================================
    SECTION DIVIDER
==========================================================*/

.section-divider{
    border:none;
    border-top:1px solid #9A9A96;
    margin:2rem 0;
}

/*==========================================================
    COUNTRY HEADER
==========================================================*/

.country-header{
    margin-bottom:2.5rem;
}

.country-header h1{
    font-family:var(--font-heading);
    font-size:clamp(3rem,6vw,5rem);
    font-weight:600;
    line-height:1.05;
    margin-bottom:1rem;
}


.country-destinations{
    display:flex;
    align-items:center;
    gap:.75rem;
    font-size:1.1rem;
    color:var(--text-secondary);
    margin-bottom:1.5rem;
}

.country-flag{
    flex-shrink:0;
    width:2.4rem;
    height:auto;
    filter:drop-shadow(0 2px 3px rgba(0,0,0,.18));
}

/*==========================================================
    TRIP META
==========================================================*/

.trip-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:1rem 3rem;
    padding-bottom:2rem;
    border-bottom:1px solid #9A9A96;
}

.meta-item{
    display:flex;
    align-items:center;
    gap:.85rem;
}

.meta-icon{
    flex-shrink:0;
    width:26px;
    height:26px;
    color:var(--accent);
}

.meta-text{
    display:flex;
    flex-direction:row;
    align-items:baseline;
    gap:.6rem;
}

.meta-title{
    font-size:.8rem;
    text-transform:uppercase;
    letter-spacing:.12rem;
    color:var(--text-muted);
}

.meta-value{
    font-size:1.05rem;
    font-weight:600;
    color:var(--text-primary);
}

/*==========================================================
    INTRODUCTION
==========================================================*/

.journey-introduction{
    margin-bottom:0;
}

.intro-container{
    max-width:760px;
}

.intro-container h2{
    font-family:var(--font-heading);
    font-size:2rem;
    font-weight:600;
    margin-bottom:1.75rem;
}

.intro-container p{
    margin-bottom:1.5rem;
    font-size:1.05rem;
    line-height:1.9;
    color:var(--text-secondary);
}

.intro-container p:last-child{
    margin-bottom:0;
}

.journey-highlight{
    margin-bottom:0;
}

/* Text on the left, image on the right */
.intro-container.has-media{
    max-width:none;
    display:grid;
    grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
    gap:3rem;
    align-items:start;
}

.intro-media{
    margin:0;
}

.intro-media img{
    display:block;
    width:100%;
    height:auto;
    border-radius:14px;
    background:#e9e9e6;
    box-shadow:
        0 2px 6px rgba(0,0,0,.08),
        0 14px 34px rgba(0,0,0,.16);
}

/*==========================================================
    CITY NAVIGATION
==========================================================*/

.city-navigation{
    margin-bottom:2rem;
}

.city-tabs{
    display:flex;
    align-items:center;
    gap:.75rem;
    flex-wrap:wrap;
}

.city-tab{
    padding:.7rem 1.25rem;
    border:1px solid var(--border-color);
    border-radius:999px;
    background:transparent;
    cursor:pointer;
    font-size:.9rem;
    font-weight:500;
    color:var(--text-secondary);
    transition:all .25s ease;
}

.city-tab:hover{
    border-color:#3D3D3D;
    color:#3D3D3D;
}

.city-tab.active{
    background:var(--color-accent-selected);
    color:#ffffff;
    border-color:var(--color-accent-selected);
}

/*==========================================================
    GALLERY
==========================================================*/

.photo-gallery{
    margin-bottom:4rem;
}

.gallery-grid{
    column-count:5;
    column-gap:1.5rem;
}

.gallery-item{
    break-inside:avoid;
    margin:0 0 1.5rem;
    overflow:hidden;
    border-radius:16px;
    background:var(--surface-color);
    cursor:pointer;
    transition:transform .35s ease,
               box-shadow .35s ease;
}

.gallery-item:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.gallery-item img{
    display:block;
    width:100%;
    height:auto;
}

.gallery-item.hidden{
    display:none;
}

/*==========================================================
    GALLERY ACTIONS
==========================================================*/

.gallery-actions{
    display:flex;
    justify-content:center;
    margin-top:1rem;
}

.load-more{
    padding:.9rem 2.2rem;
    border:none;
    border-radius:999px;
    background:var(--color-accent-selected);
    color:#ffffff;
    cursor:pointer;
    font-size:.95rem;
    font-weight:600;
    transition:all .25s ease;
}

.load-more:hover{
    background:#3D3D3D;
    transform:translateY(-2px);
}

/*==========================================================
    COUNTRY NAVIGATION
==========================================================*/

.country-navigation{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
    margin:4rem 0 2rem;
    padding-top:3rem;
    border-top:1px solid #9A9A96;
}

.country-link{
    display:flex;
    flex-direction:column;
    gap:.5rem;
    text-decoration:none;
    color:inherit;
    transition:transform .25s ease,
               color .25s ease;
}

.country-link:hover{
    transform:translateY(-4px);
    color:#292929;
}

.country-nav-label{
    font-size:.8rem;
    text-transform:uppercase;
    letter-spacing:.12rem;
    color:#6B6B6B;
}

.country-nav-name{
    font-family:var(--font-heading);
    font-size:1.35rem;
    font-weight:600;
}

.back-home{
    align-items:center;
    text-align:center;
}

.next-country{
    align-items:flex-end;
    text-align:right;
}

/*==========================================================
    LIGHTBOX
==========================================================*/

.lightbox{
    position:fixed;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(15,18,22,.94);
    z-index:9999;
    padding:2rem;
}

.lightbox.hidden{
    display:none;
}

.lightbox-content{
    max-width:90vw;
    max-height:90vh;
    text-align:center;
}

.lightbox-content img{
    display:block;
    max-width:100%;
    max-height:80vh;
    border-radius:12px;
}

.lightbox-content figcaption{
    margin-top:1rem;
    color:#ffffff;
    font-size:.95rem;
    line-height:1.6;
}

.lightbox-close,

.lightbox-prev,

.lightbox-next{
    position:absolute;
    border:none;
    background:rgba(255,255,255,.12);
    color:#ffffff;
    width:52px;
    height:52px;
    border-radius:50%;
    cursor:pointer;
    transition:background .25s ease,
               transform .25s ease;
}

.lightbox-close:hover,

.lightbox-prev:hover,

.lightbox-next:hover{
    background:var(--accent);
    transform:scale(1.08);
}

.lightbox-close{
    top:2rem;
    right:2rem;
    font-size:2rem;
    line-height:1;
}

.lightbox-prev{
    left:2rem;
    top:50%;
    transform:translateY(-50%);
    font-size:1.5rem;
}

.lightbox-next{
    right:2rem;
    top:50%;
    transform:translateY(-50%);
    font-size:1.5rem;
}

.lightbox-prev:hover{
    transform:translateY(-50%) scale(1.08);
}

.lightbox-next:hover{
    transform:translateY(-50%) scale(1.08);
}

/*==========================================================
    SITE FOOTER
==========================================================*/

.site-footer{
    border-top:1px solid rgba(0,0,0,.25);
    background:#4A5259;
}

.footer-container{
    max-width:1400px;
    margin:0 auto;
    padding:1.5rem 3rem;
    text-align:center;
}

.footer-container p{
    margin:0;
    font-size:.85rem;
    color:#FFFFFF;
}

/*==========================================================
    ABOUT PAGE (small additions on top of existing components:
    intro-container.has-media, intro-media, section-divider,
    site-footer are all reused as-is)
==========================================================*/

.about .about-subtitle{
    font-family:"Caveat","Segoe Print","Bradley Hand",cursive;
    font-size:clamp(1.6rem,3vw,2rem);
    font-style:normal
    font-weight:500;
    line-height:1.25;
    color:var(--text-primary);
    margin-bottom:2rem;
}

.lead{
    font-weight:500;
    font-size:1.15rem;
    color:var(--text-primary);
}

.has-media.media-left{
    max-width:1000px;
    margin-inline:auto;
    grid-template-columns:260px minmax(0,1fr);
    gap:3rem;
    align-items:start;
}

.has-media.media-left h1{
    font-size:2.75rem;
    line-height:1.05;
    margin-bottom:.5rem;
}

.about-signature{
    max-width:760px;
    margin:2.5rem auto 0;
    text-align:right;
    font-family:var(--font-display);
    font-size:1.4rem;
    font-style:italic;
    color:var(--text-primary);
}

/*==========================================================
    RESPONSIVE
==========================================================*/

/*----------------------------------------------------------
    Large Desktop (24–27")
----------------------------------------------------------*/

@media (min-width:1600px){
    .header-container{
        max-width:1600px;
        padding-left:4rem;
        padding-right:4rem;
    }
    .country-page{
        max-width:1600px;
        padding:4rem 4rem 2.5rem;
    }
    .gallery-grid{
        column-count:5;
        column-gap:2rem;
    }
}

/*----------------------------------------------------------
    Laptop / Small Desktop
----------------------------------------------------------*/

@media (max-width:1200px){
    .header-container{
        padding-left:2.5rem;
        padding-right:2.5rem;
    }
    .country-page{
        padding:3.5rem 2.5rem 2.5rem;
    }
    .gallery-grid{
        column-count:4;
    }
}

/*----------------------------------------------------------
    Tablet
----------------------------------------------------------*/

@media (max-width:900px){
    .header-container{
        padding-left:2rem;
        padding-right:2rem;
    }
    .country-page{
        padding:3rem 2rem 2rem;
    }
    .trip-meta{
        gap:1rem 2rem;
    }
    .intro-container.has-media{
        grid-template-columns:1fr;
        gap:2rem;
    }
    .gallery-grid{
        column-count:3;
        column-gap:1.25rem;
    }
    .country-navigation{
        grid-template-columns:1fr;
        gap:2rem;
        text-align:center;
    }
    .country-link,
    .back-home,
    .next-country{
        align-items:center;
        text-align:center;
    }
    .lightbox-prev{
        left:1rem;
    }
    .lightbox-next{
        right:1rem;
    }
}

/*----------------------------------------------------------
    Mobile
----------------------------------------------------------*/

@media (max-width:768px){
    .header-container{
        padding-left:1.5rem;
        padding-right:1.5rem;
    }
    .country-page{
        padding:3rem 1.5rem 2rem;
    }
    .country-header h1{
        font-size:2.75rem;
    }
    .trip-meta{
        gap:.75rem 1.25rem;
        padding-bottom:1.5rem;
    }
    .meta-item{
        gap:.5rem;
    }
    .meta-text{
        gap:.4rem;
    }
    .meta-icon{
        width:20px;
        height:20px;
    }
    .meta-title{
        font-size:.65rem;
    }
    .meta-value{
        font-size:.85rem;
    }
    .city-tabs{
        gap:.75rem;
        overflow-x:auto;
        white-space:nowrap;
        padding-bottom:.5rem;
        scrollbar-width:none;
    }
    .city-tabs::-webkit-scrollbar{
        display:none;
    }
    .gallery-grid{
        column-count:1;
    }
    .gallery-item{
        margin-bottom:1rem;
    }
    .city-tab{
        padding:.6rem 1rem;
        font-size:.85rem;
    }
    .load-more{
        width:100%;
    }
    .lightbox{
        padding:1rem;
    }
    .lightbox-content{
        max-width:100%;
    }
    .lightbox-content img{
        max-height:70vh;
    }
    .lightbox-close{
        top:1rem;
        right:1rem;
    }
    .lightbox-prev,
    .lightbox-next{
        width:44px;
        height:44px;
    }
}

/*----------------------------------------------------------
    Small Phones
----------------------------------------------------------*/

@media (max-width:480px){
    .header-container{
        padding-left:1rem;
        padding-right:1rem;
    }
    .country-page{
        padding:2.5rem 1rem 1.5rem;
    }
    .section-divider{
        margin:2rem 0;
    }
    .country-navigation{
        margin:3rem 0 1.5rem;
    }
}

/*==========================================================
    ABOUT PAGE: CARD LAYOUT
==========================================================*/

body.about{
    background:#F7F7F5;
}

.about .has-media.media-left{
    max-width:1100px;
}

.about .about-text{
    background:#FFFFFF;
    padding:3rem 3.25rem;
    border-radius:18px;
    box-shadow:
        0 2px 6px rgba(0,0,0,.05),
        0 14px 34px rgba(0,0,0,.08);
}

.about .intro-media{
    position:sticky;
    top:2rem;
}

.about .intro-media img{
    box-shadow:none;
}

.about .about-text h1::after{
    content:"";
    display:block;
    width:56px;
    height:2px;
    margin-top:1rem;
    background:#9A9A96;
}

@media (max-width:900px){
    .about .intro-media{
        position:static;
    }
    .about .about-text{
        padding:2rem 1.5rem;
    }
}
