/* Public site gtch.rs (pages generated by scripts/generate-site.mjs).
   Theme C2 as the menus: sofa blue, cream, Pointless for titles (basic Latin
   only), Archivo for text (Roboto Flex fills in Cyrillic), the GTCH! logo
   lying diagonally as a barely visible background. Mobile first. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/Archivo-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/Archivo-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 1000; font-stretch: 25% 151%; font-display: swap;
  src: url("fonts/RobotoFlex-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Pointless"; src: url("fonts/Pointless.ttf") format("truetype"); font-display: swap; }

:root {
    --c-sheet: #1D4E86;
    --c-deep: #173F7A;
    --c-white: #F4F1EA;
    --c-soft: #C3DAEE;
    --c-mute: #A3C0DC;
    --c-rule: rgba(244, 241, 234, 0.28);
    --c-decor: rgba(8, 24, 50, 0.10);
    --c-chip: rgba(244, 241, 234, 0.10);
    --c-open: #8EE3A6;
    --c-closed: #F2A7A0;
    --f-brand: "Pointless", "Archivo", sans-serif;
    --f-text: "Archivo", system-ui, sans-serif;
    --gutter: 18px;
    --max: 1100px;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--c-sheet); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--c-sheet);
    color: var(--c-white);
    font-family: var(--f-text);
    font-size: 17px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- logo (inline SVG, text in Pointless) ---------- */
.logo { display: block; aspect-ratio: 2120 / 548; overflow: visible; fill: currentColor; }
.logo__mark { font-family: "Pointless"; font-size: 400px; }
.logo__line { font-family: "Archivo", sans-serif; font-weight: 700; font-stretch: 125%; font-size: 78px; }

.decor {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    left: 62%; top: 80%;
    width: 130vw; max-width: 1100px;
    color: var(--c-decor);
    transform: translate(-50%, -50%) rotate(-30deg);
}
.decor__logo { width: 100%; height: auto; }
.top, main, .foot { position: relative; z-index: 1; }
.top { z-index: 2; }

/* ---------- header ---------- */
.top {
    max-width: var(--max);
    margin: 0 auto;
    padding: calc(16px + env(safe-area-inset-top)) var(--gutter) 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.top__home { display: block; color: inherit; }
.top__logo { height: 46px; width: auto; }

.langs { display: inline-flex; border: 1px solid var(--c-rule); border-radius: 17px; overflow: hidden; background: rgba(23, 63, 122, 0.6); }
.langs__item {
    padding: 6px 11px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.langs__item + .langs__item { border-left: 1px solid var(--c-rule); }
.langs__item.is-current { background: var(--c-white); color: var(--c-sheet); }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 12px 22px;
    border: 1.5px solid var(--c-white);
    border-radius: 26px;
    font-size: 17px;
    font-weight: 700;
    font-stretch: 106%;
    line-height: 1.1;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--c-chip); }
.btn--main { background: var(--c-white); color: var(--c-sheet); }
.btn--main:hover { background: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:focus-visible, .langs__item:focus-visible { outline: 2px solid var(--c-white); outline-offset: 3px; }

/* ---------- hero: full-bleed photo on the phone ---------- */
.hero { position: relative; display: grid; min-height: min(92svh, 820px); margin-top: -76px; }
.hero__photo { grid-area: 1 / 1; position: relative; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(29, 78, 134, 0.75) 0%, rgba(29, 78, 134, 0) 20%, rgba(29, 78, 134, 0) 30%, rgba(29, 78, 134, 0.92) 54%, var(--c-sheet) 72%);
}
.hero__body {
    grid-area: 1 / 1;
    align-self: end;
    position: relative;
    padding: 0 var(--gutter) 10px;
    display: grid;
    gap: 16px;
}
.hero__title {
    font-family: var(--f-brand);
    font-weight: 400;
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.hero__place {
    display: block;
    margin-top: 8px;
    font-family: var(--f-text);
    font-size: 19px;
    font-weight: 600;
    font-stretch: 112%;
    letter-spacing: 0.04em;
    color: var(--c-soft);
    text-transform: none;
}
.hero__lead { max-width: 34em; color: var(--c-soft); font-size: 16.5px; }
.hero .btn { flex: 1 1 140px; }

.status { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 650; font-stretch: 106%; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-closed); box-shadow: 0 0 0 4px rgba(242, 167, 160, 0.18); }
.status.is-open .status__dot { background: var(--c-open); box-shadow: 0 0 0 4px rgba(142, 227, 166, 0.2); }

/* ---------- blocks ---------- */
main { max-width: var(--max); margin: 0 auto; }
.block { padding: 40px var(--gutter) 0; }
.block__title {
    font-family: var(--f-brand);
    font-weight: 400;
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-bottom: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--c-rule);
}
/* Pointless has only basic Latin: Č, Ž, Cyrillic titles in Archivo wide black */
.block__title--alt { font-family: var(--f-text); font-weight: 900; font-stretch: 125%; font-size: 21px; letter-spacing: 0.02em; }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 9px 0; text-align: left; font-weight: 500; border-bottom: 1px solid rgba(244, 241, 234, 0.12); }
.hours td { text-align: right; color: var(--c-soft); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 750; color: var(--c-white); }
.hours tr.is-today th::after {
    content: attr(data-today);
    margin-left: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--c-white);
    color: var(--c-sheet);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    vertical-align: 2px;
}

.address { display: grid; gap: 2px; margin-bottom: 18px; }
.address__street { font-size: 21px; font-weight: 700; font-stretch: 108%; }
.address__city { color: var(--c-soft); }

.gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 70%;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 6px;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item { scroll-snap-align: start; border-radius: 14px; overflow: hidden; background: var(--c-deep); aspect-ratio: 2 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }

.foot {
    max-width: var(--max);
    margin: 0 auto;
    padding: 48px var(--gutter) calc(30px + env(safe-area-inset-bottom));
    display: grid;
    gap: 6px;
    font-size: 14px;
    color: var(--c-mute);
}
.foot__age {
    display: inline-block;
    margin-right: 6px;
    padding: 1px 7px;
    border: 1.5px solid currentColor;
    border-radius: 6px;
    font-weight: 800;
    color: var(--c-white);
}

/* ---------- desktop ---------- */
@media (min-width: 900px) {
    :root { --gutter: 32px; }
    .top { padding-top: 26px; }
    .top__logo { height: 58px; }
    .hero {
        margin: 0 var(--gutter);
        min-height: 0;
        grid-template-columns: 1fr 0.86fr;
        gap: 48px;
        align-items: center;
    }
    .hero__photo { grid-area: 1 / 2; height: min(78vh, 680px); border-radius: 18px; }
    .hero__photo::after { display: none; }
    .hero__body { grid-area: 1 / 1; align-self: center; padding: 0; gap: 22px; }
    .hero__title { font-size: 58px; line-height: 1.14; }
    .hero__place { font-size: 24px; margin-top: 12px; }
    .hero__lead { font-size: 18px; }
    .hero .btn { flex: 0 0 auto; }
    main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 56px;
    }
    .hero, .block--wide { grid-column: 1 / -1; }
    .block { padding: 56px 0 0; }
    .hero { margin: 0; }
    main { padding: 0 var(--gutter); }
    .gallery { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
    #photos { order: 4; }
    .decor { width: 80vw; left: 72%; top: 82%; }
}
