/* ================================================================
   TOURISM CSS
   Combined styles for: Destinations, Things to Do, Destination Detail
   ================================================================ */


/* ────────────────────────────────────────────
   Reset & Base
   ──────────────────────────────────────────── */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}


/* ────────────────────────────────────────────
   Typography
   (font @import is NOT here -- it belongs in the HTML template)
   ──────────────────────────────────────────── */


/* ────────────────────────────────────────────
   Logo
   ──────────────────────────────────────────── */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-icon {
    height: 44px;
    width: auto;
    margin-right: -10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-style: italic;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.6;
}


/* ────────────────────────────────────────────
   Left Nav (Destinations + Things to Do pages)
   ──────────────────────────────────────────── */

.left-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: clamp(280px, 30vw, 480px);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 36px 30px 30px 30px;
    z-index: 10;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    animation: slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Blur + shade behind nav links area, fades at top and bottom */
.nav-links-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-start;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.nav-links-wrap::before {
    content: '';
    position: fixed;
    left: 0;
    width: clamp(280px, 30vw, 480px);
    top: 12%;
    bottom: 12%;
    z-index: -1;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(0, 0, 0, 0.45);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.15) 5%, rgba(0,0,0,0.5) 12%, black 20%, black 80%, rgba(0,0,0,0.5) 88%, rgba(0,0,0,0.15) 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.15) 5%, rgba(0,0,0,0.5) 12%, black 20%, black 80%, rgba(0,0,0,0.5) 88%, rgba(0,0,0,0.15) 95%, transparent 100%);
}

/* Slide-out transition for navigation to detail pages */
.left-nav.leaving {
    animation: slideOutLeft 0.45s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

.scroll-container.leaving {
    transition: opacity 0.4s, transform 0.4s;
    opacity: 0;
    transform: translateX(40px);
}


/* ────────────────────────────────────────────
   Right Nav (Destination Detail page)
   ──────────────────────────────────────────── */

.right-nav {
    position: fixed;
    right: 0;
    top: 0;
    width: clamp(280px, 30vw, 480px);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 36px 30px 30px 30px;
    z-index: 10;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform: translateX(100%);
    animation: slideInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

/* Sharp layer (visible at top & bottom edges) */
.right-nav-bg-sharp {
    position: absolute;
    inset: -60%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.35);
    z-index: -3;
    will-change: transform;
}

/* Blurred layer (fades out at top & bottom) */
.right-nav-bg {
    position: absolute;
    inset: -60%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(24px) brightness(0.35);
    z-index: -2;
    will-change: transform;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.right-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: -1;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

/* Slide-out for back navigation */
.right-nav.leaving {
    animation: slideOutRight 0.45s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-top: 20px;
    transition: color 0.3s;
    cursor: pointer;
}

.back-link:hover {
    color: #fff;
}

.back-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}


/* ────────────────────────────────────────────
   Nav Links (shared: .nav-item, .nav-num, .nav-label, .nav-tagline etc.)
   ──────────────────────────────────────────── */

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    margin: auto 0;
}

.nav-item {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 10px 0;
    cursor: pointer;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s;
    position: relative;
}

.nav-item:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-item.active {
    color: #fff;
}

.nav-num {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.5;
    font-variant-numeric: tabular-nums;
    min-width: 24px;
    flex-shrink: 0;
}

.nav-item.active .nav-num {
    opacity: 0.7;
    font-size: 18px;
}

