/* Rovin Gati — dark charcoal / red / minimal gold
   Palette (client-approved):
   bg        #1C1C1C  charcoal (not pure black)
   bg-alt    #242424
   red       #C1121F  action buttons only
   gold      #D99028  minimal accents
   text      #F5F5F5
   text-dim  #B8B8B8
*/
:root {
  --bg: #1C1C1C;
  --bg-alt: #242424;
  --bg-card: #2A2A2A;
  --red: #C1121F;
  --red-hover: #A00F1A;
  --gold: #D99028;
  --text: #F5F5F5;
  --text-dim: #B8B8B8;
  --border: #3A3A3A;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: 0.5px; font-family: var(--font-heading, inherit); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; }
h2 .accent { color: var(--gold); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(28, 28, 28, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-emblem { height: 46px; width: auto; }
.logo-wordmark { height: 22px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--text-dim); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.nav-cta { color: #fff; }
.lang-switch { color: var(--text-dim); font-size: 0.85rem; }
.lang-switch a { padding: 2px 4px; }
.lang-switch a.active { color: var(--gold); font-weight: 700; }
.lang-switch em { font-style: normal; opacity: 0.5; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.5px;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 78vh;
  display: flex; align-items: center;
  background:
    linear-gradient(rgba(28,28,28,0.55), rgba(28,28,28,0.92)),
    radial-gradient(ellipse at 70% 30%, #3a2a1a 0%, #1C1C1C 65%);
  background-size: cover; background-position: center;
  border-bottom: 2px solid var(--red);
}
.hero.has-image { background-blend-mode: normal; }
.hero-content { max-width: 720px; padding: 80px 0; }
.hero-kicker { color: var(--gold); font-weight: 700; letter-spacing: 4px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 14px; }
.hero p.sub { color: var(--text-dim); font-size: 1.15rem; margin: 18px 0 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 36px; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head p { color: var(--text-dim); margin-top: 6px; }

/* ---------- Tour cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card-img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: #333; }
.card-img-ph {
  aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2e2318, #242424); color: var(--gold); font-size: 2rem;
}
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card-body p { color: var(--text-dim); font-size: 0.92rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.card-days { color: var(--text-dim); font-size: 0.85rem; }
.card-price { color: var(--gold); font-weight: 800; font-size: 1.05rem; }
.card .btn { margin-top: 16px; text-align: center; }

/* ---------- Map ---------- */
#map { width: 100%; height: 560px; border-radius: var(--radius); border: 1px solid var(--border); }
.map-popup h4 { margin-bottom: 4px; color: #1C1C1C; }
.map-popup p { color: #444; font-size: 0.85rem; margin: 0; }
.map-popup .badge { display: inline-block; background: var(--gold); color: #1C1C1C; font-size: 0.7rem; font-weight: 700; padding: 1px 8px; border-radius: 20px; margin-bottom: 4px; }
.gym-marker {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5); cursor: pointer;
}
.gym-marker.partner { background: var(--gold); }

/* ---------- Forms ---------- */
.form-wrap { max-width: 640px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--text-dim); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text);
  font-size: 0.95rem; font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }
.notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-weight: 600; }
.notice-ok { background: rgba(46, 125, 50, 0.18); border: 1px solid #2e7d32; color: #a5d6a7; }
.notice-err { background: rgba(193, 18, 31, 0.15); border: 1px solid var(--red); color: #ef9a9a; }

/* ---------- Partner CTA band ---------- */
.cta-band {
  background: linear-gradient(90deg, #241a10, var(--bg-alt));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { color: var(--text-dim); }

/* ---------- Tour detail ---------- */
.tour-hero { padding: 60px 0 30px; }
.tour-hero .meta { color: var(--gold); font-weight: 700; margin-top: 10px; }
.tour-body { max-width: 760px; color: var(--text-dim); white-space: pre-line; }
/* Opgemaakte klant-tekst (tf_richtext): eigen alinea/lijst-spacing i.p.v. pre-line */
.tour-body.rich { white-space: normal; }
.tour-body.rich p { margin: 0 0 14px; }
.tour-body.rich h3 { color: var(--text); margin: 24px 0 10px; font-size: 1.15rem; }
.tour-body.rich h3:first-child { margin-top: 0; }
.tour-body.rich strong { color: var(--text); }
.tour-body.rich ul { margin: 0 0 14px; padding-left: 22px; }
.tour-body.rich li { margin-bottom: 6px; }
.tour-body.rich li::marker { color: var(--gold); }
.tour-img-full { border-radius: var(--radius); margin: 24px 0; max-height: 460px; object-fit: cover; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); margin-top: 60px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding: 44px 20px; flex-wrap: wrap; }
.footer-tag { color: var(--text-dim); font-size: 0.9rem; margin-top: 8px; max-width: 380px; }
.footer-contact a { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 20px; color: var(--text-dim); font-size: 0.82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-alt); flex-direction: column; align-items: flex-start;
    padding: 20px; gap: 18px; border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  #map { height: 440px; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: 64vh; }
  .hero-content { padding: 56px 0; }
  .section { padding: 48px 0; }
  #map { height: 380px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Partner grid (homepage) ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.partner-tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  transition: transform 0.2s, border-color 0.2s; display: block;
}
.partner-tile:hover { transform: translateY(-3px); border-color: var(--gold); }
.partner-tile img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.partner-tile-ph { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.6rem; background: linear-gradient(135deg, #2e2318, #242424); }
.partner-tile-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; background: linear-gradient(transparent, rgba(20,20,20,0.92)); display: flex; flex-direction: column; }
.partner-tile-info strong { font-size: 0.92rem; }
.partner-tile-info span { color: var(--gold); font-size: 0.78rem; }

/* ---------- USP grid ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.usp { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; border-top: 3px solid var(--gold); }
.usp h3 { font-size: 1.02rem; margin-bottom: 8px; }
.usp p { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Routes-carousel (homepage) ---------- */
.carousel-wrap { position: relative; }
.cards.carousel {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 8px; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.cards.carousel .card { flex: 0 0 clamp(260px, 31%, 360px); scroll-snap-align: start; }
.carousel-nav {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--red, #c1121f); color: #fff; font-size: 1.7rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.3); transition: transform .15s, opacity .15s;
}
.carousel-nav:hover { transform: translateY(-50%) scale(1.08); }
.carousel-nav.prev { left: -10px; }
.carousel-nav.next { right: -10px; }
.carousel-nav[disabled] { opacity: .3; cursor: default; }
@media (max-width: 640px) { .carousel-nav { display: none; } }
