/* ============================================
   RELIGIOUS TOUR OF NEPAL — Luxury UI/UX
   Deep charcoal & obsidian, burnt orange & gold
   Elegant serif typography, cinematic hero, interactive cards
   8k-ready, responsive, spiritual & serene
   ============================================ */

/* ---------- Design tokens ---------- */
.page-religious-tour.rt-luxury {
    --rt-charcoal: #0f172a;
    --rt-obsidian: #0a0f1a;
    --rt-charcoal-mid: #1e293b;
    --rt-bg-gradient: linear-gradient(180deg, #0a0f1a 0%, #0f172a 25%, #0d1525 50%, #0f172a 75%, #0a0f1a 100%);
    --rt-bg-section: linear-gradient(180deg, #0d1525 0%, #0f172a 100%);
    --rt-burnt-orange: #c45c26;
    --rt-burnt-orange-soft: #d46b38;
    --rt-gold: #c9a227;
    --rt-gold-light: #e0c04a;
    --rt-gold-muted: rgba(201, 162, 39, 0.35);
    --rt-gold-border: rgba(201, 162, 39, 0.55);
    --rt-cream: #f5f0e8;
    --rt-cream-muted: rgba(245, 240, 232, 0.85);
    --rt-text: rgba(245, 240, 232, 0.92);
    --rt-text-dim: rgba(245, 240, 232, 0.7);
    --rt-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --rt-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --rt-shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
    --rt-shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 162, 39, 0.12);
    --rt-shadow-card-hover: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--rt-gold-border), 0 0 40px var(--rt-gold-muted);
    --rt-font-heading: "Cormorant Garamond", Georgia, serif;
    --rt-font-body: "Lora", Georgia, serif;
}

.page-religious-tour.rt-luxury {
    background: var(--rt-bg-gradient);
    color: var(--rt-text);
    font-family: var(--rt-font-body);
    scroll-behavior: smooth;
}

.rt-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Nav overlay (transparent on hero) ---------- */
.page-religious-tour.rt-luxury .rt-nav-overlay .nav-container a,
.page-religious-tour.rt-luxury .rt-nav-overlay .nav-menu a {
    color: var(--rt-cream);
}
.page-religious-tour.rt-luxury .rt-nav-overlay .navbar {
    background: linear-gradient(to bottom, rgba(10, 15, 26, 0.9) 0%, transparent 100%);
}

/* ---------- Hero: Full-width cinematic, 16:9, glowing temple at dusk ---------- */
.rt-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 85vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rt-hero-media {
    position: absolute;
    inset: 0;
}

.rt-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.rt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 15, 26, 0.3) 0%, rgba(15, 23, 42, 0.5) 40%, rgba(10, 15, 26, 0.9) 100%);
    pointer-events: none;
}

/* Glow effect: temple at dusk */
.rt-hero-glow {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 800px);
    height: 45%;
    background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(201, 162, 39, 0.18) 0%, rgba(196, 92, 38, 0.08) 35%, transparent 70%);
    pointer-events: none;
    filter: blur(20px);
}

.rt-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: clamp(2rem, 6vw, 4rem);
    max-width: 820px;
}

.rt-hero-label {
    font-family: var(--rt-font-body);
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--rt-gold-light);
    margin-bottom: 0.75rem;
}

.rt-hero-title {
    font-family: var(--rt-font-heading);
    font-weight: 500;
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    line-height: 1.1;
    color: var(--rt-cream);
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
}

.rt-hero-tagline {
    font-family: var(--rt-font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: var(--rt-cream-muted);
    margin: 0 0 1.75rem;
    font-weight: 400;
}

.rt-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--rt-font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rt-obsidian);
    background: var(--rt-gold);
    border: 1px solid var(--rt-gold-light);
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.35s var(--rt-ease), color 0.35s var(--rt-ease), box-shadow 0.35s var(--rt-ease), transform 0.35s var(--rt-ease);
}

