/* ==========================================================================
   EgipetTravel Theme - Merged & Deduplicated CSS
   Egyptian color palette: warm sand, terracotta, dark earth tones
   ========================================================================== */

:root {
    --bg: #14110F;
    --surface: #1E1A17;
    --surface-hover: #27221c;
    --text: #FDFBF7;
    --muted: #A8A096;
    --accent: #D4AF37;
    --accent-glow: rgba(212, 175, 55, 0.3);
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

body::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9999;
}

::selection { background: var(--accent); color: var(--bg); }
a { text-decoration: none; color: inherit; }

/* ==========================================================================
   Navigation (shared)
   ========================================================================== */

.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 5%;
    background: linear-gradient(to bottom, rgba(20, 17, 15, 0.9) 0%, rgba(20, 17, 15, 0) 100%);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease, border-bottom 0.4s ease;
    will-change: background;
}
.header.scrolled {
    background: rgba(20, 17, 15, 0.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.6rem; color: var(--text); letter-spacing: 0.1em; text-transform: uppercase; }
.logo span { color: var(--accent); }
.nav-desktop { display: flex; gap: 40px; list-style: none; }
.nav-desktop a,
.nav-desktop li a { font-size: 0.85rem; font-weight: 500; color: var(--text); text-transform: uppercase; letter-spacing: 0.1em; transition: color 0.3s; }
.nav-desktop a:hover,
.nav-desktop a.active,
.nav-desktop .current-menu-item > a { color: var(--accent); }

.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001; background: none; border: none; padding: 0; }
.hamburger span { width: 30px; height: 2px; background-color: var(--text); transition: transform 0.35s ease, opacity 0.35s ease; display: block; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(20, 17, 15, 0.98); display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 40px; z-index: 999;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
    will-change: opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.nav-mobile.active { opacity: 1; pointer-events: auto; }
.nav-mobile a { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--text); text-transform: uppercase; letter-spacing: 0.05em; }
.nav-mobile a:hover { color: var(--accent); }

/* WordPress menu reset */
.nav-desktop ul,
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop ul { display: flex; gap: 40px; }
.nav-mobile ul { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.nav-mobile li a { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--text); text-transform: uppercase; letter-spacing: 0.05em; }
.nav-mobile li a:hover { color: var(--accent); }

/* ==========================================================================
   Hero Block (front-page)
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 20vh 5% 10vh; text-align: center; position: relative;
}

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0.2; z-index: -1;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.hero-content { max-width: 900px; z-index: 2; }
.hero-tag { font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 3vh; font-size: clamp(0.7rem, 1.5vw, 0.9rem); }
.hero h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.03em; text-transform: uppercase; margin-bottom: 4vh; }
.hero p { font-size: clamp(1rem, 2vw, 1.3rem); color: var(--muted); margin-bottom: 6vh; max-width: 700px; margin-inline: auto; font-weight: 300; }

.btn-primary {
    display: inline-block; background: var(--text); color: var(--bg);
    padding: 16px 36px; border-radius: 100px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.05em;
    transition: all 0.3s; font-size: 0.9rem;
}
.btn-primary:hover { background: var(--accent); transform: scale(1.05); }

/* ==========================================================================
   Sections (shared)
   ========================================================================== */

.section { padding: 15vh 5%; border-top: 1px solid rgba(255,255,255,0.05); max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 8vh; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; }
.section-header p { color: var(--muted); margin-top: 10px; font-size: 1.1rem; }

/* ==========================================================================
   Resort Cards Grid (front-page)
   ========================================================================== */

.resorts-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}

.resort-card {
    position: relative; height: 500px; border-radius: 20px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 30px; text-decoration: none; border: 1px solid rgba(255,255,255,0.05);
    background: var(--surface);
}

.resort-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.5; transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.resort-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 60%;
    background: linear-gradient(to top, rgba(17,15,12,1) 0%, rgba(17,15,12,0) 100%); z-index: 2;
}

.resort-content { position: relative; z-index: 3; transition: transform 0.3s; }
.resort-content h3 { font-size: 2rem; font-weight: 800; text-transform: uppercase; margin-bottom: 5px; }
.resort-content p { color: var(--muted); font-size: 0.9rem; margin-bottom: 15px; }
.resort-arrow {
    display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 800;
    text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; opacity: 0; transform: translateX(-10px); transition: all 0.3s;
}

