/* ==========================================================
   AlbTour - main stylesheet
   Colors are stored as variables at the top so they are easy to change.
   ========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  /* Theme: Option 1, Coast and Sand */
  --sea: #2a7d8f;
  --sea-dark: #0b4f6c;
  --stone: #1d2b33;
  --sand: #f5efe3;
  --terracotta: #e07a3f;
  --olive: #6b7d4e;
  --white: #ffffff;
  --muted: #5d6266;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Basic reset */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--stone);
  background: var(--sand);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { line-height: 1.2; margin-top: 0; }
h2 { font-size: 2rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* ---------- Header and navigation ---------- */
.site-header {
  background: var(--sea-dark);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}
.logo span { color: var(--terracotta); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 1rem;
  cursor: pointer;
}

.site-nav { display: flex; gap: 22px; }
.site-nav a {
  text-decoration: none;
  color: var(--sand);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.active { border-bottom-color: var(--terracotta); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0b4f6c, #2a7d8f);
  color: var(--white);
  padding: 90px 0;
}
.hero-content { max-width: 680px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffd6c2;
  margin-bottom: 12px;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 18px; }
.hero-text { font-size: 1.1rem; opacity: 0.95; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: #c9652f; }
.btn-light { background: var(--white); color: var(--sea-dark); }

/* ---------- Sections and cards ---------- */
.section { padding: 70px 0; }
.section-tint { background: var(--sand); }
.section-intro { color: var(--muted); margin-bottom: 30px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}
.card-link:hover { transform: translateY(-4px); }
.card p { color: var(--muted); margin: 0; }

/* Colored placeholder blocks until real photos are added */
.card-art {
  height: 140px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.art-coast { background: linear-gradient(160deg, #7fd3dc, #0f6e7a); }
.art-mountain { background: linear-gradient(160deg, #9aa7b0, #3d4f5c); }
.art-city { background: linear-gradient(160deg, #f0b98d, #c4572e); }

/* ---------- Call to action ---------- */
.cta {
  background: var(--sea-dark);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.cta p { opacity: 0.9; }
.cta-inner h2 { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--sea-dark);
  color: #d6d6d6;
  padding-top: 50px;
}
.site-footer h3 { color: var(--white); font-size: 1.1rem; }
.site-footer a { color: #ffd6c2; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.footer-bottom {
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid #444;
  font-size: 0.9rem;
}

/* ---------- Mobile layout ---------- */
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid #eee; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 50px 0; }
  .detail-grid { grid-template-columns: 1fr; }
}

/* ---------- Tours list and detail pages (Step 2) ---------- */
.page-intro {
  background: var(--sand);
  padding: 50px 0 30px;
}
.page-intro h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-intro p { color: var(--muted); margin: 0; max-width: 680px; }

.tour-grid { margin-top: 0; }
.tour-card { display: block; }
.tour-meta {
  color: var(--terracotta);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}
.tour-price { margin-top: 14px; margin-bottom: 0; color: var(--stone); }
.tour-price span { color: var(--muted); font-size: 0.9rem; }

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

.detail-art {
  height: 280px;
  margin: 20px 0 24px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 30px 0;
}
.detail-grid ul { margin: 0; padding-left: 20px; color: var(--muted); }
.detail-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.detail-cta .btn-outline { color: var(--sea-dark); }

/* ---------- Text-heavy pages: About and Visitor Info (Step 3) ---------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 40px; }
.prose p { color: var(--stone); }
.prose .cards { margin-top: 16px; }
.check-list {
  padding-left: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sea);
  font-weight: 700;
}

/* ---------- Google reviews (Step 3b) ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 24px 0 0;
}
.review-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.review-stars { color: #f4b400; letter-spacing: 2px; margin-bottom: 10px; }
.review-card blockquote {
  margin: 0 0 14px;
  color: var(--stone);
  font-size: 0.97rem;
}
.review-card figcaption {
  margin-top: auto;
  font-weight: 700;
  color: var(--sea-dark);
  font-size: 0.9rem;
}
.reviews-more-wrap { margin-top: 26px; }
.review-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}
.review-photos img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

/* ---------- Contact page (Step 4) ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact-details h2,
.inquiry h2 { margin-bottom: 18px; }
.contact-card { margin-bottom: 18px; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { margin: 6px 0; color: var(--muted); }
.contact-card a { word-break: break-word; }
.small { font-size: 0.9rem; }

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  margin-top: 8px;
}
.btn-whatsapp:hover { background: #1ebe5a; }

.demo-note {
  background: var(--sand);
  border-left: 4px solid var(--terracotta);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.inquiry-form { margin-top: 14px; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(15, 110, 122, 0.35);
  border-color: var(--sea);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 18px;
}
.form-error {
  color: #b00020;
  font-weight: 600;
  margin: 0 0 14px;
}
.confirmation {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-top: 14px;
  border-top: 4px solid var(--sea);
}
.confirmation h3 { color: var(--sea-dark); }
.confirmation p { margin: 8px 0 16px; }
[hidden] { display: none !important; }

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.2fr; align-items: start; }
}

/* ---------- Typography: two fonts (Step 4b) ----------
   Headings (h1, h2, logo): Playfair Display, an elegant serif.
   Body text, menus, buttons, and card titles: Inter, a clean sans-serif. */
body {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.02rem + 0.3vw, 1.25rem);
}
h1, h2, .logo {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}
strong, b { font-weight: 700; }
em { font-style: normal; }
.keyword { font-style: italic; color: var(--terracotta); }
h1 { font-size: clamp(2.4rem, 1.5rem + 3.5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
h3 {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  letter-spacing: 0.03em;
  font-weight: 700;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
}
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.2rem); margin-bottom: 18px; }
.eyebrow, .tour-meta, .btn, .site-nav a { font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-weight: 400; letter-spacing: 0.06em; font-size: 1.25em; }
.btn { text-transform: uppercase; }

/* ---------- Responsive layout (Step 4b) ---------- */
.container { padding: 0 clamp(16px, 4vw, 28px); }
.hero { padding: clamp(48px, 9vw, 110px) 0; }
.section { padding: clamp(40px, 7vw, 80px) 0; }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card-art { height: clamp(120px, 22vw, 160px); }
.detail-art { height: clamp(200px, 40vw, 320px); }
.review-photos img { height: clamp(100px, 18vw, 130px); }
.reviews-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
img, video { max-width: 100%; height: auto; }
.card-art img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 560px) {
  .hero-buttons,
  .detail-cta { flex-direction: column; }
  .hero-buttons .btn,
  .detail-cta .btn { width: 100%; text-align: center; }
  .page-intro { padding: 36px 0 24px; }
  .confirmation { padding: 20px; }
  .btn { padding: 12px 18px; }
}

/* ---------- Interactive effects (Step 5) ---------- */

/* Page load: hero text rises in one line after another */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.hero-content > * { animation: rise 0.8s ease both; }
.hero-content > *:nth-child(2) { animation-delay: 0.12s; }
.hero-content > *:nth-child(3) { animation-delay: 0.24s; }
.hero-content > *:nth-child(4) { animation-delay: 0.36s; }

/* Scroll reveal: added by js/main.js as the visitor scrolls */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease var(--delay, 0ms), transform 0.7s ease var(--delay, 0ms), box-shadow 0.3s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Hover: menu links get an underline that slides in */
@media (min-width: 761px) {
  .site-nav a {
    position: relative;
    border-bottom: none;
    transition: color 0.2s ease;
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .site-nav a:hover,
  .site-nav a.active { color: var(--white); }
  .site-nav a:hover::after,
  .site-nav a.active::after { transform: scaleX(1); }
}
.menu-toggle { transition: background 0.2s ease, color 0.2s ease; }
.menu-toggle:hover { background: var(--sea); border-color: var(--sea); color: var(--white); }

/* Hover: buttons lift and get a soft shadow */
.btn { transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-outline:hover { background: var(--sea-dark); color: var(--white); }
.btn-light:hover { background: var(--sand); }

/* Hover: cards rise and their shadow deepens */
.card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover,
.card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12); }

/* Hover: photos zoom slightly inside their frame */
.review-photos { overflow: hidden; border-radius: 8px; }
.review-photos img { transition: transform 0.5s ease; }
.review-photos img:hover { transform: scale(1.06); }

/* Hover: footer links underline */
.site-footer a { transition: color 0.2s ease; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

/* Respect visitors who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .hero-content > *,
  .reveal,
  .btn,
  .card,
  .review-photos img,
  .site-nav a::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Logo image in header (Step 6) ---------- */
.logo { display: inline-flex; align-items: center; }
.logo-img {
  height: 58px;
  width: auto;
  display: block;
  background: transparent;
  padding: 0;
  /* Show the logo in white so it stands out on the blue header */
  filter: brightness(0) invert(1);
}
@media (max-width: 560px) {
  .logo-img { height: 48px; }
}

/* ---------- Itinerary timeline on tour pages (Step 7) ---------- */
ol.timeline {
  list-style: none;
  margin: 18px 0 30px;
  padding: 0 0 0 26px;
  border-left: 3px solid var(--olive);
}
.timeline-step {
  position: relative;
  margin-bottom: 22px;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px var(--sand);
}
.timeline-time {
  display: inline-block;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 1.3em;
  letter-spacing: 0.05em;
  color: var(--sea-dark);
  margin-bottom: 2px;
}
.timeline-step strong { color: var(--sea-dark); }
.timeline-step p { margin: 4px 0 0; color: var(--muted); }

/* ---------- Step 8: edges, bigger header, package grid, price checker ---------- */
:root {
  --radius: 20px;
  --edge: #111111;
}

/* Header: a full-width bar at the top. When you scroll, its sides move inward and it turns into a
   floating rounded rectangle. The header itself never changes size, so the page below never moves.
   The painted shape is ONE layer (::after). At the top it is stretched wider and taller than the screen,
   so its corners and outline are out of sight and it looks like a plain bar. Scrolling lets it shrink
   back to its real size. Nothing fades: the bar simply contracts into the rectangle. */
.site-header {
  --m: max(16px, calc(50% - 660px));   /* how far the rectangle's sides sit from the screen edge */
  --sx: 1.6;                           /* set by js/main.js: how far the layer is stretched sideways at the top
                                          (starts big, so the very first paint is always a plain bar) */
  --bar-bg: var(--sea-dark);
  top: 0;
  margin: 0;
  border: 0;
  padding: 3px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow-x: clip;                    /* the stretched layer never makes the page scroll sideways */
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 9px;
  bottom: 9px;
  left: var(--m);
  right: var(--m);
  /* At the top: looks like the bar (opaque fill, a dark line along the bottom edge) */
  background-color: var(--bar-bg);
  border: 3px solid var(--edge);
  border-radius: 22px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transform-origin: 50% 100%;
  transform: translateY(9px) scale(var(--sx), 1.31);
  will-change: transform;
  transition:
    transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.24s ease,
    box-shadow 0.24s ease;
}
/* Scrolled: the rounded floating rectangle, like frosted glass */
.site-header.is-scrolled::after {
  background-color: rgba(11, 79, 108, 0.82);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: none;
}
/* First paint of a page that is already scrolled: no gliding */
.site-header.no-glide,
.site-header.no-glide::after,
.site-header.no-glide .logo,
.site-header.no-glide .logo-img,
.site-header.no-glide .site-nav,
.site-header.no-glide .menu-toggle { transition: none !important; }

.site-header .nav-wrap { min-height: 84px; }
.site-header .logo { transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); }
.site-header .logo-img {
  height: 72px;
  transform-origin: left center;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.site-header.is-scrolled .logo-img { transform: scale(0.78); }
/* Narrower screens: logo and menu slide in with the rectangle's sides (16px + its 3px outline) */
@media (max-width: 1340px) {
  .site-header .site-nav,
  .site-header .menu-toggle { transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .site-header.is-scrolled .logo { transform: translateX(19px); }
}
@media (min-width: 761px) and (max-width: 1340px) {
  .site-header.is-scrolled .site-nav { transform: translateX(-19px); }
}
@media (max-width: 760px) {
  .site-header.is-scrolled .menu-toggle { transform: translateX(-19px); }
}
.menu-toggle { border: 2px solid var(--edge); border-radius: 14px; }

/* Black border on every edge */
.btn,
.btn-outline,
.btn-whatsapp,
.btn-light { border: 2px solid var(--edge); }
.card,
.review-card,
.confirmation,
.booking,
.demo-note {
  border: 2px solid var(--edge);
  border-radius: var(--radius);
}
.card-art,
.detail-art {
  border: 2px solid var(--edge);
  border-radius: 16px;
}
.review-photos img {
  border: 2px solid var(--edge);
  border-radius: 14px;
}
.form-row input,
.form-row select,
.form-row textarea {
  border: 2px solid var(--edge);
  border-radius: 14px;
}
.page-intro { border-bottom: 2px solid var(--edge); }
.page-intro.no-line { border-bottom: none; }
.cta { border-top: 2px solid var(--edge); border-bottom: 2px solid var(--edge); }
.site-footer {
  margin: 0;
  border: none;
  border-top: 3px solid var(--edge);
  border-radius: 0;
  overflow: visible;
}

/* Packages: three in a row on computers, two on tablets, one on phones */
.tour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) {
  .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .tour-grid { grid-template-columns: 1fr; }
}

/* Price checker on tour pages */
.booking { background: #ffffff; padding: 22px; margin: 26px 0; }
.booking h2 { margin-top: 0; }
.booking-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0 16px;
}
.booking-result { margin: 6px 0 14px; font-size: 1.1rem; }
.booking-result strong { color: var(--terracotta); font-size: 1.3em; }
.booking-note { color: var(--muted); font-size: 0.95rem; margin: 4px 0 0; }

/* Itinerary line in the theme blue */
ol.timeline { border-left: 3px solid var(--sea-dark); }

/* ---------- Step 9: order-style booking, three boxes per row ---------- */
.detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.detail-grid .wide { grid-column: 1 / -1; }
@media (max-width: 960px) {
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .detail-grid { grid-template-columns: 1fr; }
}

.field-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.choice-btn {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--edge);
  background: #ffffff;
  color: var(--stone);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.choice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}
.choice-btn[aria-pressed="true"] {
  background: var(--terracotta);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(224, 122, 63, 0.45);
}
.choice-btn:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 3px;
}

/* ---------- Tour photos ---------- */
.card-art[style] { background-size: cover; background-position: center; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 30px;
}
.photo-grid img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 2px solid var(--edge);
  border-radius: 14px;
}
@media (max-width: 960px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid img { height: 220px; }
}

/* ---------- Photo slideshows: tour cards, home page and tour page ---------- */
/* Photos are shown in a vertical 3:4 frame and slide sideways */
.slideshow {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #ddd;
}
.slides-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Tour cards: the cover slides by itself */
.cover-slides {
  aspect-ratio: 4 / 3; /* wide, landscape cover on the tour cards */
  margin-bottom: 16px;
  border: 2px solid var(--edge);
  border-radius: 12px;
}
/* Tour page: the framed photos on the left */
.slideshow.is-framed {
  border: 2px solid var(--edge);
  border-radius: 16px;
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--edge);
  background: rgba(255, 255, 255, 0.92);
  color: var(--stone);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.slide-btn:hover { background: #ffffff; }
.slide-prev { left: 12px; }
.slide-next { right: 12px; }
.slide-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slide-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--edge);
  background: #ffffff;
  cursor: pointer;
}
.slide-dot[aria-current="true"] { background: var(--terracotta); }
.slide-btn:focus-visible,
.slide-dot:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 2px;
}

/* Tour page: photos on the left, price box on the right */
.tour-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 36px;
  align-items: start;
  margin: 24px 0 8px;
}
.tour-top .booking { margin: 0; }
@media (max-width: 760px) {
  .tour-top { grid-template-columns: 1fr; gap: 24px; }
}

/* Tour detail page heading */
#tour-detail h1 { font-size: 2.2rem; margin-bottom: 10px; }
#tour-detail > p:not(.tour-meta):not(.tour-price) { max-width: 760px; }

/* ---------- Wider layout: use more of the screen on big displays ---------- */
@media (min-width: 1200px) {
  .cards, .tour-grid { gap: 32px; }
  .card { padding: 30px; }
  .card h3 { font-size: 1.6rem; }
  .detail-grid { gap: 28px; }
}

/* ---------- Tour page: the photo and the price box have the same height ---------- */
.tour-top { align-items: stretch; }
.tour-top .booking {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.tour-top .booking .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Home page: drone video behind the hero text ---------- */
.hero {
  position: relative;
  overflow: hidden;
}
/* Two copies of the video sit on top of each other. Only the one with "is-visible" is shown. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video.is-visible {
  opacity: 1;
}
/* Darkens the video on the left, where the text is, so the text stays easy to read */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, rgba(11, 79, 108, 0.85), rgba(11, 79, 108, 0.45));
}
.hero-content {
  position: relative;
  z-index: 4;
}

/* ---------- Hero: text on the left, most sold tour on the right ---------- */
.hero-content {
  max-width: 1320px; /* same width as the rest of the page */
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-main {
  text-align: left;
}
.hero-feature {
  display: block;
  background: #ffffff;
  color: var(--stone);
  border: 2px solid var(--edge);
  border-radius: 20px;
  padding: 18px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.3);
}
.hero-feature-label {
  display: block;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  margin-bottom: 10px;
}
.hero-feature-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 2px solid var(--edge);
  border-radius: 12px;
  margin-bottom: 14px;
}
.hero-feature-name {
  display: block;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--stone);
}
.hero-feature-meta {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero-feature-price {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--terracotta);
}
.hero-feature-btn {
  margin-top: 14px;
}
@media (max-width: 860px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== Round 2 additions ===== */
/* Prices: bold, black, capitals */
.tour-price strong,
.hero-feature-price { font-weight: 700; color: #000; text-transform: uppercase; }

/* Most sold tour: slideshow and crown */
.hero-feature { position: relative; }
.hero-feature-slides { margin-bottom: 14px; }
.crown {
  position: absolute;
  top: -28px;
  right: -14px;
  width: 74px;
  height: auto;
  transform: rotate(18deg);
  z-index: 3;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

/* About page layout */
.about-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.about-note ul { padding-left: 20px; }
.about-note li { margin-bottom: 8px; }

/* FAQ */
.faq-list { max-width: 820px; }
.faq-item { background: #fff; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06); }
.faq-item summary { cursor: pointer; font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-size: 1.4rem; letter-spacing: 0.04em; color: var(--sea-dark); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--terracotta); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 12px 0 0; }

/* Footer: big logo on the left, package links */
.footer-grid { grid-template-columns: 1.1fr 1.5fr 1fr 1fr; align-items: start; }
.footer-brand .footer-logo { display: block; height: 130px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.footer-links a { display: block; padding: 2px 0; }

/* Hover lift only where a mouse exists; touch screens never keep a card lifted */
@media (hover: none) {
  .card:hover, .card-link:hover, .review-card:hover { transform: none; box-shadow: none; }
}

/* Phone layout */
@media (max-width: 760px) {
  .about-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-brand .footer-logo { height: 96px; }

  /* Orange MENU button inside the header, with a white outline */
  .menu-toggle,
  .menu-toggle:hover {
    display: block;
    position: static;
    background: var(--terracotta);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    padding: 9px 22px;
    font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
    cursor: pointer;
  }

  /* Dropdown in the theme colours */
  .site-nav {
    background: var(--sea-dark);
    border: 2px solid #fff;
    border-radius: 18px;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);
    padding: 8px 20px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  }
  .site-nav a { color: var(--sand); border-bottom: 1px solid rgba(245, 239, 227, 0.18); }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a.active,
  .site-nav a:hover { color: var(--terracotta); }

}

/* Scroll reveal: hover on revealed cards stays smooth (no competing transitions) */
.card.is-visible, .tour-card.is-visible, .review-card.is-visible { transition: transform 0.3s ease, box-shadow 0.3s ease; }


/* ===== Round 3 additions ===== */

/* Page background: a kilim / embroidery pattern inspired by traditional Albanian textiles
   (diamonds, hook bands, hooked crosses), in the site's blue with small orange accents on sand.
   The pattern is images/background/kilim.svg */
body {
  background-color: var(--sand);
  background-image: url("../images/background/kilim.svg");
  background-repeat: repeat;
  background-size: 192px 192px;
  background-position: center top;
}
@media (max-width: 760px) {
  body { background-size: 160px 160px; }
}
.section-tint,
.page-intro { background: transparent; }

/* Cards: the hover lift can no longer push the card out from under the pointer.
   While hovered, a small invisible area under the card keeps it hovered. */
.card, .card-link, .review-card, .btn { position: relative; }
.card:hover::after,
.card-link:hover::after,
.review-card:hover::after,
.hero-feature:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.btn:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 6px;
}

/* Prices: same font as the header menu */
.tour-price strong,
.hero-feature-price,
.booking-result strong {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  letter-spacing: 0.06em;
}
.tour-price strong,
.hero-feature-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  line-height: 1.15;
}
.hero-feature-price { display: block; }

/* Tour cards: Check out button sits at the bottom of every card */
.tour-card { display: flex; flex-direction: column; }
.tour-card .tour-price { margin-bottom: 18px; }
.tour-btn { margin-top: auto; align-self: flex-start; }

/* Crown */
.crown { width: 84px; top: -34px; right: -16px; }

/* Menu with seven items: keep it on one line on tablets */
@media (min-width: 761px) and (max-width: 1180px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 1.1em; }
}

