/* ============================================================
   TRAVALIX — STYLESHEET
   Colour palette (change these to re-theme the whole site):
   ============================================================ */
:root {
  --cream: #FCFAF8;        /* main background */
  --cream-alt: #f5f2ee;    /* alternating section background */
  --red: #BC4749;          /* accent (buttons, links, highlights) */
  --red-dark: #a33d3f;     /* accent hover */
  --ink: #141414;          /* headings / dark text */
  --sage: #6B705C;         /* body text / muted */
  --border: #e8e4df;       /* borders and dividers */
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right { transition: none !important; opacity: 1 !important; transform: none !important; }
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background-color: var(--red); color: var(--white); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font-family: inherit; }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Section scaffolding ---------- */
.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 10rem 0; } }
.section--alt { background: var(--cream-alt); }

.eyebrow {
  color: var(--red);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  line-height: 1.05;
  color: var(--ink);
}

.section-sub { color: var(--sage); font-size: 1rem; max-width: 36rem; margin-top: 1rem; }
@media (min-width: 768px) { .section-sub { font-size: 1.125rem; } }

.section-head { margin-bottom: 4rem; }
@media (min-width: 768px) { .section-head { margin-bottom: 6rem; } }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Scroll-reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0, 0); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(252, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border-bottom-color: var(--border);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 768px) { .navbar__inner { height: 5rem; } }

.navbar__logo {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--white); transition: color 0.3s ease;
}
@media (min-width: 768px) { .navbar__logo { font-size: 1.5rem; } }
.navbar.scrolled .navbar__logo { color: var(--ink); }

.navbar__links { display: none; }
@media (min-width: 1024px) { .navbar__links { display: flex; align-items: center; gap: 2rem; } }
.navbar__link {
  font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.9); transition: color 0.3s ease;
}
.navbar.scrolled .navbar__link { color: var(--ink); }
.navbar__link:hover { color: var(--red) !important; }

.navbar__toggle {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--white); transition: color 0.3s ease;
}
.navbar__toggle .icon { width: 1.25rem; height: 1.25rem; }
@media (min-width: 1024px) { .navbar__toggle { display: none; } }
.navbar.scrolled .navbar__toggle { color: var(--ink); }

.navbar__mobile {
  display: none;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
}
.navbar__mobile.open { display: block; }
@media (min-width: 1024px) { .navbar__mobile.open { display: none; } }
.navbar__mobile-link {
  display: block; width: 100%; text-align: left;
  padding: 0.75rem 0; font-size: 1rem; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid rgba(232, 228, 223, 0.5);
  transition: color 0.2s ease;
}
.navbar__mobile-link:last-child { border-bottom: none; }
.navbar__mobile-link:hover { color: var(--red); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}
.hero__content {
  position: relative; z-index: 10; text-align: center;
  padding: 5rem 1.5rem 0; max-width: 56rem; margin: 0 auto;
}
.hero__eyebrow {
  color: rgba(255,255,255,0.7); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.3em; font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-display); color: var(--white); font-weight: 700;
  font-size: clamp(2.25rem, 8vw, 6rem); line-height: 0.95;
  margin-bottom: 1.5rem; text-wrap: balance;
}
.hero__sub {
  color: rgba(255,255,255,0.8); font-size: 1rem; font-weight: 300;
  max-width: 42rem; margin: 0 auto 2.5rem; line-height: 1.6;
}
@media (min-width: 768px) { .hero__sub { font-size: 1.125rem; } }

.hero__search { max-width: 36rem; margin: 0 auto 2.5rem; position: relative; }
.hero__search .icon {
  position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%);
  width: 1.25rem; height: 1.25rem; color: var(--sage);
}
.hero__search input {
  width: 100%; padding: 1rem 1.25rem 1rem 3.5rem;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(4px);
  border: none; border-radius: 9999px;
  color: var(--ink); font-size: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transition: box-shadow 0.3s ease;
}
@media (min-width: 768px) { .hero__search input { padding-top: 1.25rem; padding-bottom: 1.25rem; } }
.hero__search input::placeholder { color: rgba(107, 112, 92, 0.6); }
.hero__search input:focus { outline: none; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25), 0 0 0 2px rgba(188, 71, 73, 0.5); }

