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

:root {
  --cream: #f7f4ef;
  --white: #ffffff;
  --ink: #1c1a17;
  --gray: #4a4640;
  --muted: #8c8680;
  --rule: #e2ddd7;
  --accent: rgb(176, 125, 82);
  --accent-l: rgb(212, 169, 122);
  /* --accent-l: hsl(41, 76%, 75%); */
  --radius: 12px;
  --max: 1240px;
  --section: 120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILITIES ─── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
.serif {
  font-family: 'Playfair Display', Georgia, serif;
}
.accent-text {
  color: var(--accent);
}

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  transition:
    background 0.4s,
    backdrop-filter 0.4s,
    box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--rule);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  width: 100%;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-l);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav.scrolled .nav-links a {
  color: var(--gray);
}

.nav-links a:hover {
  color: var(--accent);
}
.nav-links li:last-child {
  margin-left: auto;
}

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink) !important;
  background: var(--accent-l);
  padding: 10px 22px;
  border-radius: 100px;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  transition:
    background 0.2s,
    transform 0.15s !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* hamburger */
.hamburger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}
nav.scrolled .hamburger span {
  background: var(--gray);
}

/* ─── HERO ─── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--ink);
  padding: 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  padding: 0 2rem;
  margin: auto;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-l);
  margin-bottom: 28px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent-l);
}
.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.62);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.65;
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-meta-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.hero-meta-value {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.meta-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
}

/* ─── SECTIONS ─── */
section {
  padding: var(--section) 0;
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-body {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 580px;
}

/* ─── SPEAKER ─── */
#lauraJanackova .inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.speaker-img-wrap {
  position: relative;
  top: 100px;
}
.speaker-img-wrap::before {
  content: '';
  position: absolute;
  inset: -16px -16px 16px 16px;
  background: var(--rule);
  border-radius: var(--radius);
  z-index: 0;
}
.speaker-img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  display: block;
}
.speaker-name {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.speaker-name small {
  font-size: 0.6em;
}
.speaker-role {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.speaker-bio {
  font-size: 16.5px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
}
.speaker-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ─── SEMINAR ─── */
#seminar {
  background: var(--white);
}
#seminar .inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}
.seminar-img {
  display: none;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.seminar-lead {
  font-size: 20px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 28px;
}
.seminar-body {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.seminar-body {
  position: relative;
  padding-left: 1.2em;
}

.seminar-body::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 0.8em;
  line-height: 1.5;
}

.seminar-body:nth-child(1)::before {
  color: #e0115f;
} /* ruby */
.seminar-body:nth-child(2)::before {
  color: #1f51ff;
} /* sapphire */
.seminar-body:nth-child(3)::before {
  color: #50c878;
} /* emerald */
.seminar-body:nth-child(4)::before {
  color: #9966cc;
} /* amethyst */
.seminar-body:nth-child(5)::before {
  color: #ffc87c;
} /* topaz */
.seminar-body:nth-child(6)::before {
  color: #a8e6ff;
} /* aquamarine */
.seminar-body:nth-child(7)::before {
  color: #e5e4e2;
} /* pearl */
.seminar-body:nth-child(8)::before {
  color: #ffd700;
} /* gold */

#seminar .img-col {
  position: relative;
  top: 100px;
}

.timetable {
  border-top: 1px solid var(--rule);
}
.timetable-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 20px 0 16px;
}
.timetable-row {
  display: flex;
  gap: 24px;
  padding: 16px 10px;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.timetable-row:hover {
  background: var(--cream);
}
.timetable-time {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  min-width: 64px;
  padding-top: 2px;
}
.timetable-event {
  font-size: 18px;
  color: var(--ink);
  font-weight: 400;
}
.timetable-note {
  font-size: 16px;
  color: var(--muted);
  margin-top: 2px;
}

/* ─── TICKETS ─── */
#vstupenky .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}

.ticket-card {
  border-radius: var(--radius);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.ticket-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -12px rgba(28, 26, 23, 0.12);
}
.ticket-std {
  background: var(--white);
  border: 1px solid var(--rule);
}
.ticket-vip {
  background: var(--ink);
  color: var(--white);
}
.ticket-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.ticket-vip .ticket-badge {
  color: var(--accent-l);
}
.ticket-name {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.ticket-vip .ticket-name {
  color: var(--white);
}
.ticket-price {
  font-size: 44px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.ticket-std .ticket-price {
  color: var(--ink);
}
.ticket-vip .ticket-price {
  color: var(--accent-l);
}
.ticket-price-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px;
}
.ticket-vip .ticket-price-note {
  color: rgba(255, 255, 255, 0.4);
}
.ticket-divider {
  height: 1px;
  background: var(--rule);
  margin-bottom: 32px;
}
.ticket-vip .ticket-divider {
  background: rgba(255, 255, 255, 0.12);
}
.ticket-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  flex: 1;
}
.ticket-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.5;
}
.ticket-vip .ticket-features li {
  color: rgba(255, 255, 255, 0.72);
}
.feat-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.feat-icon-std {
  color: var(--accent);
}
.feat-icon-vip {
  color: var(--accent-l);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(28, 26, 23, 0.18);
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover {
  background: #2e2b26;
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: #9a6c42;
  box-shadow: 0 8px 24px -6px rgba(176, 125, 82, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rule);
}
.btn-outline:hover {
  border-color: var(--ink);
}

#lauraJanackova {
  padding-bottom: 0;
}

