/*
 * Explore Ninh Binh - page-specific stylesheet
 * ALL rules scoped to .exp — zero impact on other pages
 * Fonts: site fonts only (Cormorant Garamond, Inter, Playfair Display, Montserrat)
 */

/* ═══════════════════════════════════════════
   CUSTOM PROPERTIES
═══════════════════════════════════════════ */
.exp {
    --exp-green: #1B3A2D;
    --exp-terra: #C8714A;
    --exp-cream: #FAF7F0;
    --exp-text:  #2E2A24;
    --exp-muted: #6B6560;
    --exp-pad:   88px;
    --exp-t:     0.28s ease;

    background: var(--exp-cream);
    color: var(--exp-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.exp *, .exp *::before, .exp *::after { box-sizing: border-box; }
.exp img  { display: block; max-width: 100%; }
.exp a    { color: inherit; text-decoration: none; }
.exp ul   { list-style: none; margin: 0; padding: 0; }
.exp p    { margin: 0 0 1rem; }
.exp p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   CONTAINER
═══════════════════════════════════════════ */
.exp-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.exp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--exp-t);
    border: 2px solid transparent;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

/* Terra fill */
.exp-btn--terra {
    background: var(--exp-terra);
    color: var(--exp-cream);
    border-color: var(--exp-terra);
}
.exp-btn--terra:hover {
    background: transparent;
    color: var(--exp-terra);
    border-color: var(--exp-terra);
}

/* Green fill */
.exp-btn--green {
    background: var(--exp-green);
    color: var(--exp-cream);
    border-color: var(--exp-green);
}
.exp-btn--green:hover {
    background: transparent;
    color: var(--exp-cream);
    border-color: var(--exp-cream);
}

/* Cream fill - on terra bg */
.exp-btn--cream {
    background: var(--exp-cream);
    color: var(--exp-terra);
    border-color: var(--exp-cream);
}
.exp-btn--cream:hover {
    background: #fff;
    border-color: #fff;
    color: var(--exp-terra);
}

/* Green outline - on cream bg */
.exp-btn--green-outline {
    background: transparent;
    color: var(--exp-green);
    border-color: var(--exp-green);
}
.exp-btn--green-outline:hover {
    background: var(--exp-green);
    color: var(--exp-cream);
    border-color: var(--exp-green);
}

/* Cream outline - on green bg */
.exp-btn--cream-outline {
    background: transparent;
    color: var(--exp-cream);
    border-color: var(--exp-cream);
}
.exp-btn--cream-outline:hover {
    background: var(--exp-cream);
    color: var(--exp-green);
    border-color: var(--exp-cream);
}

/* ═══════════════════════════════════════════
   SECTION HEADER (shared)
═══════════════════════════════════════════ */
.exp-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.exp-section-h2 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 600;
    color: var(--exp-green);
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin: 0 0 12px;
}

.exp-section-sub {
    color: var(--exp-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: center;
}

/* ═══════════════════════════════════════════
   1. HERO - video background
═══════════════════════════════════════════ */
.exp-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.exp-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.exp-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 58, 45, 0.55);
    z-index: 1;
    pointer-events: none;
}

.exp-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px;
    max-width: 820px;
    width: 100%;
}

.exp-hero-h1 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 600;
    color: var(--exp-cream);
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin: 0 0 20px;
}

.exp-hero-p {
    color: rgba(250, 247, 240, 0.85);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.7;
    margin: 0 auto 36px;
    max-width: 560px;
}

/* ═══════════════════════════════════════════
   2. DESTINATIONS GRID
═══════════════════════════════════════════ */
.exp-destinations {
    background: var(--exp-cream);
    padding: var(--exp-pad) 0;
}

.exp-dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.exp-dest-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: default;
}

.exp-dest-card:hover .exp-dest-img {
    transform: scale(1.03);
}

.exp-dest-card:hover .exp-dest-overlay {
    background: linear-gradient(to top, rgba(27, 58, 45, 0.55) 0%, rgba(27, 58, 45, 0.06) 55%, transparent 100%);
}

.exp-dest-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.exp-dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 58, 45, 0.80) 0%, rgba(27, 58, 45, 0.12) 50%, transparent 100%);
    transition: background 0.3s ease;
    pointer-events: none;
}

.exp-dest-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(200, 113, 74, 0.90);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    z-index: 3;
    line-height: 1;
}

.exp-dest-title {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    color: #fff;
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    letter-spacing: 0.01em;
    z-index: 2;
}

/* ═══════════════════════════════════════════
   3. TOURS
═══════════════════════════════════════════ */
.exp-tours-wrapper {
    border-top: 1px solid rgba(27, 58, 45, 0.1);
}

