/*
Theme Name: TJ Sokol Napajedla
Theme URI: https://sokolnapajedla.cz
Author: TJ Sokol Napajedla
Description: Vlastný theme pre TJ Sokol Napajedla - zachováva farby, logo a obsah pôvodného webu v novom, modernejšom prevedení.
Version: 1.1
Text Domain: sokol-napajedla
*/

:root {
  --maroon-dark: #420000;
  --maroon: #6b0000;
  --maroon-mid: #4f1717;
  --maroon-tint: #8a1f1f;
  --maroon-bright: #b41616;
  --cream: #faf7f2;
  --ink: #201414;
  --ink-soft: #5a4b4b;
  --border: #e7ddd6;
  --white: #ffffff;
  --radius: 6px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --max-width: 1200px;
  --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Oswald", "Open Sans", sans-serif;
  --shadow-sm: 0 2px 8px rgba(66, 0, 0, 0.08);
  --shadow-md: 0 12px 28px rgba(66, 0, 0, 0.14);
  --shadow-lg: 0 24px 48px rgba(66, 0, 0, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-dark); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); text-transform: uppercase; font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; text-transform: uppercase; }

p { margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--maroon);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--maroon);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--maroon);
}
.btn-outline:hover { background: var(--maroon); color: var(--white); }
.btn-white { background: var(--white); color: var(--maroon); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
  box-shadow: 0 1px 0 var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 24px;
}
.site-logo img { height: 52px; width: auto; }

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.primary-nav li { position: relative; }
.primary-nav > ul > li > a {
  display: block;
  padding: 12px 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  position: relative;
}
.primary-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current-menu-item > a { color: var(--maroon); }
.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li.current-menu-item > a::after { transform: scaleX(1); }

.primary-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--maroon);
  min-width: 240px;
  padding: 8px 0;
  box-shadow: var(--shadow-lg);
}
.primary-nav li:hover > .sub-menu { display: block; }
.primary-nav .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: none;
  font-family: var(--font);
}
.primary-nav .sub-menu a:hover { background: var(--cream); color: var(--maroon); }

.menu-toggle {
  display: none;
  background: var(--maroon);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--maroon-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: hero-zoom 16s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(66,0,0,0.1) 0%, rgba(66,0,0,0.5) 42%, rgba(107,0,0,0.93) 60%, rgba(66,0,0,0.98) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  min-height: 560px;
}
.hero__text { max-width: 640px; margin-left: auto; text-align: right; color: var(--white); }
.hero__eyebrow { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.16em; font-weight: 500; text-transform: uppercase; opacity: 0.85; color: #ffd7d7; }
.hero__title { color: var(--white); font-size: clamp(2rem, 5vw, 3.6rem); margin-top: 10px; margin-bottom: 24px; }
.hero__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Stats strip ---------- */
.stats-strip {
  position: relative;
  z-index: 3;
  max-width: calc(var(--max-width) - 48px);
  margin: -56px auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; color: var(--maroon); line-height: 1; }
.stat__label { margin-top: 6px; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Feature grid (home sections) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 24px 24px;
}
.feature-card {
  padding: 40px 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(66,0,0,0.25) 0%, rgba(30,0,0,0.94) 100%);
  transition: background 0.35s ease;
}
.feature-card--plain::before { background: rgba(66,0,0,0.94); }
.feature-card > * { position: relative; z-index: 1; }
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.feature-card h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 10px; }
.feature-card p { opacity: 0.9; font-size: 0.95rem; }
.feature-card .btn { margin-top: 8px; align-self: flex-start; }

/* ---------- Quote / emblem section ---------- */
.quote-section {
  position: relative;
  background: var(--maroon-dark);
  overflow: hidden;
  padding: 0;
}
.quote-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 0;
}
.quote-section__art {
  padding: 56px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, var(--maroon-bright) 0%, var(--maroon) 55%, var(--maroon-dark) 100%);
}
.quote-section__art img {
  max-width: 280px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
  transition: transform 0.5s ease;
}
.quote-section__art:hover img { transform: scale(1.04) rotate(-1deg); }
.quote-section__text { padding: 64px 48px; color: var(--white); }
.quote-section__text blockquote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.4;
  font-style: italic;
}
.quote-section__text blockquote strong { font-weight: 600; font-style: normal; }
.quote-section__signoff {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffd7d7;
  margin-bottom: 32px;
}
.quote-section__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- Content sections ---------- */
.section { padding: 80px 0; }
.section--tint { background: var(--cream); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--ink-soft); }

.entry-content { max-width: 820px; margin: 0 auto; padding: 48px 24px; }
.entry-content h2 { color: var(--maroon); border-bottom: 2px solid var(--border); padding-bottom: 8px; margin-top: 48px; }
.entry-content h3 { color: var(--maroon-mid); }
.entry-content ul { padding-left: 20px; }
.entry-content li { margin-bottom: 6px; }
.entry-content > p:first-of-type {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.entry-content figure {
  margin: 8px 0 24px;
}
.entry-content figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.entry-content figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 8px;
  font-style: italic;
}
.entry-content .alignright {
  float: right;
  margin: 6px 0 20px 32px;
  max-width: 44%;
}
.entry-content .alignleft {
  float: left;
  margin: 6px 32px 20px 0;
  max-width: 44%;
}
.entry-content .hero-figure {
  max-width: 100%;
  margin: 0 0 40px;
}
.entry-content .hero-figure img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
}
.entry-content .oddil-leader {
  background: var(--cream);
  border-left: 4px solid var(--maroon);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin: 24px 0;
}
.entry-content .oddil-leader p { margin: 0; }
.entry-content .oddil-leader strong { color: var(--maroon); font-family: var(--font-display); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.03em; }
.entry-content .status-note {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--maroon);
  background: #fbe9e9;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin: 12px 0;
}
.entry-content blockquote.pull {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--maroon);
  border-left: 4px solid var(--maroon);
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .entry-content .alignright,
  .entry-content .alignleft { float: none; max-width: 100%; margin: 0 0 20px; }
}