.nav-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-label {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.1;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-item.active .nav-label {
    font-size: 36px;
    font-weight: 700;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.nav-tagline {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.4;
    letter-spacing: 0.3px;
}

.nav-item.active .nav-tagline {
    opacity: 0.6;
    font-size: 14px;
}

/* Right-nav specific nav-link overrides */
.right-nav .nav-links {
    align-items: flex-end;
}

.right-nav .nav-item {
    flex-direction: row-reverse;
}

.right-nav .nav-num {
    text-align: right;
}

.right-nav .nav-text {
    align-items: flex-end;
}


/* ────────────────────────────────────────────
   Social Row
   ──────────────────────────────────────────── */

.social-row {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
}

.social-row a {
    display: flex;
    align-items: center;
    color: #fff;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.social-row a:hover {
    opacity: 1;
}

.social-row svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.social-link-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
}

/* Right-nav social row alignment */
.right-nav .social-row {
    justify-content: flex-end;
}

.right-nav .social-row a {
    opacity: 0.4;
}


/* ────────────────────────────────────────────
   Background Layer & Parallax
   ──────────────────────────────────────────── */

.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.bg-slide {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    will-change: opacity, transform;
}

.bg-slide.active {
    opacity: 1;
}

.bg-slide.active.blurred {
    filter: blur(6px);
    transition: opacity 1.2s ease, filter 0.8s ease;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}


/* ────────────────────────────────────────────
   Scroll Dots
   ──────────────────────────────────────────── */

.scroll-dots {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.scroll-dot.active {
    background: #fff;
    transform: scale(1.4);
}

.scroll-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}


/* ────────────────────────────────────────────
   Destinations Page
   ──────────────────────────────────────────── */

.scroll-container {
    margin-left: clamp(280px, 30vw, 480px);
    position: relative;
    z-index: 2;
}

.dest-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 12vh 80px 0;
    position: relative;
}

.dest-content {
    transform: translateY(60px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.8s ease;
}

.dest-section.in-view .dest-content {
    transform: translateY(0);
    opacity: 1;
}

.dest-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 14px;
    text-shadow: 0 0 4px rgba(0,0,0,0.6), 0 0 2px rgba(0,0,0,0.4);
}

.dest-name {
    font-size: 100px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    text-shadow: 0 4px 60px rgba(0,0,0,0.4), 0 0 3px rgba(0,0,0,0.8), 1px 1px 2px rgba(0,0,0,0.6);
    margin-bottom: 18px;
}

.dest-tagline {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.85;
    letter-spacing: 1px;
    margin-bottom: 26px;
    text-shadow: 0 0 4px rgba(0,0,0,0.7), 0 0 2px rgba(0,0,0,0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 600px;
    line-height: 1.5;
}

.dest-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.dest-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.dest-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}


/* ────────────────────────────────────────────
   Things to Do Page
   ──────────────────────────────────────────── */

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 600px;
}

.activity-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-name {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.9;
}

.activity-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.activity-locations span,
.activity-locations a {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.55;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s, background 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
    display: inline-flex;
}

.activity-locations span:hover,
.activity-locations a:hover {
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.loc-desc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    padding-left: 2px;
    margin-top: 0;
}

.loc-desc.visible {
    max-height: 60px;
    opacity: 1;
    margin-top: 5px;
}


/* ────────────────────────────────────────────
   Destination Detail Page
   ──────────────────────────────────────────── */

/* -- Hero -- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-right: clamp(280px, 30vw, 480px);
}

.hero-bg {
    position: absolute;
    inset: -25%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.1) 40%,
        rgba(0,0,0,0.5) 80%,
        rgba(10,10,10,1) 100%
    );
}

.breadcrumb {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 48px 48px;
}

.bc-trail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.5;
    margin-bottom: 20px;
}

.bc-trail a {
    color: #fff;
    text-decoration: none;
}

.bc-trail span {
    opacity: 0.5;
}

.hero-title {
    font-size: clamp(52px, 7vw, 100px);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -3px;
    margin-bottom: 16px;
}

.hero-title em {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
}

.hero-sub {
    font-size: 17px;
    font-weight: 300;
    opacity: 0.7;
    max-width: 520px;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #4fc3f7;
    stroke-width: 2;
}

/* -- Content body -- */
.content-body {
    position: relative;
    z-index: 5;
    margin-right: clamp(280px, 30vw, 480px);
    padding: 0 48px;
}

/* -- Stats ribbon -- */
.stats-ribbon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    margin-top: -48px;
    position: relative;
    z-index: 15;
}

.stat-cell {
    padding: 28px 20px;
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(20px);
    text-align: center;
}