.exp-tours-intro {
    background: var(--exp-cream);
    padding: 64px 0 40px;
    text-align: center;
}

/* Tour Block */
.exp-tour-block {
    margin-bottom: 80px;
    border-top: 4px solid var(--exp-terra);
}

.exp-tour-block:last-child {
    margin-bottom: 0;
}

/* A1 / B1 - Tour Hero */
.exp-tb-hero {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    min-height: 320px;
}

.exp-tb-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.exp-tb-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 58, 45, 0.70) 0%, rgba(27, 58, 45, 0.15) 55%, transparent 100%);
    pointer-events: none;
}

.exp-tb-hero-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--exp-terra);
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    z-index: 2;
}

.exp-tb-hero-title {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 180px;
    color: #fff;
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 4.5vw, 60px);
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    z-index: 2;
    letter-spacing: 0.01em;
}

.exp-tb-hero-price {
    position: absolute;
    bottom: 28px;
    right: 28px;
    background: var(--exp-terra);
    color: #fff;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    border-radius: 4px;
    white-space: nowrap;
}

/* A2 / B2 - Stats Bar */
.exp-tb-stats {
    background: var(--exp-green);
    color: var(--exp-cream);
    display: flex;
    align-items: stretch;
}

.exp-tb-stats span {
    flex: 1;
    text-align: center;
    padding: 16px 12px;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    border-right: 1px solid rgba(250, 247, 240, 0.15);
}

.exp-tb-stats span:last-child {
    border-right: none;
}

/* A3 / B3 - Sticky Nav */
.exp-tb-nav {
    background: #fff;
    border-bottom: 2px solid var(--exp-green);
    display: flex;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.exp-tb-nav-link {
    padding: 14px 28px;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    color: var(--exp-text);
    transition: color 0.25s ease, border-color 0.25s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    text-decoration: none;
    display: inline-block;
}

.exp-tb-nav-link:hover,
.exp-tb-nav-link--active {
    color: var(--exp-terra);
    border-bottom-color: var(--exp-terra);
}

/* Shared section padding */
.exp-tb-section {
    padding: 64px 0;
}

/* Narrow container for content sections */
.exp-tb-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.exp-tb-h3 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 600;
    color: var(--exp-green);
    line-height: 1.2;
    margin: 0 0 20px;
}

.exp-tb-p {
    color: var(--exp-text);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* A4 / B4 - Overview */
.exp-tb-overview {
    background: var(--exp-cream);
}

.exp-tb-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.exp-tb-pill {
    background: rgba(27, 58, 45, 0.08);
    border: 1px solid rgba(27, 58, 45, 0.20);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.88rem;
    color: var(--exp-green);
    white-space: nowrap;
    transition: background 0.25s ease;
}

.exp-tb-pill:hover {
    background: rgba(27, 58, 45, 0.14);
}

/* A5 / B5 - Included/Excluded */
.exp-tb-included {
    background: #fff;
}

.exp-tb-inc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.exp-tb-inc-heading {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 16px;
}

.exp-tb-inc-heading--yes { color: var(--exp-green); }
.exp-tb-inc-heading--no  { color: #C0392B; }

.exp-tb-inc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exp-tb-inc-list li {
    color: var(--exp-text);
    font-size: 0.95rem;
    line-height: 1.5;
    padding-left: 18px;
    position: relative;
}

.exp-tb-inc-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--exp-green);
    font-weight: 600;
}

.exp-tb-inc-list--no li::before {
    color: #C0392B;
}

/* A6 / B6 - Book Now */
.exp-tb-book {
    background: var(--exp-green);
    color: var(--exp-cream);
}

.exp-tb-book-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.exp-tb-price-main {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--exp-cream);
    line-height: 1;
    margin: 0 0 8px;
}

.exp-tb-price-unit {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.80;
    margin-left: 4px;
}

.exp-tb-price-note {
    color: rgba(250, 247, 240, 0.72);
    font-size: 0.88rem;
    margin: 0;
}

.exp-tb-book-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exp-tb-book-actions .exp-btn {
    border-radius: 6px;
    width: 100%;
    justify-content: center;
}

.exp-tb-book-note {
    color: rgba(250, 247, 240, 0.62);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 4px 0 0;
}

/* Tour Divider */
.exp-tour-divider {
    width: 200px;
    margin: 40px auto;
    border-top: 1px solid var(--exp-terra);
}

