/* ============================================
   NEPAL CULTURAL & HERITAGE TOURS
   Modern Heritage — Deep navy, brass, terracotta, crimson
   Luxury travel agency aesthetic · 8k-ready
   ============================================ */

/* --- Design tokens --- */
.page-cultural-heritage {
    --ch-navy: #0a0f1a;
    --ch-navy-mid: #0f1625;
    --ch-navy-light: #151d2e;
    --ch-brass: #c9a227;
    --ch-brass-light: #d4af37;
    --ch-brass-glow: rgba(201, 162, 39, 0.25);
    --ch-terracotta: #b8543a;
    --ch-terracotta-soft: rgba(184, 84, 58, 0.85);
    --ch-crimson: #9e2a2b;
    --ch-crimson-soft: rgba(158, 42, 43, 0.9);
    --ch-gold-foil: linear-gradient(135deg, #d4af37 0%, #c9a227 25%, #b8860b 50%, #c9a227 75%, #e8d48b 100%);
    --ch-gold-border: 2px solid rgba(212, 175, 55, 0.6);
    --ch-cream: #f5f0e8;
    --ch-cream-dark: #e8e2d8;
    --ch-white: #ffffff;
    --ch-text: #e8e4de;
    --ch-text-muted: rgba(232, 228, 222, 0.78);
    --ch-font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --ch-font-sans: 'Outfit', 'DM Sans', sans-serif;
    --ch-radius: 12px;
    --ch-transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --ch-shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.35);
    --ch-shadow-card: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.page-cultural-heritage {
    background: var(--ch-navy);
    color: var(--ch-text);
    scroll-behavior: smooth;
}

/* --- Navbar overlay for this page --- */
.page-cultural-heritage .ch-navbar {
    background: linear-gradient(180deg, rgba(10, 15, 26, 0.92) 0%, rgba(10, 15, 26, 0.75) 100%);
    backdrop-filter: blur(12px);
}

.page-cultural-heritage .ch-navbar .nav-brand,
.page-cultural-heritage .ch-navbar .nav-menu a {
    color: var(--ch-text);
}

.page-cultural-heritage .ch-navbar .nav-menu a:hover {
    color: var(--ch-brass-light);
}

/* ========== HERO — Large serif headline, soft lighting ========== */
.ch-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 80px;
    overflow: hidden;
}

.ch-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ch-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) contrast(1.08);
}

.ch-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(10, 15, 26, 0.88) 0%, rgba(15, 22, 37, 0.75) 45%, rgba(10, 15, 26, 0.92) 100%);
    z-index: 1;
}

.ch-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: 2;
    pointer-events: none;
}

.ch-hero-glow-1 {
    width: 60%;
    max-width: 600px;
    height: 400px;
    background: var(--ch-terracotta);
    top: 10%;
    left: -10%;
}

.ch-hero-glow-2 {
    width: 40%;
    max-width: 400px;
    height: 300px;
    background: var(--ch-brass);
    bottom: 20%;
    right: -5%;
}

.ch-hero-inner {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
}

.ch-hero-label {
    font-family: var(--ch-font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ch-brass-light);
    margin-bottom: 1rem;
    opacity: 0.95;
}

.ch-hero-title {
    font-family: var(--ch-font-serif);
    font-size: clamp(2.75rem, 8vw, 5rem);
    font-weight: 600;
    line-height: 1.08;
    color: var(--ch-white);
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

.ch-hero-tagline {
    font-family: var(--ch-font-sans);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 300;
    line-height: 1.65;
    color: var(--ch-text-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
}

.ch-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-family: var(--ch-font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ch-navy);
    background: var(--ch-brass-light);
    border: none;
    border-radius: 2px;
    text-decoration: none;
    box-shadow: 0 8px 32px var(--ch-brass-glow);
    transition: background var(--ch-transition), transform var(--ch-transition), box-shadow var(--ch-transition);
}

.ch-hero-cta:hover {
    background: #e8d48b;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--ch-brass-glow), 0 0 0 1px rgba(158, 42, 43, 0.2);
    color: var(--ch-navy);
}

.ch-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: var(--ch-text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.ch-hero-scroll i {
    font-size: 0.6rem;
    animation: ch-scroll-bounce 2s ease-in-out infinite;
}

@keyframes ch-scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ========== Section container ========== */
.ch-section {
    padding: 5rem 0;
    position: relative;
}

.ch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.ch-section-title {
    font-family: var(--ch-font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--ch-white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

/* ========== Trip Overview — Two columns, high-end typography ========== */
.ch-overview {
    background: var(--ch-navy-mid);
    position: relative;
    overflow: hidden;
}

.ch-overview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.35), rgba(158, 42, 43, 0.2), rgba(184, 84, 58, 0.25), transparent);
    opacity: 0.8;
}

.ch-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
    margin-top: 2.5rem;
    align-items: start;
}