.resort-card:hover .resort-img { transform: scale(1.05); opacity: 0.7; }
.resort-card:hover .resort-arrow { opacity: 1; transform: translateX(0); }

/* ==========================================================================
   Features Grid (front-page)
   ========================================================================== */

.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 5vh;
}

.feature-item { padding: 30px; background: var(--surface); border-radius: 20px; border: 1px solid rgba(255,255,255,0.02); transition: transform 0.3s; }
.feature-item:hover { transform: translateY(-5px); background: var(--surface-hover); border-color: rgba(212, 175, 55, 0.2); }
.feature-icon { color: var(--accent); margin-bottom: 20px; }
.feature-icon svg { width: 40px; height: 40px; fill: currentColor; }
.feature-item h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.feature-item p { color: var(--muted); font-size: 0.95rem; font-weight: 300; }

/* ==========================================================================
   Stats Bar (front-page)
   ========================================================================== */

.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
    padding: 8vh 5%; background: var(--surface); border-radius: 24px; margin: 10vh auto; max-width: 1200px;
}
.stat-item h4 { font-size: clamp(2rem, 4vw, 3.5rem); color: var(--accent); font-weight: 800; line-height: 1; margin-bottom: 10px; }
.stat-item p { color: var(--muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; font-weight: 500; }

/* ==========================================================================
   Floating CTA (shared)
   ========================================================================== */

.floating-cta {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 480px;
    background: rgba(30, 26, 23, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05); border-radius: 100px; display: flex; justify-content: space-between;
    align-items: center; padding: 8px 8px 8px 24px; z-index: 1000; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.floating-text { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.floating-btn {
    background: var(--accent); color: var(--bg); padding: 14px 28px; border-radius: 100px;
    font-weight: 800; font-size: 0.9rem; text-transform: uppercase; display: flex; align-items: center;
    gap: 10px; transition: transform 0.2s;
}
.floating-btn:hover { transform: translateY(-2px); }
.floating-btn svg { width: 20px; height: 20px; fill: var(--bg); }

/* Footer */
footer { text-align: center; padding: 5vh 5% 15vh; color: var(--muted); font-size: 0.8rem; }

/* ==========================================================================
   Resort Hero (single-resort)
   ========================================================================== */

.resort-hero {
    min-height: 60vh;
    display: flex; align-items: center; justify-content: center;
    padding: 15vh 5% 5vh; text-align: center; position: relative;
}

.resort-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0.15; z-index: -1;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.resort-hero .hero-content { max-width: 800px; z-index: 2; }
.resort-hero .hero-tag { margin-bottom: 2vh; }
.resort-hero .hero h1,
.resort-hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.03em; text-transform: uppercase; margin-bottom: 3vh; }
.resort-hero .hero p,
.resort-hero p.resort-desc { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); max-width: 600px; margin-inline: auto; font-weight: 300; }

/* ==========================================================================
   Tours Grid / Catalog (single-resort)
   ========================================================================== */

.tours-section {
    padding: 5vh 5% 15vh;
    max-width: 1200px;
    margin: 0 auto;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.tour-card {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
}

.tour-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-image {
    transform: scale(1.05);
}

.tour-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
}

.badge {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.1);
}

.badge.hit { color: var(--bg); background: var(--accent); border: none; }

.tour-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.2;
}

