/* ==========================================
   MURDA UZAY TOUR 2026 - Tour page theme
   Layered on top of style.css (base nav/footer/loader/noise)
   ========================================== */

:root {
    --uzay-red: #e01b1b;
    --uzay-red-dark: #b01010;
    --uzay-cream: #f4ede0;
    --uzay-maroon: #3a0d0d;
}

/* --- RED GRUNGE BACKGROUND --- */
/* overflow: clip (not hidden) so position: sticky still works on this page */
html { overflow-x: clip; }

body.uzay {
    background: radial-gradient(circle at 50% -10%, #7a1818 0%, #4a0f0f 35%, #2a0a0a 65%, #140707 100%);
    background-attachment: fixed;
    color: var(--uzay-cream);
    overflow-x: clip;
}

body.uzay .nav-links a,
body.uzay .footer-socials a {
    color: var(--uzay-cream);
}

/* Footer sits on darkest part of the gradient */
body.uzay .footer {
    border-top-color: rgba(244, 237, 224, 0.15);
    background: rgba(15, 6, 6, 0.6);
}

/* ============== HERO ============== */
.uzay-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    padding: 150px 60px 90px;
}

.uzay-hero-grid {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.uzay-hero-copy {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards 0.3s;
}

.uzay-title {
    width: 100%;
    max-width: 540px;
    display: block;
    margin-bottom: 26px;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.5));
}

.uzay-kicker {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: clamp(13px, 1.6vw, 18px);
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--uzay-cream);
    margin-bottom: 18px;
    display: block;
}

.uzay-kicker b {
    color: var(--uzay-red);
    font-weight: 700;
}

.uzay-lead {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(244, 237, 224, 0.78);
    max-width: 460px;
    margin-bottom: 34px;
}

.uzay-hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.uzay-btn {
    display: inline-block;
    padding: 16px 42px;
    font-family: 'Eurostile Extended', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    border: 1px solid var(--uzay-cream);
    color: var(--uzay-cream);
    background: none;
    cursor: pointer;
    transition: all 0.35s ease;
}

.uzay-btn-solid {
    background: var(--uzay-red);
    border-color: var(--uzay-red);
    color: #fff;
}

.uzay-btn:hover {
    background: var(--uzay-cream);
    border-color: var(--uzay-cream);
    color: var(--uzay-maroon);
    transform: translateY(-2px);
}

.uzay-btn-solid:hover {
    background: #fff;
    border-color: #fff;
}

.uzay-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 46px;
    padding-top: 30px;
    border-top: 1px solid rgba(244, 237, 224, 0.18);
}

.uzay-hero-stats .num {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: 30px;
    color: #fff;
    display: block;
    line-height: 1;
}

.uzay-hero-stats .lab {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(244, 237, 224, 0.6);
    margin-top: 8px;
    display: block;
}

/* Hero photo (Murda on red) fades into the page on left + bottom */
.uzay-hero-photo {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 540px;
}