/* ═══════════════════════════════════════════
   4. REDEFINES - full-width, image + overlay
═══════════════════════════════════════════ */
.exp-redefines {
    position: relative;
    background-color: var(--exp-green);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--exp-pad) 24px;
    text-align: center;
}

.exp-redefines::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27, 58, 45, 0.80);
    z-index: 0;
    pointer-events: none;
}

.exp-redefines-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.exp-redefines-h2 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 600;
    color: var(--exp-cream);
    line-height: 1.4;
    letter-spacing: 0.01em;
    margin: 0 0 24px;
}

.exp-redefines-h2::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--exp-terra);
    margin: 0 auto 28px;
}

.exp-redefines-p {
    color: rgba(250, 247, 240, 0.85);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 36px;
}

/* ═══════════════════════════════════════════
   5. CTA BAND - full-width terra
═══════════════════════════════════════════ */
.exp-cta {
    background: var(--exp-terra);
    padding: var(--exp-pad) 24px;
    text-align: center;
}

.exp-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.exp-cta-h2 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 3.5vw, 44px);
    font-weight: 600;
    color: var(--exp-cream);
    line-height: 1.2;
    margin: 0 0 14px;
}

.exp-cta-p {
    color: rgba(250, 247, 240, 0.88);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 32px;
}

.exp-cta-subtext {
    color: rgba(250, 247, 240, 0.70);
    font-size: 13px;
    margin-top: 16px;
    margin-bottom: 0;
}

.exp-cta-subtext a {
    color: rgba(250, 247, 240, 0.70);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.exp-cta-subtext a:hover {
    color: var(--exp-cream);
}

/* ═══════════════════════════════════════════
   RESPONSIVE - 1024px
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .exp-container    { padding: 0 32px; }
    .exp-tb-container { padding: 0 32px; }
    .exp-dest-grid    { gap: 14px; }
    .exp-tb-book-grid { gap: 40px; }
    .exp-tb-inc-grid  { gap: 32px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - 768px
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .exp { --exp-pad: 64px; }
    .exp-container { padding: 0 20px; }

    .exp-hero { min-height: 75vh; }
    .exp-hero-content { padding: 64px 20px; }

    .exp-dest-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Tour hero */
    .exp-tb-hero { aspect-ratio: unset; min-height: 280px; }
    .exp-tb-hero-title { right: 140px; }

    /* Stats bar: 2x2 */
    .exp-tb-stats { flex-wrap: wrap; }
    .exp-tb-stats span {
        flex: 1 0 50%;
        border-bottom: 1px solid rgba(250, 247, 240, 0.15);
    }
    .exp-tb-stats span:nth-child(2n) { border-right: none; }
    .exp-tb-stats span:nth-last-child(-n+2) { border-bottom: none; }

    /* Nav */
    .exp-tb-nav-link { padding: 12px 16px; font-size: 0.82rem; }

    /* Content sections */
    .exp-tb-container { padding: 0 20px; }
    .exp-tb-section   { padding: 48px 0; }

    /* Grids → 1 col */
    .exp-tb-inc-grid  { grid-template-columns: 1fr; gap: 32px; }
    .exp-tb-book-grid { grid-template-columns: 1fr; gap: 36px; }

    .exp-redefines { padding: var(--exp-pad) 20px; }
    .exp-cta       { padding: var(--exp-pad) 20px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - 480px (covers 360px+)
═══════════════════════════════════════════ */
@media (max-width: 480px) {
    .exp { --exp-pad: 52px; }
    .exp-container { padding: 0 16px; }

    .exp-hero { min-height: 65vh; }
    .exp-hero-content { padding: 52px 16px; }

    .exp-dest-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Tour hero: stack price below title */
    .exp-tb-hero { min-height: 240px; }
    .exp-tb-hero-title {
        right: 20px;
        bottom: 60px;
        font-size: clamp(20px, 6vw, 30px);
    }
    .exp-tb-hero-price {
        bottom: 16px;
        right: 16px;
        font-size: 0.8rem;
        padding: 7px 12px;
    }
    .exp-tb-hero-tag { font-size: 0.7rem; top: 12px; left: 12px; }

    /* Stats */
    .exp-tb-stats span { flex: 1 0 50%; font-size: 0.8rem; }

    /* Nav */
    .exp-tb-nav-link { padding: 10px 12px; font-size: 0.78rem; }

    /* Content */
    .exp-tb-container { padding: 0 16px; }
    .exp-tb-section   { padding: 40px 0; }
    .exp-tb-price-main { font-size: 32px; }

    .exp-redefines { padding: var(--exp-pad) 16px; }
    .exp-cta       { padding: var(--exp-pad) 16px; }
}