.hero__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 1rem 2rem; border-radius: 9999px;
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  transition: all 0.3s ease;
}
.btn .icon { width: 1rem; height: 1rem; }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.btn--primary .icon-arrow { transition: transform 0.3s ease; }
.btn--primary:hover .icon-arrow { transform: translateX(4px); }
.btn--ghost {
  background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
  color: var(--white); border: 1px solid rgba(255,255,255,0.3);
}
.btn--ghost:hover { background: rgba(255,255,255,0.25); }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10;
  width: 2.5rem; height: 4rem;
  border: 2px solid rgba(255,255,255,0.4); border-radius: 9999px;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 0.5rem;
  transition: border-color 0.3s ease;
}
.hero__scroll:hover { border-color: rgba(255,255,255,0.7); }
.hero__scroll span {
  width: 0.375rem; height: 0.75rem; background: rgba(255,255,255,0.7); border-radius: 9999px;
  animation: bounce 1s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* ============================================================
   TRAVEL STYLES (mosaic grid)
   ============================================================ */
.styles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem; grid-auto-rows: 180px;
}
@media (min-width: 768px) {
  .styles-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; grid-auto-rows: 260px; }
}
.style-card {
  position: relative; overflow: hidden; border-radius: 0.5rem; cursor: pointer;
}
.style-card--portrait { grid-row: span 2; }
.style-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.style-card:hover img { transform: scale(1.1); }
.style-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2), transparent);
}
.style-card__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; }
@media (min-width: 768px) { .style-card__content { padding: 1.5rem; } }
.style-card__title {
  color: var(--white); font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem;
}
@media (min-width: 768px) { .style-card__title { font-size: 1.25rem; } }
.style-card__desc { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 300; }
@media (min-width: 768px) { .style-card__desc { font-size: 0.875rem; } }
.style-card::after {
  content: ""; position: absolute; inset: 0; border-radius: 0.5rem;
  border: 2px solid transparent; transition: border-color 0.3s ease; pointer-events: none;
}
.style-card:hover::after { border-color: rgba(188, 71, 73, 0.5); }

/* ============================================================
   ROUTE CARDS
   ============================================================ */
.routes-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) { .routes-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .routes-grid { grid-template-columns: repeat(3, 1fr); } }

.route-card {
  display: block; background: var(--white); border-radius: 0.5rem; overflow: hidden;
  border: 1px solid rgba(232, 228, 223, 0.5);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.5s ease;
}
.route-card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }

.route-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.route-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.route-card:hover .route-card__media img { transform: scale(1.05); }

