/* Verejny web budovy.
   Navazuje na app.css (stejne barvy a tlacitka), ale ma vlastni vizualni
   jazyk: velke uzke nadpisy verzalkami, fotky pres celou sirku, zadne
   ramecky ani karty - prazdne misto dela praci za ne.

   Zlata zustava jako drobny akcent (odkazy, linka pod nadpisem sekce), uz
   ale neramuje cely web. Barvu maji nest fotografie.

   Zadne gradienty ani animace - stejne pravidlo jako uvnitr aplikace. */

:root {
    --site-ink: #141414;
    --site-paper: #ffffff;
    --site-muted: #5f5b52;
    --site-dark: #101010;
}

.site-body {
    background: var(--site-paper);
    color: var(--site-ink);
}

.site-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 56px);
}

/* --------------------------------------------------------------------
   Horni lista: plave pres uvodni pas, proto je pruhledna a bila. Uvodni
   pas je vzdy tmavy (i bez fotky), takze je lista citelna i na strankach,
   kde zadna fotografie neni.
   -------------------------------------------------------------------- */
.site-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: transparent;
    border: 0;
}

/* Pojistka pro stranku bez uvodniho pasu: bila lista na bilem pozadi by
   byla neviditelna, tak se v takovem pripade usadi na tmavy prouzek. */
body:not(:has(.site-hero)) .site-top {
    position: static;
    background: var(--site-dark);
}

.site-top-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 32px;
    min-height: 96px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.site-brand {
    display: flex;
    flex-direction: column;
    margin-right: auto;
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: 0.04em;
    color: #fff;
    text-decoration: none;
}

.site-brand span {
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.72);
}

.site-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-menu a {
    display: inline-block;
    padding: 6px 0;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.site-menu a:hover,
.site-menu a:focus-visible {
    color: #fff;
    border-bottom-color: var(--color-gold-light);
}

.site-menu a.is-active {
    color: #fff;
    border-bottom-color: var(--color-gold-light);
}

.site-login {
    padding: 11px 22px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.site-login:hover,
.site-login:focus-visible {
    color: var(--site-ink);
    background: #fff;
    border-color: #fff;
}

/* --------------------------------------------------------------------
   Uvodni pas. Tmavy i bez fotografie, aby na nem byla lista citelna;
   az se nahraje fotka, vlozi se jako pozadi tohoto pasu.
   -------------------------------------------------------------------- */
.site-hero {
    display: flex;
    align-items: flex-end;
    min-height: min(78vh, 680px);
    padding: 180px 0 clamp(48px, 7vw, 96px);
    background: var(--site-dark);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.site-hero .site-hero-eyebrow {
    margin: 0 0 18px;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.site-hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(48px, 9vw, 112px);
    line-height: 0.96;
    letter-spacing: 0.01em;
    color: #fff;
}

.site-hero p.site-lead {
    max-width: 62ch;
    margin: 24px 0 0;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------------------
   Sekce obsahu. Vzdusne, bez ramecku.
   -------------------------------------------------------------------- */
.site-section {
    padding: clamp(56px, 8vw, 112px) 0;
}

.site-section:last-of-type {
    padding-bottom: clamp(72px, 10vw, 140px);
}

.site-section > .site-wrap > h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.site-section .site-body-text {
    max-width: 68ch;
    font-size: 17px;
    line-height: 1.75;
}

.site-section .site-body-text p {
    margin: 0 0 18px;
}

.site-section .site-body-text ul {
    margin: 0 0 18px;
    padding-left: 20px;
}

.site-section .site-body-text li {
    margin-bottom: 8px;
}

.site-section .site-body-text h3 {
    margin: 28px 0 10px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-section .site-body-text a {
    color: var(--site-ink);
    text-decoration-color: var(--color-gold);
    text-underline-offset: 3px;
}

/* Kratka zlata linka pod nadpisem sekce - jediny ozdobny prvek. */
.site-rule {
    width: 56px;
    height: 2px;
    margin: 20px 0 32px;
    background: var(--color-gold);
}

/* --------------------------------------------------------------------
   Dlazdice budov. Bez ramecku - drzi je pohromade fotka a odstup.
   -------------------------------------------------------------------- */
.site-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(28px, 4vw, 56px);
}

.site-card {
    display: flex;
    flex-direction: column;
    background: none;
    border: 0;
}

.site-card-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* Nahrada fotografie, dokud zadna nahrana neni. */
.site-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    font-family: var(--font-display);
    font-size: 56px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    background: var(--site-dark);
}

.site-card-text {
    padding: 22px 0 0;
}

.site-card-text h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 30px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-card-meta {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--site-muted);
}

/* --------------------------------------------------------------------
   Fotografie
   -------------------------------------------------------------------- */
.site-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4px;
    margin-top: 32px;
}

.site-gallery img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.site-photo {
    width: 100%;
    max-height: 72vh;
    object-fit: cover;
    display: block;
    margin-top: 24px;
}

.site-photo-caption {
    margin: 12px 0 0;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--site-muted);
}

/* --------------------------------------------------------------------
   Kontakty, aktuality, oznameni
   -------------------------------------------------------------------- */
.site-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px 48px;
    margin: 32px 0 0;
}

.site-contact dt {
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--site-muted);
}

.site-contact dd {
    margin: 0;
    font-size: 19px;
}

.site-contact dd a {
    color: var(--site-ink);
    text-decoration-color: var(--color-gold);
    text-underline-offset: 3px;
}

.site-news-item {
    padding: 28px 0;
    border-bottom: 1px solid #e8e4da;
}

.site-news-item h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 28px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.site-news-item h3 a {
    color: var(--site-ink);
    text-decoration: none;
}

.site-news-item h3 a:hover {
    text-decoration: underline;
    text-decoration-color: var(--color-gold);
    text-underline-offset: 4px;
}

.site-news-date {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--site-muted);
}

.site-notice {
    padding: 22px 0;
    border-bottom: 1px solid #e8e4da;
}

.site-notice-when {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--site-muted);
}

/* --------------------------------------------------------------------
   Paticka
   -------------------------------------------------------------------- */
.site-foot {
    margin-top: 0;
    padding: clamp(48px, 6vw, 88px) 0;
    background: var(--site-dark);
    color: rgba(255, 255, 255, 0.78);
}

.site-foot-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px 48px;
    font-size: 15px;
    line-height: 1.7;
}

.site-foot strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 0.05em;
    color: #fff;
}

.site-foot a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 3px;
}

.site-foot-note {
    font-size: 13px;
    letter-spacing: 0.04em;
}

@media (max-width: 720px) {
    .site-top-inner {
        min-height: 0;
    }

    .site-hero {
        min-height: 0;
        padding-top: 150px;
    }

    .site-login {
        order: 3;
    }
}
