/* ============================================
   DESIGN SYSTÉM — Workshop 6 klíčů
   Paleta: lesní zelená + šalvěj + zlatá
   ============================================ */

:root {
  --dark-bg:     #2C4838;   /* tmavá lesní zelená — hero, tmavé sekce */
  --accent:      #5A8870;   /* šalvějová zelená — tlačítka, akcenty */
  --accent-dark: #3D6652;   /* tmavší šalvěj — hover */
  --accent-light: #8FB8A0;  /* světlá šalvěj */

  --bg-light:    #FFFFFF;
  --bg-cream:    #EEF5EE;   /* velmi světlá šalvěj-bílá */
  --bg-mint:     #D0E5D4;   /* světlá máta — zvýrazněné boxy */

  --heading:     #1A2E22;   /* velmi tmavá zelená — nadpisy */
  --text-body:   #3A5040;   /* tmavá zelená — tělo textu */
  --text-light:  #6A8878;   /* střední zelená — sekundární text */

  --box-bg:      #C5DCCA;   /* box pozadí */
  --gold:        #C3A781;   /* zlatá — speciální akcenty */
  --border:      #B8D5C0;   /* světlá zelená — ohraničení */

  --dark-text:   #EEF5EE;   /* světlý text na tmavém pozadí */
  --dark-sub:    #A5C5AF;   /* sekundární text na tmavém */
}

/* ============================================
   RESET & ZÁKLAD
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-body);
  background: var(--bg-light);
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--heading);
  line-height: 1.3;
  font-weight: normal;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: 680px; }
.container.wide   { max-width: 1060px; }

/* ============================================
   SEKCE
   ============================================ */

.section-light {
  background: var(--bg-light);
  padding: 80px 0;
}
.section-cream {
  background: var(--bg-cream);
  padding: 80px 0;
}
.section-dark {
  background: var(--dark-bg);
  padding: 80px 0;
  color: var(--dark-text);
}
.section-dark h2,
.section-dark h3 { color: var(--dark-text); }

/* ============================================
   HERO
   ============================================ */

.hero {
  background: var(--dark-bg);
  padding: 96px 0 80px;
  text-align: center;
}
.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 28px;
}
.hero-label {
  display: inline-block;
  background: rgba(90,136,112,.35);
  color: var(--dark-sub);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 20px;
  margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  color: var(--dark-text);
  margin-bottom: 24px;
  line-height: 1.25;
}
.hero-sub {
  color: var(--dark-sub);
  font-size: 1.15rem;
  line-height: 1.85;
}

/* ============================================
   TEST SEKCE
   ============================================ */

.test-section {
  background: var(--bg-cream);
  padding: 80px 0;
  text-align: center;
}
.test-section .section-tag {
  display: block;
  margin-bottom: 16px;
}
.test-section h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin-bottom: 16px;
}
.test-section .lead-text {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 40px;
}

/* Menší test banner uprostřed stránky */
.test-mini-section {
  background: var(--bg-mint);
  padding: 52px 0;
  text-align: center;
}
.test-mini-section h3 {
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--heading);
  margin-bottom: 10px;
  font-weight: normal;
}
.test-mini-section p {
  color: var(--text-light);
  font-size: .97rem;
  margin-bottom: 28px;
  line-height: 1.7;
}
.test-mini-form {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
  align-items: center;
}
.test-mini-form input[type="text"],
.test-mini-form input[type="email"] {
  flex: 1;
  min-width: 140px;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  color: var(--heading);
  background: #fff;
  font-family: inherit;
}
.test-mini-form input:focus {
  outline: none;
  border-color: var(--accent);
}
.test-mini-form input::placeholder { color: var(--text-light); }
.test-mini-form .btn-primary { white-space: nowrap; flex-shrink: 0; }
.test-mini-success {
  display: none;
  color: var(--accent-dark);
  font-size: 1.05rem;
  font-family: Georgia, serif;
  padding: 16px 0;
}
@media (max-width: 640px) {
  .test-mini-form { flex-wrap: wrap; }
  .test-mini-form input { min-width: 100%; }
}

/* ============================================
   FORMULÁŘE
   ============================================ */

.form-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px 44px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 4px 24px rgba(28,64,44,.07);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: var(--heading);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  color: var(--heading);
  background: var(--bg-cream);
  transition: border-color .2s;
  font-family: inherit;
}
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-group input::placeholder { color: var(--text-light); }

/* Checkboxy */
.checkbox-group { margin: 24px 0; }
.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.checkbox-item input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent);
}
.checkbox-item label {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  cursor: pointer;
}
.checkbox-item label a { color: var(--accent); }

/* Tmavý formulář */
.form-dark .form-group label { color: var(--dark-text); }
.form-dark input[type="text"],
.form-dark input[type="email"] {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: var(--dark-text);
}
.form-dark input::placeholder { color: rgba(255,255,255,.35); }
.form-dark input:focus {
  background: rgba(255,255,255,.13);
  border-color: var(--accent-light);
}
.form-dark .checkbox-item label { color: var(--dark-sub); }
.form-dark .checkbox-item label a { color: var(--accent-light); }