.tour-desc {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 25px;
    flex-grow: 1;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.tour-price-box { display: flex; flex-direction: column; }
.tour-price-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.tour-price { font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1; margin-top: 5px; }

.btn-view {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
}

.tour-card:hover .btn-view {
    background: var(--text);
    color: var(--bg);
}

/* ==========================================================================
   Tour Detail Hero (single-tour) — New Design
   ========================================================================== */

.tour-hero { height: 100vh; min-height: 700px; display: flex; align-items: center; position: relative; overflow: hidden; }
.tour-hero-content { display: flex; width: 100%; height: 100%; max-width: 1600px; margin: 0 auto; position: relative; }
.tour-hero-text { flex: 0 0 45%; padding-left: 5%; padding-right: 5%; display: flex; flex-direction: column; justify-content: center; z-index: 10; }
.tour-hero-text .hero-tag { display: inline-block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 25px; position: relative; padding-left: 40px; }
.tour-hero-text .hero-tag::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 1px; background-color: var(--accent); }
.tour-hero-text h1 { font-family: 'Playfair Display', serif; font-size: clamp(3.5rem, 6vw, 7.5rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; color: #ffffff; margin-bottom: 30px; }
.tour-hero-text h1 span { font-style: italic; color: var(--accent); }
.hero-desc { font-size: 1.1rem; color: var(--muted); max-width: 400px; margin-bottom: 40px; font-weight: 300; }
.hero-btn { display: inline-flex; align-items: center; gap: 15px; color: var(--text); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; width: fit-content; transition: color 0.3s ease; }
.hero-btn .icon-circle { width: 45px; height: 45px; border-radius: 50%; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; transition: background 0.3s ease; }
.hero-btn svg { width: 16px; height: 16px; fill: var(--accent); transition: fill 0.3s ease, transform 0.3s ease; }
.hero-btn:hover .icon-circle { background: var(--accent); }
.hero-btn:hover svg { fill: var(--bg); }

.tour-hero-image { position: absolute; right: 0; top: 0; width: 60%; height: 100%; z-index: 1; }
.tour-hero-image::before { content: ''; position: absolute; top: 0; left: 0; width: 30%; height: 100%; background: linear-gradient(to right, var(--bg) 0%, transparent 100%); z-index: 5; pointer-events: none; }

/* ==========================================================================
   Tour Slider (single-tour)
   ========================================================================== */

.slider { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 40px 0 0 40px; }

.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transform: scale(1.05);
    transition: opacity 1.2s ease-in-out, transform 6s ease-out;
    cursor: zoom-in; pointer-events: auto;
    will-change: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.slide.active { opacity: 1; transform: scale(1); z-index: 2; }

.slider-nav { position: absolute; bottom: 40px; right: 5%; display: flex; gap: 15px; z-index: 10; pointer-events: none; }
.slider-btn {
    background: rgba(20, 17, 15, 0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text); width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    pointer-events: auto;
}
.slider-btn:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.slider-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Dot indicators — hidden on desktop, shown on mobile */
.slider-dots { display: none; }
.slider-dot {
    width: 6px; height: 6px; border-radius: 100px;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
    cursor: pointer; display: block;
}
.slider-dot.active {
    width: 28px;
    background: var(--accent);
}

/* ==========================================================================
   Lightbox (single-tour)
   ========================================================================== */

.lightbox {
    display: flex; position: fixed; z-index: 99999;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(15, 12, 10, 0.95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
    will-change: opacity;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-img { max-width: 90%; max-height: 85vh; border-radius: 10px; box-shadow: 0 10px 50px rgba(0,0,0,0.5); user-select: none; object-fit: contain; }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: var(--text); font-size: 40px; font-weight: 300; cursor: pointer; transition: color 0.3s; z-index: 10000; }
.lightbox-close:hover { color: var(--accent); }
.lightbox-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(30, 26, 23, 0.5); border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; color: var(--text);
}
.lightbox-nav-btn:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); transform: translateY(-50%) scale(1.1); }
.lightbox-nav-btn svg { width: 30px; height: 30px; fill: currentColor; }
.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

/* Lightbox footer — counter + swipe hint */
.lightbox-footer {
    position: absolute; bottom: 0; left: 0; width: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 24px 0 max(24px, env(safe-area-inset-bottom));
    pointer-events: none; z-index: 10;
}
.lightbox-counter {
    font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--muted);
    letter-spacing: 0.15em; font-weight: 400;
}
.lightbox-hint {
    display: none; /* shown on mobile via media query */
    align-items: center; gap: 10px;
    font-size: 0.75rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.15em; color: rgba(255,255,255,0.4);
    animation: hintPulse 2s ease-in-out infinite;
}
.lightbox-hint svg { opacity: 0.5; }
@keyframes hintPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.lightbox-hint.hidden { display: none !important; }

/* ==========================================================================
   Tour Program / Timeline (single-tour)
   ========================================================================== */

.tour-section { padding: 15vh 5% 10vh; max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.05); }
.tour-section-header { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; margin-bottom: 8vh; }

