/* ===== Aikido klub Šumperk – styly ===== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f3f1;
  --color-ink: #1a1a1a;
  --color-ink-soft: #4a4a4a;
  --color-accent: #a8342f;
  --color-accent-dark: #7f2724;
  --color-border: #e3e0da;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.7em;
}

.lead {
  font-size: 1.05rem;
  color: var(--color-ink-soft);
  max-width: 640px;
}

section {
  padding: 72px 0;
}

section:nth-of-type(even) {
  background: var(--color-bg-alt);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-head .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--color-ink);
}

.brand .logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-ink);
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-links .btn-primary {
  padding: 10px 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 76px 0;
  color: #fff;
  background: var(--color-ink);
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.hero-brand {
  margin-bottom: 28px;
}

.hero-logo {
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions,
.hero-facts {
  justify-content: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 0.45em;
}

.hero .lead {
  color: #e5e3df;
  font-size: 1.1rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}


.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-facts div strong {
  display: block;
  font-size: 1.3rem;
}

.hero-facts div span {
  font-size: 0.85rem;
  color: #d8d6d2;
}

.hero-facts a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Two column with image ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 460px;
}

.img-wrap {
  position: relative;
}

.img-caption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 2px 8px;
  border-radius: 999px;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

blockquote {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--color-accent);
  font-style: italic;
  color: var(--color-ink-soft);
  background: var(--color-bg-alt);
  border-radius: 0 8px 8px 0;
}

/* ---- Instructor cards ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.card .rank {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.card .avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.card p {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 0.92rem;
}

.affil {
  margin-top: 40px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--color-ink-soft);
}

.video-caption {
  text-align: center;
  margin: 40px 0 16px;
  font-weight: 700;
  color: var(--color-ink);
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-ink);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Training schedule ---- */
.schedule-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table.schedule {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

table.schedule th,
table.schedule td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

table.schedule th {
  background: var(--color-ink);
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table.schedule tr:last-child td {
  border-bottom: none;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--color-ink-soft);
  font-size: 0.95rem;
}

.info-row + .info-row {
  margin-top: 6px;
}

.info-row a {
  color: var(--color-accent);
  font-weight: 700;
}

.price-note {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-ink);
  margin: 36px 0 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 14px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.price-card.highlight {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(168, 52, 47, 0.12);
}

.price-card .amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent);
  margin: 8px 0;
}

.price-card .amount small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.price-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--color-ink-soft);
  font-size: 0.92rem;
}

/* ---- Kids / benefits ---- */
.benefits {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.benefits li::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ---- FAQ accordion ---- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-ink);
}

.faq-question .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
  background: var(--color-accent);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--color-ink-soft);
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-list a {
  text-decoration: none;
  font-weight: 700;
}

.contact-list a:hover {
  color: var(--color-accent);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
}

.social-row a:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.map-frame {
  border: 0;
  border-radius: var(--radius);
  width: 100%;
  height: 340px;
  box-shadow: var(--shadow);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-ink);
  color: #d8d6d2;
  padding: 44px 0 28px;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  text-decoration: none;
  color: #d8d6d2;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 20px;
  color: #9a9892;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* ---- Simple page (dokumenty.html) ---- */
.page-hero {
  background: var(--color-ink);
  color: #fff;
  padding: 64px 0 48px;
}

.page-hero .lead {
  color: #d8d6d2;
}

.doc-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.doc-list li {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.doc-list h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.doc-list p {
  margin: 0;
  color: var(--color-ink-soft);
}

.note-box {
  margin-top: 36px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  color: var(--color-ink-soft);
  font-size: 0.92rem;
}

.coming-soon {
  max-width: 560px;
  margin: 20px auto 0;
  padding: 56px 32px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
}

.coming-soon-icon {
  display: block;
  font-size: 2.6rem;
  margin-bottom: 18px;
}

.coming-soon h2 {
  margin-bottom: 14px;
}

.coming-soon .lead {
  margin: 0 auto 14px;
}

.coming-soon .lead:last-child {
  margin-bottom: 0;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse {
    direction: ltr;
  }

  .split img {
    max-height: 320px;
  }

  .split .img-wrap {
    order: -1;
  }
}

@media (max-width: 720px) {
  section {
    padding: 56px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px 24px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links li:last-child {
    border-bottom: none;
    padding-top: 16px;
  }

  .hero-logo {
    width: 110px;
    height: 110px;
  }

  .hero-facts {
    gap: 20px;
  }
}