.route-card__badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; gap: 0.5rem; }
.badge {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
  padding: 0.375rem 0.75rem; border-radius: 9999px;
}
.badge--style { background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); color: var(--ink); }
.badge--easy { background: #d1fae5; color: #065f46; }
.badge--moderate { background: #fef3c7; color: #92400e; }
.badge--hard { background: #fee2e2; color: #991b1b; }

.route-card__body { padding: 1.25rem; }
@media (min-width: 768px) { .route-card__body { padding: 1.5rem; } }
.route-card__title {
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.75rem; transition: color 0.3s ease;
}
@media (min-width: 768px) { .route-card__title { font-size: 1.25rem; } }
.route-card:hover .route-card__title { color: var(--red); }

.route-card__meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; font-size: 13px; color: var(--sage); }
.route-card__meta span { display: inline-flex; align-items: center; gap: 0.375rem; }
.route-card__meta .icon { width: 0.875rem; height: 0.875rem; }

.route-card__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--red); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.route-card__cta .icon { width: 0.875rem; height: 0.875rem; transition: transform 0.3s ease; }
.route-card:hover .route-card__cta .icon { transform: translate(2px, -2px); }

/* ============================================================
   DISCOVERY FILTERS
   ============================================================ */
.filters-head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) {
  .filters-head { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 4rem; }
}
.filters-clear {
  display: none; align-items: center; gap: 0.5rem;
  color: var(--red); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.filters-clear.show { display: inline-flex; }
.filters-clear:hover { text-decoration: underline; }
.filters-clear .icon { width: 0.875rem; height: 0.875rem; }

.filter-groups { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 4rem; }
.filter-group__label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--sage); font-weight: 600; margin-bottom: 0.75rem;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  padding: 0.5rem 1rem; border-radius: 9999px;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  background: var(--white); color: var(--sage);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.pill:hover { border-color: rgba(188, 71, 73, 0.4); color: var(--ink); }
.pill.active { background: var(--red); color: var(--white); border-color: var(--red); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

.filters-empty { text-align: center; padding: 5rem 0; }
.filters-empty .icon { width: 2.5rem; height: 2.5rem; color: rgba(107, 112, 92, 0.4); margin: 0 auto 1rem; }
.filters-empty p:first-of-type { color: var(--sage); font-size: 1.125rem; }
.filters-empty p:last-of-type { color: rgba(107, 112, 92, 0.6); font-size: 0.875rem; margin-top: 0.25rem; }

/* ============================================================
   DESTINATIONS GRID
   ============================================================ */
.dest-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dest-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.dest-card { position: relative; overflow: hidden; border-radius: 0.5rem; cursor: pointer; aspect-ratio: 4 / 3; }
@media (min-width: 640px) {
  .dest-card--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
}
.dest-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.dest-card:hover img { transform: scale(1.05); }
.dest-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2), transparent);
}
.dest-card__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; }
@media (min-width: 768px) { .dest-card__content { padding: 1.75rem; } }
.dest-card__title {
  font-family: var(--font-display); color: var(--white);
  font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .dest-card__title { font-size: 1.5rem; } }
.dest-card__desc { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin-bottom: 0.75rem; max-width: 28rem; line-height: 1.6; }
.dest-card__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 12px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }
.dest-card__meta span { display: inline-flex; align-items: center; gap: 0.375rem; }
.dest-card__meta .icon { width: 0.75rem; height: 0.75rem; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.about-media { position: relative; }
.about-media__frame { aspect-ratio: 3 / 4; border-radius: 0.5rem; overflow: hidden; }
.about-media__frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media__stat {
  display: none;
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--red); color: var(--white);
  padding: 1rem 1.5rem; border-radius: 0.5rem;
}
@media (min-width: 768px) { .about-media__stat { display: block; } }
.about-media__stat p:first-child { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.about-media__stat p:last-child { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.8); }

