@font-face {
    font-family: 'DIN Pro';
    src: url('/assets/fonts/dinpro-light.otf') format('opentype');
    font-display: swap;
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('/assets/fonts/dinpro-medium.otf') format('opentype');
    font-display: swap;
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'Alfa Slab One';
    src: url('/assets/fonts/alfa-slab-one.ttf') format('truetype');
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

:root {
    color-scheme: dark;
    --site-brand-red: #ed1c24;
    --site-brand-green: #00b44e;
    --site-brand-green-hover: #009639;
    --site-footer: #3c3c3c;
    --site-muted: #bdbbbc;
    --site-surface: rgba(19, 19, 19, 0.92);
    --site-surface-strong: rgba(10, 10, 10, 0.96);
    --site-border: rgba(255, 255, 255, 0.12);
    --site-text: #fff;
    --site-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    background:
        radial-gradient(circle at top, rgba(237, 28, 36, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.92)),
        #111 url('/assets/img/tarmac.png') center center / cover no-repeat fixed;
    color: var(--site-text);
    display: flex;
    flex-direction: column;
    font-family: 'DIN Pro', 'Segoe UI', sans-serif;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--site-brand-red);
}

img {
    display: block;
}

.site-header {
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.68));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
}

.site-header-bar,
.site-nav,
.site-footer-inner,
.site-main {
    width: min(1120px, calc(100vw - 2rem));
}

.site-header-bar {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin: 0 auto;
    padding: 1rem 0 0.75rem;
    position: relative;
}

.site-logo-link {
    display: inline-flex;
    margin: 0;
    max-width: min(420px, 72vw);
}

.site-logo {
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
    width: 100%;
}

.site-menu-toggle {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    cursor: pointer;
    display: none;
    height: 3.25rem;
    justify-content: center;
    padding: 0.8rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3.25rem;
}

.site-menu-toggle img {
    height: 100%;
    width: 100%;
}

@media (min-width: 901px) {
    .site-header-bar {
        justify-content: center;
    }

    .site-logo-link {
        margin: 0 auto;
    }
}

.site-nav {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    letter-spacing: 0.14em;
    margin: 0 auto;
    padding: 0 0 1rem;
    text-transform: uppercase;
}

.site-nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.45rem 0;
    position: relative;
}

.site-nav-link::after {
    background: var(--site-brand-red);
    bottom: 0;
    content: '';
    height: 2px;
    left: 0;
    opacity: 0;
    position: absolute;
    transform: scaleX(0.6);
    transform-origin: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    width: 100%;
}

.site-nav-link:hover::after,
.site-nav-link[aria-current='page']::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-nav-link[aria-current='page'] {
    color: var(--site-text);
}

.site-main {
    flex: 1;
    margin: 0 auto;
    padding: 10.5rem 0 4.5rem;
    position: relative;
}

.site-main::before {
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.12), transparent 55%);
    content: '';
    inset: 8rem 0 auto;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.site-barrier {
    background: url('/assets/img/barrier.png') center / auto 100% repeat-x;
    height: 0.75rem;
}

.site-footer {
    background: rgba(60, 60, 60, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.75rem 0 3rem;
}

.site-footer-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
}

.site-footer-column h2 {
    font-family: 'Alfa Slab One', 'DIN Pro', sans-serif;
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
}

.site-footer-column ul {
    display: grid;
    gap: 0.7rem;
}

