/* =============================================================================
   Shared brand styling for all booking pages and the 404.
   Per-page card width/height come in via the --card-width / --card-height
   custom properties, set inline by template.php (see config.php to change them).
   ============================================================================= */

:root {
    --ink: #ffffff;
    --card-width: 500px;   /* default; template.php overrides per page */
    --card-height: 600px;  /* default; template.php overrides per page */
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: #0a0d12;
    overflow-x: hidden;
}

/* Full-viewport background video. */
.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Stage centres content and survives overflow on tall mobile screens. */
.stage {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.content {
    width: 100%;                  /* definite width so the card's % + max-width resolve */
    margin: auto;                 /* overflow-safe centring */
    padding: 56px 16px 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: rise 0.7s ease both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

/* Logo sitting above the card. drop-shadow keeps it legible on a bright video. */
.brand-logo {
    margin-bottom: 26px;
}

.brand-logo img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
    transition: opacity 0.2s ease;
    opacity: 0.95;
}

.brand-logo a:hover img,
.brand-logo a:focus img {
    opacity: 1;
}

/* Booking card: white surface floating over the video. */
.booking-card {
    width: 100%;
    max-width: var(--card-width);
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.booking-card iframe {
    display: block;
    width: 100%;
    height: var(--card-height);
    border: 0;
}

:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .content { animation: none; }
}

/* =============================================================================
   404 page
   ============================================================================= */

.nf-card {
    width: 100%;
    max-width: 440px;
    padding: 36px 30px 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.nf-title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nf-text {
    margin: 0 0 22px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
}

.nf-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nf-link {
    display: block;
    padding: 13px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    transition: background 0.18s ease, transform 0.18s ease;
}

.nf-link:hover,
.nf-link:focus {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.nf-empty {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
}