.stat-val {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.stat-val .unit {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.5;
    margin-left: 2px;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.35;
}

/* -- Section pattern -- */
.section {
    padding: 80px 0;
}

.section + .section {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.35;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 32px;
}

.section-subtitle {
    font-size: 14px;
    opacity: 0.45;
    margin-top: -20px;
    margin-bottom: 32px;
}

/* -- About -- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.about-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.85;
    opacity: 0.75;
}

.about-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aside-card {
    padding: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
}

.aside-card-title,
.aside-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
    margin-bottom: 10px;
}

.aside-card-body,
.aside-value {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.65;
}

.aside-card-body strong {
    color: #fff;
    opacity: 1;
    font-weight: 600;
}

/* -- Activity cards (detail page) -- */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.activity-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
}

.activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.activity-card:hover img {
    transform: scale(1.08);
}

.activity-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 16px;
}

.activity-card-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.activity-card-meta {
    font-size: 11px;
    opacity: 0.5;
}

.activity-card-price {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* -- Activity cards (short aliases used in templates) -- */
.act-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
}

.act-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.act-card:hover .act-img {
    transform: scale(1.08);
}

.act-img-placeholder {
    background: rgba(255,255,255,0.06);
}

.act-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 55%);
}

.act-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
}

.act-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.act-meta {
    font-size: 11px;
    opacity: 0.5;
}

.act-price {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* -- Accommodation body (template alias) -- */
.acc-body {
    padding: 20px;
}

.acc-desc {
    font-size: 12px;
    line-height: 1.7;
    opacity: 0.45;
    margin-top: 6px;
}

.acc-img-placeholder {
    background: rgba(255,255,255,0.06);
}

/* -- Accommodation tile grid (immersive page) -- */
.acc-tile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.acc-tile {
    position: relative;
    width: 200px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.acc-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.acc-tile:hover .acc-tile-img {
    transform: scale(1.08);
}

.acc-tile-placeholder {
    background: rgba(255,255,255,0.08);
}

.acc-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 55%);
}

.acc-tile-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 12px;
}

.acc-tile-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
}

.acc-tile-dest {
    font-size: 11px;
    opacity: 0.55;
}

.acc-tile-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.acc-tile-price {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    font-size: 10px;
    font-weight: 600;
}

/* -- Gallery tile grid (immersive gallery page) -- */
.gal-tile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.gal-tile {
    position: relative;
    width: 240px;
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.gal-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gal-tile:hover .gal-tile-img {
    transform: scale(1.08);
}

.gal-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
}

.gal-tile-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
}

.gal-tile-caption {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 2px;
}

.gal-tile-dest {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
}

/* -- Image Viewer Overlay -- */
.img-viewer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.img-viewer.active {
    display: flex;
}

.img-viewer-bg {
    position: absolute;
    inset: -40px;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.3);
    transition: background-image 0.4s ease;
}

.img-viewer-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 3;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: color 0.2s;
}

.img-viewer-close:hover {
    color: #fff;
}

.img-viewer-main {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 85vw;
    max-height: 70vh;
}

.img-viewer-frame {
    width: 65vw;
    height: 60vh;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.img-viewer-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6), 0 4px 20px rgba(0,0,0,0.4);
    transition: opacity 0.3s ease;
}