/* Tablets: seven menu items must stay on one line */
.site-nav a { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1100px) {
  .site-nav { gap: 11px; }
  .site-nav a { font-size: 1em; letter-spacing: 0.03em; }
}


/* ===== Round 4 additions ===== */

/* Scroll reveal: smooth rise and fade */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  will-change: opacity, transform;
  transition: opacity 0.7s ease var(--delay, 0ms), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }


/* History page: photo on each place card */
.place-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--edge);
  border-radius: 14px;
  margin-bottom: 14px;
}

/* Space above buttons and links that follow card text */
.card p:has(> .btn) { margin-top: 16px; }
.history-places .card p:last-child { margin-top: 12px; }


/* ===== Round 5 additions ===== */


/* Every button has a drop shadow */
.btn,
.choice-btn,
.slide-btn {
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.28);
}
.btn:hover,
.choice-btn:hover,
.slide-btn:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}
.btn:active,
.choice-btn:active {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ===== Round 6 additions ===== */
/* Pictures in cards: shifted so more of the bottom of the photo shows */
.cover-slides .slide { object-position: center 75%; }
.review-photos img { object-position: center 70%; }


/* ===== Round 7 additions ===== */
/* Hero keywords: same font as the white words, italic and orange */
.keyword {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: inherit;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ===== Round 8 additions ===== */

/* History page: a picture beside each era (below the text on phones) */
/* Only steps that have a photo get two columns (tour itineraries keep time and text stacked) */
.timeline-step:has(.timeline-photo) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 8px 28px; align-items: start; }
.timeline-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--edge);
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  background: var(--sand);
}
@media (max-width: 760px) {
  .timeline-step:has(.timeline-photo) { grid-template-columns: minmax(0, 1fr); }
  .timeline-photo { max-width: 420px; margin-top: 6px; }
}

