/* ============================================================
   BIESHEUVEL YACHTING — style.css
   Verfijnd, monochroom, maritiem. Pas kleuren/teksten gerust aan.
============================================================ */

/* ---- 1. Design tokens (kleuren, fonts) ---- */
:root {
  --charcoal:      #3A3A3A;   /* hoofdkleur (logo) */
  --charcoal-2:    #404040;
  --ink:           #2B2B2B;   /* donkerste tekst */
  --paper:         #F4F4F2;   /* gebroken witte achtergrond */
  --paper-2:       #ECEBE7;   /* iets donkerder vlak (alt-secties) */
  --line:          #D6D5D0;   /* fijne lijnen */
  --navy:          #1F3A4D;   /* subtiele marineblauwe accent */
  --navy-hover:    #2C536E;
  --muted:         #6E6E6A;   /* gedempte tekst */
  --white:         #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-ui:      'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1200px;
  --gap: clamp(1.5rem, 4vw, 4rem);
  --radius: 2px;
  --shadow: 0 18px 50px rgba(30, 30, 30, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- 2. Reset & basis ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-weight: 500; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Spaced-caps label (zoals het logo) */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--ink);
}

/* ---- 3. Knoppen ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.btn-primary {
  background: var(--charcoal);
  color: var(--paper);
}
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(244, 244, 242, 0.55);
}
.btn-ghost:hover { background: rgba(244, 244, 242, 0.12); border-color: var(--paper); }
.btn-block { width: 100%; }

/* ---- 4. Header / navigatie ---- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(244, 244, 242, 0.0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 1.4rem 0;
}
.site-header.scrolled {
  background: rgba(244, 244, 242, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.8rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img { height: 34px; width: auto; transition: height 0.4s var(--ease); }
.scrolled .logo-img { height: 28px; }
.logo-fallback {
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 0.95rem;
  color: var(--charcoal);
}

/* Navigatie wisselt van kleur: licht boven hero, donker na scrollen */
.main-nav { display: flex; align-items: center; gap: 2.2rem; }
.main-nav a {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  position: relative;
  transition: color 0.3s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.scrolled .main-nav a { color: var(--charcoal); }

.main-nav .nav-cta {
  border: 1px solid rgba(244, 244, 242, 0.55);
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius);
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: rgba(244,244,242,0.12); }
.scrolled .main-nav .nav-cta { border-color: var(--charcoal); }
.scrolled .main-nav .nav-cta:hover { background: var(--charcoal); color: var(--paper); }

/* Mobiele menuknop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--paper);
  transition: all 0.3s var(--ease);
}
.scrolled .nav-toggle span { background: var(--charcoal); }

/* ---- 5. Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
}
/* Achtergrond: monochroom 'zee & lucht'-verloop met subtiele textuur.
   Vervang dit door een foto: zet hieronder bv.
   background: url('images/hero.jpg') center/cover no-repeat; */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 70% 10%, #5a5a5a 0%, transparent 55%),
    linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 45%, #2c2c2c 100%);
}
.hero-bg::after { /* fijne golf-/lijntextuur */
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 22px);
  opacity: 0.6;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.15) 60%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: 80px; }
.hero-eyebrow {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(244,244,242,0.85);
  margin: 0 0 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: rgba(244,244,242,0.9);
  max-width: 540px;
  margin: 0 0 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.scroll-hint {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1px solid rgba(244,244,242,0.5);
  border-radius: 14px;
  display: flex; justify-content: center;
}
.scroll-hint span {
  width: 3px; height: 8px;
  background: var(--paper);
  border-radius: 2px;
  margin-top: 8px;
  animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---- 6. Secties algemeen ---- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 620px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-intro { color: var(--muted); font-weight: 300; margin: 0; }

/* ---- 7. Jachten-grid & kaarten ---- */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.filter-group { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--font-ui);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filter-btn.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); }

.filter-select-wrap { display: flex; align-items: center; gap: 0.75rem; }
.filter-label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.filter-select {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding: 0.55rem 2rem 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236E6E6A' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
}

.yacht-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.yacht-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.yacht-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.yacht-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.yacht-card__media img,
.yacht-card__media .img-placeholder { height: 100%; width: 100%; object-fit: cover; }
.yacht-card:hover .yacht-card__media img { transform: scale(1.05); }
.yacht-card__media img { transition: transform 0.7s var(--ease); }
.yacht-card__tag {
  position: absolute; top: 1rem; left: 1rem;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(58,58,58,0.92);
  color: var(--paper);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
}
.yacht-card__body { padding: 1.5rem 1.6rem 1.8rem; }
.yacht-card__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}
.yacht-card__type { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.yacht-card__specs {
  display: flex; gap: 1.4rem;
  font-size: 0.85rem; color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem; margin-bottom: 1.2rem;
}
.yacht-card__specs span strong { display: block; color: var(--ink); font-weight: 500; }
.yacht-card__foot { display: flex; align-items: center; justify-content: space-between; }
.yacht-card__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.yacht-card__more {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy);
}

.no-results { text-align: center; color: var(--muted); padding: 3rem 0; }