.program-container { max-width: 800px; }
.timeline { border-left: 1px solid rgba(255,255,255,0.1); margin-left: 10px; padding-left: 40px; }
.timeline-item { position: relative; margin-bottom: 6vh; }
.timeline-item::before {
    content: ''; position: absolute;
    left: -40.5px; top: 8px;
    width: 10px; height: 10px;
    transform: translateX(-50%);
    background: var(--bg); border: 2px solid var(--accent); border-radius: 50%;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item:hover::before { background: var(--accent); box-shadow: 0 0 15px var(--accent-glow); }
.timeline-item.dot-flash::before {
    animation: dotFlash 1.6s ease-out;
}
@keyframes dotFlash {
    0%   { background: var(--bg);     box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
    30%  { background: var(--accent); box-shadow: 0 0 10px 2px rgba(212, 175, 55, 0.3); }
    100% { background: var(--bg);     box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Start / Finish markers */
.timeline-marker {
    position: relative;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; color: var(--accent);
    padding: 6px 0;
}
.timeline-marker::before {
    content: ''; position: absolute;
    left: -40.5px; top: 50%;
    width: 8px; height: 8px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--accent);
}
.timeline-start { margin-bottom: 5vh; }
.timeline-start::before { box-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }
.timeline-finish { margin-top: 2vh; }
.timeline-finish::after {
    content: ''; position: absolute;
    left: -40.5px; bottom: -18px;
    width: 14px; height: 2px;
    transform: translateX(-50%);
    background: var(--accent); border-radius: 2px;
}
.time { font-family: monospace; font-size: 1.1rem; color: var(--accent); margin-bottom: 5px; display: block; }
.timeline-item h3 { font-size: 1.6rem; font-weight: 500; margin-bottom: 10px; }
.timeline-item p { color: var(--muted); font-size: 1.05rem; font-weight: 300; }

/* ==========================================================================
   Tour Calculator (single-tour)
   ========================================================================== */

.calc-wrapper {
    background: linear-gradient(145deg, var(--surface) 0%, #151210 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 2px 20px rgba(212, 175, 55, 0.05);
    border-radius: 30px; padding: 7vh 6%; max-width: 800px; margin: 0 auto;
    position: relative; overflow: hidden;
}
.calc-wrapper::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 60%); pointer-events: none;
}

/* Price block */
.calc-price-block { text-align: center; position: relative; z-index: 2; margin-bottom: 35px; }
.calc-price-total { margin-bottom: 8px; }
.calc-price-value {
    font-family: 'Playfair Display', serif; font-size: clamp(3.5rem, 8vw, 5.5rem);
    color: var(--accent); line-height: 1; text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    display: inline-block; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.calc-price-label { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.calc-price-per {
    display: inline-block; font-weight: 600; font-size: 1rem; color: var(--text);
    background: rgba(212, 175, 55, 0.12); border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 8px 20px; border-radius: 100px; margin-top: 15px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Pax selector */
.calc-pax-section { position: relative; z-index: 2; margin-bottom: 10px; }
.calc-pax-label {
    font-size: 0.85rem; font-weight: 500; color: var(--muted); text-transform: uppercase;
    letter-spacing: 0.12em; margin-bottom: 18px; text-align: center;
}
.pax-buttons {
    display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.pax-btn {
    width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12);
    background: transparent; color: var(--text); font-family: 'Playfair Display', serif;
    font-size: 1.2rem; font-weight: 400; cursor: pointer;
    display: flex; align-items: center; justify-content: center; line-height: 1;
    padding: 0;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    -webkit-tap-highlight-color: transparent; position: relative;
}
.pax-btn:hover {
    border-color: var(--accent); color: var(--accent);
    transform: translateY(-2px);
}
.pax-btn.active {
    background: var(--accent); border-color: var(--accent); color: var(--bg);
    font-weight: 700; box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    transform: scale(1.1);
}

/* Inline CTA */
.calc-book-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; max-width: 400px; margin: 40px auto 0; padding: 18px 30px;
    background: var(--accent); color: var(--bg); border-radius: 100px;
    font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em;
    text-decoration: none; position: relative; z-index: 2;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.calc-book-btn:hover {
    transform: translateY(-3px); box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}
.calc-book-btn svg { width: 22px; height: 22px; fill: var(--bg); flex-shrink: 0; }

.included-list { margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; position: relative; z-index: 2; }
.included-item { font-size: 0.95rem; color: var(--text); display: flex; align-items: flex-start; gap: 12px; }
.included-item svg { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; margin-top: 3px; }

@keyframes popPrice { 0% { transform: scale(1); } 50% { transform: scale(1.08); text-shadow: 0 0 40px rgba(212, 175, 55, 0.6); } 100% { transform: scale(1); } }
.pop-anim { animation: popPrice 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .tour-hero { height: auto; padding-top: 100px; }
    .tour-hero-content { flex-direction: column; }
    .tour-hero-text { flex: none; width: 100%; padding: 5% 5% 10%; text-align: center; align-items: center; }
    .tour-hero-text .hero-tag::before { display: none; }
    .tour-hero-text .hero-tag { padding-left: 0; }
    .hero-desc { margin: 0 auto 40px; }
    .tour-hero-image { position: relative; width: 100%; height: 50vh; border-radius: 30px; overflow: hidden; margin-top: 20px; left: auto; transform: none; }
    .slider { border-radius: 30px; }
    .tour-hero-image::before { display: none; }
    .slider-nav { bottom: 20px; right: 20px; }
}

@media (max-width: 992px) {
    .stats { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .hamburger { display: flex; }

    /* Front page hero */
    .hero { padding-top: 25vh; }

    /* Stats */
    .stats { grid-template-columns: 1fr; gap: 30px; padding: 5vh; }

    /* Resort cards */
    .resort-card { height: 400px; }

    /* Floating CTA */
    .floating-cta { bottom: 20px; padding: 6px; }
    .floating-text { display: none; }
    .floating-btn { width: 100%; justify-content: center; }

    /* Resort page */
    .resort-hero { padding-top: 15vh; min-height: 40vh; }
    .tours-grid { gap: 25px; }

    /* Tour detail mobile */
    .tour-hero { padding-top: 100px; padding-bottom: 20px; }
    .tour-hero-text h1 { font-size: 3rem; }

    /* Mobile gallery — clean fade + dot indicators */
    .tour-hero-image {
        position: relative;
        width: calc(100% - 40px); left: auto; transform: none;
        margin: 24px auto 0;
        height: auto; min-height: 0;
        aspect-ratio: 4 / 3;
        border-radius: 24px; overflow: hidden;
        touch-action: pan-y;
    }
    .slider { overflow: hidden; border-radius: 24px; }
    .slide {
        width: 100%; left: 0;
        border-radius: 0;
        opacity: 0; transform: scale(1.04);
        transition: opacity 0.7s ease, transform 5s ease-out;
        cursor: default;
    }
    .slide.active { opacity: 1; transform: scale(1); z-index: 2; box-shadow: none; }
    .slide.prev-slide, .slide.next-slide { opacity: 0; transform: scale(1.04); pointer-events: none; }
    .slider-nav { display: none; }

    .slider-dots {
        display: flex; justify-content: center; align-items: center; gap: 8px;
        padding: 16px 0 0;
    }
    .slider-dot { width: 6px; height: 6px; }
    .slider-dot.active { width: 28px; }

    /* Calculator mobile */
    .timeline-item h3 { font-size: 1.4rem; }
    .calc-wrapper { padding: 5vh 5%; border-radius: 20px; }
    .calc-price-value { font-size: clamp(2.8rem, 10vw, 4rem); }
    .calc-price-per { font-size: 0.85rem; padding: 6px 16px; }
    .pax-btn { width: 46px; height: 46px; font-size: 1.05rem; }
    .pax-buttons { gap: 8px; }
    .calc-book-btn { padding: 16px 24px; font-size: 0.9rem; }
    .included-list { grid-template-columns: 1fr; }

    /* Lightbox mobile */
    .lightbox-prev, .lightbox-next { display: none; }
    .lightbox-close { top: 15px; right: 20px; }
    .lightbox-hint { display: flex; }

    /* Gallery tap cue — zoom icon overlay */
    .tour-hero-image .slider::after {
        content: '';
        position: absolute; bottom: 16px; right: 16px;
        width: 36px; height: 36px; z-index: 10;
        background: rgba(20, 17, 15, 0.6);
        backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23FDFBF7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: center;
        pointer-events: none;
        animation: tapCuePulse 3s ease-in-out infinite;
    }
    @keyframes tapCuePulse {
        0%, 100% { opacity: 0.7; transform: scale(1); }
        50% { opacity: 1; transform: scale(1.08); }
    }
}
