/* Okrašlovací spolek Podhorák – společné styly */
:root {
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --ink: #23271f;
  --muted: #5d6356;
  --green: #2f4a2c;
  --green-soft: #e4ead9;
  --apple: #b8442e;
  --apple-dark: #963522;
  --line: #e2dccd;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--apple); }
a:hover { color: var(--apple-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--apple); margin-bottom: .6em;
}

/* Navigace */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 10;
  padding: 18px 0;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.brand:hover { color: #fff; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav ul a { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .92; }
.nav ul a:hover { opacity: 1; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nav.solid { position: static; background: var(--green); }
@media (max-width: 640px) { .nav ul { gap: 14px; } .nav ul li.hide-sm { display: none; } }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--apple); color: #fff; }
.btn-primary:hover { background: var(--apple-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #22371f; color: #fff; }

/* Hero s prolínáním fotek */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  color: #fff; text-align: center; overflow: hidden; background: #3b4a33;
}
.hero .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; animation: fade 21s infinite;
}
.hero .slide:nth-child(1) { animation-delay: 0s; }
.hero .slide:nth-child(2) { animation-delay: 7s; }
.hero .slide:nth-child(3) { animation-delay: 14s; }
@keyframes fade {
  0% { opacity: 0; transform: scale(1.04); }
  5% { opacity: 1; }
  33% { opacity: 1; }
  38% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .slide { animation: none; }
  .hero .slide:nth-child(1) { opacity: 1; }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.5) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 120px 16px 80px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); margin-bottom: .25em; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero .lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 34ch; margin: 0 auto 1.8em; opacity: .95; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Pruh se sezónou moštárny */
.season-strip {
  background: var(--green); color: #fff; padding: 18px 0;
}
.season-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.season-strip p { margin: 0; font-size: 1.05rem; }
.season-strip strong { font-weight: 700; }
.season-strip a.btn { padding: .6em 1.2em; }

/* Sekce */
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--paper); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -18px rgba(35,39,31,.35); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Aktivity */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 36px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.section-alt .card { background: var(--cream); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
.card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); font-size: 1rem; }
.card-body .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card-body .more:hover { text-decoration: underline; }

/* Galerie křížů */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Členství */
.join {
  background: var(--apple); color: #fff; border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.join h2 { margin: 0 0 .2em; }
.join p { margin: 0; opacity: .92; }
.join .btn { background: #fff; color: var(--apple-dark); }
.join .btn:hover { background: var(--cream); color: var(--apple-dark); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 28px; }
.contact-grid h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4em; }
.contact-grid p { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; }

/* Moštárna – podstránka */
.page-head {
  position: relative; color: #fff; padding: clamp(80px, 12vw, 140px) 0 clamp(56px, 8vw, 90px);
  background: #4a3a24 center / cover no-repeat;
}
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,24,14,.75), rgba(30,24,14,.3)); }
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: .2em; }
.page-head p { font-size: 1.2rem; max-width: 40ch; opacity: .95; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: -48px; position: relative; z-index: 3; }
.fact {
  background: var(--paper); border-radius: var(--radius); padding: 22px 24px;
  box-shadow: 0 16px 34px -20px rgba(35,39,31,.4); border: 1px solid var(--line);
}
.fact .big { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--green); line-height: 1.1; }
.fact .small { color: var(--muted); font-size: .95rem; }

.dates { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 8px; }
.date {
  background: var(--paper); border: 2px solid var(--green); color: var(--green);
  border-radius: 12px; padding: 10px 16px; text-align: center; min-width: 96px;
}
.date .d { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.date .m { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.date.past { border-color: var(--line); color: #a39d8e; text-decoration: line-through; }
.date.next { background: var(--green); color: #fff; }
.season-note { color: var(--muted); font-size: 1rem; }

.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 28px; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary {
  cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--apple); line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: .7em 0 0; color: var(--muted); }

.booking { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-top: 28px; }
.booking .reservanto-iframe { max-width: 100% !important; width: 100%; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 24px; aspect-ratio: 3 / 2; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .map { aspect-ratio: 1; } }

/* Patička */
footer { background: var(--green); color: #dfe6d6; padding: 40px 0; font-size: .95rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #fff; }

/* Mimo sezónu se skryje vše, co vede k rezervaci */
html.mimo-sezonu .v-sezone { display: none !important; }
