/* ==========================================================
   Venue kind "escape" — layered on top of style.css.
   Dark, cinematic, one amber accent taken from the original
   60minutes.be identity. Only loaded by src/kinds/escape pages.
   ========================================================== */

.kind-escape {
    --color-bg:        #0b0b0f;
    --color-surface:   #15151c;
    --color-surface-2: #1d1d27;
    --color-text:      #f3f3f5;
    --color-text-dim:  #a3a3b2;
    --color-accent:    #fdb713;
    --color-accent-2:  #ff8a1f;
    --color-accent-dark: #c98d00;
    --esc-line:        rgba(255, 255, 255, 0.08);
    background: var(--color-bg);
    color: var(--color-text);
}

/* === LOGO === */
/* The shared style inverts museum logos (drawn in black). The escape logo is
   already white, so it must not be inverted. */
.kind-escape .esc-logo img,
.kind-escape.page-home .esc-logo img,
.kind-escape.page-home .navbar.scrolled .logo.esc-logo img,
.kind-escape .navbar.scrolled .logo.esc-logo img {
    height: 46px; width: auto; display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}
.kind-escape .footer-logo.esc-logo img { height: 56px; }

/* === HERO: the photos stay sharp (the museum slideshow blurs them) ===
   The photos are dark already, so they are only lightly dimmed; the text keeps
   its contrast through the vignette and its own shadow. */
.kind-escape .hero-slide img { filter: brightness(0.82) saturate(1.1); }
.kind-escape .hero-slideshow .hero-overlay,
.kind-escape .hero-slideshow .hero-overlay.vignette-3 {
    background: radial-gradient(ellipse 75% 65% at center, rgba(0, 0, 0, 0.25) 10%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.55) 100%);
}
.kind-escape .hero-phrase { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.6); }
/* The shared .hero-cta is absolutely positioned under the phrase. It must stay
   so: a relative button becomes a flex item beside the phrase and pushes it
   off-centre (measured 125px to the left at 1440px). */
.kind-escape .hero-cta {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2.4rem; font-size: 1.1rem;
    position: absolute; bottom: 9rem; left: 50%; transform: translateX(-50%);
    z-index: 3; animation: none;
}
.kind-escape .hero-cta:hover { transform: translateX(-50%) translateY(-2px); }