.about-copy .section-title { margin-bottom: 2rem; }
.about-copy__text { display: flex; flex-direction: column; gap: 1.25rem; color: var(--sage); font-size: 1rem; line-height: 1.6; }
.about-copy__sig { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.about-copy__sig p:first-child { font-family: var(--font-display); color: var(--ink); font-weight: 600; font-size: 1.125rem; }
.about-copy__sig p:last-child { color: var(--sage); font-size: 0.875rem; margin-top: 0.25rem; }

/* ============================================================
   PLANNING SECTION
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 6rem; } }
.service-card {
  background: var(--white); padding: 1.25rem; border-radius: 0.5rem; text-align: center;
  border: 1px solid rgba(232, 228, 223, 0.5);
}
@media (min-width: 768px) { .service-card { padding: 1.5rem; } }
.service-card .icon { width: 1.5rem; height: 1.5rem; color: var(--red); margin: 0 auto 0.75rem; }
.service-card__title { font-family: var(--font-display); color: var(--ink); font-weight: 600; font-size: 1rem; margin-bottom: 0.25rem; }
.service-card__desc { color: var(--sage); font-size: 13px; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 42rem; margin: 0 auto; }
.form-card {
  background: var(--white); border-radius: 0.5rem;
  border: 1px solid rgba(232, 228, 223, 0.5);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem;
}
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field label {
  display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--sage); font-weight: 600; margin-bottom: 0.5rem;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: var(--cream);
  border: 1px solid var(--border); border-radius: 0.375rem;
  padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--ink);
  transition: box-shadow 0.2s ease;
}
.form-field textarea { resize: none; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(107, 112, 92, 0.4); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; box-shadow: 0 0 0 2px rgba(188, 71, 73, 0.3);
}

.btn--submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--red); color: var(--white);
  padding: 1rem; border-radius: 0.375rem;
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  transition: background 0.3s ease, opacity 0.3s ease;
}
.btn--submit:hover { background: var(--red-dark); }
.btn--submit:disabled { opacity: 0.5; cursor: default; }
.btn--submit .icon { width: 1rem; height: 1rem; }

.form-success {
  text-align: center; padding: 4rem 1.5rem;
  background: var(--white); border-radius: 0.5rem;
  border: 1px solid rgba(232, 228, 223, 0.5);
}
.form-success .icon { width: 3rem; height: 3rem; color: var(--red); margin: 0 auto 1rem; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); font-weight: 600; margin-bottom: 0.5rem; }
.form-success p { color: var(--sage); }
.form-success button { margin-top: 1.5rem; color: var(--red); font-size: 0.875rem; font-weight: 500; text-decoration: underline; }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   SOCIAL SECTION
   ============================================================ */
.social-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .social-grid { grid-template-columns: repeat(3, 1fr); } }
.social-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem; background: var(--white); border-radius: 0.5rem;
  border: 1px solid rgba(232, 228, 223, 0.5);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.social-card:hover { border-color: rgba(188, 71, 73, 0.3); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.social-card__icon { color: var(--ink); margin-bottom: 1rem; transition: color 0.3s ease; }
.social-card__icon svg { width: 1.75rem; height: 1.75rem; }
.social-card:hover .social-card__icon { color: var(--red); }
.social-card__name { font-family: var(--font-display); color: var(--ink); font-weight: 600; font-size: 1.125rem; margin-bottom: 0.25rem; }
.social-card__handle { color: var(--red); font-size: 13px; font-weight: 500; margin-bottom: 0.75rem; }
.social-card__desc { color: var(--sage); font-size: 0.875rem; line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--white); }
.footer__inner { padding: 4rem 0; }
@media (min-width: 768px) { .footer__inner { padding: 6rem 0; } }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.footer__brand p:first-child { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.footer__brand p:last-child { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.6; }

.footer__heading {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4); font-weight: 600; margin-bottom: 1.25rem;
}
.footer__list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer__list button, .footer__list a {
  color: rgba(255,255,255,0.6); font-size: 0.875rem;
  transition: color 0.2s ease; text-align: left;
}
.footer__list button:hover, .footer__list a:hover { color: var(--red); }

.footer__news-desc { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 1rem; }
.footer__news-form { display: flex; }
.footer__news-form input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.375rem 0 0 0.375rem;
  padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--white);
}
.footer__news-form input::placeholder { color: rgba(255,255,255,0.3); }
.footer__news-form input:focus { outline: none; box-shadow: 0 0 0 1px rgba(188, 71, 73, 0.5); }
.footer__news-form button {
  background: var(--red); padding: 0 1rem; border-radius: 0 0.375rem 0.375rem 0;
  display: flex; align-items: center; color: var(--white);
  transition: background 0.3s ease;
}
.footer__news-form button:hover { background: var(--red-dark); }
.footer__news-form .icon { width: 1rem; height: 1rem; }
.footer__news-ok { display: flex; align-items: center; gap: 0.5rem; color: var(--red); font-size: 0.875rem; }
.footer__news-ok .icon { width: 1rem; height: 1rem; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; } }
.footer__bottom p { color: rgba(255,255,255,0.3); font-size: 13px; }
.footer__socials { display: flex; gap: 1.5rem; }
.footer__socials a { color: rgba(255,255,255,0.3); font-size: 13px; transition: color 0.2s ease; }
.footer__socials a:hover { color: var(--red); }

