/* Dainere website: the same colours and fonts as the app. */
:root {
    --ink: #14171f;
    --ink-2: #1c202b;
    --brass: #c9a15f;
    --brass-dim: #8b7245;
    --bone: #ede7da;
    --bone-dim: #a9a38f;
    --babekora-yellow: #fdce02;
    --babekora-white: #ffffff;
    --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--bone);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: var(--brass); }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(20, 23, 31, .94);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(201, 161, 95, .25);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; position: relative; }
.site-header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone); }
.site-header__logo img { display: block; width: 52px; height: auto; }
.site-header__logo span { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .06em; line-height: 1; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a:not(.button) { color: var(--bone); text-decoration: none; font-weight: 500; letter-spacing: .02em; }
.site-nav a:not(.button):hover { color: var(--brass); }

.site-header__toggle {
    display: none; width: 44px; height: 44px; padding: 0;
    background: transparent; border: 1px solid var(--brass); border-radius: 12px; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.site-header__toggle span { display: block; width: 20px; height: 2px; background: var(--bone); }

/* Buttons */
.button {
    display: inline-block; padding: 14px 32px;
    background: var(--brass); color: var(--ink);
    font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .03em;
    text-decoration: none; border-radius: 12px; border: 0; cursor: pointer;
}
.button:hover { background: #d4af72; }
.button--small { padding: 9px 20px; font-size: .92rem; }

/* Hero */
.hero {
    background:
        linear-gradient(180deg, rgba(20, 23, 31, .82), rgba(20, 23, 31, .94)),
        url('../images/hero_front.jpg?v=1.0.0') center / cover no-repeat;
    border-bottom: 1px solid rgba(201, 161, 95, .25);
}
.hero__inner { text-align: center; padding-top: 56px; padding-bottom: 64px; }
.hero__logo { display: block; margin: 0 auto 8px; width: min(260px, 62vw); }
.hero__tag { margin: 8px 0 12px; font-family: var(--font-display); font-size: clamp(1.9rem, 6vw, 3rem); letter-spacing: .08em; color: var(--brass); line-height: 1.1; }
.hero__text { max-width: 520px; margin: 0 auto 28px; color: var(--bone); }
.hero__note { margin: 12px 0 0; font-size: .85rem; color: var(--bone-dim); }

/* Sections */
.section { padding: 56px 0; }
.section--alt { background: var(--ink-2); border-top: 1px solid rgba(201, 161, 95, .18); }
.section__title { margin: 0 0 16px; font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; letter-spacing: .06em; color: var(--brass); line-height: 1.1; }
.tm { font-size: .6em; line-height: 0; }

.about { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.about__image { display: block; width: 100%; border-radius: 14px; border: 1px solid rgba(201, 161, 95, .4); }
.about__text p { margin: 0 0 14px; }
.about__lead { font-size: 1.12rem; color: var(--bone); }

.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 640px; }
.contact {
    display: block; padding: 18px 20px; text-decoration: none; color: var(--bone);
    background: var(--ink); border: 1px solid rgba(201, 161, 95, .4); border-radius: 14px;
}
.contact:hover { border-color: var(--brass); }
.contact__label { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-dim); }
.contact__value { user-select: text; display: block; margin-top: 2px; font-size: 1.25rem; font-weight: 600; overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid rgba(201, 161, 95, .25); padding: 32px 0 28px; text-align: center; color: var(--bone-dim); font-size: .85rem; }
.site-footer__links { margin: 0 0 8px; }
.site-footer__brand { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .06em; line-height: 1; }
.letter-red { color: #e2483c; }
.letter-yellow { color: #f4c430; }
.letter-green { color: #7cb342; }
.letter-blue { color: #3f6fd1; }
.letter-orange { color: #f2994a; }
.site-footer__link { background: none; border: 0; padding: 0; font: inherit; color: var(--bone-dim); text-decoration: underline; cursor: pointer; }
.site-footer__link:hover { color: var(--brass); }

/* Legal popups */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 10, 14, .78); }
.modal[hidden] { display: none; }
.modal__box { width: 100%; max-width: 720px; max-height: 86vh; display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--brass-dim); border-radius: 14px; overflow: hidden; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(201, 161, 95, .25); }
.modal__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; letter-spacing: .06em; color: var(--brass); line-height: 1.1; }
.modal__close { background: none; border: 0; color: var(--bone); font-size: 2rem; line-height: 1; padding: 0 4px; cursor: pointer; }
.modal__close:hover { color: var(--brass); }
.modal__body { padding: 8px 18px 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.legal-text { font-size: .92rem; line-height: 1.55; color: var(--bone); }
.legal-text h2 { margin: 22px 0 6px; font-size: 1.05rem; color: var(--brass); }
.legal-text ul { padding-left: 20px; }
body.modal-open { overflow: hidden; }
.babekora-credit { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; }
.babekora-credit__label { font-size: 1.15rem; font-weight: 500; letter-spacing: .02em; line-height: 1.2; }
.babekora-credit__link { display: inline-flex; align-items: center; line-height: 1.2; font-size: 1.15rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.site-version { margin: 6px 0 0; font-size: .75rem; opacity: .7; }
.babekora-credit__mark { display: block; width: 46px; height: 46px; object-fit: contain; }
.babekora-credit__link .y { color: var(--babekora-yellow); }
.babekora-credit__link .w { color: var(--babekora-white); }

/* Narrow screens */
@media (max-width: 760px) {
    .site-header__toggle { display: flex; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--ink); border-bottom: 1px solid rgba(201, 161, 95, .25);
        padding: 8px 20px 16px;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a:not(.button) { padding: 14px 0; border-bottom: 1px solid rgba(237, 231, 218, .08); }
    .site-nav .button { margin-top: 14px; text-align: center; }
    .about { grid-template-columns: 1fr; gap: 24px; }
    .about__image { max-width: 320px; margin: 0 auto; }
    .section { padding: 40px 0; }
    .hero__inner { padding-top: 40px; padding-bottom: 48px; }
}

/* Booking page: info on the left, the app's booking form in a frame on the right */
.booking-page { padding-top: 32px; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: stretch; }
.booking-info { align-self: start; position: sticky; top: 88px; }
.booking-info__image { display: block; width: 100%; height: 220px; object-fit: cover; border-radius: 14px; border: 1px solid rgba(201, 161, 95, .25); margin: 0 0 20px; }
.booking-info__lead { margin: 0 0 16px; font-size: 1.1rem; }
.booking-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.booking-steps li { display: flex; gap: 12px; align-items: flex-start; }
.booking-steps span { flex: 0 0 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brass); color: var(--ink); font-weight: 600; font-size: .9rem; }
.booking-info__note { margin: 0; color: var(--bone-dim); font-size: .9rem; }
.booking-frame { display: flex; flex-direction: column; border: 1px solid rgba(201, 161, 95, .25); border-radius: 14px; overflow: hidden; background: var(--ink); }
/* The frame is as tall as the info block next to it, and never shorter than the screen allows (a little air above and below) */
.booking-frame__iframe { display: block; width: 100%; flex: 1 1 auto; min-height: clamp(460px, calc(100vh - 260px), 720px); border: 0; }
.booking-frame--compact .booking-frame__iframe { min-height: 420px; }
.booking-frame__fallback { padding: 20px; margin: 0; }

@media (max-width: 860px) {
    .booking-layout { grid-template-columns: 1fr; gap: 24px; }
    .booking-info { position: static; }
    .booking-info__image { height: 160px; }
    .booking-frame__iframe { flex: none; height: 70vh; min-height: 480px; }
    .booking-frame--compact .booking-frame__iframe { height: 420px; min-height: 0; }
}
.booking-back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--brass); text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.booking-back:hover { color: var(--bone); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.button--outline { background: var(--ink-2); color: var(--brass); border: 1.5px solid var(--brass); padding: 12.5px 30.5px; }
.button--outline:hover { background: var(--ink); color: #d4af72; }

