/* ==========================================================
   Midway Barns & Barrel Tours — site styles
   Brand palette:
     Barrel brown   #5B3F2A   logo, headings, footer
     Saddle taupe   #7C6A53   header band
     Bourbon amber  #C68A3F   buttons, links, accents
     Cream          #F1E8D6   page background
     Charcoal       #2B2620   body text
     Bluegrass      #47603F   secondary accent
   ========================================================== */

:root {
  --brown: #5B3F2A;
  --taupe: #7C6A53;
  --amber: #C68A3F;
  --amber-dark: #A96F2B;
  --cream: #F1E8D6;
  --cream-light: #FAF6EC;
  --charcoal: #2B2620;
  --green: #47603F;
  --gold-soft: #E4C79A;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Lora", Georgia, serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--brown);
  line-height: 1.2;
  font-weight: 700;
}

a { color: var(--amber-dark); }

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

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- top band (mirrors The Brown Barrel) ---------- */

.topband {
  background: var(--taupe);
  color: var(--cream-light);
  text-align: center;
  font-size: 14.5px;
  padding: 8px 16px;
  letter-spacing: 0.4px;
}

.topband a { color: var(--gold-soft); text-decoration: none; }
.topband a:hover { text-decoration: underline; }

/* ---------- header / nav ---------- */

.site-header {
  background: var(--cream-light);
  border-bottom: 1px solid rgba(91, 63, 42, 0.18);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--brown);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.brand-name small {
  display: block;
  font-family: "Lora", Georgia, serif;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--taupe);
}

nav.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  flex-wrap: wrap;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--brown);
  font-size: 15.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a:focus-visible {
  border-bottom-color: var(--amber);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: "Lora", Georgia, serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 3px;
  border: 2px solid var(--amber-dark);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-solid {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}

.btn-solid:hover, .btn-solid:focus-visible {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
}

.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}

.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--brown);
  color: var(--cream-light);
}

/* ---------- hero ---------- */

.hero {
  text-align: center;
  padding: 72px 24px 56px;
  background:
    linear-gradient(rgba(241, 232, 214, 0.35), rgba(241, 232, 214, 0.35)),
    var(--cream);
  border-bottom: 4px solid var(--amber);
}

.hero img.badge {
  width: 190px;
  height: 190px;
  margin: 0 auto 28px;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(43, 38, 32, 0.18);
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  margin-bottom: 18px;
}

.hero p.lede {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 19px;
  color: #4a4036;
}

.hero .cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- route rail (signature element) ---------- */

.route {
  padding: 58px 0 30px;
}

.route h2 { text-align: center; font-size: 30px; margin-bottom: 6px; }

.route p.sub {
  text-align: center;
  color: var(--taupe);
  margin-bottom: 44px;
  font-style: italic;
}

.rail {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 10px;
}

.rail::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}

.stop {
  position: relative;
  width: 24%;
  text-align: center;
}

.stop .dot {
  width: 26px;
  height: 26px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--cream-light);
  border: 4px solid var(--brown);
  position: relative;
  z-index: 1;
}

.stop.start .dot, .stop.end .dot { background: var(--amber); }

.stop h3 { font-size: 17px; margin-bottom: 4px; }

.stop p { font-size: 14px; color: var(--taupe); line-height: 1.5; }

/* ---------- tour cards ---------- */

.tours {
  padding: 40px 0 70px;
}

.tours h2 { text-align: center; font-size: 34px; margin-bottom: 44px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--cream-light);
  border: 1px solid rgba(91, 63, 42, 0.22);
  border-top: 5px solid var(--amber);
  border-radius: 4px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}

.card.green { border-top-color: var(--green); }

.card h3 { font-size: 23px; margin-bottom: 10px; }

.card .meta {
  font-size: 13.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 14px;
}

.card p { flex-grow: 1; margin-bottom: 22px; font-size: 16px; }

.card .btn { text-align: center; }

/* ---------- depart section ---------- */

.depart {
  background: var(--brown);
  color: var(--cream);
  padding: 64px 0;
}

.depart .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.depart h2 { color: var(--cream-light); font-size: 32px; margin-bottom: 16px; }

.depart p { margin-bottom: 14px; color: #E8DEC9; }

.depart a { color: var(--gold-soft); }

.depart .addr {
  border-left: 3px solid var(--amber);
  padding-left: 18px;
  font-style: italic;
}

.depart .map-slot {
  background: rgba(241, 232, 214, 0.08);
  border: 1px dashed rgba(228, 199, 154, 0.5);
  border-radius: 4px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  font-style: italic;
  font-size: 15px;
  text-align: center;
  padding: 20px;
}

/* ---------- FAQ ---------- */

.faq { padding: 64px 0; max-width: 760px; margin: 0 auto; }

.faq h2 { text-align: center; font-size: 32px; margin-bottom: 36px; }

.faq details {
  border-bottom: 1px solid rgba(91, 63, 42, 0.25);
  padding: 16px 4px;
}

.faq summary {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  color: var(--brown);
  cursor: pointer;
  font-weight: 700;
}

.faq details p { padding-top: 10px; color: #4a4036; }

/* ---------- footer ---------- */

footer {
  background: var(--charcoal);
  color: #C9BEA9;
  padding: 44px 0 34px;
  font-size: 15px;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

footer .foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

footer .foot-brand img { width: 54px; height: 54px; border-radius: 50%; }

footer a { color: var(--gold-soft); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- tour detail page ---------- */

.tour-hero {
  background: var(--brown);
  color: var(--cream-light);
  text-align: center;
  padding: 56px 24px 48px;
  border-bottom: 4px solid var(--amber);
}

.tour-hero h1 { color: var(--cream-light); font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 10px; }

.tour-hero p { color: var(--gold-soft); font-style: italic; font-size: 18px; }

.glance {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: var(--cream-light);
  border-bottom: 1px solid rgba(91, 63, 42, 0.2);
}

.glance div {
  padding: 18px 34px;
  text-align: center;
  border-right: 1px solid rgba(91, 63, 42, 0.15);
}

.glance div:last-child { border-right: none; }

.glance .label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--taupe);
}

.glance .value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  color: var(--brown);
  font-weight: 700;
}

.tour-body { padding: 56px 0; }

.tour-body .wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.tour-body h2 { font-size: 26px; margin: 34px 0 14px; }
.tour-body h2:first-child { margin-top: 0; }

.tour-body ul { padding-left: 22px; margin-bottom: 10px; }
.tour-body li { margin-bottom: 8px; }

.itinerary { list-style: none; padding-left: 0; }

.itinerary li {
  padding: 12px 0 12px 26px;
  border-left: 3px solid var(--amber);
  margin-left: 8px;
  position: relative;
}

.itinerary li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 20px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--brown);
}

.itinerary .time {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
}

.book-panel {
  background: var(--cream-light);
  border: 1px solid rgba(91, 63, 42, 0.25);
  border-top: 5px solid var(--amber);
  border-radius: 4px;
  padding: 28px;
  position: sticky;
  top: 20px;
  text-align: center;
}

.book-panel .price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  color: var(--brown);
  font-weight: 700;
}

.book-panel .per {
  font-size: 14px;
  color: var(--taupe);
  margin-bottom: 18px;
}

.book-panel .fine {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--taupe);
}

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .site-header .wrap { flex-direction: column; }
  .rail { flex-wrap: wrap; gap: 26px; }
  .rail::before { display: none; }
  .stop { width: 46%; }
  .depart .wrap { grid-template-columns: 1fr; }
  .tour-body .wrap { grid-template-columns: 1fr; }
  .book-panel { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