.rt-hero-cta:hover {
    background: var(--rt-gold-light);
    color: var(--rt-obsidian);
    box-shadow: 0 0 28px var(--rt-gold-muted);
    transform: translateY(-2px);
}

.rt-hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rt-text-dim);
}

.rt-hero-scroll span::after {
    content: "";
    display: block;
    width: 1px;
    height: 28px;
    margin: 0.5rem auto 0;
    background: linear-gradient(to bottom, var(--rt-gold-muted), transparent);
}

/* ---------- Intro ---------- */
.rt-intro {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: linear-gradient(180deg, #0a0f1a 0%, #0d1525 100%);
}

.rt-intro-text {
    font-family: var(--rt-font-body);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.75;
    color: var(--rt-text);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* ---------- Section headers ---------- */
.rt-section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.rt-section-label {
    font-family: var(--rt-font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rt-gold);
    margin-bottom: 0.5rem;
}

.rt-section-title {
    font-family: var(--rt-font-heading);
    font-weight: 500;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    color: var(--rt-cream);
    margin: 0;
}

/* ---------- Sacred Destinations: Interactive cards (gold borders, smooth shadows) ---------- */
.rt-destinations {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: linear-gradient(180deg, #0d1525 0%, #0f172a 50%, #0d1525 100%);
}

.rt-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
}

.rt-card {
    position: relative;
    background: var(--rt-charcoal-mid);
    border: 1px solid var(--rt-gold-border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--rt-shadow-card);
    transition: transform 0.4s var(--rt-ease), box-shadow 0.4s var(--rt-ease), border-color 0.4s var(--rt-ease);
    display: flex;
    flex-direction: column;
}

.rt-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rt-shadow-card-hover);
    border-color: var(--rt-gold);
}

.rt-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.rt-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--rt-ease);
}

.rt-card:hover .rt-card-media img {
    transform: scale(1.06);
}

.rt-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 15, 0.85) 0%, transparent 50%);
    pointer-events: none;
}

.rt-card-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-family: var(--rt-font-body);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rt-gold-light);
}

.rt-card-body {
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rt-card-body h3 {
    font-family: var(--rt-font-heading);
    font-weight: 500;
    font-size: clamp(1.4rem, 2.5vw, 1.65rem);
    color: var(--rt-cream);
    margin: 0 0 0.6rem;
}

.rt-card-body p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--rt-text-dim);
    margin: 0 0 1rem;
    flex: 1;
}

.rt-card-link {
    font-family: var(--rt-font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--rt-burnt-orange-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s var(--rt-ease), gap 0.3s var(--rt-ease);
}

.rt-card-link:hover {
    color: var(--rt-gold-light);
    gap: 0.6rem;
}

/* ---------- Overview & Tabs ---------- */
.rt-overview {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: linear-gradient(180deg, #0f172a 0%, #0d1525 100%);
}

.rt-section-header-inline .section-header h2,
.rt-overview .section-header h2 {
    font-family: var(--rt-font-heading);
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--rt-cream);
    margin-bottom: 1rem;
}

.rt-overview-text p {
    font-family: var(--rt-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rt-text);
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.rt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
    padding-bottom: 0.5rem;
}

.rt-tab-btn {
    padding: 0.6rem 1.25rem;
    font-family: var(--rt-font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: transparent;
    color: var(--rt-text-dim);
    border-radius: 2px;
    cursor: pointer;
    transition: color 0.3s var(--rt-ease), border-color 0.3s var(--rt-ease), background 0.3s var(--rt-ease);
}

.rt-tab-btn:hover {
    color: var(--rt-cream);
}

.rt-tab-btn.active {
    color: var(--rt-gold);
    border-bottom-color: var(--rt-gold);
}

.rt-tab-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 4px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 0;
}

.rt-tab-content h3 {
    font-family: var(--rt-font-heading);
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--rt-cream);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.rt-tab-content .cultural-tour-list li,
.rt-tab-content .cultural-numbered-list li {
    font-family: var(--rt-font-body);
    color: var(--rt-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

.rt-note {
    font-family: var(--rt-font-body);
    background: rgba(201, 162, 39, 0.08);
    border-left: 3px solid var(--rt-gold);
    border-radius: 0 4px 4px 0;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    color: var(--rt-text);
    font-size: 0.9rem;
}

.rt-cta-wrap {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.rt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    font-family: var(--rt-font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--rt-obsidian);
    background: var(--rt-gold);
    border: 1px solid var(--rt-gold-light);
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.35s var(--rt-ease), transform 0.35s var(--rt-ease), box-shadow 0.35s var(--rt-ease);
}

.rt-cta-btn:hover {
    background: var(--rt-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--rt-gold-muted);
}

/* ---------- Gallery ---------- */
.rt-gallery {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: linear-gradient(180deg, #0a0f1a 0%, #0d1525 100%);
}

.rt-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.75rem, 2vw, 1.25rem);
}

.rt-gallery-item {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.2);
    box-shadow: var(--rt-shadow-soft);
    transition: transform 0.4s var(--rt-ease), box-shadow 0.4s var(--rt-ease);
}

.rt-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--rt-gold-muted);
}