/* ============================================================
   ROUTE DETAIL PAGE
   ============================================================ */
.rd-hero {
  position: relative; height: 60vh;
  display: flex; align-items: flex-end; overflow: hidden;
}
@media (min-width: 768px) { .rd-hero { height: 70vh; } }
.rd-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rd-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3), transparent);
}
.rd-hero__content { position: relative; z-index: 10; width: 100%; padding-bottom: 3rem; }
@media (min-width: 768px) { .rd-hero__content { padding-bottom: 4rem; } }
.rd-hero__back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.7); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 1rem; transition: color 0.2s ease;
}
.rd-hero__back:hover { color: var(--white); }
.rd-hero__back .icon { width: 0.875rem; height: 0.875rem; }
.rd-hero__title {
  font-family: var(--font-display); color: var(--white); font-weight: 700;
  font-size: clamp(1.875rem, 6vw, 3.75rem); line-height: 1.05; margin-bottom: 0.75rem;
}
.rd-hero__sub { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 42rem; }
@media (min-width: 768px) { .rd-hero__sub { font-size: 1.125rem; } }

.rd-layout { padding: 4rem 0 6rem; }
@media (min-width: 768px) { .rd-layout { padding: 6rem 0; } }
.rd-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .rd-grid { grid-template-columns: 2fr 1fr; gap: 4rem; } }

.rd-main { display: flex; flex-direction: column; gap: 4rem; }
@media (min-width: 768px) { .rd-main { gap: 6rem; } }

.rd-h2 {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: 1.5rem; margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .rd-h2 { font-size: 1.875rem; margin-bottom: 2rem; } }
.rd-h2--icon { display: flex; align-items: center; gap: 0.75rem; }
.rd-h2--icon .icon { width: 1.25rem; height: 1.25rem; color: var(--red); }

.rd-body-text { color: var(--sage); font-size: 1rem; line-height: 1.6; }

.rd-budget-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .rd-budget-grid { grid-template-columns: repeat(4, 1fr); } }
.rd-budget-cell {
  background: var(--white); padding: 1.25rem; border-radius: 0.5rem;
  border: 1px solid rgba(232, 228, 223, 0.5); text-align: center;
}
.rd-budget-cell p:first-child {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--sage); font-weight: 600; margin-bottom: 0.5rem;
}
.rd-budget-cell p:last-child { font-family: var(--font-display); color: var(--ink); font-weight: 700; font-size: 1.125rem; }

.rd-map {
  background: var(--cream-alt); border-radius: 0.5rem; text-align: center;
  padding: 2rem; border: 1px solid rgba(232, 228, 223, 0.5);
}
@media (min-width: 768px) { .rd-map { padding: 3rem; } }
.rd-map .icon { width: 2.5rem; height: 2.5rem; color: rgba(107, 112, 92, 0.4); margin: 0 auto 0.75rem; }
.rd-map p:first-of-type { color: var(--sage); font-weight: 500; }
.rd-map p:last-of-type { color: rgba(107, 112, 92, 0.6); font-size: 0.875rem; margin-top: 0.25rem; }

.rd-itinerary-item {
  position: relative; padding-left: 3rem; padding-bottom: 2.5rem;
  border-left: 2px solid var(--border);
}
@media (min-width: 768px) { .rd-itinerary-item { padding-left: 4rem; } }
.rd-itinerary-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.rd-itinerary-item::before {
  content: ""; position: absolute; left: 0; top: 0; transform: translateX(-50%);
  width: 1rem; height: 1rem; border-radius: 9999px;
  background: var(--red); border: 4px solid var(--cream);
}
.rd-itinerary-item__day {
  font-family: var(--font-display); color: var(--red);
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 600; margin-bottom: 0.25rem;
}
.rd-itinerary-item__title { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); font-weight: 600; margin-bottom: 0.5rem; }
.rd-itinerary-item__desc { color: var(--sage); font-size: 0.875rem; line-height: 1.6; }