.site-footer-column li {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

.site-footer-phone {
    font-size: 1.35rem;
}

.reservation-page {
    margin: 0 auto;
    max-width: 860px;
    padding-top: 2.5rem;
}

.reservation-shell {
    background: linear-gradient(180deg, var(--site-surface), var(--site-surface-strong));
    border: 1px solid var(--site-border);
    border-radius: 1.75rem;
    box-shadow: var(--site-shadow);
    overflow: hidden;
    position: relative;
}

.reservation-shell::before {
    background: linear-gradient(120deg, rgba(237, 28, 36, 0.2), rgba(255, 255, 255, 0.03) 48%, transparent);
    content: '';
    inset: 0 auto auto 0;
    height: 100%;
    pointer-events: none;
    position: absolute;
    width: 100%;
}

.reservation-intro,
.reservation-form {
    position: relative;
    z-index: 1;
}

.reservation-intro {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.25rem 2rem 1.5rem;
}

.reservation-kicker {
    color: var(--site-muted);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.reservation-intro h1 {
    font-family: 'Alfa Slab One', 'DIN Pro', sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
}

.reservation-intro p:last-child {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 44rem;
}

.reservation-form {
    display: grid;
    gap: 1.4rem;
    padding: 2rem;
}

.reservation-details {
    padding: 2rem;
}

.reservation-form .reservation-details {
    padding: 0;
}

.reservation-fieldset,
.reservation-details {
    display: grid;
    gap: 1rem 1.2rem;
}

.reservation-fieldset {
    border: 0;
    margin: 0;
    min-inline-size: 0;
    padding: 0;
}

.reservation-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reservation-field,
.reservation-time-picker {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.reservation-field--full {
    grid-column: 1 / -1;
}

.reservation-page label,
.reservation-time-picker {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1rem;
    font-weight: 500;
}

.reservation-page input:not([type='checkbox']),
.reservation-page select,
.reservation-page textarea {
    appearance: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    color: var(--site-text);
    font: inherit;
    min-height: 3.35rem;
    padding: 0.95rem 1rem;
    width: 100%;
}

.reservation-page input::placeholder,
.reservation-page textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.reservation-page input:focus,
.reservation-page select:focus,
.reservation-page textarea:focus {
    border-color: rgba(237, 28, 36, 0.72);
    box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.16);
    outline: none;
}

.reservation-page textarea {
    min-height: 9rem;
    resize: vertical;
}

.reservation-page input[type='checkbox'] {
    accent-color: var(--site-brand-green);
    height: 1.05rem;
    margin-top: 0.25rem;
    width: 1.05rem;
}

.reservation-toggle {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    display: flex;
    gap: 0.8rem;
    padding: 1rem 1rem 1rem 1.1rem;
}

.reservation-note {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
}

.reservation-alert {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    line-height: 1.55;
    padding: 1rem 1.1rem;
}

.alert-warning {
    background: rgba(255, 183, 0, 0.12);
    border-color: rgba(255, 183, 0, 0.28);
    color: #ffe19a;
}

.alert-danger {
    background: rgba(237, 28, 36, 0.14);
    border-color: rgba(237, 28, 36, 0.26);
    color: #ffd3d6;
}

.reservation-time-picker small {
    color: rgba(255, 255, 255, 0.58);
}

.arrangement-picker-field {
    display: grid;
    gap: 0.75rem;
}

.arrangement-picker {
    --plan-card-width: min(84%, 22rem);
    display: flex;
    gap: 0.95rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0.2rem max(0.85rem, calc((100% - var(--plan-card-width)) / 2)) 0.4rem;
    scroll-padding-inline: max(0.85rem, calc((100% - var(--plan-card-width)) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.arrangement-plan {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.1rem;
    color: var(--site-text);
    cursor: pointer;
    display: grid;
    flex: 0 0 var(--plan-card-width);
    gap: 0.55rem;
    min-height: 12.75rem;
    padding: 1rem 1.05rem;
    scroll-snap-align: center;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.arrangement-plan:hover {
    border-color: rgba(237, 28, 36, 0.55);
    transform: translateY(-1px);
}

.arrangement-plan.is-selected {
    background: linear-gradient(160deg, rgba(0, 180, 78, 0.32), rgba(0, 180, 78, 0.14));
    border-color: rgba(0, 180, 78, 0.88);
    box-shadow: 0 12px 22px rgba(0, 180, 78, 0.18);
}

.arrangement-plan-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.arrangement-plan-description {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.93rem;
    line-height: 1.5;
    margin: 0;
}

.arrangement-plan-meta {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    margin: 0;
}

.arrangement-plan-tiers {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 0.35rem;
    margin-top: 0.2rem;
    padding-top: 0.65rem;
}

.arrangement-plan-tier-kicker {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.arrangement-plan-tier-line {
    align-items: baseline;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    font-size: 0.87rem;
    justify-content: space-between;
    line-height: 1.3;
    margin: 0;
}

.arrangement-plan:focus-visible {
    border-color: rgba(237, 28, 36, 0.88);
    box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.2);
    outline: none;
}

.heat-picker-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(6.75rem, 1fr));
    margin-top: 0.3rem;
}

.heat-picker-button {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: var(--site-text);
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    min-height: 3rem;
    padding: 0.8rem 0.95rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    width: 100%;
}

.heat-picker-button:hover {
    border-color: rgba(237, 28, 36, 0.44);
    transform: translateY(-1px);
}

.heat-picker-button.is-selected {
    background: var(--site-brand-green);
    border-color: var(--site-brand-green);
}

.reservation-submit {
    background: var(--site-brand-green);
    border: 0;
    border-radius: 999px;
    color: var(--site-text);
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    justify-self: start;
    min-height: 3.5rem;
    padding: 0.95rem 1.6rem;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.reservation-submit:hover {
    background: var(--site-brand-green-hover);
    color: var(--site-text);
    transform: translateY(-1px);
}

.reservation-submit:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

.reservation-honeypot {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

@media (max-width: 900px) {
    .site-menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        background: rgba(0, 0, 0, 0.92);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: none;
        flex-direction: column;
        gap: 0;
        margin-bottom: 0.75rem;
        padding: 0.35rem 0 0.75rem;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav-link {
        padding: 0.85rem 0;
    }

    .site-main {
        padding-top: 8.5rem;
    }

    .site-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reservation-intro,
    .reservation-form {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .reservation-page {
        padding-top: 1.6rem;
    }

    .reservation-details {
        grid-template-columns: 1fr;
    }

    .reservation-field--full {
        grid-column: auto;
    }
}

@media (min-width: 768px) {
    .arrangement-picker {
        --plan-card-width: min(20.5rem, calc((100% - 2.85rem) / 3.15));
        gap: 0.95rem;
        padding-inline: 0;
        scroll-padding-inline: 0;
        scroll-snap-type: none;
    }

    .arrangement-plan {
        flex-basis: var(--plan-card-width);
        min-height: 13rem;
        scroll-snap-align: none;
    }
}

@media (min-width: 1024px) {
    .arrangement-picker {
        --plan-card-width: min(19.75rem, calc((100% - 2.85rem) / 3.2));
    }
}

@media (max-width: 767px) {
    .arrangement-plan-name {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {

    .site-header-bar,
    .site-nav,
    .site-footer-inner,
    .site-main {
        width: min(1120px, calc(100vw - 1.25rem));
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reservation-shell {
        border-radius: 1.35rem;
    }

    .reservation-intro h1 {
        font-size: 1.85rem;
    }

    .reservation-submit {
        justify-self: stretch;
        width: 100%;
    }
}

.not-found-page {
    align-items: center;
    display: grid;
    min-height: min(70vh, 640px);
}

.not-found-card {
    background: linear-gradient(180deg, var(--site-surface), var(--site-surface-strong));
    border: 1px solid var(--site-border);
    border-radius: 1.5rem;
    box-shadow: var(--site-shadow);
    margin: 0 auto;
    max-width: 700px;
    padding: 2.1rem 1.7rem;
}

.not-found-code {
    color: var(--site-brand-red);
    font-family: 'Alfa Slab One', 'DIN Pro', sans-serif;
    font-size: clamp(2.6rem, 8vw, 5rem);
    letter-spacing: 0.12em;
    line-height: 1;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
}

.not-found-card h1 {
    font-family: 'Alfa Slab One', 'DIN Pro', sans-serif;
    font-size: clamp(1.55rem, 4vw, 2.3rem);
    line-height: 1.15;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
}

.not-found-card p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.not-found-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.4rem;
}

.not-found-button,
.not-found-link {
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 500;
    min-height: 3rem;
    padding: 0.8rem 1.25rem;
}

.not-found-button {
    background: var(--site-brand-green);
    color: var(--site-text);
}

.not-found-button:hover {
    background: var(--site-brand-green-hover);
    color: var(--site-text);
}

.not-found-link {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.94);
}

.not-found-link:hover {
    border-color: rgba(237, 28, 36, 0.45);
    color: var(--site-text);
}

/* Date Picker Styles */

.date-picker-field {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.date-picker-label {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1rem;
    font-weight: 500;
}

.date-picker-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    padding: 1.2rem 0.9rem;
    margin: 0 auto;
}

.date-picker-header {
    align-items: center;
    display: flex;
    gap: 0.6rem;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.date-picker-month-year {
    color: var(--site-text);
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 8.5rem;
    text-align: center;
}

.date-picker-nav-button {
    appearance: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.5rem;
    color: var(--site-text);
    cursor: pointer;
    font-size: 0.95rem;
    min-height: 2rem;
    min-width: 2rem;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.date-picker-nav-button:hover:not(:disabled) {
    background: rgba(237, 28, 36, 0.2);
    border-color: rgba(237, 28, 36, 0.4);
}

.date-picker-nav-button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.date-picker-weekdays {
    display: grid;
    gap: 0.3rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-bottom: 0.4rem;
}

.date-picker-weekday {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0;
    text-align: center;
}

.date-picker-grid {
    display: grid;
    gap: 0.3rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.date-picker-day {
    appearance: none;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.4rem;
    color: var(--site-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.6rem;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.date-picker-day:not(.is-disabled):hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.date-picker-day.is-other-month {
    color: rgba(255, 255, 255, 0.35);
}

.date-picker-day.is-disabled {
    cursor: not-allowed;
    opacity: 0.35;
}

.date-picker-day.is-today {
    background: rgba(255, 183, 0, 0.15);
    border-color: rgba(255, 183, 0, 0.35);
    color: #ffe19a;
    font-weight: 600;
}

.date-picker-day.is-selected {
    background: var(--site-brand-green);
    border-color: var(--site-brand-green);
    color: var(--site-text);
    font-weight: 600;
}

.date-picker-day.is-selected:hover {
    background: var(--site-brand-green-hover);
    border-color: var(--site-brand-green-hover);
}

.date-picker-confirmation {
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    gap: 0.6rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.confirmation-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
}

.confirmation-date {
    background: rgba(0, 180, 78, 0.15);
    border-radius: 0.4rem;
    color: #90ee90;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
}
