/* ══════════════════════════════════════════
   Arťan — Hlavní stylesheet
   Grafická identita: lesní zelená + zlatá + krém
   ══════════════════════════════════════════ */

:root {
  --forest:       #2d8659;
  --forest-dark:  #1a5438;
  --forest-mid:   #3d9e6e;
  --forest-lite:  #e8f5ee;
  --cream:        #f7f3ec;
  --warm:         #f0e9d8;
  --ink:          #1c1a14;
  --muted:        #6b6457;
  --gold:         #c8923a;
  --gold-lite:    #f5e9d4;
  --white:        #ffffff;

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --font-light:   'Cormorant Garamond', Georgia, serif;

  --radius:       4px;
  --shadow:       0 4px 24px rgba(28,26,20,.08);
  --transition:   .25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── UTILITIES ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.bg-warm { background: var(--warm); }
.bg-dark { background: var(--ink); }
.section { padding: 5rem 0; }

.section-head { text-align: center; margin-bottom: 3rem; }
.section-label {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: .5rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--forest); }

.empty-note { color: var(--muted); font-style: italic; text-align: center; padding: 2rem 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary  { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-dark); }
.btn-white    { background: var(--white); color: var(--forest); }
.btn-white:hover { background: var(--gold-lite); }
.btn-outline  { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.45); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-gold     { background: var(--gold); color: var(--white); }
.btn-gold:hover { filter: brightness(1.1); }
.btn-small    { padding: .4rem 1rem; font-size: .72rem; }