.rd-panel {
  background: var(--white); padding: 1.5rem; border-radius: 0.5rem;
  border: 1px solid rgba(232, 228, 223, 0.5);
  display: flex; flex-direction: column; gap: 1rem;
  color: var(--sage); font-size: 0.875rem; line-height: 1.6;
}
@media (min-width: 768px) { .rd-panel { padding: 2rem; } }

.rd-tip {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--white); padding: 1rem; border-radius: 0.5rem;
  border: 1px solid rgba(232, 228, 223, 0.5); margin-bottom: 0.75rem;
}
.rd-tip:last-child { margin-bottom: 0; }
.rd-tip__num { color: var(--red); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; margin-top: 2px; }
.rd-tip p { color: var(--sage); font-size: 0.875rem; line-height: 1.6; }

.rd-faqs { background: var(--white); border-radius: 0.5rem; border: 1px solid rgba(232, 228, 223, 0.5); padding: 0 1.5rem; }
.rd-faq { border-bottom: 1px solid var(--border); }
.rd-faq:last-child { border-bottom: none; }
.rd-faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; text-align: left;
  font-weight: 500; color: var(--ink); font-size: 1rem;
}
.rd-faq__q .icon { width: 1rem; height: 1rem; color: var(--sage); }
.rd-faq__a { display: none; color: var(--sage); font-size: 0.875rem; line-height: 1.6; padding-bottom: 1.25rem; }
.rd-faq.open .rd-faq__a { display: block; }

.rd-sidebar-sticky { position: static; }
@media (min-width: 1024px) { .rd-sidebar-sticky { position: sticky; top: 7rem; } }
.rd-facts {
  background: var(--white); border-radius: 0.5rem;
  border: 1px solid rgba(232, 228, 223, 0.5);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem;
}
.rd-facts h3 {
  font-family: var(--font-display); font-size: 1.125rem; color: var(--ink);
  font-weight: 600; border-bottom: 1px solid var(--border); padding-bottom: 1rem;
}
.rd-fact { display: flex; align-items: flex-start; gap: 0.75rem; }
.rd-fact .icon { width: 1rem; height: 1rem; color: var(--red); margin-top: 4px; }
.rd-fact p:first-of-type { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--sage); font-weight: 600; }
.rd-fact p:last-of-type { color: var(--ink); font-size: 0.875rem; font-weight: 500; }

.rd-cta {
  width: 100%; background: var(--red); color: var(--white);
  padding: 1rem; border-radius: 0.5rem;
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  transition: background 0.3s ease;
}
.rd-cta:hover { background: var(--red-dark); }

.rd-notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.rd-notfound h1 { font-family: var(--font-display); font-size: 1.875rem; color: var(--ink); font-weight: 700; margin-bottom: 1rem; }
.rd-notfound a { color: var(--red); font-weight: 500; }
.rd-notfound a:hover { text-decoration: underline; }

/* Navbar on route pages sits over a dark hero, same as home */

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ======================= HERO SEARCH RESULTS =======================
   Styles for the live route search in the hero section.
   This replaces the six separate patch files from earlier — delete
   all of those from css/style.css and paste this single block instead.
   ==================================================================== */

/* ---- Container ---- */
.hero-search-results {
  display: none;
  width: 100%;
  max-width: 640px;
  margin: 1.25rem auto 0;
  text-align: left;
}

.hero-search-results.show {
  display: block;
  margin-bottom: 1.75rem; /* gap before the buttons below */
}

.hero-search-results__label {
  color: #fff;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.75rem;
  font-family: inherit;
}

/* ---- Results grid: capped column width so cards don't stretch full-width
   when there are only 1-2 results ---- */
.hero-search-results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 220px));
  justify-content: start;
  gap: 0.75rem;
  max-height: 360px;
  overflow-y: auto;
}

/* ---- Compact route cards inside the results (smaller than the main routes grid) ---- */
.hero-search-results__grid .route-card {
  border-radius: 10px;
  overflow: hidden;
}