/* === MAIN MENU: thicker and fully white, readable over the photos === */
.kind-escape .nav-links a,
.kind-escape.page-home .nav-links a,
.kind-escape.page-home .navbar.scrolled .nav-links a {
    font-weight: 800;
    font-size: 0.86rem;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.kind-escape .nav-links a:not(.nav-book-btn):hover { color: var(--color-accent); }
.kind-escape .nav-links .nav-book-btn,
.kind-escape.page-home .navbar.scrolled .nav-links .nav-book-btn { color: #111; text-shadow: none; }

/* === BUTTONS === */
.kind-escape .btn-esc,
.kind-escape .hero-cta,
.kind-escape .floating-cta,
.kind-escape .nav-book-btn {
    background: var(--color-accent);
    color: #111;
    font-weight: 800;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    transition: transform var(--transition-fast), background var(--transition-fast);
}
.kind-escape .btn-esc { display: inline-block; padding: 0.7rem 1.4rem; font-size: 0.95rem; }
.kind-escape .btn-esc:hover { background: var(--color-accent-2); transform: translateY(-2px); }
.kind-escape .hero-cta:hover { background: var(--color-accent-2); }
.kind-escape .btn-esc-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.kind-escape .esc-link { color: var(--color-accent); font-weight: 700; text-decoration: none; }
.kind-escape .esc-link:hover { text-decoration: underline; }
.kind-escape .esc-center { text-align: center; margin-top: 2rem; }

/* === SECTIONS === */
.kind-escape .esc-section { padding: 5.5rem 0; border-top: 1px solid var(--esc-line); }

/* === SECTION SEPARATOR: "Do not cross" tape ===
   A yellow crime-scene tape, slightly tilted, whose text scrolls slowly.
   Values chosen by Gilles on the tuner page (demo/ruban.html), 18 Oct 2026:
   thickness 164px, 16px of space above and below, 20 px/s. The speed is a
   distance, so the duration is set in JS from the text width (home.php). */
.kind-escape {
    --tape-h: 164px;
    --sep-gap: 16px;
    --tape-b: max(2px, calc(var(--tape-h) / 15));
}
.kind-escape .esc-sep {
    position: relative;
    height: calc(var(--tape-h) + 2 * var(--sep-gap) + 3.1vw);
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}
.kind-escape .esc-tape {
    position: absolute;
    left: -5%;
    width: 110%;
    top: 50%;
    height: var(--tape-h);
    margin-top: calc(var(--tape-h) / -2);
    transform: rotate(-1.6deg);
    background: #ffd400;
    color: #111;
    font: 900 calc(var(--tape-h) * .39) / calc(var(--tape-h) - 2 * var(--tape-b)) var(--font-body);
    letter-spacing: .12em;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
    border-top: var(--tape-b) solid #111;
    border-bottom: var(--tape-b) solid #111;
}
.kind-escape .esc-tape span { display: inline-block; animation: escTapeRun 480s linear infinite; }
.kind-escape .esc-tape b { font-size: calc(var(--tape-h) * .24); vertical-align: .18em; }
@keyframes escTapeRun { to { transform: translateX(-50%); } }
.kind-escape .esc-sep + .esc-section,
.kind-escape .esc-sep + .esc-numbers { border-top: 0; }
@media (max-width: 768px) {
    .kind-escape { --tape-h: 82px; --sep-gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .kind-escape .esc-tape span { animation: none; }
}
.kind-escape .section-header { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.kind-escape .section-header h2 { color: var(--color-text); }
.kind-escape .section-header p { color: var(--color-text-dim); line-height: 1.7; }
.kind-escape .section-label {
    color: var(--color-accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
}

/* === CONCEPT === */
.kind-escape .esc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.kind-escape .esc-step {
    background: var(--color-surface);
    border: 1px solid var(--esc-line);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
}
.kind-escape .esc-step-icon {
    width: 64px; height: 64px; margin: 0 auto 1rem;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(253, 183, 19, 0.12);
    color: var(--color-accent);
}
.kind-escape .esc-step h3 { margin-bottom: 0.6rem; }
.kind-escape .esc-step p { color: var(--color-text-dim); line-height: 1.65; }

/* === ROOMS === */
.kind-escape .esc-room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.kind-escape .esc-room-grid--two { grid-template-columns: repeat(2, 1fr); }
.kind-escape .esc-room-card {
    background: var(--color-surface);
    border: 1px solid var(--esc-line);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.kind-escape .esc-room-card:hover { transform: translateY(-4px); border-color: rgba(253, 183, 19, 0.45); }
.kind-escape .esc-room-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.kind-escape .esc-room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.kind-escape .esc-room-card:hover .esc-room-media img { transform: scale(1.05); }
.kind-escape .esc-badge {
    position: absolute; top: 14px; right: 14px;
    background: #c0392b; color: #fff;
    font-weight: 800; font-size: 0.8rem;
    padding: 0.3rem 0.65rem; border-radius: 999px;
}
.kind-escape .esc-room-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.kind-escape .esc-room-body h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0; }
.kind-escape .esc-room-body p { color: var(--color-text-dim); line-height: 1.6; margin: 0; flex: 1; }
.kind-escape .esc-room-facts { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.kind-escape .esc-room-facts li {
    font-size: 0.78rem; font-weight: 700;
    padding: 0.25rem 0.6rem; border-radius: 999px;
    background: var(--color-surface-2); color: var(--color-text);
}
.kind-escape .esc-room-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; }

/* === NUMBERS & HOURS === */
.kind-escape .esc-numbers { padding: 3.5rem 0; background: var(--color-surface); border-top: 1px solid var(--esc-line); }
.kind-escape .esc-numbers-grid,
.kind-escape .esc-hours-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem; text-align: center;
}
.kind-escape .esc-number { display: block; font-family: var(--font-display); font-size: 2.6rem; color: var(--color-accent); line-height: 1.1; }
.kind-escape .esc-number-label { display: block; color: var(--color-text-dim); margin-top: 0.4rem; font-weight: 600; }

/* === WHO CAN PLAY === */
.kind-escape .esc-who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.kind-escape .esc-who-item { background: var(--color-surface); border: 1px solid var(--esc-line); border-radius: 16px; padding: 1.5rem; }
.kind-escape .esc-who-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--color-accent); }
.kind-escape .esc-who-item p { color: var(--color-text-dim); line-height: 1.6; margin: 0; }

/* === PRICES === */
.kind-escape .esc-price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.kind-escape .esc-price-card {
    background: var(--color-surface); border: 1px solid var(--esc-line); border-radius: 16px;
    padding: 1.5rem 1rem; text-align: center; display: flex; flex-direction: column; gap: 0.35rem;
}
.kind-escape .esc-price-players { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--color-text-dim); }
.kind-escape .esc-price-total { font-family: var(--font-display); font-size: 2rem; color: var(--color-text); }
.kind-escape .esc-price-each { color: var(--color-accent); font-weight: 700; font-size: 0.9rem; }
.kind-escape .esc-price-note { text-align: center; color: var(--color-text-dim); max-width: 720px; margin: 1.75rem auto 0; line-height: 1.6; }

/* === LOCATION, FAQ, CONTACT on dark === */
.kind-escape .location-info,
.kind-escape .contact-card,
.kind-escape .faq-item { background: var(--color-surface); border: 1px solid var(--esc-line); color: var(--color-text); }
.kind-escape .location-info p,
.kind-escape .contact-card p,
.kind-escape .faq-answer-content { color: var(--color-text-dim); }
.kind-escape .contact-card a { color: var(--color-accent); }
.kind-escape .faq-question { color: var(--color-text); background: transparent; }
.kind-escape .btn-location-cta { background: var(--color-accent); color: #111; }

/* === ROOM PAGE === */
.kind-escape .esc-room-hero {
    min-height: 62vh; display: flex; align-items: flex-end;
    background-size: cover; background-position: center; position: relative;
    padding: 9rem 0 4rem;
}
.kind-escape .esc-room-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11, 11, 15, 0.35) 0%, rgba(11, 11, 15, 0.92) 100%);
}
.kind-escape .esc-room-hero-inner { position: relative; max-width: 820px; }
.kind-escape .esc-room-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0.4rem 0 1rem; text-wrap: balance; }
/* "La Chambre de Manneken Pis" must stay on two lines on a small phone */
@media (max-width: 420px) { .kind-escape .esc-room-hero h1 { font-size: 1.9rem; line-height: 1.15; } }
.kind-escape .esc-room-hero p { color: #d8d8e0; font-size: 1.15rem; line-height: 1.6; }
.kind-escape .esc-room-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
.kind-escape .esc-room-story h2 { margin-bottom: 1.2rem; }
.kind-escape .esc-room-story p { color: #cfcfd8; line-height: 1.8; margin-bottom: 1.1rem; }
.kind-escape .esc-room-story .btn-esc { margin-top: 1rem; }
.kind-escape .esc-warning {
    display: flex; gap: 0.8rem; align-items: flex-start;
    background: rgba(192, 57, 43, 0.14); border: 1px solid rgba(192, 57, 43, 0.5);
    border-radius: 14px; padding: 1rem 1.2rem; margin: 1.5rem 0;
}
.kind-escape .esc-warning svg { color: #ff6b5b; flex-shrink: 0; margin-top: 2px; }
.kind-escape .esc-warning p { margin: 0; color: #f1d4d0; }
.kind-escape .esc-room-stats { list-style: none; padding: 0; margin: 0 0 1.5rem; background: var(--color-surface); border: 1px solid var(--esc-line); border-radius: 18px; }
.kind-escape .esc-room-stats li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.25rem; border-bottom: 1px solid var(--esc-line); }
.kind-escape .esc-room-stats li:last-child { border-bottom: 0; }
.kind-escape .esc-room-stats span { color: var(--color-text-dim); }
.kind-escape .esc-gallery { display: grid; gap: 0.75rem; }
.kind-escape .esc-gallery img { width: 100%; border-radius: 14px; display: block; }

/* === RESPONSIVE === */
@media (max-width: 1000px) {
    .kind-escape .esc-room-grid,
    .kind-escape .esc-steps { grid-template-columns: 1fr; }
    .kind-escape .esc-who-grid { grid-template-columns: repeat(2, 1fr); }
    .kind-escape .esc-price-grid { grid-template-columns: repeat(3, 1fr); }
    .kind-escape .esc-room-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .kind-escape .esc-section { padding: 4rem 0; }
    .kind-escape .esc-who-grid,
    .kind-escape .esc-room-grid--two { grid-template-columns: 1fr; }
    .kind-escape .esc-price-grid { grid-template-columns: repeat(2, 1fr); }
    .kind-escape .esc-room-actions { flex-wrap: wrap; }
}