/* ============================================
   TLAČÍTKA
   ============================================ */

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 15px 36px;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
  text-decoration: none;
  letter-spacing: .2px;
}
.btn-primary:hover {
  background: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-light {
  display: inline-block;
  background: var(--dark-text);
  color: var(--dark-bg);
  padding: 15px 36px;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.btn-light:hover {
  background: var(--bg-mint);
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  transition: all .2s;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.btn-full { width: 100%; text-align: center; }

/* ============================================
   SUCCESS BOX
   ============================================ */

#test-success { display: none; max-width: 520px; margin: 0 auto; }

.success-box {
  background: var(--bg-light);
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 36px 40px;
  text-align: center;
}
.success-box .success-icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.success-box h3 { color: var(--accent-dark); font-size: 1.4rem; margin-bottom: 12px; }
.success-box p { color: var(--text-body); margin-bottom: 24px; font-size: 1rem; }

/* ============================================
   WORKSHOP CONTENT (reveal)
   ============================================ */

#workshop-content { display: block; }

/* ============================================
   PŘECHOD
   ============================================ */

.transition-section {
  background: var(--bg-light);
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.transition-inner {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 28px;
}
.transition-section .arrow { font-size: 1.8rem; color: var(--accent); display: block; margin-bottom: 16px; }
.transition-section p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.9;
  font-family: Georgia, serif;
  font-style: italic;
}

/* ============================================
   NADPISY SEKCÍ
   ============================================ */

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-dark .section-tag { color: var(--dark-sub); }

.section-heading {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  margin-bottom: 24px;
}
.section-heading.light { color: var(--dark-text); }
.section-heading.heading-xl {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
}

/* ============================================
   WORKSHOP SHRNUTÍ (tmavá sekce)
   ============================================ */

.workshop-steps {
  list-style: none;
  text-align: left;
  display: inline-block;
  margin: 0 0 36px;
}
.workshop-steps li {
  color: var(--dark-sub);
  font-size: 1rem;
  padding: 7px 0;
}
.workshop-steps li::before {
  content: '→';
  color: var(--accent-light);
  margin-right: 10px;
}

/* ============================================
   WORKSHOP TITLE BLOCK
   ============================================ */

.workshop-title-block { text-align: center; }
.workshop-number {
  font-family: Georgia, serif;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.workshop-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-light);
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 20px;
  margin: 28px auto;
  max-width: 580px;
  text-align: left;
  line-height: 1.8;
}
.workshop-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 32px 0 36px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .95rem;
  color: var(--text-light);
}

/* ============================================
   PRO KOHO
   ============================================ */

.pro-koho-list { list-style: none; margin: 40px 0; }
.pro-koho-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 26px;
  margin-bottom: 14px;
}
.section-cream .pro-koho-item { background: var(--bg-cream); }
.pro-koho-item p { line-height: 1.75; margin-bottom: 6px; }
.pro-koho-item .diamond { color: var(--accent); margin-right: 8px; }
.pro-koho-tag {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
  display: block;
  margin-top: 4px;
}

/* ============================================
   FOTO PLACEHOLDER
   ============================================ */

.photo-placeholder {
  width: 100%;
  max-width: 560px;
  height: 280px;
  background: var(--bg-mint);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 48px auto 0;
  color: var(--text-light);
  font-style: italic;
  font-size: 14px;
  border: 2px dashed var(--border);
}
.photo-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.photo-round {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--bg-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--text-light);
  font-size: 13px;
  font-style: italic;
  border: 3px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}
.photo-round img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   QUOTE BOX
   ============================================ */

.quote-box {
  background: var(--bg-mint);
  border-radius: 8px;
  padding: 28px 32px;
  margin: 40px 0 0;
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--heading);
  line-height: 1.85;
  font-size: 1.05rem;
}
.quote-author {
  margin-top: 12px;
  font-style: normal;
  font-size: 13px;
  color: var(--text-light);
  font-family: Arial, sans-serif;
}

/* ============================================
   LISTS — tmavé sekce
   ============================================ */

.dark-list { list-style: none; margin-top: 32px; }
.dark-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--dark-text);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.75;
}
.dark-list li:last-child { border-bottom: none; }
.dark-list li::before {
  content: '◈';
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.dark-list .sub {
  display: block;
  font-size: 13px;
  color: var(--dark-sub);
  margin-top: 4px;
}

/* LISTS — světlé sekce */
.light-list { list-style: none; margin-top: 32px; }
.light-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.75;
  color: var(--text-body);
}
.light-list li:last-child { border-bottom: none; }
.light-list li::before {
  content: '◈';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.light-list .sub {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  margin-top: 4px;
}

/* ============================================
   BONUS KARTY
   ============================================ */

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.bonus-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.bonus-card {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
}
.bonus-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.bonus-card h4 { font-size: 1rem; margin-bottom: 8px; color: var(--heading); font-family: Georgia, serif; }
.bonus-card p { font-size: .9rem; color: var(--text-light); line-height: 1.7; }
.bonus-note { font-size: 11px; color: var(--text-light); font-style: italic; margin-top: 6px; display: block; }

/* ============================================
   INFO GRID (Kdy kde jak)
   ============================================ */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 40px 0;
}
.info-item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 20px 18px;
  text-align: center;
}
.info-icon  { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.info-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark-sub); display: block; margin-bottom: 4px; }
.info-value { color: var(--dark-text); font-size: .95rem; font-weight: bold; display: block; }
.info-note  { font-size: 11px; color: var(--dark-sub); margin-top: 4px; display: block; font-style: italic; }