.img-viewer-arrow {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.img-viewer-arrow:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.img-viewer-caption {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 16px 24px 8px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.img-viewer-strip {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 8px;
    padding: 12px 24px 24px;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 90vw;
}

.img-viewer-strip::-webkit-scrollbar {
    display: none;
}

.img-viewer-thumb {
    width: 72px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.4;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.img-viewer-thumb:hover {
    opacity: 0.7;
}

.img-viewer-thumb.active {
    opacity: 1;
    border-color: #fff;
}

/* -- Gallery strip -- */
.gallery-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.gallery-strip::-webkit-scrollbar {
    display: none;
}

.gallery-strip img {
    height: 240px;
    width: auto;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.gallery-strip img:hover {
    transform: scale(1.03);
}

/* -- Accommodations -- */
.acc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.acc-card {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color 0.3s, transform 0.3s;
}

.acc-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.acc-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.acc-info {
    padding: 20px;
}

.acc-type {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.35;
    margin-bottom: 6px;
}

.acc-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.acc-price {
    font-size: 13px;
    opacity: 0.55;
}

.acc-price strong {
    color: #4fc3f7;
    opacity: 1;
    font-weight: 600;
}

/* -- Travel guide (Getting there) -- */
.travel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.travel-card {
    padding: 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.travel-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.travel-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.5;
    opacity: 0.7;
}

.travel-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.travel-desc {
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.55;
}

/* -- Travel content (Getting there free-form HTML) -- */
.travel-content {
    font-size: 15px;
    line-height: 1.85;
    opacity: 0.7;
    margin-bottom: 32px;
}

.travel-content p {
    margin-bottom: 14px;
}

/* -- Location map -- */
.location-map {
    margin-top: 32px;
}

.map-frame {
    width: 100%;
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(1) brightness(0.6) contrast(1.2);
}

/* -- Tips -- */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tip-card {
    padding: 28px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
}

.tip-card.warn::before {
    background: #ff9800;
}

.tip-card.info::before {
    background: #4fc3f7;
}

.tip-card.safe::before {
    background: #66bb6a;
}

/* Tip category accent colours (map to TIP_CATEGORY_CHOICES) */
.tip-card.tip-safety::before   { background: #ff9800; }
.tip-card.tip-packing::before  { background: #ab47bc; }
.tip-card.tip-fees::before     { background: #4fc3f7; }
.tip-card.tip-general::before  { background: #78909c; }
.tip-card.tip-health::before   { background: #66bb6a; }
.tip-card.tip-transport::before { background: #ffa726; }
.tip-card.tip-culture::before  { background: #ef5350; }
.tip-card.tip-wildlife::before { background: #8d6e63; }
.tip-card.tip-highlights::before { background: #ffd54f; }

.tip-emoji {
    font-size: 22px;
    margin-bottom: 12px;
}

.tip-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.tip-head {
    margin-bottom: 8px;
}

.tip-text,
.tip-desc {
    font-size: 12px;
    line-height: 1.7;
    opacity: 0.55;
}

/* -- Map -- */
.map-embed {
    width: 100%;
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(1) brightness(0.6) contrast(1.2);
}

/* -- Footer -- */
.site-footer {
    margin-right: clamp(280px, 30vw, 480px);
    padding: 40px 48px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer-text {
    font-size: 13px;
    opacity: 0.3;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #fff;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.footer-social a:hover {
    opacity: 0.8;
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* -- Fade-up on scroll -- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -- Page entrance: content slides in from left -- */
.page-content {
    transform: translateX(-40px);
    opacity: 0;
    animation: contentSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}


/* ────────────────────────────────────────────
   Animations
   ──────────────────────────────────────────── */

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

@keyframes slideOutLeft {
    to { transform: translateX(-100%); }
}

@keyframes slideInRight {
    to { transform: translateX(0); }
}

@keyframes slideOutRight {
    to { transform: translateX(100%); }
}

@keyframes contentSlideIn {
    to { transform: translateX(0); opacity: 1; }
}


/* ────────────────────────────────────────────
   Responsive
   ──────────────────────────────────────────── */

/* -- Destination Detail page (max-width: 900px) -- */
@media (max-width: 900px) {
    .right-nav {
        width: 280px;
        padding: 28px 24px 24px 20px;
    }

    .hero {
        margin-right: 280px;
    }

    .content-body {
        margin-right: 280px;
    }

    .site-footer {
        margin-right: 280px;
    }

    .stats-ribbon {
        grid-template-columns: repeat(2, 1fr);
    }

    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .acc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .travel-grid {
        grid-template-columns: 1fr;
    }
}

/* -- Mobile hamburger button (hidden on desktop) -- */
.mobile-burger {
    display: none;
}

/* -- Mobile nav overlay (hidden on desktop) -- */
.mobile-nav-overlay {
    display: none;
}

/* -- Left-nav pages + all pages (max-width: 768px) -- */
@media (max-width: 768px) {
    .left-nav {
        position: fixed;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .left-nav .logo {
        flex-shrink: 0;
    }

    .left-nav .logo .logo-title {
        font-size: 20px;
    }

    .left-nav .logo .logo-subtitle {
        font-size: 10px;
    }

    /* Hide nav links and social row in the top bar — they go in the overlay */
    .left-nav .nav-links-wrap,
    .left-nav .social-row {
        display: none;
    }

    .nav-links-wrap::before {
        display: none;
    }

    /* Hamburger button */
    .mobile-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
    }

    .mobile-burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.3s, opacity 0.3s;
    }

    .mobile-burger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-burger.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-burger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Full-screen nav overlay */
    .mobile-nav-overlay {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 80px 32px 40px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .mobile-nav-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    /* Nav items inside overlay */
    .mobile-nav-overlay .nav-links-wrap {
        display: flex;
        flex: 1;
        overflow-y: auto;
        width: 100%;
    }

    .mobile-nav-overlay .nav-links-wrap::before {
        display: none;
    }

    .mobile-nav-overlay .nav-links {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 100%;
        margin: auto 0;
    }

    .mobile-nav-overlay .nav-item {
        display: flex;
        align-items: baseline;
        gap: 14px;
        padding: 12px 0;
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        transition: color 0.3s;
    }

    .mobile-nav-overlay .nav-item.active {
        color: #fff;
    }

    .mobile-nav-overlay .nav-num {
        font-size: 14px;
        opacity: 0.4;
        min-width: 24px;
    }

    .mobile-nav-overlay .nav-item.active .nav-num {
        font-size: 16px;
        opacity: 0.7;
    }

    .mobile-nav-overlay .nav-label {
        font-size: 22px;
        font-weight: 500;
        border: none;
        padding: 0;
    }

    .mobile-nav-overlay .nav-item.active .nav-label {
        font-size: 28px;
        font-weight: 700;
    }

    .mobile-nav-overlay .nav-tagline {
        font-size: 12px;
        opacity: 0.4;
    }

    .mobile-nav-overlay .nav-item.active .nav-tagline {
        opacity: 0.6;
    }

    .mobile-nav-overlay .social-row {
        display: flex;
        gap: 16px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: auto;
    }

    .mobile-nav-overlay .social-row a {
        color: rgba(255, 255, 255, 0.5);
    }

    .scroll-container {
        margin-left: 0;
        margin-top: 52px;
    }

    .dest-section {
        padding: 10vh 24px 0;
    }

    .dest-name {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .dest-tagline,
    .policy-text {
        font-size: 15px;
    }

    .dest-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .activity-list {
        max-width: 100%;
    }

    .scroll-dots {
        display: none;
    }

    /* Tile grids on left-nav pages */
    .acc-tile-grid {
        justify-content: center;
    }

    .acc-tile {
        width: 160px;
    }

    .gal-tile {
        width: 180px;
    }
}

/* -- Destination Detail page (max-width: 640px) -- */
@media (max-width: 640px) {
    .right-nav {
        width: 100%;
        height: auto;
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        flex-direction: row;
        align-items: center;
        padding: 12px 16px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.08);
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateY(100%);
        animation: slideInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
    }

    .right-nav .logo,
    .right-nav .social-row,
    .right-nav .nav-tagline,
    .right-nav .nav-num,
    .back-link {
        display: none;
    }

    .right-nav .nav-links {
        flex-direction: row;
        gap: 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .right-nav .nav-links::-webkit-scrollbar {
        display: none;
    }

    .right-nav .nav-item {
        flex-direction: row;
        padding: 8px 12px;
    }

    .right-nav .nav-item.active .nav-label {
        font-size: 14px;
    }

    .right-nav .nav-label {
        font-size: 13px;
        border: none;
        padding: 0;
        white-space: nowrap;
    }

    .hero {
        margin-right: 0;
        min-height: 400px;
    }

    .hero-title {
        letter-spacing: -1.5px;
    }

    .hero-overlay {
        padding: 0 20px 40px;
    }

    .breadcrumb {
        padding: 0 20px 24px;
    }

    .content-body {
        margin-right: 0;
        padding: 0 20px;
        padding-bottom: 70px;
    }

    .site-footer {
        margin-right: 0;
        padding-bottom: 80px;
    }

    .stats-ribbon {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -24px;
        border-radius: 12px;
    }

    .stat-cell {
        padding: 18px 14px;
    }

    .stat-val {
        font-size: 20px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .acc-grid {
        grid-template-columns: 1fr;
    }

    .gallery-strip img {
        height: 180px;
    }

    /* Smaller destination headings on phone */
    .dest-name {
        font-size: 36px;
    }

    .dest-section {
        padding: 8vh 20px 0;
    }
}

@keyframes slideInUp {
    to { transform: translateY(0); }
}