.books-grid {
  padding: 56px 0;
  background-color: var(--ink);
  margin-top: 2rem;
}

.books-grid-inner {
  display: flex;
  overflow-x: scroll;
  margin: 0 2rem;
  gap: 48px 64px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}

.books-grid-inner::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.books-grid img {
  max-width: 200px;
}

.books-grid .seminar-lead {
  color: var(--cream);
  padding: 0 2rem;
}

/* ─── PARTNERS ─── */
#partners {
  background: var(--white);
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px 64px;
  margin-top: 56px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.partner-logo {
  height: 36px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(1);
  transition:
    opacity 0.25s,
    filter 0.25s;
  object-fit: contain;
}
.partner-logo:hover {
  opacity: 0.8;
  filter: grayscale(0);
}

/* fake svg logos for partners */
.partner-svg {
  height: 36px;
  display: flex;
  align-items: center;
  opacity: 0.38;
  transition: opacity 0.25s;
}
.partner-svg:hover {
  opacity: 0.75;
}
.partner-svg svg {
  height: 100%;
  width: auto;
}

/* ─── CONTACT ─── */
#kontakty .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-text {
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-item {
}
.contact-item-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-item-value {
  font-size: 17px;
  color: var(--ink);
  font-weight: 400;
}
.contact-item-value a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition:
    border-color 0.2s,
    color 0.2s;
  padding-bottom: 2px;
}
.contact-item-value a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-map {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) contrast(0.9);
}

/* ─── FOOTER ─── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}
footer .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}
.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  :root {
    --section: 80px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-inner {
    flex-direction: column;
  }
  .hero-inner canvas {
    max-height: 30%;
  }
  #lauraJanackova .inner,
  #seminar .inner,
  #kontakty .inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .speaker-img-wrap,
  .img-col {
    position: relative !important;
    max-width: 300px;
    margin: auto;
  }
  .speaker-img-wrap::before {
    display: none;
  }
  #vstupenky .inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ticket-card {
    padding: 36px 32px;
  }

  #seminar .img-col {
    top: unset;
    margin-bottom: 1rem;
  }
  .speaker-img-wrap {
    top: unset;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
  .hero-meta {
    gap: 20px;
  }
  .meta-divider {
    display: none;
  }
  .speaker-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav a:hover {
  color: var(--accent-l);
}
.mobile-nav-close {
  position: absolute;
  top: 28px;
  right: 32px;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  font-family: inherit;
}
.mobile-nav-close:hover {
  color: white;
}

#features {
  background: var(--white);
  padding: 3rem 0;
}

.features-head {
  max-width: 720px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 3px 12px 48px -18px rgba(28, 26, 23, 0.3);
  padding: 2rem 1.5rem;
  transition:
    transform 0.22s,
    border-color 0.22s,
    box-shadow 0.22s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -18px rgba(28, 26, 23, 0.35);
}

.feature-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--cream);
  margin-right: 0.5rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 0.75rem;
}

.feature-card p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--gray);
  margin-top: 1.5rem;
}

/* responsive */

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .feature-card {
    padding: 32px 26px;
  }
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.feature-card:nth-child(1) .feature-icon {
  background-color: #a8e6ff;
  color: black;
} /* ruby */
.feature-card:nth-child(2) .feature-icon {
  background-color: #d94359;
} /* sapphire */
.feature-card:nth-child(3) .feature-icon {
  background-color: #50c878;
} /* emerald */
.feature-card:nth-child(4) .feature-icon {
  background-color: #ffc87c;
  color: black;
} /* amethyst */