.uzay-hero-photo img {
    width: 100%;
    height: auto;
    display: block;
    -webkit-mask-image: linear-gradient(to left, #000 62%, transparent 100%),
                        linear-gradient(to top, transparent 0%, #000 22%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to left, #000 62%, transparent 100%),
                linear-gradient(to top, transparent 0%, #000 22%);
    mask-composite: intersect;
}

/* Faint passport stamps scattered behind the hero */
.uzay-stamp-bg {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    mix-blend-mode: screen;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.uzay-scroll-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(244, 237, 224, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.uzay-scroll-cue .line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--uzay-cream), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ============== TOUR DATES ============== */
.uzay-dates {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 60px 120px;
}

.uzay-section-head {
    margin-bottom: 56px;
    text-align: center;
}

.uzay-section-head .label {
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--uzay-red);
    display: block;
    margin-bottom: 14px;
}

.uzay-section-head h2 {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: clamp(34px, 5vw, 66px);
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.05;
}

.dates-layout {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 60px;
    align-items: start;
}

/* --- LIST --- */
.month-divider {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: 14px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(244, 237, 224, 0.55);
    padding: 28px 0 14px;
    margin-top: 10px;
    border-bottom: 1px solid rgba(244, 237, 224, 0.18);
}

.month-divider:first-child { margin-top: 0; }

.event-row {
    display: grid;
    grid-template-columns: 60px 78px 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 20px 14px;
    border-bottom: 1px solid rgba(244, 237, 224, 0.1);
    cursor: pointer;
    transition: background 0.3s ease, padding-left 0.3s ease;
    position: relative;
}

.event-row:hover,
.event-row.active {
    background: rgba(224, 27, 27, 0.12);
    padding-left: 22px;
}

.event-stamp {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-stamp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

.event-date {
    text-align: center;
    line-height: 1;
}

.event-date .mon {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--uzay-red);
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.event-date .dom {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: 30px;
    color: #fff;
    display: block;
}

.event-date .dow {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(244, 237, 224, 0.5);
    display: block;
    margin-top: 4px;
}

.event-info .venue {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: 17px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--uzay-cream);
    margin-bottom: 5px;
}

.event-info .city {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(244, 237, 224, 0.6);
}

.tix {
    padding: 12px 26px;
    border: 1px solid var(--uzay-cream);
    color: var(--uzay-cream);
    font-family: 'Eurostile', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: inline-block;
}

.tix:hover {
    background: var(--uzay-red);
    border-color: var(--uzay-red);
    color: #fff;
}

.tix.soon {
    border-color: rgba(244, 237, 224, 0.25);
    color: rgba(244, 237, 224, 0.45);
    pointer-events: none;
    cursor: default;
}

/* Per-row inline poster (mobile accordion only) */
.event-poster-wrap {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-row.open .event-poster-wrap {
    max-height: 720px;
}

.event-poster-wrap img {
    width: 100%;
    max-width: 420px;
    margin: 18px auto 6px;
    display: block;
    border: 1px solid rgba(244, 237, 224, 0.2);
}

/* --- STICKY PREVIEW (desktop) --- */
.dates-preview {
    position: sticky;
    top: 110px;
}

.dates-preview-frame {
    border: 1px solid rgba(244, 237, 224, 0.18);
    background: rgba(15, 6, 6, 0.45);
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.dates-preview-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.dates-preview-cap {
    text-align: center;
    padding: 16px 10px 6px;
}

.dates-preview-cap .venue {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
}

.dates-preview-cap .city {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--uzay-red);
}

/* ============== INFO STRIP ============== */
.uzay-strip {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 70px 40px;
    border-top: 1px solid rgba(244, 237, 224, 0.12);
    border-bottom: 1px solid rgba(244, 237, 224, 0.12);
    background: rgba(15, 6, 6, 0.35);
}

.uzay-strip .partners {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'Eurostile Extended', sans-serif;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(244, 237, 224, 0.85);
    margin-bottom: 26px;
}

.uzay-strip .partners .dot { color: var(--uzay-red); }

/* ============== RESPONSIVE ============== */
@media (min-width: 1025px) {
    .event-poster-wrap { display: none; }
}

@media (max-width: 1024px) {
    .uzay-hero {
        padding: 120px 40px 70px;
        min-height: auto;
    }
    .uzay-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .uzay-hero-photo {
        order: -1;
        justify-self: center;
        max-width: 360px;
    }
    .uzay-hero-photo img {
        -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
        mask-image: linear-gradient(to bottom, #000 70%, transparent);
    }
    .uzay-dates { padding: 80px 40px 90px; }
    .dates-layout { grid-template-columns: 1fr; }
    .dates-preview { display: none; }
}

@media (max-width: 768px) {
    .uzay-hero { padding: 110px 20px 60px; }
    .uzay-dates { padding: 60px 18px 80px; }
    .uzay-hero-stats { gap: 26px; }
    .event-row {
        grid-template-columns: 46px 60px 1fr;
        gap: 14px;
        padding: 18px 8px;
    }
    .event-row:hover, .event-row.active { padding-left: 12px; }
    .event-stamp { width: 46px; height: 46px; }
    .event-date .dom { font-size: 24px; }
    .event-info .venue { font-size: 15px; }
    .tix {
        grid-column: 2 / -1;
        justify-self: start;
        margin-top: 6px;
    }
    .uzay-strip .partners { gap: 18px; font-size: 12px; }
}

/* ============== SR-ONLY / HEADINGS ============== */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.uzay-title-h { margin: 0; line-height: 0; }

/* ============== CITY MARQUEE ============== */
.uzay-marquee {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 20px 0;
    background: rgba(15, 6, 6, 0.35);
    border-top: 1px solid rgba(244, 237, 224, 0.12);
    border-bottom: 1px solid rgba(244, 237, 224, 0.12);
}

.uzay-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 48s linear infinite;
}

.uzay-marquee span {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: 18px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(244, 237, 224, 0.7);
    padding: 0 22px;
    white-space: nowrap;
}

.uzay-marquee .dot { color: var(--uzay-red); padding: 0; }
.uzay-marquee:hover .uzay-marquee-track { animation-play-state: paused; }

/* ============== POSTER MODAL ============== */
.dates-preview-frame { position: relative; cursor: pointer; }

.dates-preview-zoom {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 5, 5, 0.7);
    border: 1px solid rgba(244, 237, 224, 0.4);
    color: var(--uzay-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dates-preview-frame:hover .dates-preview-zoom { opacity: 1; }

.poster-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(10, 4, 4, 0.93);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.poster-modal.active { display: flex; opacity: 1; }

.poster-modal img {
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    object-fit: contain;
    border: 1px solid rgba(244, 237, 224, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.poster-modal-close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(244, 237, 224, 0.4);
    background: rgba(10, 5, 5, 0.5);
    color: var(--uzay-cream);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.poster-modal-close:hover {
    background: var(--uzay-red);
    border-color: var(--uzay-red);
    color: #fff;
    transform: rotate(90deg);
}

/* ============== ENRICHED MOBILE NAV ============== */
body.uzay .mobile-nav {
    background: radial-gradient(circle at 50% 22%, #5c1414 0%, #2a0a0a 60%, #120606 100%);
    flex-direction: column;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    padding: 80px 24px;
}

body.uzay .mobile-nav .mnav-stamp {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.13;
    pointer-events: none;
}

body.uzay .mobile-nav .mnav-kicker {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--uzay-red);
    margin-bottom: 26px;
    position: relative;
    z-index: 2;
}

body.uzay .mobile-nav .mnav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

body.uzay .mobile-nav .mnav-links a {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: 38px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--uzay-cream);
    transition: color 0.3s ease;
}

body.uzay .mobile-nav .mnav-links a:hover { color: var(--uzay-red); }

body.uzay .mobile-nav .mnav-cta {
    display: inline-block;
    padding: 15px 44px;
    background: var(--uzay-red);
    color: #fff;
    font-family: 'Eurostile Extended', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 38px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

body.uzay .mobile-nav .mnav-cta:hover { background: #fff; color: var(--uzay-maroon); }

body.uzay .mobile-nav .mnav-socials {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

body.uzay .mobile-nav .mnav-socials a {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(244, 237, 224, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--uzay-cream);
    transition: all 0.3s ease;
}

body.uzay .mobile-nav .mnav-socials a:hover {
    background: var(--uzay-red);
    border-color: var(--uzay-red);
    color: #fff;
    transform: translateY(-3px);
}

body.uzay .mobile-nav .mnav-meta {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(244, 237, 224, 0.5);
    position: relative;
    z-index: 2;
}

/* ============== UZAY PAGE HEADER (subpages) ============== */
.uzay-page-header {
    position: relative;
    overflow: hidden;
    padding: 160px 60px 70px;
    text-align: center;
    border-bottom: 1px solid rgba(244, 237, 224, 0.12);
}

.uzay-page-header .crumb {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(244, 237, 224, 0.55);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.uzay-page-header .crumb a:hover { color: var(--uzay-cream); }

.uzay-page-header h1 {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: clamp(40px, 6vw, 80px);
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    z-index: 2;
}

.uzay-page-header p {
    color: rgba(244, 237, 224, 0.7);
    max-width: 540px;
    margin: 18px auto 0;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ============== UZAY CONTACT ============== */
.uzay-contact {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 90px 60px;
}

.uzay-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

body.uzay .contact-form input,
body.uzay .contact-form textarea,
body.uzay .contact-form select {
    border-bottom-color: rgba(244, 237, 224, 0.25);
    color: var(--uzay-cream);
}

body.uzay .contact-form input:focus,
body.uzay .contact-form textarea:focus,
body.uzay .contact-form select:focus {
    border-bottom-color: var(--uzay-cream);
}

body.uzay .form-group label { color: rgba(244, 237, 224, 0.55); }

body.uzay .form-group input:focus ~ label,
body.uzay .form-group input:not(:placeholder-shown) ~ label,
body.uzay .form-group textarea:focus ~ label,
body.uzay .form-group textarea:not(:placeholder-shown) ~ label {
    color: var(--uzay-cream);
}

body.uzay .form-group select option { background: var(--uzay-maroon); }
body.uzay .submit-btn { background: var(--uzay-red); color: #fff; }
body.uzay .submit-btn:hover { background: #fff; color: var(--uzay-maroon); }
body.uzay .contact-info h3 { color: #fff; }
body.uzay .contact-info p { color: rgba(244, 237, 224, 0.7); }
body.uzay .social-link { border-color: rgba(244, 237, 224, 0.3); color: var(--uzay-cream); }
body.uzay .social-link:hover { background: var(--uzay-red); border-color: var(--uzay-red); color: #fff; }
body.uzay .form-success { border-color: rgba(244, 237, 224, 0.4); color: var(--uzay-cream); }

.uzay-info-card {
    padding: 26px 28px;
    border: 1px solid rgba(244, 237, 224, 0.15);
    background: rgba(15, 6, 6, 0.3);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.uzay-info-card:hover { border-color: var(--uzay-red); transform: translateY(-3px); }
.uzay-info-card .ico { color: var(--uzay-red); font-size: 22px; margin-bottom: 12px; }
.uzay-info-card .k { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(244, 237, 224, 0.55); margin-bottom: 6px; }
.uzay-info-card .v { font-family: 'Eurostile Extended', sans-serif; font-size: 16px; letter-spacing: 1px; color: var(--uzay-cream); }

.uzay-ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.uzay-ig-grid a { overflow: hidden; aspect-ratio: 1; }
.uzay-ig-grid img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(35%); transition: transform 0.4s ease, filter 0.4s ease; }
.uzay-ig-grid a:hover img { filter: grayscale(0%); transform: scale(1.06); }

.uzay-teaser {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 40px;
    border-top: 1px solid rgba(244, 237, 224, 0.12);
}

.uzay-teaser h2 {
    font-family: 'Eurostile Extended', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.uzay-teaser p { color: rgba(244, 237, 224, 0.7); max-width: 460px; margin: 0 auto 28px; line-height: 1.7; }

@media (max-width: 1024px) {
    .uzay-contact { padding: 70px 40px; }
    .uzay-contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .uzay-page-header { padding: 130px 40px 56px; }
}

@media (max-width: 768px) {
    .uzay-contact { padding: 56px 20px; }
    .uzay-page-header { padding: 120px 20px 48px; }
    .uzay-marquee span { font-size: 15px; letter-spacing: 3px; padding: 0 16px; }
    body.uzay .mobile-nav .mnav-links a { font-size: 30px; }
    .poster-modal { padding: 16px; }
    .poster-modal-close { top: 14px; right: 14px; }
}
