/* ============================================================
   site.css — shared visual system for lean country pages
   Derived verbatim from sk/index.html <style> block.
   DO NOT add imports — self-contained.
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ── */
:root {
  --saffron: #FF9933;
  --saffron-light: #FFB347;
  --saffron-pale: #FFF3E0;
  --navy: #000080;
  --navy-mid: #1a1a6e;
  --navy-light: #E8E8FF;
  --ashoka: #138808;
  --white: #FAFAF8;
  --text: #1a1a2e;
  --muted: #6b6b8a;
  --border: #e0e0f0;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,128,0.08);
}

/* ── 2. BASE / RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}
a { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }

.section { padding: 72px 24px; max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.section-sub { font-size: 1rem; color: var(--muted); margin-bottom: 36px; max-width: 620px; line-height: 1.6; }

/* ── 3. NAV + COUNTRY SWITCHER ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* SK uses .nav-brand; lean pages use .brand — both supported */
.nav-brand,
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--saffron); }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--navy); background: var(--navy-light); }
.nav-cta {
  background: var(--saffron) !important;
  color: white !important;
  font-weight: 500;
}
.nav-cta:hover { background: var(--saffron-light) !important; }

/* SK uses .country-switch; lean pages use .country-switcher — both supported */
.country-switch,
.country-switcher {
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
}
.country-switcher a {
  text-decoration: none;
  font-size: 0.85rem; font-weight: 500;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: all 0.15s;
}
.country-switcher a:hover,
.country-switcher a[aria-current="page"] {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-light);
}
.country-switch-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.country-switch-btn:hover { border-color: var(--navy); background: var(--navy-light); }
.country-switch-btn .chev { font-size: 0.65rem; opacity: 0.5; }
.country-switch-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  min-width: 220px;
  padding: 6px;
  display: none;
  z-index: 110;
}
.country-switch.open .country-switch-menu { display: block; }
.country-switch-menu a, .country-switch-menu button {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}
.country-switch-menu a:hover, .country-switch-menu button:hover { background: var(--navy-light); }
.country-switch-menu .opt-disabled {
  opacity: 0.5; cursor: not-allowed;
}
.country-switch-menu .opt-disabled:hover { background: transparent; }
.country-switch-menu .check { color: var(--saffron); font-weight: 600; }
.country-switch-menu .soon {
  font-size: 0.7rem;
  color: var(--muted);
  background: var(--navy-light);
  padding: 2px 8px; border-radius: 100px;
}
.country-switch-menu .divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ── 4. HERO ── */
/* SK: .hero is a <section>; lean pages: .hero is a <header> with .hero-inner child */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fff9f0 0%, var(--white) 50%, var(--navy-light) 100%);
}
/* Lean page inner wrapper — mirrors SK's direct hero content layout */
.hero-inner {
  max-width: 720px;
  display: flex; flex-direction: column;
}
.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-circle.c1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,153,51,0.12) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.hero-bg-circle.c2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,0,128,0.08) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block; width: 24px; height: 2px;
  background: var(--saffron);
}
/* SK: .hero h1; lean pages also use .hero-title */
.hero h1,
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 8px;
  max-width: 720px;
}
.hero h1 em { font-style: italic; color: var(--saffron); }
/* SK: .hero-date; lean pages use .hero-sub */
.hero-date,
.hero-sub {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  max-width: 640px;
}
.hero-date strong { color: var(--text); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.2s;
  line-height: 1.2;
}
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,128,0.2); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy-light); }
.btn-saffron { background: var(--saffron); color: white; }
.btn-saffron:hover { background: var(--saffron-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,153,51,0.3); }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem; color: var(--muted); margin-top: 4px;
}
.stat-divider {
  width: 1px; background: var(--border);
  align-self: stretch;
}

