:root {
  --green-dark: #3d5a28;
  --green-mid: #5a7a3a;
  --green-light: #7fa05a;
  --amber: #c8713a;
  --amber-light: #e8a055;
  --cream: #fdf6ec;
  --cream-dark: #f0e3cc;
  --cream-darker: #e0ceae;
  --text-dark: #2a2a1a;
  --text-mid: #5a4a32;
  --text-light: #8a7a62;
  --white: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Lato", sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  transition: all 0.3s ease;
  background: linear-gradient(
    to bottom,
    rgba(20, 35, 10, 0.55) 0%,
    transparent 100%
  );
}
nav.scrolled {
  background: rgba(45, 68, 28, 0.96);
  backdrop-filter: blur(8px);
  padding: 0.75rem 2rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.nav-logo {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow:
    0 1px 6px rgba(0, 0, 0, 0.6),
    0 2px 16px rgba(0, 0, 0, 0.4);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.2s;
  opacity: 0.9;
}
.nav-links a:hover {
  color: #ffd080;
  opacity: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-social-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
}
.nav-social-link:hover {
  color: var(--amber-light);
}
.nav-social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    image-set(
      url("../assets/slunohratky-cover.webp") type("image/webp"),
      url("../assets/slunohratky-cover.png") type("image/png")
    ),
    linear-gradient(160deg, #4a6a2a 0%, #2a3e18 50%, #1a2810 100%);
  background-size: cover;
  background-position: center top;
  transform-origin: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 35, 10, 0.15) 0%,
    rgba(20, 35, 10, 0.35) 50%,
    rgba(253, 246, 236, 0) 75%,
    rgba(253, 246, 236, 1) 100%
  );
}
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, var(--cream));
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 3rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 9vw, 6.5rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 0.92;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 4px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.5rem;
  max-width: 100%;
}
.hero-subtitle {
  font-family: "Dancing Script", cursive;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--amber-light);
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 0.6rem 1.75rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
  font-size: 1.05rem;
  font-family: "Playfair Display", serif;
  margin-bottom: 2.5rem;
  text-shadow:
    0 1px 6px rgba(0, 0, 0, 0.9),
    0 2px 20px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(0, 0, 0, 0.6);
}
.hero-cta {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  text-decoration: none;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s;
  box-shadow: 0 4px 25px rgba(200, 113, 58, 0.45);
}
.hero-cta:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(200, 113, 58, 0.55);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* SECTIONS */
section {
  padding: 5rem 1.5rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.divider {
  width: 50px;
  height: 3px;
  background: var(--amber);
  margin: 0 auto;
  border-radius: 2px;
}

/* O FESTIVALU */
#festival {
  background: var(--cream);
}
.festival-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.festival-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}
.festival-values {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.festival-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.festival-value-icon {
  width: 2rem;
  height: 2rem;
  color: var(--green-dark);
  flex-shrink: 0;
}
.festival-value-label {
  font-family: "Dancing Script", cursive;
  font-size: 1.25rem;
  color: var(--green-dark);
  font-weight: 700;
}

/* PROGRAM */
#program {
  background: var(--cream-dark);
}
.program-date {
  text-align: center;
  margin-bottom: 2.5rem;
  font-family: "Dancing Script", cursive;
  font-size: 1.5rem;
  color: var(--amber);
}
@media (max-width: 420px) {
  .program-date {
    font-size: 1.15rem;
  }
}
@media (max-width: 350px) {
  .program-date {
    font-size: 1.1rem;
  }
}
.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 72px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--green-light),
    var(--amber-light),
    var(--amber)
  );
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 0.9rem;
  cursor: pointer;
  position: relative;
}
.timeline-time {
  width: 58px;
  flex-shrink: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-dark);
  padding-top: 0.85rem;
  text-align: right;
  font-family: "Playfair Display", serif;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber-light);
  flex-shrink: 0;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  transition: all 0.2s;
  border: 2px solid var(--cream-dark);
}
.timeline-item:hover .timeline-dot {
  background: var(--green-dark);
  transform: scale(1.3);
}
.timeline-card {
  flex: 1;
  background: var(--white);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.25s;
  border-left: 3px solid transparent;
}
.timeline-item:hover .timeline-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.11);
  border-left-color: var(--amber);
  transform: translateX(3px);
}
.timeline-card-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--green-dark);
  margin-bottom: 0.2rem;
}
.timeline-card-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
}
.timeline-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cream-dark);
  color: var(--amber);
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  font-weight: 700;
  margin-top: 0.4rem;
}
.timeline-card.headliner {
  background: linear-gradient(135deg, var(--green-dark) 0%, #4e7030 100%);
  border-left-color: var(--amber) !important;
}
.timeline-card.headliner .timeline-card-name {
  color: var(--white);
  font-size: 1.05rem;
}
.timeline-card.headliner .timeline-card-desc {
  color: rgba(255, 255, 255, 0.72);
}
.timeline-card.headliner .timeline-card-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--amber-light);
}
.timeline-item.headliner .timeline-dot {
  background: var(--green-dark);
  width: 18px;
  height: 18px;
  border: 3px solid var(--amber);
  margin-top: 0.85rem;
}
.more-info {
  font-size: 0.72rem;
  color: var(--amber);
  font-weight: 700;
  margin-top: 0.3rem;
}
.headliner .more-info {
  color: var(--amber-light);
}

