/* POG Čeladná – Pozdní Odpoledne u Grilu */

@font-face { font-family: "Source Code Pro"; src: url("../fonts/SourceCodePro-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Code Pro"; src: url("../fonts/SourceCodePro-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-BoldItalic.otf") format("opentype"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --gold: #D7A660;
  --black: #000;
  --white: #fff;
  --head: "Source Code Pro", monospace;
  --text: "Playfair Display", Georgia, serif;
  --header-h: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--black); font-family: var(--text); font-style: italic; font-size: 18px; line-height: 1.55; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--black); padding: 8px 16px; z-index: 1000; font-family: var(--head); font-style: normal; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4vw; background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: background .35s ease;
}

.logo img { height: 34px; width: auto; }

.main-nav ul { list-style: none; display: flex; gap: 3.2vw; }
.main-nav a {
  font-family: var(--head); font-style: normal; font-weight: 700; font-size: 14px; letter-spacing: .04em;
  color: var(--gold); text-decoration: none; text-transform: uppercase; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { text-decoration: underline; text-underline-offset: 4px; }

.social { display: flex; align-items: center; gap: 26px; }
.social img { height: 20px; width: auto; transition: opacity .2s; }
.social a:hover img { opacity: .7; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 6px; right: 6px; height: 2px; background: var(--gold); transition: transform .3s, top .3s, opacity .3s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { top: -10px; left: 0; right: 0; }
.menu-toggle span::after { top: 10px; left: 0; right: 0; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Home hero ---------- */
/* Shorter hero: photo + intro text are both visible on load */
.hero { position: relative; height: calc(100vh - 290px); height: calc(100svh - 290px); min-height: 440px; max-height: 760px; overflow: hidden; color: var(--white); background-size: cover; background-position: center; }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--header-h) 16px 0; }
.hero-logo { width: min(560px, 82vw, 90vh); opacity: .82; }
.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; width: 44px; height: 30px; display: block; animation: bob 2.2s ease-in-out infinite; }
.hero-scroll svg { width: 100%; height: 100%; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Intro ---------- */
.intro { max-width: 900px; margin: 0 auto; padding: 34px 16px 50px; text-align: center; }
.intro p { font-size: 20px; line-height: 1.5; }
.gold-line { width: 380px; max-width: 70%; height: 3px; background: var(--gold); border: 0; margin: 0 auto 22px; }
.gold-line.bottom { margin: 22px auto 0; }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; max-width: 1300px; margin: 0 auto; padding: 10px 4vw 90px; }
.tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-style: normal; font-weight: 700; font-size: clamp(26px, 2.6vw, 38px);
  color: var(--white); text-shadow: 0 2px 14px rgba(0,0,0,.45); letter-spacing: .03em;
}
.tile:hover img { transform: scale(1.06); }

/* ---------- Opening hours band ---------- */
.hours { position: relative; padding: 90px 16px; text-align: center; color: var(--white); background: url("../img/kalendar_akci.jpg") center/cover no-repeat; }
.hours::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.hours > * { position: relative; }
.hours h2 { font-family: var(--head); font-style: normal; font-size: clamp(30px, 3.4vw, 50px); letter-spacing: .03em; margin-bottom: 20px; }
.btn {
  display: inline-block; background: rgba(40,12,8,.55); color: var(--white); text-decoration: none;
  border: 2px solid var(--white); border-radius: 3px;
  font-family: var(--text); font-style: normal; font-weight: 700; font-size: 16px; text-transform: uppercase;
  padding: 18px 16px; transition: background .2s, color .2s;
}
.btn:hover { background: var(--white); color: var(--black); }

/* ---------- Page header (subpages) ---------- */
.page-header {
  margin-top: var(--header-h); height: 200px; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; position: relative;
}
.page-header.tall { height: 46vw; max-height: 540px; min-height: 260px; background-position: center 30%; }
.page-header::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); }
.page-header h1 { position: relative; font-family: var(--head); font-style: normal; font-weight: 700; font-size: clamp(34px, 3.6vw, 52px); color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,.35); letter-spacing: .03em; text-align: center; padding: 0 16px; }

/* ---------- Cards (subpage content) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 64px; max-width: 1400px; margin: 0 auto; padding: 64px 5vw 80px; }
.cards.two { grid-template-columns: repeat(2, 1fr); max-width: 1000px; }
.card { text-align: center; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 30px; }
.card h2 { font-family: var(--head); font-style: normal; font-weight: 700; font-size: 22px; letter-spacing: .03em; margin-bottom: 6px; }
.card p { font-style: normal; color: #3a3a3a; font-size: 18px; line-height: 1.6; flex: 1; padding: 0 4%; }
.card::after { content: ""; display: block; height: 3px; background: var(--gold); margin-top: 24px; }

/* ---------- Text page (O nás) ---------- */
.text-page { max-width: 1100px; margin: 0 auto; padding: 46px 16px 60px; text-align: center; }
.text-page h2 { font-family: var(--text); font-style: italic; font-weight: 700; font-size: clamp(32px, 3vw, 42px); margin-bottom: 12px; }
.text-page p { font-size: 20px; line-height: 1.6; margin-bottom: 1em; }
.text-page::after { content: ""; display: block; height: 3px; background: var(--gold); margin-top: 26px; }
.text-page blockquote { margin: 0; font-size: 20px; line-height: 1.6; }
.text-page blockquote p { margin-bottom: 1em; }