/* Beeld-placeholder (vervangbaar door echte foto) */
.img-placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(135deg, #e4e3df 0 14px, #ecebe7 14px 28px);
  color: var(--muted);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.img-placeholder--tall { aspect-ratio: 4 / 5; height: 100%; }

/* ---- 8. Verkopen via ons ---- */
.verkopen-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.verkopen-text p { color: var(--muted); }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.steps li { display: flex; gap: 1.4rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.steps li:first-of-type { border-top: 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--navy);
  line-height: 1; flex-shrink: 0; width: 2.5rem;
}
.steps h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.3rem; }
.steps p { margin: 0; font-size: 0.92rem; }

.verkopen-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow);
}
.verkopen-form h3 { font-family: var(--font-display); font-size: 1.8rem; }
.form-intro { color: var(--muted); font-size: 0.92rem; margin: 0.3rem 0 1.8rem; }

/* ---- 9. Formulieren ---- */
.form .field { margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form label {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.form input, .form textarea, .form select {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.3s, background 0.3s;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
.form textarea { resize: vertical; }
.hidden-field { display: none; }

/* ---- 10. Over ons ---- */
.over-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.over-text p { color: var(--muted); margin: 0 0 1.2rem; }
.usps { display: flex; gap: 2.5rem; flex-wrap: wrap; margin: 2rem 0 2.5rem; }
.usp { display: flex; flex-direction: column; }
.usp-num { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--ink); }
.usp-label { font-size: 0.78rem; color: var(--muted); max-width: 110px; margin-top: 0.4rem; }

/* ---- 11. Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.contact-info .info-block { margin-bottom: 1.6rem; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 0.4rem; }
.contact-info p { color: var(--muted); margin: 0; }
.contact-info a { color: var(--ink); transition: color 0.3s; }
.contact-info a:hover { color: var(--navy); }
.info-meta { font-size: 0.85rem; }
.map-embed {
  margin-top: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(0.95); }

/* ---- 12. Footer ---- */
.site-footer { background: var(--charcoal); color: var(--paper); padding-top: 4rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 3rem;
}
.footer-logo { font-weight: 600; letter-spacing: 0.22em; font-size: 1rem; }
.footer-brand p { color: rgba(244,244,242,0.6); font-size: 0.9rem; font-weight: 300; margin: 0.8rem 0 0; max-width: 280px; }
.footer-nav { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(244,244,242,0.8);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--paper); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(244,244,242,0.3);
  border-radius: 50%;
  color: rgba(244,244,242,0.8);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: var(--paper); color: var(--charcoal); border-color: var(--paper); }
.footer-bottom { border-top: 1px solid rgba(244,244,242,0.12); padding: 1.5rem 0; }
.footer-bottom p { margin: 0; font-size: 0.78rem; color: rgba(244,244,242,0.55); letter-spacing: 0.05em; }

/* ---- 13. Modal (jachtdetail) ---- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(25,25,25,0.6); backdrop-filter: blur(3px); animation: fade 0.3s ease; }
.modal-dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: pop 0.45s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(0.98); } }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  width: 42px; height: 42px;
  font-size: 1.6rem; line-height: 1;
  background: rgba(244,244,242,0.9);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.3s;
}
.modal-close:hover { background: var(--charcoal); color: var(--paper); }

.modal-content { padding: clamp(1.8rem, 4vw, 3rem); }
.modal-content .eyebrow { text-align: left; }
#modalTitle, .modal-content h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.3rem; }
.modal-price { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); margin: 0.5rem 0 1.5rem; }
.modal-desc { color: var(--muted); margin: 2rem 0; }

/* ---- Slideshow (fotogalerij) ---- */
.slideshow { margin: 1.5rem 0 0.5rem; }
.slideshow-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.slideshow-stage img,
.slideshow-stage .img-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; line-height: 1;
  background: rgba(244,244,242,0.88);
  color: var(--charcoal);
  border: 0; border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.slide-nav:hover { background: var(--paper); }
.slide-prev { left: 0.8rem; }
.slide-next { right: 0.8rem; }
.slide-counter {
  position: absolute; bottom: 0.8rem; right: 0.8rem;
  background: rgba(43,43,43,0.7);
  color: var(--paper);
  font-size: 0.72rem; letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.thumbs {
  display: flex; gap: 0.5rem;
  margin-top: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}
.thumb {
  flex: 0 0 auto;
  width: 76px; height: 57px;
  padding: 0; border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  background: none;
  opacity: 0.6;
  transition: opacity 0.25s, border-color 0.25s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; border-color: var(--navy); }

/* ---- Specificatietabel (twee nette kolommen) ---- */
.spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  margin: 0 0 2rem;
}
.spec-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.spec-row dt { color: var(--muted); flex-shrink: 0; }
.spec-row dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }

/* ---- 14. Scroll-reveal animaties ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-hint span { animation: none; }
}

/* ---- 15. Responsive ---- */
@media (max-width: 900px) {
  .verkopen-layout, .over-layout, .contact-layout { grid-template-columns: 1fr; }
  .over-image { order: 2; max-width: 420px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 80vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: 2.5rem;
    background: var(--paper);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: var(--charcoal); font-size: 0.9rem; }
  .main-nav .nav-cta { border-color: var(--charcoal); }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .filters { flex-direction: column; align-items: stretch; }
  .usps { gap: 1.5rem; }
  .spec-table { grid-template-columns: 1fr; }
}