.ch-overview-col {
    font-family: var(--ch-font-sans);
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ch-text-muted);
}

.ch-overview-col p {
    margin-bottom: 1.25rem;
}

.ch-overview-col p:last-child {
    margin-bottom: 0;
}

.ch-overview-lead {
    font-family: var(--ch-font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ch-text);
    line-height: 1.75;
}

.ch-overview-col strong {
    color: var(--ch-brass-light);
    font-weight: 600;
}

/* Fade-in */
.page-cultural-heritage .cultural-fade-in {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ch-transition), transform 0.7s var(--ch-transition);
}

.page-cultural-heritage .cultural-fade-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Heritage Sites — Horizontal scroll, polaroid-style, gold foil borders ========== */
.ch-polaroid-section {
    background: var(--ch-navy);
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.ch-polaroid-header {
    margin-bottom: 2.5rem;
}

.ch-polaroid-subtitle {
    font-family: var(--ch-font-serif);
    font-size: 1.15rem;
    color: var(--ch-text-muted);
    font-style: italic;
    margin-top: 0.25rem;
}

.ch-polaroid-scroll-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 0 3rem;
    margin: 0 -24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ch-brass) var(--ch-navy-light);
}

.ch-polaroid-scroll-wrap::-webkit-scrollbar {
    height: 8px;
}

.ch-polaroid-scroll-wrap::-webkit-scrollbar-track {
    background: var(--ch-navy-light);
}

.ch-polaroid-scroll-wrap::-webkit-scrollbar-thumb {
    background: var(--ch-brass);
    border-radius: 4px;
}

.ch-polaroid-track {
    display: flex;
    gap: 2.5rem;
    padding: 1rem 24px 1rem 24px;
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
}

.ch-polaroid-card {
    flex-shrink: 0;
    width: 280px;
}

.ch-polaroid-frame {
    background: var(--ch-cream);
    padding: 14px 14px 2.5rem;
    border-radius: 2px;
    /* Gold foil border: solid brass with metallic glow */
    border: 3px solid var(--ch-brass);
    box-shadow: var(--ch-shadow-card),
                0 0 0 1px rgba(212, 175, 55, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.5),
                0 0 28px rgba(201, 162, 39, 0.15);
    position: relative;
    transition: transform var(--ch-transition), box-shadow var(--ch-transition);
}

.ch-polaroid-card:hover .ch-polaroid-frame {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45),
                0 0 0 1px rgba(212, 175, 55, 0.35),
                0 0 40px var(--ch-brass-glow);
}

.ch-polaroid-photo {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 0.5rem;
    background: var(--ch-navy-light);
}

.ch-polaroid-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(1.02);
    transition: transform 0.8s var(--ch-transition);
}

.ch-polaroid-card:hover .ch-polaroid-photo img {
    transform: scale(1.06);
}

.ch-polaroid-caption {
    font-family: var(--ch-font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ch-navy);
    text-align: center;
    margin: 0;
    letter-spacing: 0.02em;
}

/* Slight rotation variety for polaroids */
.ch-polaroid-card:nth-child(odd) .ch-polaroid-frame {
    transform: rotate(-0.8deg);
}

.ch-polaroid-card:nth-child(even) .ch-polaroid-frame {
    transform: rotate(0.6deg);
}

.ch-polaroid-card:hover .ch-polaroid-frame {
    transform: translateY(-8px) rotate(0deg);
}

.ch-polaroid-card:nth-child(odd):hover .ch-polaroid-frame {
    transform: translateY(-8px) rotate(-0.5deg);
}

