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

:root {
  --black: #0d0d0d;
  --gold: #f0c040;
  --white: #f5f0e8;
  --muted: #888;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  /*
    430px caps the layout at a comfortable mobile reading width.
    The site is designed mobile-first as most users will arrive
    from Instagram or Google Maps on their phone, mid-street.
  */
  max-width: 430px;
  margin: 0 auto;
}

#landing-nav {
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
  width: 100%;
  background: var(--black);
}

.landing-logo img{
  height: 40px;
  display: block;
}

nav {
  padding: 20px 24px;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  height: 28px;
  display: block;
}

.page-navigation {
  display: flex;
  gap: 10px;
}

.page-navigation a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid #444;
  border-radius: 8px;
}

.page-navigation a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

#landing {
  padding: 80px 80px 60px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.landing-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.35);
  transform: scale(1.05);
  z-index: 0;
}

/* Ensure all direct children of #landing sit above the background */
#landing>*:not(.landing-bg) {
  position: relative;
  z-index: 1;
}

#landing h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  line-height: 0.95;
  color: var(--gold);
  letter-spacing: 2px;
  text-align: center;
}

#landing .tour-tagline {
  margin-top: 16px;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.tour-entry-actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 220px;
  align-self: center;
}

.action-discover {
  display: block;
  text-align: center;
  padding: 13px 24px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #555;
  border-radius: 40px 40px 0px 0px;
  color: var(--white);
}

.action-about {
  display: block;
  text-align: center;
  padding: 13px 24px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #555;
  border-radius: 0px 0px 40px 40px;
  color: var(--white);
}

.action-return {
  display: block;
  text-align: center;
  padding: 13px 24px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #555;
  border-radius: 8px;
  color: var(--white);
}

/* .action-return:focus, :hover {
  border-color: var(--gold);
  color: var(--gold);
} */

/* Gold fill signals the primary action without needing a label like "recommended" */
.action-discover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

section {
  padding: 60px 24px;
}

/* Slight background shift separates the routes section from landing
   without a hard border which keeps the page feeling like one continuous scroll */
#discover {
  background: #0a0a0a;
}

.neighbourhood-eyebrow {
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.tour-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #aaa;
}

.walking-routes {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.walking-route {
  border: 1px solid #222;
  padding: 20px;
  border-radius: 8px;
}

.walking-route:hover {
  border-color: var(--gold);
  background: #111;
}

.route-index {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.walking-route h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.route-details {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--muted);
}

.tour-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 32px;
}

.tour-fact {
  border: 1px solid #222;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact-figure {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: var(--gold);
  line-height: 1;
}

.fact-name {
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

footer {
  border-top: 1px solid #1a1a1a;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

footer p {
  font-size: 1rem;
  color: #444;
  letter-spacing: 1px;
}

/* Route detail page — stop-by-stop breakdown.
   Mirrors the walking-route card pattern from discover.html
   so the visual language stays consistent across pages. */

#walking-stops {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.walking-stop {
  border: 1px solid #222;
  padding: 20px;
  position: relative;
}

.walking-stop.active {
  border-color: var(--gold);
  background: #111;
}

/* Background Darkener Overlay */
.walking-stop::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 99;
  display: none;
}

.walking-stop.active::before {
  display: block;
}

/* Centered Hover Modal */
.restaurant-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 340px;
  background: #0a0a0a;
  border: 1px solid var(--gold);
  border-top: 4px solid var(--gold);
  padding: 32px 24px;
  z-index: 100;
  display: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.95);
  border-radius: 8px;
  text-align: center;
}

.walking-stop:hover {
  border-color: var(--gold);
  cursor: pointer;
}

.walking-stop.active .restaurant-popup {
  display: block;
}

.restaurant-popup h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 24px;
  border-bottom: 1px solid #333;
  padding-bottom: 16px;
  font-weight: normal;
}

.restaurant-popup p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
}

.restaurant-popup p:last-child {
  margin-bottom: 0px;
}

.restaurant-popup strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  font-weight: normal;
}

.stop-index {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.walking-stop h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.stop-details {
  display: flex;
  gap: 14px;
  font-size: 1rem;
  color: var(--muted);
}

/* discover.html: route cards are now <a> tags so they need
   to shed default anchor styling while keeping the card look */
a.walking-route {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* About Page Specific Styles */
.hero {
  padding: 60px 24px 20px;
  text-align: center;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero p {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto;
}

.missionbox {
  background: #111;
  border: 1px solid #222;
  margin: 24px;
  padding: 32px 24px;
  text-align: center;
  border-radius: 8px;
}

.missionbox h2 {
  font-size: 1rem;
}

.statswrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 24px;
  margin-top: 10px;
}

.factbox {
  flex: 1 1 calc(50% - 6px);
  background: #0a0a0a;
  border-left: 3px solid var(--gold);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
}

.factbox .fact-figure {
  font-size: 1rem;
  margin-bottom: 4px;
}

.factbox .fact-name {
  color: #777;
}

.teambox {
  padding: 60px 24px;
}

.teamboxinner {
  border: 1px solid #333;
  padding: 24px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.teamboxinner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
}

/* .about-image {
  width: 100%;
  height: auto;
  margin-top: 24px;
  display: block;
} */

/* MAP STUFF */
/* route.html: map height */
#map {
  height: 540px;
}

.map-marker-popup {
  text-align: center;
  color: black;
}


/* Index button hover styles */
.action-discover:hover {
  border-color: var(--black);
  cursor: pointer;
}

.action-about:hover {
  border-color: var(--gold);
  cursor: pointer;
}

/* discover.html image carousels style */
.carousel {
  margin-top: 16px;
  position: relative;
}

.carousel-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
}

.carousel-title {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 8px;
  letter-spacing: 1px;
}

.carousel-credit {
  position: absolute;
  bottom: 28px;
  right: 10px;
  font-size: 0.8rem;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 6px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.carousel-dots span {
  width: 6px;
  height: 6px;
  background: #555;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots span.active {
  background: var(--gold);
}

.route-description p {
  font-size: 0.9rem;
  margin-top: 5px;
}