/* === IMPORTY === */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&display=swap');

/* === ROOT PREMENNÉ === */
:root {
  --main-bg: #1c1625;
  --text-color: #f5f5f5;
  --accent-color: #c9b078;
  --accent-hover: #d4bb7c;
  --card-bg: #2a2238;
  --input-bg: #322945;
  --input-border: #554c6e;
}

/* === RESET A ZÁKLADNÉ NASTAVENIA === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Fraunces', serif;
  background-color: var(--main-bg);
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
}

/* === ODKAZY === */
a,
a:link,
a:visited,
a:active,
a:hover {
  color: var(--text-color);
  text-decoration: none;
}

/* === HEADER === */
header {
  text-align: center;
  padding: 2rem 1rem;
}

.header {
  padding-top: 1rem;
}

.logo-desktop {
  display: block;
}

@media screen and (max-width: 768px) {
  .logo-desktop {
    display: none !important;
  }
}

/* === HERO === */
.hero {
  background: linear-gradient(to bottom, #1c1625 0%, #2a2238 100%);
  padding: 4rem 1rem 3rem;
  text-align: center;
  color: #f0e9f2;
}

.hero h1 {
  font-size: 2.4rem;
  color: #ccb173;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  color: #f0e9f2;
}

.highlight {
  color: #d63384;
  font-weight: 700;
}

/* === CTA TLAČIDLÁ === */
.cta-btn,
.cta-btn:link,
.cta-btn:visited,
.cta-btn:hover,
.cta-btn:active,
.cta-btn:focus {
  background-color: var(--accent-color);
  color: #1a1322; /* tmavofialová ako základná */
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none !important; /* odstráni podčiarknutie pri a */
  display: inline-block;
  margin: 1rem auto;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hover efekt */
.cta-btn:hover,
.cta-btn:focus {
  background-color: var(--accent-hover);
  color: #ffffff !important; /* bledý text */
  transform: translateY(-2px);
}
/* === FORMULÁRE === */
label {
  display: block;
  margin: 1rem 0 0.5rem;
  text-align: left;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
  margin-top: 5px;
  margin-bottom: 15px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-color);
}

textarea {
  resize: vertical;
}

.error-msg {
  color: red;
  font-size: 0.85rem;
  margin-top: -10px;
  margin-bottom: 10px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
  accent-color: #d466a0;
  width: 18px;
  height: 18px;
}

.form-step {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  margin-top: 2rem;

  /* DOPLNENÉ: zarovnanie a šírka */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* === PROGRAM BLOKY === */
.program {
  padding: 3rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.program-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background-color: #2f263d;
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.program-time {
  background-color: #3b2f4c;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
  min-width: 90px;
  margin-right: 1.5rem;
  flex-shrink: 0;
  color: var(--accent-color);
}

.program-time .date {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
}

.program-time .duration {
  font-size: 0.9rem;
  color: #aaa;
}

.program-content {
  text-align: left;
}

.program-content h3 {
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
  color: var(--accent-color);
  font-weight: 600;
}

.program-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #ddd;
}

.program-item.break {
  background-color: #1e3a3a;
}

.program-item.break .program-content h3 {
  color: #26c6da;
}

/* === FOOTER === */
footer {
  background-color: #1c1625;
  padding: 1.5rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--accent-color);
  border-top: 1px solid #3e334d;
  text-align: center;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 1rem;
  padding: 0 1rem;
  text-align: left;
}

.footer-column h4 {
  margin-bottom: 0.5rem;
  color: var(--accent-color);
  font-size: 1rem;
}

.footer-column p {
  margin: 0.2rem 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  padding-top: 0.6rem;
  margin-top: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* === SCROLL ŠÍPKY === */
.scroll-down {
  margin-top: 2rem;
  text-align: center;
  font-weight: 500;
  color: #d63384;
  font-size: 1.1rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.scroll-down .arrows iconify-icon {
  font-size: 2rem;
  color: #d63384;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

.chart-box {
  background-color: #2a2238;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

.map-label {
  background-color: #c9b078;      /* zlatá farba z tvojho dizajnu */
  color: #1c1625;                 /* tmavý text na kontrast */
  //font-weight: bold;
  //padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  border: 1px solid #a8925e;
  text-align: center;
}

/* --- Filter bar --- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center; /* centrovanie do jednej línie */
  margin: 1rem 0;
}

.filters .field {
  display: flex;
  flex-direction: column;
}

.filters .field label {
  font-size: .9rem;
  color: #d9cfe8;
  margin-bottom: .25rem;
}

.filters input[type="date"] {
  appearance: none;
  background: #2a2238;
  color: #fff;
  border: 1px solid #54476a;
  border-radius: 12px;
  padding: .6rem .9rem;
  height: 44px;
  min-width: 180px;
}

.filters input[type="date"]:hover {
  border-color: #6b5a86;
}

.filters input[type="date"]:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 77, 166, .2);
}

.filters input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(.85);
  cursor: pointer;
}

/* tlačidlá rovnaká výška ako input */
.filters .cta-btn {
  height: 44px;
  line-height: 44px;
  padding: 0 1.1rem;
  border-radius: 22px;
}

/* toolbar – kompaktné zarovnanie do jednej línie */
.filters{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  align-items:center;
  justify-content:flex-start;   /* nič nerozťahuj */
  margin:1rem 0;
}
.filters .field{ display:flex; flex-direction:column; }
.filters .field label{ font-size:.9rem; color:#d9cfe8; margin-bottom:.25rem; }

/* vzhľad dátumov */
.filters input[type="date"]{
  appearance:none;
  background:#2a2238;
  color:#fff;
  border:1px solid #54476a;
  border-radius:12px;
  padding:.6rem .9rem;
  height:44px; min-width:180px;
}
.filters input[type="date"]:hover{ border-color:#6b5a86; }
.filters input[type="date"]:focus{
  outline:none; border-color:var(--accent-color);
  box-shadow:0 0 0 3px rgba(255,77,166,.2);
}
.filters input[type="date"]::-webkit-calendar-picker-indicator{
  filter:invert(1) opacity(.85); cursor:pointer;
}

/* PREPIS globálneho marginu tlačidiel v toolbare */
.filters .cta-btn,
.filters a.cta-btn{
  height:44px; line-height:44px; padding:0 1.1rem;
  border-radius:22px;
  margin:0 !important;        /* FIX: žiadne auto okraje */
}
