/* ==========================================================================
   LŌKAHI — shared styles for the "Věci, které milujeme" section
   Design tokens, nav, footer and article/hub components.
   Mirrors the design system used on the homepage (lokahi.html).
   ========================================================================== */

:root {
  --dark:   #121410;
  --olive:  #5B5916;
  --taupe:  #967C64;
  --linen:  #E8DDD0;
  --cream:  #F0EAE0;
  --white:  #FAFAF8;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Jost', sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; }

/* ── NAVIGATION ─────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.75rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s, padding 0.4s, border-color 0.5s;
  border-bottom: 1px solid transparent;
  background: rgba(240, 234, 224, 0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(150,124,100,0.18);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--dark);
  text-decoration: none;
}
.nav-links { display: flex; gap: 2.75rem; list-style: none; }
.nav-links a {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--olive); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-menu { display: flex; align-items: center; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  padding: 0;
  background: transparent; border: none;
  cursor: pointer;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.lang-toggle {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  background: transparent;
  border: 1px solid rgba(150,124,100,0.35);
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-left: 1.5rem;
  text-decoration: none;
}
.lang-toggle:hover { color: var(--dark); border-color: var(--dark); }

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--dark);
  padding: 2rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.28em;
  color: rgba(232,221,208,0.55);
  text-decoration: none;
}
.footer-text { font-size: 0.68rem; letter-spacing: 0.1em; color: rgba(232,221,208,0.3); }

/* ── FADE-IN ────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.22s; }
.fade-up.d3 { transition-delay: 0.34s; }

/* ── SHARED LAYOUT ──────────────────────── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 3.5rem; }
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
}
.bar { width: 46px; height: 2px; background: var(--olive); margin: 1.25rem 0 1.75rem; }
.breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}
.breadcrumb a { color: var(--taupe); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--olive); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }

/* ── HUB (Věci, které milujeme) ─────────── */
.hub-header { padding: 11rem 0 4rem; }
.hub-header h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.hub-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--taupe);
  max-width: 620px;
  margin-top: 1.75rem;
  line-height: 1.6;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  padding-bottom: 6rem;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(150,124,100,0.14);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,20,16,0.08); border-color: rgba(150,124,100,0.3); }
.card-img {
  aspect-ratio: 4 / 3;
  background: var(--linen);
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 3rem; color: rgba(150,124,100,0.4);
}
.card-body { padding: 1.6rem 1.6rem 1.9rem; }
.card-kicker { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--olive); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.15; margin: 0.6rem 0 0.7rem; }
.card p { font-size: 0.86rem; color: var(--taupe); line-height: 1.65; }
.card-soon { opacity: 0.55; pointer-events: none; }
.card-soon .card-kicker { color: var(--taupe); }

/* ── ARTICLE ────────────────────────────── */
.article-head { padding: 10.5rem 0 0; }
.article-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-top: 1.5rem;
  max-width: 20ch;
}
.article-hero {
  aspect-ratio: 3 / 2;
  width: 100%;
  background: var(--linen);
  background-size: cover; background-position: center;
  object-fit: cover; object-position: center;
  margin: 3rem 0 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 4rem; color: rgba(150,124,100,0.35);
  overflow: hidden;
}
img.article-hero { display: block; }
.geo-summary {
  background: var(--white);
  border-left: 2px solid var(--olive);
  padding: 1.75rem 2rem;
  margin: 3rem 0 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2c2a22;
}
.geo-summary .section-label { font-family: var(--sans); font-size: 0.66rem; margin-bottom: 0.75rem; }
.prose { max-width: 680px; margin: 3.5rem 0 0; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.8rem;
  margin: 2.75rem 0 1rem;
  line-height: 1.2;
}
.prose p { font-size: 1.02rem; color: #33312a; margin-bottom: 1.2rem; }
.prose p.lead { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--taupe); line-height: 1.55; }
.prose strong { font-weight: 500; }
.signoff {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--olive);
  margin-top: 2rem;
}

/* ── FAQ ────────────────────────────────── */
.faq { max-width: 760px; margin: 4.5rem 0 0; }
.faq h2 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; margin-bottom: 1.5rem; }
.faq-item { border-top: 1px solid rgba(150,124,100,0.18); padding: 1.4rem 0; }
.faq-item:last-child { border-bottom: 1px solid rgba(150,124,100,0.18); }
.faq-q { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; }
.faq-a { font-size: 0.98rem; color: #44423a; line-height: 1.65; }

/* ── ARTICLE CTA ────────────────────────── */
.article-cta {
  margin: 5rem 0 6rem;
  padding: 3rem;
  background: var(--dark);
  color: var(--cream);
  text-align: center;
}
.article-cta p { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: rgba(232,221,208,0.85); margin-bottom: 1.75rem; }
.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border: 1px solid rgba(232,221,208,0.4);
  color: var(--cream);
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: var(--cream); color: var(--dark); }
.btn-primary { background: var(--cream); color: var(--dark); }
.btn-primary:hover { background: transparent; color: var(--cream); }

/* ── HOMEPAGE TEASER (used on lokahi.html) ─ */
.love-teaser { padding: 7rem 3.5rem; background: var(--linen); }
.love-teaser .love-inner { max-width: 1120px; margin: 0 auto; }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 820px) {
  nav { padding: 1.1rem 1.5rem; }
  .wrap { padding: 0 1.5rem; }
  .nav-toggle { display: flex; }
  nav.menu-open, nav.menu-open.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
  .nav-menu {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 2.5rem;
    background: rgba(240, 234, 224, 0.98);
    backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  }
  nav.menu-open .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: center; gap: 2.25rem; }
  .nav-links a { font-size: 1.05rem; letter-spacing: 0.22em; }
  .lang-toggle { margin-left: 0; margin-top: 0.5rem; font-size: 0.8rem; padding: 0.5rem 1.25rem; }
  nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .hub-grid { grid-template-columns: 1fr; }
  .hub-header { padding: 8.5rem 0 2.5rem; }
  .article-head { padding: 8rem 0 0; }
  .geo-summary { padding: 1.4rem 1.5rem; font-size: 1.08rem; }
  .article-cta { padding: 2.25rem 1.5rem; }
  footer { flex-direction: column; text-align: center; }
}