/* ---------- Contact ---------- */
.contact {
  background: var(--gold); padding: 56px max(16px, calc((100% - 1050px) / 2)) 118px;
  display: grid; grid-template-columns: 1fr 470px; gap: 40px; align-items: start;
}
.contact-list { list-style: none; font-family: "Montserrat", Arial, sans-serif; font-style: normal; font-weight: 600; font-size: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.contact-list i { font-size: 16px; width: 18px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-map { height: 338px; border-radius: 3px; z-index: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 960px; margin: var(--header-h) auto 0; padding: 50px 16px 70px; font-style: normal; font-family: Georgia, serif; font-size: 16px; line-height: 1.65; }
.legal h1 { font-family: var(--head); font-size: clamp(26px, 3vw, 38px); text-align: center; margin-bottom: 34px; }
.legal p { margin-bottom: .9em; }
.legal ol, .legal ul { margin: 0 0 1em 1.6em; }
.legal li { margin-bottom: .35em; }
.legal a { color: #9a6c2a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gold); color: var(--black); padding: 30px 16px 6px; font-family: var(--text); font-style: normal; }
.footer-inner { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; justify-items: center; }
.footer-logo { justify-self: start; padding-top: 12px; }
.footer-logo img { height: 26px; width: auto; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; max-width: 230px; text-align: center; line-height: 1.75; }
.footer-nav a { font-size: 15px; text-transform: uppercase; text-decoration: none; }
.footer-nav a:hover, .footer-nav a.active { text-decoration: underline; }
.footer-social { display: flex; gap: 16px; padding-top: 8px; }
.footer-social a { color: var(--black); font-size: 25px; text-decoration: none; transition: opacity .2s; }
.footer-social a:hover { opacity: .7; }
.partner img { width: 150px; height: auto; }
.footer-bottom { max-width: 1100px; margin: 50px auto 0; display: flex; flex-wrap: wrap; gap: 8px 42px; justify-content: center; }
.footer-bottom a { font-size: 16px; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed; right: 16px; bottom: 16px; z-index: 1000; width: 440px; max-width: calc(100% - 32px); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--white); color: var(--black); padding: 22px 22px 16px; border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.35); font-family: var(--text); font-style: normal; font-size: 14px; line-height: 1.5;
}
.cookie-bar[hidden], .cookie-prefs[hidden], .cookie-save[hidden] { display: none; }
.cookie-bar h3 { font-family: var(--head); font-size: 16px; margin: 0 26px 10px 0; }
.cookie-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #555; }
.cookie-prefs { margin-top: 14px; border-top: 1px solid #e5e5e5; }
.cookie-cat { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #e5e5e5; cursor: pointer; }
.cookie-cat input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.cookie-bar .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-bar .actions button { flex: 1 1 30%; border: 0; border-radius: 3px; cursor: pointer; font-family: var(--head); font-weight: 700; font-size: 13px; padding: 11px 8px; background: var(--gold); color: var(--black); }
.cookie-bar .actions button.secondary { background: #ececec; }
.cookie-bar .actions button:hover { filter: brightness(.92); }
.cookie-bar .actions .cookie-save { flex-basis: 100%; background: var(--black); color: var(--gold); }
.cookie-bar .links { margin-top: 12px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.cookie-open { background: none; border: 0; cursor: pointer; font: inherit; font-size: 16px; color: inherit; padding: 0; }
.cookie-open:hover { text-decoration: underline; }

.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; background: #efe3cf; font-family: "Montserrat", Arial, sans-serif; font-style: normal; font-size: 15px; }
.btn-map { border: 2px solid var(--black); background: transparent; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; border-radius: 3px; }
.btn-map:hover { background: var(--black); color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-scroll { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul { gap: 22px; }
  .site-header .social { gap: 18px; }
}
@media (max-width: 920px) {
  :root { --header-h: 70px; }
  .menu-toggle { display: block; z-index: 3; }
  .site-header > .social { display: none; }
  .main-nav {
    position: fixed; inset: 0 0 auto 0; background: var(--black); padding: 110px 16px 50px;
    transform: translateY(-100%); transition: transform .4s ease; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 44px;
  }
  .nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 16px; }
  .main-nav a { font-size: 26px; }
  .main-nav .social { display: flex; gap: 52px; }
  .main-nav .social img { height: 34px; }
  .logo { z-index: 3; }

  .tiles, .cards { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-logo { justify-self: center; }
  .contact { grid-template-columns: 1fr; padding-bottom: 60px; }
}
@media (min-width: 921px) { .main-nav .social { display: none; } }
@media (max-width: 600px) {
  body { font-size: 17px; }
  .tiles, .cards, .cards.two { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-map { height: 300px; }
  .contact-list { font-size: 15px; }
  .tiles { padding: 0 16px 60px; gap: 20px; }
  .cards { padding: 40px 16px 50px; gap: 50px; }
  .intro p, .text-page p { font-size: 18px; }
  .page-header { height: 150px; }
  .hero { height: calc(100vh - 360px); height: calc(100svh - 360px); min-height: 340px; }
  .intro { padding-top: 26px; }
  .hours { padding: 70px 16px; }
}