/* ============================================
   SPLIT LAYOUT (dvě sloupce — foto + text)
   ============================================ */

.split-layout {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  flex-wrap: wrap;
}
.split-layout-reverse { flex-direction: row-reverse; }
.split-photo {
  flex: 0 0 auto;
  width: 380px;
  max-width: 100%;
}
.split-photo .section-photo {
  width: 100%;
  max-width: 100%;
  height: 480px;
}
.split-text {
  flex: 1;
  min-width: 280px;
}
.split-dark .split-text { color: var(--dark-text); }
.section-subheading {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 16px 0 28px;
}

/* Meta — jeden řádek */
.workshop-meta-line {
  font-size: .95rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 2;
}

/* ============================================
   O MNĚ
   ============================================ */

.about-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.about-text { flex: 1; min-width: 260px; }
.about-text h2 { margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; line-height: 1.8; }

/* ============================================
   CO SE STANE
   ============================================ */

.steps-list { margin-top: 40px; }
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
  font-family: Georgia, serif;
}
.step-text { color: var(--text-body); line-height: 1.75; padding-top: 6px; }

/* ============================================
   FAQ
   ============================================ */

.faq-list { margin-top: 40px; }
details.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
details.faq-item:first-child { border-top: 1px solid var(--border); }

summary.faq-q {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 4px;
}
summary.faq-q::-webkit-details-marker { display: none; }
summary.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 16px;
  line-height: 1;
}
details[open] summary.faq-q::after { content: '−'; }
.faq-a { margin-top: 14px; color: var(--text-light); line-height: 1.8; padding-right: 28px; }

/* ============================================
   REGISTRACE
   ============================================ */

#registrace {
  background: var(--dark-bg);
  padding: 88px 0;
}
.reg-inner {
  max-width: 540px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.reg-inner h2 { color: var(--dark-text); margin-bottom: 10px; font-size: clamp(1.7rem, 4vw, 2.2rem); }
.reg-sub { color: var(--dark-sub); margin-bottom: 40px; font-size: .97rem; }

.reg-form-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 40px 36px;
  text-align: left;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--dark-sub);
  margin-top: 12px;
}
.form-error {
  font-size: 13px;
  color: #ff9999;
  margin-bottom: 12px;
  display: none;
}
.form-error.show { display: block; }

/* ============================================
   CTA CENTERED
   ============================================ */

.cta-center { text-align: center; margin-top: 48px; }
.cta-note { font-size: 13px; color: var(--text-light); margin-top: 10px; display: block; }
.section-dark .cta-note { color: var(--dark-sub); }

/* ============================================
   COOKIE BANNER
   ============================================ */

#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--heading);
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9999;
  flex-wrap: wrap;
}
.cookie-text { font-size: 13px; line-height: 1.6; }
.cookie-text a { color: var(--gold); }
.cookie-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}
.cookie-btn:hover { background: var(--accent-dark); }

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--heading);
  color: rgba(255,255,255,.55);
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
}
footer a { color: var(--gold); }

/* ============================================
   SEKČNÍ FOTKY
   ============================================ */

.section-photo-wrap {
  margin-top: 52px;
  text-align: center;
}

.section-photo {
  width: 100%;
  max-width: 600px;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(28,64,44,.12);
}

.section-photo-portrait {
  max-width: 420px;
  height: 520px;
  object-position: center 20%;
}

.about-photo-img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 10px;
  display: block;
  box-shadow: 0 6px 24px rgba(28,64,44,.15);
  border: 3px solid var(--border);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
  .form-box       { padding: 28px 22px; }
  .reg-form-box   { padding: 28px 22px; }
  .about-inner    { flex-direction: column; align-items: center; text-align: center; }
  .split-layout,
  .split-layout-reverse { flex-direction: column; }
  .split-photo    { width: 100%; }
  .split-photo .section-photo { height: 280px; }
  .info-grid      { grid-template-columns: 1fr 1fr; }
  .bonus-grid,
  .bonus-grid-3   { grid-template-columns: 1fr; }
  .workshop-meta  { flex-direction: column; align-items: center; gap: 8px; }
  #cookie-banner  { flex-direction: column; align-items: flex-start; }
  .section-light,
  .section-cream,
  .section-dark   { padding: 56px 0; }
}