.page-header {
  background: linear-gradient(120deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
}
.page-header h1 { color: var(--white); margin: 0; }
.page-header .breadcrumb { font-size: 0.85rem; opacity: 0.85; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Oddíly grid ---------- */
.oddily-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.oddil-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--white);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.oddil-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.oddil-card h3 { color: var(--maroon); margin-bottom: 10px; }
.oddil-card .oddil-meta { font-size: 0.85rem; color: var(--ink-soft); margin-top: 12px; }
.oddil-card .status-pozastaveno {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--maroon);
  background: #fbe9e9;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ---------- Info cards (kontakt, rezervace) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.info-card h3 { color: var(--maroon); }
.info-card .btn { margin-top: 16px; }

/* ---------- Obsazené termíny (pronájem) ---------- */
.termin-list {
  list-style: none;
  margin: 24px 0 32px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.termin-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 20px;
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.termin-list li:last-child { border-bottom: none; }
.termin-list li:nth-child(even) { background: var(--cream); }
.termin-list .termin-date {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--maroon);
  white-space: nowrap;
}
.termin-list .termin-label { color: var(--ink-soft); }

/* ---------- Sponsors ---------- */
.sponsors-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.sponsor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.sponsor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sponsor-card img { max-height: 64px; width: auto; }
.sponsor-card--wide { padding: 16px 28px; max-width: 100%; }
.sponsor-card--wide img { max-height: 56px; max-width: 100%; }

/* ---------- Gallery ---------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.photo-gallery br { display: none; }
.photo-gallery img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; transition: transform 0.35s ease; }
.photo-gallery a:hover img,
.photo-gallery img:hover { transform: scale(1.03); }

/* ---------- Schedule tables (rozvrh) - kept at natural size, never cropped ---------- */
.schedule-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.schedule-gallery br { display: none; }
.schedule-gallery figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.schedule-gallery img { width: 100%; height: auto; display: block; }
.schedule-gallery figcaption {
  padding: 12px 18px;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  color: var(--maroon);
  border-top: 1px solid var(--border);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--maroon-dark);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 24px;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #ffd7d7; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 { color: var(--white); text-transform: uppercase; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.82rem;
  text-align: center;
  opacity: 0.75;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; padding-top: 72px; }
  .hero__text { text-align: left; margin-left: 0; }
  .hero__actions { justify-content: flex-start; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--border); }
  .quote-section__inner { grid-template-columns: 1fr; }
  .quote-section__art img { max-width: 200px; }
  .quote-section__text { padding: 48px 32px; }
}
@media (max-width: 780px) {
  .menu-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }
  .primary-nav.is-open {
    display: block;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .primary-nav ul { flex-direction: column; padding: 8px 0; }
  .primary-nav > ul > li > a::after { display: none; }
  .primary-nav .sub-menu { position: static; border: none; box-shadow: none; padding-left: 16px; display: block; border-radius: 0; }
  .site-header__inner { position: relative; }
}

/* ---------- Emergency notice popup ---------- */
.emergency-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.emergency-overlay.is-hidden { display: none; }
.emergency-box {
  position: relative;
  background: var(--white);
  border-top: 6px solid var(--maroon);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
}
.emergency-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emergency-box p { font-size: 1.05rem; color: var(--ink); margin: 0; }
.emergency-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px 8px;
}
.emergency-close:hover { color: var(--maroon); }

/* ---------- Reservation form ---------- */
.reservation-form-wrap { margin-top: 40px; max-width: 720px; }
.reservation-form-wrap h2 { color: var(--maroon); }
.reservation-form { background: var(--cream); border-radius: var(--radius-lg); padding: 32px; }
.form-row { display: grid; gap: 20px; margin-bottom: 20px; min-width: 0; }
.form-row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; min-width: 0; }
.form-row .form-field { margin-bottom: 0; }
.form-field:last-of-type { margin-bottom: 0; }
.form-field label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  font-family: var(--font);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b0000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
}
.form-field select:invalid { color: var(--ink-soft); }
.form-field option { color: var(--ink); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(107, 0, 0, 0.12);
}
.form-field select:hover { border-color: var(--maroon-tint); }
.form-field input:invalid:not(:placeholder-shown),
.form-field input:user-invalid {
  border-color: var(--maroon);
}
.reservation-form .btn {
  border: none;
  cursor: pointer;
  margin-top: 8px;
  font-size: 0.9rem;
}
.form-notice {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-weight: 600;
}
.form-notice--ok { background: #e6f4ea; color: #1e7b34; }
.form-notice--error { background: #fbe9e9; color: var(--maroon-dark); }
@media (max-width: 640px) {
  .form-row--2 { grid-template-columns: 1fr; }
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-img {
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2rem;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-close { width: 36px; height: 36px; font-size: 1.4rem; top: 10px; right: 10px; }
}

/* ---------- Gallery sections (fotogalerie by oddíl) ---------- */
.gallery-section { margin-bottom: 56px; }
.gallery-section:last-child { margin-bottom: 0; }
.gallery-section h2 { color: var(--maroon); border-bottom: 2px solid var(--border); padding-bottom: 8px; margin-bottom: 20px; }