/* Hero info karty — zápis a start semestru */
.hero-info-karty {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px;
}
.hero-info-karta {
  display: flex; align-items: center; gap: 12px;
  border-radius: 8px; padding: 11px 14px;
  overflow: hidden;
  max-width: 320px;
}
.hero-info-karta--zelena {
  background: rgba(26,84,56,.6);
  border: 1px solid rgba(255,255,255,.15);
}
.hero-info-karta--krem {
  background: #f0e9d8;
  border: 1px solid #ddd5c4;
}
.hik-logo { width: 20px; height: 24px; flex-shrink: 0; min-width: 20px; }
.hero-info-karta--zelena .hik-logo { opacity: .9; }
.hik-label {
  display: block;
  font-size: .7rem; letter-spacing: 2px; text-transform: uppercase;
  font-family: var(--font-sans); margin-bottom: 2px;
}
.hero-info-karta--zelena .hik-label { color: rgba(255,255,255,.55); }
.hero-info-karta--krem    .hik-label { color: #9b8060; }
.hik-value {
  display: block;
  font-size: .95rem; font-weight: 700; font-family: var(--font-sans);
  color: white;
}
.hik-value--dark { color: var(--ink); }

/* ══ HEADER / NAV ══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cream);
  border-bottom: 1px solid rgba(44,134,89,.12);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(28,26,20,.08); }

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-svg { width: 30px; height: 40px; color: var(--forest); flex-shrink: 0; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1.1;
}
.logo-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: .6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: .5rem .85rem;
  font-size: .82rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--forest); background: var(--forest-lite); }
.nav-links .nav-cta {
  background: var(--forest);
  color: var(--white) !important;
  font-size: .75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  margin-left: .5rem;
}
.nav-links .nav-cta:hover { background: var(--forest-dark); }
.nav-links .nav-link-secondary {
  color: var(--muted) !important;
  font-size: .78rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* ══ HERO ══ */
.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-left {
  background: var(--forest);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-left::after {
  content: '';
  position: absolute;
  right: -20px; top: 0; bottom: 0;
  width: 40px;
  background: var(--forest);
  clip-path: polygon(0 0, 100% 8%, 100% 92%, 0 100%);
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
  animation: fadeUp .6s ease both;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  animation: fadeUp .6s .1s ease both;
}
.hero-title em { font-style: italic; color: rgba(255,255,255,.65); }

.hero-perex {
  font-family: var(--font-light);
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: 2.5rem;
  animation: fadeUp .6s .2s ease both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp .6s .3s ease both;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  animation: fadeUp .6s .4s ease both;
}
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat span {
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.hero-right {
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 3rem;
}

.hero-logo-block {
  text-align: center;
  animation: fadeUp .7s .2s ease both;
}
.hero-symbol {
  width: 120px;
  height: auto;
  color: var(--forest);
  margin: 0 auto 1.25rem;
}
.hero-wordmark {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: 2px;
}
.hero-sub {
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .5rem;
}
.hero-city {
  font-family: var(--font-light);
  font-size: .95rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 1rem;
}

.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  display: grid;
  grid-template-columns: repeat(6, 8px);
  gap: 8px;
}
.hero-dots::before { content: ''; }

/* ══ OBORY ══ */
.section-obory { background: var(--ink); }
.section-obory .section-label { color: rgba(255,255,255,.45); }
.section-obory .section-title { color: white; }
.section-obory .section-title em { color: var(--gold); }
.obory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.obor-card:nth-child(4) {
  grid-column: 2 / 3;
}
.obor-card {
  background: var(--accent, var(--forest));
  padding: 2.5rem 2rem;
  transition: filter var(--transition);
  position: relative;
  color: white;
}
.obor-card:hover { filter: brightness(1.08); }
.obor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.2);
}
.obor-icon { font-size: 2rem; margin-bottom: 1rem; }
.obor-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: white;
}
.obor-popis { font-size: .88rem; color: rgba(255,255,255,.75); line-height: 1.55; margin-bottom: 1rem; }
.obor-items { list-style: none; margin-bottom: 1.5rem; }
.obor-items li {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  padding: .25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.obor-items li::before { content: '·  '; color: rgba(255,255,255,.5); }
.obor-link {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  letter-spacing: .5px;
  transition: gap var(--transition);
}
.obor-link:hover { text-decoration: underline; }

/* ══ KURZY ══ */
.kurzy-list { display: flex; flex-direction: column; gap: 0; }
.kurz-row {
  display: grid;
  grid-template-columns: 130px 1fr 160px 140px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid rgba(44,134,89,.08);
  transition: background var(--transition);
}
.kurz-row:hover { background: var(--forest-lite); }
.kurz-obor {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent, var(--forest));
  background: rgba(44,134,89,.07);
  padding: .3rem .6rem;
  border-radius: 2px;
  text-align: center;
}
.kurz-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; }
.kurz-name-big { font-size: 1.35rem; }
.kurz-lektor { font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.kurz-lektori { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.kurz-meta { display: flex; flex-direction: column; gap: .2rem; }
.kurz-cas, .kurz-misto { font-size: .8rem; color: var(--muted); }
.kurz-cena { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.cena {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}
.cena-small { font-size: .82rem; font-weight: 500; }
a.cena-link {
  text-decoration: none;
  border-bottom: 1px dashed var(--gold);
  transition: opacity var(--transition);
}
a.cena-link:hover { opacity: .75; }
.kurz-lektor a, .kurz-lektori a {
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid rgba(44,134,89,.3);
  transition: border-color var(--transition);
}
.kurz-lektor a:hover, .kurz-lektori a:hover { border-color: var(--forest); }

/* ══ AKCE ══ */
.akce-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.akce-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  color: var(--white);
}
.akce-datum {
  flex-shrink: 0;
  width: 58px;
  text-align: center;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: .4rem;
}
.akce-datum .den {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.akce-datum .mesic {
  font-size: .62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.akce-info { flex: 1; }
.akce-typ {
  font-size: .65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .25rem;
}
.akce-nazev { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; }
.akce-misto { font-size: .8rem; color: rgba(255,255,255,.4); margin-top: .2rem; }
.akce-vstup { font-size: .82rem; color: rgba(255,255,255,.55); white-space: nowrap; }

/* ══ O NÁS ══ */
.onas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.onas-quote blockquote {
  font-family: var(--font-light);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  border-left: 3px solid var(--forest);
  padding-left: 1.5rem;
}
.onas-text p { font-size: .92rem; line-height: 1.75; color: var(--muted); }
.onas-text p + p { margin-top: 1rem; }
.onas-lide {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44,134,89,.15);
}
.clen strong { display: block; font-size: .92rem; color: var(--ink); }
.clen span { font-size: .78rem; color: var(--forest); }

/* ══ KONTAKT ══ */
.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.kontakt-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.kontakt-list li { display: flex; flex-direction: column; gap: .2rem; }
.ki-label { font-size: .68rem; letter-spacing: 3px; text-transform: uppercase; color: var(--forest); font-weight: 500; }
.kontakt-list a { color: var(--ink); text-decoration: none; }
.kontakt-list a:hover { color: var(--forest); text-decoration: underline; }

.kontakt-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .75rem; letter-spacing: 1px; font-weight: 500; color: var(--muted); text-transform: uppercase; }
.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: .92rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(44,134,89,.2);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(44,134,89,.1);
}
.form-msg { font-size: .85rem; margin-top: .25rem; }
.form-msg.ok  { color: var(--forest); }
.form-msg.err { color: #c0392b; }

/* ══ FOOTER ══ */
.site-footer {
  background: var(--forest-dark);
  color: var(--white);
  padding: 3.5rem 0 0;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-symbol { width: 30px; height: 42px; color: rgba(255,255,255,.5); }
.footer-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; }
.footer-sub { font-size: .62rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.3); }
.footer-col h4 { font-size: .65rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: .85rem; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-col li { font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-col a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1rem 2rem;
  font-size: .72rem;
  color: rgba(255,255,255,.22);
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}
.footer-copy a { color: rgba(255,255,255,.35); text-decoration: none; }
.footer-copy a:hover { color: rgba(255,255,255,.7); }

/* ══ ANIMACE ══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .obory-grid { grid-template-columns: repeat(2, 1fr); }
  .obor-card:nth-child(4) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; width: 100%; }
  .hero { grid-template-columns: 1fr; }
  .hero-left::after { display: none; }
  .hero-left { padding: 4rem 2rem; min-height: 60vh; }
  .hero-right { padding: 3rem 2rem; min-height: 40vh; }
  .onas-inner, .kontakt-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .obory-grid { grid-template-columns: 1fr 1fr; }
  .kurz-row { grid-template-columns: 1fr 1fr; }
  .kurz-obor { grid-column: 1 / -1; width: fit-content; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid rgba(44,134,89,.12); padding: 1rem; gap: .25rem; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .kurz-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .hero-left { padding: 3rem 1.5rem; }
  .obory-grid { grid-template-columns: 1fr; }
  .obor-card:nth-child(4) { grid-column: 1; max-width: 100%; }
  .section { padding: 3.5rem 0; }
}

/* ══ JAK STUDIUM FUNGUJE ══ */
.section-jak { background: var(--cream); }
.jak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px;
  background: rgba(44,134,89,.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.jak-card {
  background: var(--cream);
  padding: 2rem 1.75rem;
  transition: background var(--transition);
}
.jak-card:hover { background: var(--forest-lite); }
.jak-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(44,134,89,.15);
  line-height: 1;
  margin-bottom: .75rem;
}
.jak-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}
.jak-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ══ ŠKOLNÉ ══ */
.section-skolne { }
.skolne-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.skolne-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 1.75rem;
}
.skolne-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.skolne-icon { font-size: 1.75rem; flex-shrink: 0; }
.skolne-header h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}
.skolne-sub { font-size: .78rem; color: rgba(255,255,255,.4); line-height: 1.4; }
.skolne-prices { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.skolne-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem .75rem;
  border-radius: var(--radius);
}
.skolne-price-row span { font-size: .85rem; color: rgba(255,255,255,.55); }
.skolne-price-row strong { font-family: var(--font-serif); font-size: 1rem; color: var(--white); }
.skolne-price-row strong em { font-style: normal; font-size: .78rem; color: rgba(255,255,255,.4); margin-left: .4rem; font-family: var(--font-sans); }
.skolne-highlight {
  background: rgba(200,146,58,.15);
  border: 1px solid rgba(200,146,58,.25);
}
.skolne-highlight strong { color: var(--gold); font-size: 1.1rem; }
.skolne-note { font-size: .78rem; color: rgba(255,255,255,.35); font-style: italic; }
.skolne-footer-note {
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  padding-top: .5rem;
}

@media (max-width: 960px) {
  .skolne-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .jak-grid { grid-template-columns: 1fr 1fr; }
  .skolne-grid { grid-template-columns: 1fr; }
}
