:root {
  --ink: #12151c;
  --ink-soft: #2a303c;
  --navy: #1b2433;
  --navy-deep: #0e141d;
  --gold: #c4a35a;
  --gold-bright: #e0c078;
  --cream: #f4ece0;
  --paper: #faf7f1;
  --stone: #d9d0c3;
  --terracotta: #9a4b32;
  --muted: #6b645b;
  --line: rgba(196, 163, 90, 0.28);
  --shadow: 0 24px 60px rgba(14, 20, 29, 0.18);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
}

h1, h2, h3, .display {
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
}

/* NAV */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 16px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
  contain: layout style;
  will-change: background, padding;
}

.nav.scrolled {
  background: rgba(14, 20, 29, 0.92);
  backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  contain: layout;
}

.logo span {
  color: var(--gold-bright);
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #efe6d6;
  font-size: 0.92rem;
  opacity: 0.88;
}

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

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--cream);
  padding: 8px 12px;
  border-radius: 999px;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(14, 20, 29, 0.35) 0%, rgba(14, 20, 29, 0.55) 50%, rgba(14, 20, 29, 0.88) 100%);
  color: var(--cream);
  display: grid;
  align-items: end;
}

.hero-content {
  padding: 100px 0 72px;
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  max-width: 14ch;
  margin: 12px 0 18px;
}

.hero p {
  max-width: 42ch;
  font-size: 1.12rem;
  color: #efe6d6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 500;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-ghost {
  border: 1px solid rgba(244, 236, 224, 0.4);
  color: var(--cream);
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  color: #d9d0c3;
  font-size: 0.92rem;
}

.hero-meta strong {
  display: block;
  color: var(--gold-bright);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

/* INTRO */
.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  padding: 96px 0;
  align-items: center;
}

.intro img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 4px 48px 4px 48px;
  box-shadow: var(--shadow);
}

.intro h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 10px 0 18px;
}

.intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* SIGHTS */
.section {
  padding: 40px 0 90px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  border: 1px solid var(--stone);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  font-family: inherit;
}

.filter.active,
.filter:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.sight-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(18, 21, 28, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card.wide { grid-column: span 7; }
.card.mid { grid-column: span 5; }
.card.third { grid-column: span 4; }

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

.card.wide img,
.card.mid img {
  height: 320px;
}

.card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card h3 {
  font-size: 1.85rem;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: auto;
}

/* DISTRICTS */
.districts {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 90px 0;
}

.districts h2 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  margin: 8px 0 28px;
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.district {
  border: 1px solid rgba(196, 163, 90, 0.22);
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.district h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.district p {
  color: #cfc6b8;
  margin: 0;
}

/* WALKS */
.walks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.walk {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--stone);
}

.walk h3 {
  font-size: 1.8rem;
  margin: 8px 0 12px;
}

.walk ol {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.walk li + li {
  margin-top: 8px;
}

.walk-map,
.map-link {
  color: var(--terracotta);
  font-weight: 500;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
}

.walk-map {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}

/* MAP */
.map-section {
  padding: 20px 0 90px;
}

.map-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 680px;
  border: 1px solid var(--stone);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.map-panel {
  display: flex;
  flex-direction: column;
  background: #fffaf3;
  border-right: 1px solid var(--stone);
}

.map-panel-head {
  padding: 18px 18px 10px;
}

.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.map-chip {
  border: 1px solid var(--stone);
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-family: inherit;
  cursor: pointer;
  font-size: 0.8rem;
}

.map-chip.active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.place-list {
  list-style: none;
  margin: 0;
  padding: 0 8px 8px;
  overflow: auto;
  flex: 1;
}

.place-list li {
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
}

.place-list li:hover,
.place-list li.active {
  background: #efe4d0;
}

.place-list strong {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
}

.place-list small {
  color: var(--muted);
}

.place-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

.place-num.rust {
  background: var(--terracotta);
  color: #fff;
}

.route-bar {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--stone);
}

.route-bar p {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.route-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.route-btns button {
  border: 1px solid var(--stone);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-family: inherit;
  cursor: pointer;
}

.route-btns button:hover {
  border-color: var(--gold);
}

.map-stage {
  position: relative;
  min-height: 520px;
}

#prague-map {
  position: absolute;
  inset: 0;
}

.map-legend {
  position: absolute;
  z-index: 500;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: rgba(250, 247, 241, 0.94);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  box-shadow: 0 8px 24px rgba(14, 20, 29, 0.12);
}

.pin {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 4px;
}

.pin.gold { background: var(--gold); }
.pin.rust { background: var(--terracotta); }

#locate-me {
  border: 0;
  background: var(--navy);
  color: var(--cream);
  border-radius: 999px;
  padding: 5px 10px;
  font-family: inherit;
  cursor: pointer;
}

.leaflet-popup-content-wrapper {
  border-radius: 14px;
  font-family: "Outfit", sans-serif;
}

.leaflet-popup-content h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.popup-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.popup-actions a {
  font-size: 0.8rem;
  border: 1px solid var(--stone);
  padding: 4px 8px;
  border-radius: 999px;
}

.sight-marker {
  background: var(--navy);
  color: var(--gold-bright);
  border: 2px solid #f4ece0;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(14, 20, 29, 0.28);
}

.sight-marker.rust {
  background: var(--terracotta);
  color: #fff;
}