.rt-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    display: block;
}

/* ---------- Footer (same as home page) ---------- */
.page-religious-tour.rt-luxury .footer.rt-footer {
    background: var(--page-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-religious-tour.rt-luxury .footer.rt-footer .footer-section h3.footer-brand,
.page-religious-tour.rt-luxury .footer.rt-footer .footer-section h4 {
    color: white;
}

.page-religious-tour.rt-luxury .footer.rt-footer .footer-section p,
.page-religious-tour.rt-luxury .footer.rt-footer .footer-section a {
    color: var(--text-light);
}

.page-religious-tour.rt-luxury .footer.rt-footer .footer-section a:hover {
    color: #fff;
}

/* Footer social icons — same as home page */
.page-religious-tour.rt-luxury .footer.rt-footer .social-links a {
    color: white;
    background: #5b9bd5;
}

.page-religious-tour.rt-luxury .footer.rt-footer .social-links a:hover {
    background: var(--secondary-color);
    color: white;
}

.page-religious-tour.rt-luxury .footer.rt-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-religious-tour.rt-luxury .footer.rt-footer .footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Fade-in animations ---------- */
.page-religious-tour.rt-luxury .cultural-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--rt-ease-out), transform 0.7s var(--rt-ease-out);
}

.page-religious-tour.rt-luxury .cultural-fade-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

.rt-cards .rt-card { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--rt-ease-out), transform 0.6s var(--rt-ease-out), box-shadow 0.4s var(--rt-ease), border-color 0.4s var(--rt-ease); }
.rt-destinations.in-view .rt-card:nth-child(1) { transition-delay: 0.1s; }
.rt-destinations.in-view .rt-card:nth-child(2) { transition-delay: 0.2s; }
.rt-destinations.in-view .rt-card:nth-child(3) { transition-delay: 0.3s; }
.rt-destinations.in-view .rt-card { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .rt-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .rt-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rt-hero {
        min-height: 75vh;
        aspect-ratio: auto;
    }
    .rt-hero-glow {
        height: 35%;
    }
    .rt-tabs {
        flex-direction: column;
    }
    .rt-tab-btn {
        width: 100%;
        text-align: center;
    }
    .rt-gallery-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .rt-hero-title {
        font-size: 2rem;
    }
    .rt-card-body {
        padding: 1.25rem;
    }
}

/* 8k / high-DPI: crisp imagery */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .rt-hero-img,
    .rt-card-media img,
    .rt-gallery-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .page-religious-tour.rt-luxury .cultural-fade-in,
    .rt-cards .rt-card {
        transition: none;
    }
    .rt-card:hover {
        transform: none;
    }
    .rt-card:hover .rt-card-media img {
        transform: none;
    }
    .rt-gallery-item:hover {
        transform: none;
    }
}
