:root {
  --bg: #f4efe4;
  --bg-soft: #eee4d3;
  --panel: #e5dac5;
  --card: #fffdf8;
  --ink: #1f1b18;
  --muted: #5a5247;
  --gold: #d4af37;
  --brass: #b8860b;
  --forest: #21443a;
  --line: rgba(31, 27, 24, 0.16);
  --shadow: 0 18px 38px rgba(20, 16, 12, 0.14);
  --radius-lg: 1.4rem;
  --radius-md: 0.9rem;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.18), transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(33, 68, 58, 0.12), transparent 32%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

p {
  margin-top: 0;
}

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  backdrop-filter: blur(10px);
  background: rgba(244, 239, 228, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 239, 228, 0.92);
}

.nav-wrap {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav > a,
.dropdown-toggle {
  font-weight: 600;
  color: var(--ink);
  opacity: 0.9;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  padding: 0.25rem 0;
}

.main-nav > a:hover,
.main-nav > a.active,
.dropdown-toggle:hover,
.dropdown-toggle.active {
  opacity: 1;
  color: var(--forest);
}

.nav-toggle {
  display: none;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 13rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.dropdown-menu a {
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--bg-soft);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.4rem;
  transition: transform 160ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--brass));
  color: #1d1d1d;
  box-shadow: 0 10px 20px rgba(184, 134, 11, 0.28);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-dark {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-secondary {
  background: rgba(33, 68, 58, 0.1);
  border-color: rgba(33, 68, 58, 0.22);
  color: var(--forest);
}

.btn-nav {
  background: var(--forest);
  color: #fff;
  font-size: 0.88rem;
  padding: 0.7rem 1rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 4.5rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.4)),
    url("../img/praha pozadi homepage 2.webp") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(212, 175, 55, 0.22), transparent 32%),
    radial-gradient(circle at 15% 84%, rgba(33, 68, 58, 0.3), transparent 36%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: #fff;
  padding-block: 3rem;
  max-width: 56rem;
}

.hero-logo {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  margin-bottom: 0.9rem;
}

.hero-subheadline {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  max-width: 50rem;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
}

.hero-portrait {
  width: clamp(7.4rem, 16vw, 11.2rem);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.84);
  margin: 1.5rem auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-tagline {
  margin-top: 1rem;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.panel {
  background: linear-gradient(160deg, rgba(229, 218, 197, 0.72), rgba(229, 218, 197, 0.36));
  border-block: 1px solid rgba(31, 27, 24, 0.08);
}

.split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: start;
}

.intro-split {
  align-items: center;
}

.grid {
  display: grid;
  gap: 1.3rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tours-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  box-shadow: 0 9px 20px rgba(15, 12, 8, 0.07);
}

.tour-card,
.experience-card,
.quote-card,
.callout-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tour-card:hover,
.experience-card:hover,
.quote-card:hover,
.callout-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.media-card {
  padding: 0;
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-card {
  max-width: 29rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.6rem;
}

.lead {
  max-width: 52rem;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose h2 {
  margin-top: 1.8rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  border-left: 3px solid var(--gold);
  padding-left: 0.7rem;
}

.duration {
  margin-top: -0.45rem;
  color: var(--forest);
  font-style: italic;
  font-weight: 600;
}

.callout-card {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.callout-card .btn {
  width: 100%;
}

.fine-print {
  font-size: 0.88rem;
  color: var(--muted);
}

.quote-card p {
  margin-bottom: 0.8rem;
}

.quote-author {
  color: var(--forest);
  font-weight: 700;
}

.text-link {
  color: var(--forest);
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.page-hero {
  color: #fff;
  padding: clamp(4rem, 10vw, 8rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-about {
  background:
    linear-gradient(130deg, rgba(21, 25, 28, 0.72), rgba(11, 37, 45, 0.5)),
    url("../img/prague-view-placeholder.svg") center / cover no-repeat;
}

.page-hero-prague {
  background:
    linear-gradient(130deg, rgba(27, 23, 17, 0.73), rgba(44, 35, 24, 0.52)),
    url("../img/prague-view-placeholder.svg") center / cover no-repeat;
}

.page-hero-beyond {
  background:
    linear-gradient(130deg, rgba(15, 40, 32, 0.74), rgba(18, 26, 44, 0.52)),
    url("../img/prague-view-placeholder.svg") center / cover no-repeat;
}

.page-hero-contact {
  background:
    linear-gradient(130deg, rgba(26, 24, 21, 0.72), rgba(34, 25, 15, 0.5)),
    url("../img/prague-view-placeholder.svg") center / cover no-repeat;
}

.page-hero-references {
  background:
    linear-gradient(130deg, rgba(16, 22, 17, 0.72), rgba(15, 44, 37, 0.52)),
    url("../img/prague-view-placeholder.svg") center / cover no-repeat;
}

.page-hero-agents {
  background:
    linear-gradient(130deg, rgba(25, 20, 12, 0.75), rgba(46, 25, 14, 0.52)),
    url("../img/prague-view-placeholder.svg") center / cover no-repeat;
}

.contact-form {
  display: grid;
  gap: 0.65rem;
}

.contact-form label {
  font-weight: 700;
  color: var(--forest);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.72rem 0.9rem;
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(212, 175, 55, 0.5);
  border-color: var(--gold);
}

.site-footer {
  background: #171613;
  color: rgba(255, 255, 255, 0.88);
  padding: 2.2rem 0;
}

.footer-wrap {
  display: grid;
  gap: 0.4rem;
}

.footer-wrap p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .split,
  .tours-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    gap: 0.75rem;
  }

  .btn-nav {
    padding-inline: 0.85rem;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(var(--container), calc(100% - 2rem));
  }

  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    cursor: pointer;
  }

  .main-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 1rem;
    display: grid;
    gap: 0.65rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .dropdown-menu {
    position: static;
    border: 0;
    box-shadow: none;
    background: rgba(212, 175, 55, 0.08);
    margin-top: 0.4rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: grid;
  }

  .btn-nav {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .split,
  .two-col,
  .tours-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