/* Home page: the video starts at the very top of the page, behind the header.
   The header bar is a little see-through so the video shows behind it. */
body:has(.hero-video) .hero {
  margin-top: -90px;
  padding-top: calc(clamp(48px, 9vw, 110px) + 90px);
}
body:has(.hero-video) .site-header { --bar-bg: rgba(11, 79, 108, 0.72); }

/* Phones: the header slides away when you scroll down and returns on any upward scroll */
@media (max-width: 760px) {
  .site-header.is-hidden { transform: translateY(calc(-100% - 60px)); }
}

/* ===== Round 9 additions ===== */
/* Phones: the tour cards never grow wider than the screen */
@media (max-width: 620px) {
  .tour-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Round 10: Build your own trip ===== */
.btn-small { padding: 8px 16px; font-size: 1.05em; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  border: 2px solid var(--edge);
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 0.85em;
  line-height: 1;
  flex: none;
}

/* Home page teaser */
.trip-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: var(--sea-dark);
  color: #fff;
  border: 2px solid var(--edge);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.trip-teaser h2 { color: #fff; margin-top: 0; }
.trip-teaser .eyebrow { color: var(--terracotta); }
.trip-teaser-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trip-teaser-steps li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 10px 14px;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 0; }
.tours-build { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* Planner layout: steps on the left, map on the right (stays in view) */
.trip-section { padding-top: clamp(24px, 4vw, 44px); }
.trip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.trip-steps { display: grid; gap: 24px; min-width: 0; }
.trip-side { position: sticky; top: 104px; min-width: 0; }
.trip-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}
.trip-panel {
  background: #fff;
  border: 2px solid var(--edge);
  border-radius: var(--radius);
  padding: clamp(16px, 2.6vw, 26px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  min-width: 0;
}
.trip-step-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
}
.trip-help { color: var(--muted); margin: 0 0 14px; }
.trip-form { gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.trip-form .form-row { margin-bottom: 12px; }
.trip-panel textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}
.trip-panel textarea:focus { outline: 3px solid rgba(15, 110, 122, 0.35); border-color: var(--sea); }
.trip-check, .night { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; }
.trip-check input, .night input { width: 18px; height: 18px; accent-color: var(--terracotta); }

/* Region filter */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  border: 2px solid var(--edge);
  background: #fff;
  color: var(--sea-dark);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.chip:hover { background: var(--sand); }
.chip[aria-pressed="true"] { background: var(--sea-dark); color: #fff; }

/* Place buttons */
.picks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 12px;
}
.pick {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  text-align: left;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 2px solid #d9d2c4;
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.pick:hover { border-color: var(--sea-dark); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.pick:focus-visible, .chip:focus-visible, .icon-btn:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.pick.is-on {
  border-color: var(--terracotta);
  background: #fdf0e7;
  box-shadow: 0 0 0 2px var(--terracotta) inset;
}
.pick[disabled] { opacity: 0.45; cursor: not-allowed; }
.pick-photo {
  width: 72px; height: 72px;
  border-radius: 10px;
  border: 2px solid var(--edge);
  background: var(--sand) center / cover no-repeat;
}
.pick-photo.no-photo { display: grid; place-items: center; background: var(--sea-dark); }
.pick-photo.no-photo svg { width: 30px; height: 30px; fill: var(--sand); }
.pick-badge {
  position: absolute; top: -9px; left: -9px;
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--terracotta); color: #fff;
  border: 2px solid var(--edge);
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 1.1rem;
}
.pick-body { display: grid; gap: 3px; min-width: 0; }
.pick-name { font-weight: 700; color: var(--sea-dark); line-height: 1.25; }
.pick-text { font-size: 0.88rem; color: var(--muted); line-height: 1.35; }
.pick-meta { font-size: 0.8rem; font-weight: 700; color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.04em; }
.trip-limit { margin: 14px 0 0; font-weight: 600; color: #8a3c12; }

/* Route list */
.trip-route-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.trip-route-head .trip-step-title { margin-bottom: 10px; }
.trip-route-actions { display: flex; gap: 8px; }
.trip-route-actions .btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.route-list { list-style: none; margin: 0; padding: 0; }
.route-start {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sand);
}
.route-leg {
  margin: 0 0 0 26px;
  padding: 10px 0 10px 22px;
  border-left: 3px dashed var(--terracotta);
  font-size: 0.9rem;
  color: var(--muted);
}
.route-stop {
  border: 2px solid var(--edge);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.route-stop.is-flash { animation: route-flash 1.2s ease; }
@keyframes route-flash { 0%, 40% { background: #fde3cf; } 100% { background: #fff; } }
.route-head { display: flex; align-items: flex-start; gap: 10px; }
.route-num {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--terracotta); color: #fff;
  border: 2px solid var(--edge);
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 1.2rem;
}
.route-num.is-start { background: var(--sea-dark); }
.route-title { flex: 1; min-width: 0; display: grid; gap: 2px; }
.route-title strong { color: var(--sea-dark); }
.route-time { font-size: 0.88rem; color: var(--muted); }
.route-move { display: flex; gap: 6px; flex: none; }
.route-controls {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 16px;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid #ece6da;
}
.stay { display: inline-flex; align-items: center; gap: 8px; }
.stay-value { min-width: 7.5em; text-align: center; font-weight: 700; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border: 2px solid var(--edge);
  border-radius: 10px;
  background: #fff;
  color: var(--sea-dark);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.icon-btn:hover { background: var(--sand); }
.icon-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.icon-btn.is-remove { color: #b3261e; }

/* Map and totals */
.trip-map-panel { padding: 12px; }
.trip-map {
  height: clamp(320px, 52vh, 520px);
  border: 2px solid var(--edge);
  border-radius: 14px;
  overflow: hidden;
  z-index: 0;
  background: #dfe9ec;
}
.trip-map .leaflet-control-attribution { font-size: 10px; }
.trip-marker span {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #111;
  color: #fff;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 17px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}
.trip-marker.is-stop span { background: var(--terracotta); }
.trip-marker.is-start span { background: var(--sea-dark); }
.trip-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.trip-stat { background: var(--sand); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.trip-stat span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; }
.trip-stat strong { font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-size: 1.5rem; font-weight: 400; color: var(--sea-dark); letter-spacing: 0.03em; }
.trip-stats-empty { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.trip-source { margin: 10px 2px 0; font-size: 0.82rem; color: var(--muted); }

/* Day-by-day plan */
.plan-day + .plan-day { margin-top: 22px; padding-top: 18px; border-top: 2px dashed #e2dacb; }
.plan-day h3 { margin: 0 0 10px; color: var(--sea-dark); }
.plan-list { list-style: none; margin: 0; padding: 0; }
.plan-list li { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 12px; padding: 6px 0; }
.plan-time { font-weight: 700; color: var(--sea-dark); font-variant-numeric: tabular-nums; }
.plan-what { display: grid; gap: 2px; }
.plan-what span { color: var(--muted); font-size: 0.9rem; }
.plan-list li.is-drive { padding: 0 0 0 calc(7.2em + 12px); grid-template-columns: 1fr; }
.plan-list li.is-drive .plan-time { display: none; }
.plan-list li.is-drive .plan-what span { font-size: 0.85rem; color: var(--terracotta); font-weight: 700; }
.plan-list li.is-night .plan-what strong { color: #6b3fa0; }
.plan-day-total { margin: 8px 0 0; font-weight: 700; }
.plan-warning {
  margin: 8px 0 0;
  padding: 8px 12px;
  border-left: 4px solid var(--terracotta);
  background: #fdf0e7;
  border-radius: 6px;
  font-size: 0.92rem;
}

/* Send */
.trip-send-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.trip-send-buttons .btn { cursor: pointer; }
.trip-send-buttons .is-disabled, .trip-send-buttons .btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.trip-send-note { margin: 12px 0 0; }

@media (max-width: 960px) {
  .trip-grid, .trip-bottom { grid-template-columns: minmax(0, 1fr); }
  .trip-side { position: static; }
  .trip-teaser { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .pick { grid-template-columns: 60px minmax(0, 1fr); }
  .pick-photo { width: 60px; height: 60px; }
  .plan-list li { grid-template-columns: 6.4em minmax(0, 1fr); gap: 8px; }
  .plan-list li.is-drive { padding-left: calc(6.4em + 8px); }
  .trip-send-buttons .btn { flex: 1 1 100%; text-align: center; }
  .trip-stat strong { font-size: 1.3rem; }
}

@media (min-width: 961px) {
  /* Long list of places: scrolls inside its box, so the route and map stay close */
  .picks { max-height: 560px; overflow-y: auto; padding: 10px 8px 4px 10px; margin: -10px -8px 0 -10px; scrollbar-gutter: stable; }
}
/* Eight menu items: the logo keeps its size, and the menu gets a little smaller on narrow tablets */
.site-header .logo { flex: none; }
@media (min-width: 761px) and (max-width: 900px) {
  .site-nav { gap: 9px; }
  .site-nav a { font-size: 0.88em; letter-spacing: 0.02em; }
}
/* Planner: more days */
.trip-split { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 20px; margin-top: 12px; }
.trip-dayend { margin: 0; min-width: 170px; }
.trip-dayend input:disabled { opacity: 0.5; }
.route-auto {
  margin: 10px 0 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: #efe8f8;
  color: #4b2a78;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Planner: a colour per day */
.trip-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 0.88rem; font-weight: 700; color: var(--sea-dark); }
.trip-legend[hidden] { display: none; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-line { width: 22px; height: 5px; border-radius: 3px; display: inline-block; }
.day-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--edge); margin-right: 8px; vertical-align: -1px; }

/* Menu: Contact is an orange button, like the MENU button on phones */
.site-nav a.nav-cta {
  background: var(--terracotta);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 6px 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.site-nav a.nav-cta::after { display: none; }
.site-nav a.nav-cta:hover { background: #c9652f; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.32); }
.site-nav a.nav-cta.active { color: #fff; }
@media (max-width: 760px) {
  .site-nav a.nav-cta,
  .site-nav a.nav-cta:last-child {
    margin: 10px 0 6px;
    padding: 10px 18px;
    text-align: center;
    border: 2px solid #fff;
    color: #fff;
  }
  .site-nav a.nav-cta:hover { color: #fff; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .site-nav a.nav-cta { padding: 4px 12px; letter-spacing: 0.04em; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .site-nav { gap: 7px; }
  .site-nav a { font-size: 0.8em; letter-spacing: 0.01em; }
  .site-nav a.nav-cta { padding: 3px 10px; }
}
@media (min-width: 1101px) and (max-width: 1340px) {
  .site-nav { gap: 18px; }
}

/* Planner on phones: "Show all places" button under the first few places */
.trip-more { display: block; width: 100%; margin-top: 14px; text-align: center; cursor: pointer; }
.trip-more[hidden] { display: none; }

/* "New" label next to Build a Trip in the menu */
.site-nav a .nav-new {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 6px 1px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  border: 1.5px solid #fff;
  font-size: 0.62em;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: 0.55em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
@media (max-width: 760px) {
  .site-nav a .nav-new { vertical-align: 0.15em; font-size: 0.7em; margin-left: 8px; }
}
.trip-teaser-section { padding-top: clamp(30px, 5vw, 56px); }
@media (min-width: 761px) {
  /* The label floats above the corner of the link, so the menu keeps its width */
  .site-nav a .nav-new { position: absolute; top: -13px; right: -16px; margin: 0; font-size: 0.55em; pointer-events: none; }
}

/* Home page: sliding strip of places under "Build your own trip" */
.places-strip {
  margin-top: clamp(24px, 4vw, 40px);
  overflow: hidden;
  border-top: 2px solid var(--edge);
  border-bottom: 2px solid var(--edge);
  background: var(--sea-dark);
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.strip-track {
  display: flex;
  width: max-content;
  animation: strip-slide var(--strip-time, 60s) linear infinite;
  will-change: transform;
}
.places-strip:hover .strip-track,
.places-strip:focus-within .strip-track { animation-play-state: paused; }
.strip-set { display: flex; gap: 14px; padding-right: 14px; }
@keyframes strip-slide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.strip-item {
  position: relative;
  flex: none;
  width: clamp(170px, 22vw, 240px);
  aspect-ratio: 4 / 3;
  border: 2px solid #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.strip-item:hover { transform: translateY(-3px); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.72));
}
.strip-name {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  color: #fff;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
@media (prefers-reduced-motion: reduce) {
  .places-strip { overflow-x: auto; }
  .strip-track { animation: none; }
  .strip-set[aria-hidden="true"] { display: none; }
}

/* The strip sits inside the bottom of the "Build your own trip" box, edge to edge */
.trip-teaser { --tp: clamp(22px, 4vw, 40px); padding: var(--tp) var(--tp) 0; overflow: hidden; }
.trip-teaser .places-strip {
  grid-column: 1 / -1;
  margin: 4px calc(-1 * var(--tp)) 0;
  border-bottom: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.18);
  padding: 16px 0 18px;
}

/* Footer: smaller text, bigger logo */
.site-footer { font-size: 0.86rem; line-height: 1.55; }
.site-footer h3 { font-size: 1rem; }
.site-footer p { margin: 0 0 6px; }
.footer-links a { padding: 1px 0; }
.footer-bottom { font-size: 0.8rem; }
.footer-brand .footer-logo { height: 180px; }
@media (max-width: 760px) {
  .footer-brand .footer-logo { height: 140px; }
}

/* ===== Round 11 fixes ===== */
/* Menu words sit in the middle of the bar and of the rectangle (the menu font draws its letters a little high) */
@media (min-width: 761px) {
  .site-nav a { padding: 9px 0 3px; }
  .site-nav a.nav-cta { padding: 8px 18px 4px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .site-nav a.nav-cta { padding: 6px 12px 3px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .site-nav a.nav-cta { padding: 5px 10px 2px; }
}
.menu-toggle { padding-top: 11px !important; padding-bottom: 7px !important; }

/* Footer logo keeps its shape */
.footer-brand .footer-logo { width: auto; max-width: 100%; height: auto; max-height: 180px; object-fit: contain; }
@media (max-width: 760px) {
  .footer-brand .footer-logo { max-height: 140px; }
}

/* Sliding strip: moved by js/places-strip.js so it can slow down and speed up smoothly */
.strip-track { animation: none; }

/* Wider first footer column so the logo can be big without stretching */
@media (min-width: 761px) {
  .footer-grid { grid-template-columns: 1.45fr 1.5fr 0.85fr 1fr; }
}

/* Phones: the header slides up out of view slowly enough to see it go, and slides back the same way */
@media (max-width: 760px) {
  .site-header {
    transition: transform 0.45s cubic-bezier(0.45, 0, 0.25, 1);
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .site-header.is-hidden {
    -webkit-transform: translate3d(0, calc(-100% - 60px), 0);
    transform: translate3d(0, calc(-100% - 60px), 0);
  }
}

/* Contact form: WhatsApp and email buttons side by side */
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-row textarea { resize: vertical; }
