/* ============================================================
   MEANDER HIMALAYA: PEAK CLIMBING · QUIET LUXURY NOIR
   "Meander Himalaya: Peak Climbing"
   Aesthetic: Matte obsidian, frosted liquid gold, glassmorphism
   Typography: Tall serifs (peak names) + technical mono (data)
   Responsive: 4K / 8K + modern smartphones
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
    /* Obsidian & noir */
    --obsidian: #0a0a0b;
    --obsidian-matt: #0d0d0f;
    --obsidian-light: #141416;
    --obsidian-card: #111113;
    /* Frosted liquid gold */
    --gold: #c9a227;
    --gold-frost: rgba(201, 162, 39, 0.35);
    --gold-glow: rgba(201, 162, 39, 0.2);
    --gold-aura: rgba(201, 162, 39, 0.15);
    --gold-text: #e5d4a1;
    --gold-muted: rgba(229, 212, 161, 0.7);
    /* Glass */
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-frost: rgba(255, 255, 255, 0.08);
    /* Typography */
    --font-peak: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    --font-body: 'Outfit', 'Segoe UI', system-ui, sans-serif;
}

/* ---- Base: page-peak-climbing ---- */
body.page-peak-climbing {
    background: var(--obsidian) !important;
    background-image:
        radial-gradient(ellipse 140% 70% at 50% -10%, rgba(20, 20, 22, 0.95) 0%, transparent 45%),
        radial-gradient(ellipse 100% 50% at 100% 100%, rgba(13, 13, 15, 0.8) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---- Navbar: minimal noir ---- */
body.page-peak-climbing .navbar {
    background: rgba(10, 10, 11, 0.88) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
}

body.page-peak-climbing .nav-menu a:hover,
body.page-peak-climbing .nav-brand {
    color: var(--gold-text) !important;
}

/* ========== HERO: Cinematic 8K Noir ========== */
.peak-hero-noir {
    position: relative;
    min-height: 75vh;
    min-height: 75dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 6rem;
    overflow: hidden;
}

.peak-hero-noir::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 11, 0.5) 0%, rgba(10, 10, 11, 0.75) 50%, var(--obsidian) 100%),
        url('/images/Island Peak, Nepal _ 6189m.jpg') center/cover no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.peak-hero-noir::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 40% at 50% 30%, var(--gold-aura) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.peak-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.peak-hero-label {
    font-family: var(--font-mono);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: 1rem;
}

.peak-hero-title {
    font-family: var(--font-peak);
    font-weight: 300;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 1rem;
}

.peak-hero-title strong {
    font-weight: 500;
    color: var(--gold-text);
}

.peak-hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto;
}

/* ========== Climber Level Slider ========== */
.peak-level-section {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem 3rem;
    max-width: 720px;
    margin: 0 auto;
}

.peak-level-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: 0.75rem;
    display: block;
}

.peak-level-slider-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.peak-level-slider {
    flex: 1;
    min-width: 200px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--obsidian-light);
    border-radius: 2px;
    outline: none;
}

.peak-level-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.peak-level-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 28px var(--gold-frost);
    transform: scale(1.08);
}

.peak-level-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    box-shadow: 0 0 20px var(--gold-glow);
    cursor: pointer;
}

.peak-level-value {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--gold-text);
    min-width: 5ch;
}

.peak-level-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== Section Header ========== */
.peak-section-header {
    text-align: center;
    padding: 2rem 1.5rem 3rem;
    max-width: 720px;
    margin: 0 auto;
}

.peak-section-header h2 {
    font-family: var(--font-peak);
    font-weight: 400;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: #fff;
    margin-bottom: 0.75rem;
}

.peak-section-header p {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* ========== Peak Cards Grid: Uniform Vertical ========== */
.peak-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1rem;
    padding: 0 1.5rem 5rem;
    max-width: 1080px;
    margin: 0 auto;
}

@media (min-width: 1400px) {
    .peak-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 2560px) {
    .peak-cards-grid {
        max-width: 1280px;
        gap: 1.5rem;
    }
}

/* ---- Single Card ---- */
.peak-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--obsidian-card);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.peak-card.peak-card-visible {
    opacity: 1;
    transform: translateY(0);
}

.peak-card:hover {
    border-color: rgba(201, 162, 39, 0.2);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
}

/* Card image: high-contrast, uniform aspect */
.peak-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.peak-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.08) brightness(0.92);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.peak-card:hover .peak-card-media img {
    transform: scale(1.03);
    filter: contrast(1.12) brightness(0.95);
}

/* Glassmorphism stats widget (floating) */
.peak-card-stats {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    z-index: 2;
}

.peak-card-stat {
    flex: 1;
    text-align: center;
}

.peak-card-stat-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 0.2rem;
}

.peak-card-stat-value {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
}

.peak-card-stat-value.altitude {
    color: var(--gold-text);
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.peak-card:hover .peak-card-stat-value.altitude {
    text-shadow: 0 0 24px var(--gold-glow), 0 0 48px var(--gold-aura);
    color: #fff;
}

/* Card body */
.peak-card-body {
    padding: 1rem 0.9rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.peak-card-name {
    font-family: var(--font-peak);
    font-weight: 500;
    font-size: clamp(1.5rem, 2.2vw, 1.85rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 0.5rem;
}

.peak-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.peak-card-meta span {
    color: rgba(255, 255, 255, 0.5);
}

.peak-card-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.peak-card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.peak-card-actions .btn-view-details,
.peak-card-actions .btn-book-now {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.7rem 1.2rem;
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.peak-card-actions .btn-view-details {
    background: transparent;
    color: var(--gold-text);
    border: 1px solid rgba(201, 162, 39, 0.4);
}

.peak-card-actions .btn-view-details:hover {
    background: var(--gold-frost);
    color: #fff;
    border-color: var(--gold);
}

.peak-card-actions .btn-book-now {
    background: var(--gold);
    color: var(--obsidian);
    border: 1px solid var(--gold);
}

.peak-card-actions .btn-book-now:hover {
    background: var(--gold-text);
    box-shadow: 0 0 24px var(--gold-glow);
}

/* ========== Footer styling on this page ========== */
body.page-peak-climbing .footer {
    background: var(--obsidian-matt);
    border-top: 1px solid var(--glass-border);
}

body.page-peak-climbing .footer-section h3,
body.page-peak-climbing .footer-section h4 {
    color: rgba(255, 255, 255, 0.95);
}

body.page-peak-climbing .footer-section a:hover {
    color: var(--gold-text);
}

/* ========== Responsive: Mobile ========== */
@media (max-width: 768px) {
    .peak-hero-noir {
        min-height: 60vh;
        padding: 8rem 1rem 4rem;
    }

    .peak-cards-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem 3rem;
        gap: 1rem;
    }

    .peak-card-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.65rem 0.85rem;
    }

    .peak-level-slider-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .peak-level-value {
        text-align: center;
    }
}

/* ========== 4K / 8K: Cinematic spacing ========== */
@media (min-width: 2560px) {
    .peak-hero-noir {
        min-height: 80vh;
        padding: 12rem 3rem 8rem;
    }

    .peak-hero-title {
        font-size: 5rem;
    }

    .peak-cards-grid {
        padding: 0 3rem 8rem;
    }

    .peak-card-body {
        padding: 2rem 1.5rem;
    }

    .peak-card-name {
        font-size: 2.2rem;
    }
}

@media (min-width: 3840px) {
    .peak-cards-grid {
        max-width: 1400px;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .peak-card-stats {
        padding: 1rem 1.25rem;
    }

    .peak-card-stat-value {
        font-size: 0.95rem;
    }
}