.ch-polaroid-card:nth-child(even):hover .ch-polaroid-frame {
    transform: translateY(-8px) rotate(0.5deg);
}

/* ========== Tabs section — Tours / What to bring / What's included ========== */
.ch-tabs-section {
    background: var(--ch-navy-light);
    position: relative;
}

.ch-tabs-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 84, 58, 0.25), transparent);
    opacity: 0.8;
}

.ch-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.ch-tab-btn {
    font-family: var(--ch-font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--ch-text-muted);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: color var(--ch-transition), border-color var(--ch-transition);
}

.ch-tab-btn:hover {
    color: var(--ch-text);
}

.ch-tab-btn.active {
    color: var(--ch-brass-light);
    border-bottom-color: var(--ch-brass);
}

.ch-tab-panel {
    display: none;
}

.ch-tab-panel.active {
    display: block;
    animation: ch-tab-fade 0.4s ease-out;
}

@keyframes ch-tab-fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ch-tab-heading {
    font-family: var(--ch-font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ch-white);
    margin-bottom: 1.25rem;
}

.ch-tour-list,
.ch-numbered-list {
    font-family: var(--ch-font-sans);
    font-size: 1rem;
    line-height: 1.9;
    color: var(--ch-text-muted);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.ch-tour-list li,
.ch-numbered-list li {
    margin-bottom: 0.5rem;
}

.ch-tour-list strong,
.ch-numbered-list strong {
    color: var(--ch-terracotta);
}

.ch-note {
    font-size: 0.95rem;
    color: var(--ch-text-muted);
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(201, 162, 39, 0.08);
    border-left: 4px solid var(--ch-brass);
    border-radius: 0 4px 4px 0;
}

.ch-note strong {
    color: var(--ch-brass-light);
}

/* ========== Footer ========== */
.page-cultural-heritage .ch-footer {
    background: var(--ch-navy-mid);
    color: var(--ch-text-muted);
}

.page-cultural-heritage .ch-footer .footer-brand,
.page-cultural-heritage .ch-footer .footer-section h4 {
    color: var(--ch-white);
}

.page-cultural-heritage .ch-footer .footer-section p,
.page-cultural-heritage .ch-footer .footer-section a {
    color: var(--ch-text-muted);
}

.page-cultural-heritage .ch-footer .footer-section a:hover {
    color: var(--ch-brass-light);
}

.page-cultural-heritage .ch-footer .social-links a {
    color: var(--ch-text);
}

.page-cultural-heritage .ch-footer .social-links a:hover {
    color: var(--ch-brass-light);
}

.page-cultural-heritage .ch-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-cultural-heritage .ch-footer .footer-bottom p {
    color: var(--ch-text-muted);
    font-size: 0.9rem;
}

/* ========== Responsive ========== */
@media (max-width: 968px) {
    .ch-overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ch-polaroid-track {
        gap: 2rem;
    }

    .ch-polaroid-card {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .ch-hero {
        min-height: 85vh;
        padding: 90px 20px 60px;
    }

    .ch-hero-title {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .ch-section {
        padding: 3.5rem 0;
    }

    .ch-polaroid-section {
        padding-top: 3rem;
        padding-bottom: 3.5rem;
    }

    .ch-polaroid-scroll-wrap {
        margin: 0 -16px;
    }

    .ch-polaroid-track {
        padding-left: 16px;
        padding-right: 16px;
        gap: 1.5rem;
    }

    .ch-polaroid-card {
        width: 240px;
    }

    .ch-tabs {
        flex-wrap: wrap;
    }

    .ch-tab-btn {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .ch-hero-label {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    .ch-overview-col,
    .ch-overview-lead {
        font-size: 0.95rem;
    }

    .ch-polaroid-card {
        width: 220px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .page-cultural-heritage .cultural-fade-in {
        opacity: 1;
        transform: none;
    }

    .ch-hero-scroll i {
        animation: none;
    }

    .ch-polaroid-card:hover .ch-polaroid-frame,
    .ch-polaroid-card:hover .ch-polaroid-photo img {
        transform: none;
    }

    .ch-tab-panel.active {
        animation: none;
    }
}