/* ── 5. FILTERS + MAP + CARDS ── */
.events-section {
  background: var(--saffron-pale);
  max-width: none;
  padding-left: 0; padding-right: 0;
}
.events-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-light);
}
.filter-btn.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* Leaflet map */
.events-map {
  height: 420px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 0;
}
.yd-marker { background: none; border: none; }
.yd-marker-dot {
  display: block;
  width: 22px; height: 22px;
  margin: 3px;
  background: var(--saffron);
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.yd-popup strong { color: var(--navy); }
.yd-popup .muted { color: var(--muted); font-size: 0.82rem; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.event-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.event-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0;
}
.event-card .event-studio { font-size: 0.86rem; color: var(--muted); margin: 0; }
.event-card .event-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.event-card .event-badge {
  font-size: 0.74rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--navy-light);
  color: var(--navy);
}
.event-card .event-addr, .event-card .event-time, .event-card .event-date {
  font-size: 0.84rem; color: var(--text); margin: 0;
}
.event-card .event-desc { font-size: 0.84rem; color: var(--muted); margin: 4px 0 0; }
.event-card .event-link {
  margin-top: 8px;
  font-size: 0.86rem; font-weight: 600;
  color: var(--saffron); text-decoration: none;
}
.event-card .event-link:hover { text-decoration: underline; }

.events-empty {
  background: white;
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.events-empty .empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.events-empty h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.events-empty p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 20px;
}

@media (max-width: 640px) { .events-map { height: 320px; } }

/* ── 6. FORM ── */
/* SK wraps form in .register-section-inner; lean pages use .form-card-outer */
.form-card-outer {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
/* Lean pages (cz/hu/hr): dark register section so the light-on-dark form is readable — matches SK's .register-section. */
#registracia {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: white;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
#registracia .section-label { color: var(--saffron-light); }
#registracia .section-title { color: white; }
#registracia .section-sub { color: rgba(255,255,255,0.65); }
.form-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 36px 28px;
  backdrop-filter: blur(8px);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-row label .required { color: var(--saffron); margin-left: 2px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 13px 16px;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--saffron);
  background: rgba(255,255,255,0.12);
}
.form-row select option { background: var(--navy); color: white; }
.form-row textarea { resize: vertical; min-height: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 6px; }

.gdpr-row {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 8px;
}
.gdpr-row input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px;
  margin-top: 2px;
  accent-color: var(--saffron);
  cursor: pointer;
}
.gdpr-row label {
  font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.5;
  margin: 0;
}
.gdpr-row label a { color: var(--saffron-light); }

.form-submit-row {
  margin-top: 28px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.form-success {
  display: none;
  background: rgba(19,136,8,0.2);
  border: 1px solid rgba(19,136,8,0.4);
  border-radius: 10px;
  padding: 16px;
  color: #a5d6a7;
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-error {
  display: none;
  background: rgba(198,40,40,0.18);
  border: 1px solid rgba(198,40,40,0.4);
  border-radius: 10px;
  padding: 14px 16px;
  color: #ef9a9a;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 14px;
}
.spam-note {
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  display: flex; align-items: center; gap: 6px;
}

/* ── 7. FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.55);
  padding: 48px 24px 32px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.7;
}
footer strong { color: white; }
.footer-emblem {
  display: flex; justify-content: center; margin-bottom: 18px;
}
.footer-emblem img {
  width: 40px; height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.65;
}
.footer-org {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.footer-social {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 18px;
  margin: 22px 0 18px;
}
.footer-social a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.82rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--saffron-light); }
.footer-bottom {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: white; }
.footer-flexity {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.footer-flexity img {
  height: 14px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity 0.2s;
}
.footer-flexity:hover img { opacity: 1; }

/* ── 8. RESPONSIVE ── */
@media (max-width: 900px) {
  .main-event-wrap { grid-template-columns: 1fr; }
  .poster-card { max-height: 480px; }
}
@media (max-width: 640px) {
  nav { padding: 12px 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 56px 20px; }
  .events-section-inner { padding: 0 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats .stat-divider { display: none; }
  .form-card-outer { padding: 0 20px; }
  .hero { padding: 80px 20px 48px; }
}

/* ── 9. ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero > * { animation: fadeUp 0.6s ease both; }
.hero .hero-eyebrow { animation-delay: 0.1s; }
.hero h1, .hero-title { animation-delay: 0.2s; }
.hero .hero-date, .hero .hero-sub { animation-delay: 0.3s; }
.hero .hero-actions { animation-delay: 0.4s; }
.hero .hero-stats { animation-delay: 0.5s; }

.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
