/* START Základ a typografie */
:root {
    color-scheme: dark;
    --page: #191e24;
    --panel: #15181c;
    --gold: #d6c29a;
    --ivory: #f2efe9;
    --muted: #c1bcb4;
    --line: #514c43;
    --width: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ivory); background: var(--page); font: 1.06rem/1.65 Georgia, 'Times New Roman', serif; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--gold); text-underline-offset: .25em; }
a:hover { color: white; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
h1, h2, h3, h4, h5, h6 { line-height: 1.17; text-wrap: balance; }
h1, h2 { margin: 0 0 1.1rem; font-weight: 500; letter-spacing: .065em; }
h1 { font-size: clamp(2.3rem,5vw,4.6rem); }
h2 { font-size: clamp(1.9rem,3.5vw,3.1rem); }
h3 { font-size: clamp(1.4rem,2vw,1.8rem); font-weight: 500; }
h4, h5 { margin: .4rem 0; font-size: 1.23rem; font-weight: 500; }
h6 { margin: .8rem 0 .35rem; font-size: 1.05rem; }
p { margin: .65rem 0; }
figure { margin: 0; }
.skip { position: fixed; z-index: 15; left: 1rem; top: -5rem; background: black; padding: .6rem; }
.skip:focus { top: .5rem; }
[hidden] { display: none !important; }
/* KONEC Základ a typografie */

/* START Navigace */
.site-head { position: sticky; top: 0; z-index: 8; background: #19191a; border-bottom: 1px solid #37342d; }
.nav-wrap, .footer-inner { width: min(calc(100% - 3rem),var(--width)); margin: auto; }
.nav-wrap { min-height: 4.7rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; text-transform: uppercase; font: 600 1.52rem Georgia,serif; letter-spacing: .18em; }
.wordmark img { width: 32px; }
#navigation, .site-footer nav, .social { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.8rem,2vw,2rem); }
#navigation a, .site-footer nav a { color: var(--ivory); text-decoration: none; font: 600 .92rem/1.3 system-ui,sans-serif; }
#navigation a[aria-current], #navigation a:hover { color: var(--gold); }
.menu-toggle, .search-open, .close { color: var(--ivory); background: transparent; border: 0; padding: .5rem; }
.search-open { display: grid; place-items: center; }
.button, .contact-form button { display: inline-block; padding: .78rem 1.5rem; border: 1px solid var(--gold); color: #1a1918; background: var(--gold); font: 650 .9rem/1.4 system-ui,sans-serif; text-decoration: none; }
.button:hover, .contact-form button:hover { background: var(--ivory); color: #191919; }
/* KONEC Navigace */

/* START Hlavní fotografie a kontaktní pruh */
.hero, .photo-band { position: relative; isolation: isolate; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero { min-height: clamp(31rem,72svh,57rem); }
/* picture má display: contents (FOTKY.md), umístění proto nese img. */
.photo-hero img, .photo-backdrop img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero::before, .photo-band::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,#10101036,#12141970 46%,#101419c7); }
.hero-copy { width: min(92%,48rem); padding: 3rem 1rem; }
.photo-brand img { width: clamp(9rem,15vw,16rem); margin: 0 auto 1.25rem; }
.hero h1 { font-size: clamp(2.25rem,4.35vw,4.75rem); letter-spacing: -.025em; text-shadow: 0 2px 25px #111b; }
.hero .button { margin-top: 1rem; }
.info-strip { background: var(--panel); padding: 2rem 1.5rem; border-bottom: 1px solid var(--line); }
.info-strip > .row { width: min(100%,var(--width)); margin: auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.info-strip article { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.info-strip h4, .band-inner h4 { color: var(--gold); }
.info-strip .item_introtext { font-size: .98rem; }
.info-strip .item_introtext p { margin: 0; }
.photo-band { min-height: 27rem; padding: 4rem 1.5rem; }
.photo-band::before { background: #0d1017ba; }
.band-inner { max-width: 60rem; }
.band-inner .moduletable:has(> .row article) > .row { display: inline-block; vertical-align: top; margin: .6rem 1rem; }
/* KONEC Hlavní fotografie a kontaktní pruh */

/* START Texty, galerie a ceník */
.text-section { width: min(calc(100% - 3rem),var(--width)); margin: auto; padding: clamp(3.2rem,6vw,6rem) 0; }
.intro, .story, .services, .news, .pricelist > .row > .moduletable > h2, .reviews h2, .pretext { text-align: center; }
.intro { max-width: 54rem; }
.pretext { margin: -.35rem auto 2.3rem; font-style: italic; color: var(--muted); font-size: 1.22rem; }
.gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.4rem,1.1vw,1.3rem); align-items: center; padding: 2vw 0; }
.gallery a { overflow: hidden; display: block; }
.gallery a:nth-child(2n) { transform: translateY(-1.5vw); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.story .row:has(> article), .news .row:has(> article), .services .row:has(> article), .reviews .row:has(> article),
.pricelist .row:has(> article) { display: grid; gap: 1.75rem; }
.story .row:has(> article), .news .row:has(> article), .reviews .row:has(> article) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.story .row article { text-align: left; }
.services .row:has(> article), .pricelist .row:has(> article) { grid-template-columns: repeat(3,minmax(0,1fr)); }
.story figure img { width: 8rem; margin: 2rem auto 0; }
.story > .row > .moduletable:last-child { max-width: 42rem; margin: auto; }
.pricelist article { border-bottom: 1px dashed var(--line); padding: 1.15rem 0; }
.pricelist h5 { padding-right: .3rem; }
.price { float: right; padding-left: .6rem; font-size: 1.8rem; color: var(--gold); font-weight: 400; line-height: 1.3; }
.pricelist .item_introtext { color: var(--muted); font-size: .95rem; font-style: italic; }
.reviews article { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.reviews blockquote { margin: 0; }
.reviews h6 { color: var(--gold); }
/* KONEC Texty, galerie a ceník */

/* START Blog, kontakt a rezervace */
.blog-layout { display: grid; grid-template-columns: minmax(0,2.4fr) minmax(12rem,1fr); gap: clamp(2rem,6vw,5rem); }
.blog-aside { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.blog-aside ul { list-style: none; padding: 0; }
.blog-aside .item_content figure { max-width: 7rem; margin-top: 1.3rem; }
.listing .items-row, .tag-list li { padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.listing article figure { margin-bottom: 1.15rem; }
.listing h4, .tag-list h3 { font-size: 1.7rem; }
.listing h4 a, .tag-list h3 a { color: var(--ivory); text-decoration: none; }
.tags { margin: 1rem 0; font: .85rem/1.7 system-ui,sans-serif; }
.tags a { display: inline-block; margin-right: .65rem; }
.text-link { display: inline-block; margin: .6rem 0; }
.tag-list ul { list-style: none; padding: 0; }
.tag-list li picture img { max-width: min(100%,26rem); }
.pagination { display: flex; gap: .6rem; margin-top: 1.4rem; }
.pagination a { padding: .4rem .9rem; border: 1px solid var(--line); }
.pagination [aria-current] { color: var(--ivory); border-color: var(--gold); }
.reading { max-width: 50rem; }
.reading figure { margin: 2rem 0; }
.reading .item_fulltext p { margin: 1.1rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 3rem; margin-top: 2.5rem; }
.contact-grid h2 { font-size: 1.7rem; }
.contact-form label, #search-dialog label { display: block; margin: .9rem 0 .25rem; }
.contact-form input, .contact-form textarea, #search-field { width: 100%; padding: .75rem; border: 1px solid var(--line); background: #20252a; color: white; }
.contact-form button { margin: 1rem 0; }
.map iframe, .booking { display: block; width: 100%; border: 0; }
.map iframe { height: 23rem; }
.booking { min-height: 650px; background: white; }
/* KONEC Blog, kontakt a rezervace */

/* START Patička a dialogy */
.site-footer { background: var(--panel); padding: 3rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.social, .credits, .footer-inner > a:not(.wordmark) { font-size: .9rem; }
.credits { flex-basis: 68%; color: var(--muted); }
dialog { background: var(--page); color: var(--ivory); border: 1px solid var(--line); max-width: 92vw; padding: 2.3rem 1rem 1rem; }
dialog::backdrop { background: #000c; }
.close { position: absolute; top: 0; right: .35rem; font: 1.65rem system-ui,sans-serif; }
#photo-dialog img { max-height: 76svh; margin: auto; width: auto; }
#photo-dialog p { margin: .5rem; text-align: center; }
#search-dialog { width: min(34rem,92vw); }
#results { max-height: 50vh; overflow: auto; padding-left: 1.4rem; }
/* KONEC Patička a dialogy */

/* START Mobil */
@media (max-width: 760px) {
    .nav-wrap { flex-wrap: wrap; gap: 0; min-height: 4rem; }
    .wordmark img { width: 25px; }
    #navigation { flex-basis: 100%; padding: .8rem 0 1.2rem; }
    .js #navigation:not(.open) { display: none; }
    .blog-layout, .contact-grid { grid-template-columns: 1fr; }
    .blog-aside { border: 0; padding: 0; }
    .pricelist .row:has(> article), .services .row:has(> article) { grid-template-columns: 1fr; gap: 0; }
    .info-strip > .row { gap: .65rem; }
    .info-strip article { padding-left: .7rem; }
}
@media (min-width: 761px) { .menu-toggle { display: none; } }
@media (max-width: 640px) {
    .hero { min-height: clamp(26rem,68svh,37rem); }
    .photo-hero img { object-position: 53% 44%; }
    .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
    .gallery a:nth-child(2n) { transform: none; }
    .info-strip > .row, .story .row:has(> article), .news .row:has(> article), .reviews .row:has(> article) { grid-template-columns: 1fr; }
    .info-strip article { padding: .5rem 0 .5rem 1rem; }
    .credits { flex-basis: auto; }
}
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }
/* KONEC Mobil */