.hero-search-results__grid .route-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.hero-search-results__grid .route-card__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.hero-search-results__grid .route-card__badges {
  flex-wrap: wrap;
  padding: 0.5rem;
  gap: 0.3rem;
}

.hero-search-results__grid .badge {
  font-size: 0.6rem;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
}

.hero-search-results__grid .route-card__body {
  padding: 0.6rem 0.75rem;
}

.hero-search-results__grid .route-card__title {
  font-size: 0.9rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.hero-search-results__grid .route-card__meta {
  font-size: 0.7rem;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.hero-search-results__grid .route-card__meta .icon {
  width: 12px;
  height: 12px;
}

.hero-search-results__grid .route-card__cta {
  font-size: 0.75rem;
}

/* ---- Destination result cards (one-off places with no dedicated route page) ---- */
.dest-result-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.dest-result-card:hover {
  transform: translateY(-2px);
}

.dest-result-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.dest-result-card__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.dest-result-card__body {
  padding: 0.6rem 0.75rem;
}

.dest-result-card__title {
  font-size: 0.9rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  color: #1a1a1a;
}

.dest-result-card__cta {
  font-size: 0.75rem;
  color: #b5443c;
  font-weight: 600;
}

/* ---- "Not found" empty state ---- */
.hero-search-results__empty {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  color: #fff;
}

.hero-search-results__empty p,
.hero-search-results__empty p strong {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-search-results__empty p:last-child {
  margin-bottom: 0;
}

.hero-search-results__empty a {
  color: #f2b3ab !important;
  font-weight: 600;
  text-decoration: underline;
}

/* ======================= TRAVEL STYLES GRID — TIDY UP =======================
   Paste this at the bottom of css/style.css, after your hero-search-results
   block. The original grid used a portrait/landscape masonry layout sized
   for 8 cards — with 6 cards it left dead space and uneven heights. This
   overrides it with a simple, responsive, evenly-sized grid.
   =============================================================================== */

.styles-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  grid-auto-rows: auto !important;
  gap: 1.5rem !important;
}

.style-card,
.style-card.style-card--portrait {
  position: relative !important;
  grid-column: auto !important;
  grid-row: auto !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  border-radius: 14px;
  overflow: hidden;
}

.style-card img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ======================= ROUTE PAGE — OUR RECOMMENDATIONS (v2) =======================
   Replace the previous "ROUTE PAGE — OUR RECOMMENDATIONS" block in css/style.css
   with this one. Fixes the name/type badge overlap on long names, and adds
   styling for the card photo and "View on Google Maps" link.
   ========================================================================================= */

.rd-suggestions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.rd-suggestion {
  background: #faf8f5;
  border: 1px solid #e5e0d8;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rd-suggestion__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.rd-suggestion__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-suggestion__body {
  padding: 1.25rem;
}

/* Name and type badge now stack instead of sitting side-by-side —
   this is what was causing long names to collide with the badge. */
.rd-suggestion__header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.rd-suggestion__name {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.3;
}

.rd-suggestion__type {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b5443c;
  font-weight: 600;
  white-space: normal;
}

.rd-suggestion__location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #777;
  margin: 0 0 0.5rem;
}

.rd-suggestion__location .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.rd-suggestion__desc {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  color: #444;
}

.rd-suggestion__maps {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b5443c;
  text-decoration: none;
}

.rd-suggestion__maps:hover {
  text-decoration: underline;
}

/* ======================= ROUTE PAGE — BUDGET QUICK REFERENCE =======================
   REPLACES the previous "ROUTE PAGE — BUDGET BREAKDOWN FIX" block in css/style.css
   (delete that one — its class names are no longer used). This styles the new,
   simpler single-card "quick reference" list instead of four separate boxes.
   ======================================================================================= */

.rd-budget-quickref {
  background: #faf8f5;
  border: 1px solid #e5e0d8;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
}

.rd-budget-line {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.rd-budget-line:last-child {
  margin-bottom: 0;
}

.rd-budget-line__label {
  font-weight: 700;
  color: #b5443c;
}

.rd-budget-line__value {
  font-style: italic;
  color: #333;
}