/* FYI */
.fyi {
  background:
    linear-gradient(180deg, rgba(14, 20, 29, 0.72), rgba(14, 20, 29, 0.86)),
    url("../images/skyline.jpg") center/cover no-repeat;
  color: var(--cream);
  padding: 90px 0;
}

.fyi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fyi-card {
  background: rgba(18, 21, 28, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.fyi-card h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th { color: var(--gold-bright); font-weight: 500; }

/* FOOTER */
footer {
  background: var(--ink);
  color: #cfc6b8;
  padding: 48px 0 28px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

footer .logo { color: var(--cream); }

.tiny {
  margin-top: 28px;
  font-size: 0.82rem;
  opacity: 0.75;
}

@media (max-width: 900px) {
  .intro, .fyi-grid, .district-grid, .walks, .map-shell {
    grid-template-columns: 1fr;
  }
  .map-panel {
    max-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--stone);
  }
  .map-stage { min-height: 420px; }
  .card.wide, .card.mid, .card.third {
    grid-column: span 12;
  }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 16px;
    background: var(--navy-deep);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--line);
  }
  .menu-btn { display: block; }
  .intro img { height: 320px; }
}

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
}
.lang-switch a {
  color: #efe6d6;
  opacity: 0.7;
  padding: 4px 6px;
  border-radius: 4px;
}
.lang-switch a.active,
.lang-switch a:hover {
  opacity: 1;
  color: var(--gold-bright);
}
@media (max-width: 768px) {
  .lang-switch {
    display: flex;
    justify-content: center;
    padding: 8px 0;
    gap: 12px;
  }
  .nav-inner {
    flex-wrap: wrap;
  }
  .lang-switch {
    order: 3;
    width: 100%;
    background: rgba(14, 20, 29, 0.95);
    border-radius: 8px;
    margin-top: 8px;
  }
}


/* Language switcher - Les-Trois-Vallees.com style */
.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  position: relative;
}
.lang-switcher {
  position: static;
  z-index: 100;
  display: flex;
  gap: 0.35rem;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(12px);
  padding: 0.25rem 0.4rem;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 106, 0.5);
  flex-wrap: nowrap;
  margin-top: 2px;
}
.lang-switcher a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 50px;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  line-height: 1;
}
.lang-switcher a img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
  box-shadow: rgba(255, 255, 255, 0.2) 0px 0px 0px 1px;
  flex-shrink: 0;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  background: var(--gold);
  color: var(--navy-deep);
}
.lang-menu-toggle {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 101;
  background: rgba(10, 22, 40, 0.85);
  border: 1px solid rgba(201, 168, 106, 0.5);
  color: white;
  border-radius: 50px;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  align-items: center;
  gap: 0.4rem;
}
.lang-menu-toggle img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: 3.2rem;
  right: 1rem;
  z-index: 100;
  background: rgba(10, 22, 40, 0.95);
  border: 1px solid rgba(201, 168, 106, 0.5);
  border-radius: 16px;
  padding: 0.5rem;
  min-width: 160px;
  backdrop-filter: blur(12px);
  flex-direction: column;
  gap: 0.3rem;
}
.lang-dropdown a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.lang-dropdown a:hover,
.lang-dropdown a.active {
  background: var(--gold);
  color: var(--navy-deep);
}
.lang-dropdown a img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}
.lang-dropdown.show {
  display: flex;
}
@media (max-width: 900px) {
  .lang-switcher { display: none; }
  .lang-menu-toggle { display: flex; position: static; margin-top: 4px; }
  .lang-dropdown { top: 100%; right: 0; left: auto; }
}

/* Food, costs, timing sections */
.food, .tips, .costs, .timing, .daily-breakdown {
  padding: 70px 0;
}
.food { background: #fff; }
.tips { background: var(--paper); }
.costs { background: var(--navy-deep); color: var(--cream); }
.timing { background: #fff; }
.daily-breakdown { background: var(--paper); }

.food h2, .tips h2, .costs h2, .timing h2, .daily-breakdown h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 8px 0 24px;
}
.grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}
.grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(196,163,90,0.22);
  border-radius: 16px;
  padding: 24px;
}
.costs .info-card { background: rgba(255,255,255,0.04); }
.info-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.tips-list { text-align: left; max-width: 800px; margin: 0 auto; }
.tips-list li { margin: 12px 0; }
.timing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}
.breakdown-table { max-width: 700px; margin: 0 auto; text-align: left; }
.breakdown-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--stone);
  gap: 12px;
}
.breakdown-row.header { font-weight: 600; color: var(--gold); }
.breakdown-row.total { font-weight: 600; border-top: 2px solid var(--gold); }
.note { text-align: center; margin-top: 20px; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 768px) {
  .hero-content {
    padding: 140px 16px 48px;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    max-width: 100%;
  }
  .hero .eyebrow {
    margin-top: 12px;
  }
  .grid.two, .grid.three, .timing-grid { grid-template-columns: 1fr; }
  .breakdown-row { grid-template-columns: 1.5fr 1fr 1fr 1fr; font-size: 0.85rem; }
}

/* Mobile navigation - Les-Trois-Vallees style */
@media (max-width: 900px) {
  .nav-inner {
    position: relative;
  }
  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--cream);
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.8rem;
    margin-left: auto;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 10px;
    left: 10px;
    background: rgba(10, 20, 35, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--line);
    gap: 2px;
    z-index: 100;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 4px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: block;
    width: 100%;
  }
  ul.nav-links.open {
    display: flex;
  }
  ul.nav-links a {
    display: block;
    width: 100%;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.info-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