/* MÍSTO */
#misto {
  background: var(--cream);
}
.misto-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.misto-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}
.misto-detail {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.misto-detail-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--amber);
}
.misto-detail-text {
  color: var(--text-mid);
  line-height: 1.6;
  font-size: 0.95rem;
}
.misto-detail-text strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}
.misto-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--amber);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 0.75rem;
  transition: color 0.2s;
}
.misto-map-link:hover {
  color: var(--green-dark);
}
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.13);
  border: 3px solid var(--cream-darker);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: none;
}

/* SPONZOŘI */
#sponzori {
  background: var(--cream-dark);
  padding: 3.5rem 1.5rem;
}
.sponzori-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.sponzori-heading {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.sponzori-tier {
  margin-bottom: 1.75rem;
}
.sponzori-tier-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.sponzori-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.sponzor-pill {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--text-mid);
  font-size: 0.95rem;
  padding: 0.4rem 1.1rem;
  border-radius: 8px;
  border: 1px solid var(--cream-darker);
  background: var(--white);
}
.sponzor-pill-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.35rem 0.85rem;
}
.sponzor-logo {
  display: block;
  width: auto;
  height: 5.4rem;
  object-fit: contain;
}
.sponzor-logo-label {
  display: block;
  line-height: 1.15;
}
.sponzor-pill.lg {
  font-size: 1.15rem;
  padding: 0.5rem 1.5rem;
}

/* FOOTER */
footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-name {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer-brand-sub {
  font-family: "Dancing Script", cursive;
  font-size: 1.15rem;
  color: var(--amber-light);
  margin-bottom: 0.75rem;
}
.footer-brand-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  line-height: 1.65;
}
.footer-col-title {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-contact-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}
.footer-contact-row svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.footer-contact-row a {
  color: inherit;
  text-decoration: none;
}
.footer-contact-row a:hover {
  color: var(--amber-light);
}
.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s;
  width: fit-content;
}
.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.footer-social-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.footer-bottom {
  max-width: 880px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 8, 0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  display: flex;
}
.modal {
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.28s ease;
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-head {
  background: var(--green-dark);
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
}
.modal-head-time {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--amber-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.modal-head-name {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.modal-body {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0 0 20px 20px;
}
.modal-desc {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.modal-tag {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--amber);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }
  nav.scrolled {
    backdrop-filter: none;
  }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(40, 60, 25, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.1rem;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-right .nav-social-link {
    display: none;
  }
  .misto-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  section {
    padding: 3.5rem 1rem;
  }
  .timeline::before {
    left: 62px;
  }
  .timeline-time {
    width: 50px;
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .festival-values {
    gap: 1.5rem;
  }
  .hero-badge {
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
  }
}
@media (max-width: 360px) {
  nav {
    padding: 0.9rem 0.85rem;
  }
  nav.scrolled {
    padding: 0.65rem 0.85rem;
  }
  .nav-logo {
    font-size: 0.98rem;
    letter-spacing: 0.12em;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .hero-title {
    font-size: 2.35rem;
    letter-spacing: 0.02em;
  }
  .hero-eyebrow {
    letter-spacing: 0.22em;
  }
  .hero-subtitle {
    font-size: 1.85rem;
  }
  .hero-badge {
    padding: 0.5rem 0.9rem;
    font-size: 0.86rem;
  }
}
