/* ==========================================================
   Petit Bleu Joinville — stylesheet
   Kleuren en lettertypes pas je hieronder aan (:root).
   ========================================================== */

:root {
  --blue:        #2f4f7f;   /* hoofdkleur: het "petit bleu" */
  --blue-dark:   #1f3557;
  --blue-light:  #e8eef6;
  --cream:       #faf7f1;
  --ink:         #2a2a2a;
  --muted:       #6b6b6b;
  --line:        #e3ddd2;

  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--blue-dark);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: .02em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }

.eyebrow {
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .75rem;
}

.container { width: min(var(--max), 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}
.logo img { height: 46px; width: auto; }
.logo-text {
  font-family: var(--font-head); font-size: 1.6rem;
  color: var(--blue-dark); text-decoration: none;
}
.nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav a {
  text-decoration: none; color: var(--ink);
  font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .3rem 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); border-color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--blue-dark); }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0;
         background: var(--cream); border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem 4%; }
  .nav li a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid; place-items: center;
  text-align: center; color: #fff;
  background: var(--blue-dark) center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,30,50,.25), rgba(20,30,50,.55));
}
.hero > * { position: relative; }
.hero h1 { color: #fff; margin-bottom: .2em; }
.hero p  { font-family: var(--font-head); font-size: 1.5rem; font-style: italic; margin: 0; }
.hero.small { min-height: 46vh; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
section.alt { background: #fff; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media img { aspect-ratio: 4 / 3; }
}

.lead { font-size: 1.15rem; color: var(--ink); }
.narrow { max-width: 720px; margin: 0 auto; text-align: center; }

.btn {
  display: inline-block; margin-top: 1.25rem;
  padding: .85rem 2.2rem;
  border: 1px solid var(--blue); color: var(--blue);
  text-decoration: none; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn:hover, .btn.solid { background: var(--blue); color: #fff; }
.btn.solid:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

/* ---------- Visit: lists ---------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.card {
  background: var(--cream); border: 1px solid var(--line);
  padding: 1.75rem; border-top: 3px solid var(--blue);
}
section.alt .card { background: var(--cream); }
section:not(.alt) .card { background: #fff; }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card .meta { display: block; margin-top: .8rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem; margin-top: 2rem;
}
.gallery a { display: block; overflow: hidden; background: var(--line); }
.gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform .4s ease;
}
.gallery a:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 15, 25, .92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff;
  font-size: 2.4rem; cursor: pointer; padding: 1rem; line-height: 1;
}
.lb-close { top: .5rem; right: 1rem; }
.lb-prev  { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next  { right: .5rem; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-box {
  background: #fff; border: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center;
}
.contact-box .email {
  font-family: var(--font-head); font-size: clamp(1.4rem, 3.5vw, 2rem);
  word-break: break-word;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-dark); color: #cfd8e6;
  padding: 2.5rem 0; font-size: .9rem; text-align: center;
}
.site-footer a { color: #fff; }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; padding: 0; margin: 0 0 1rem; }
.site-footer nav a { text-decoration: none; letter-spacing: .15em; text-transform: uppercase; font-size: .8rem; }
.site-footer p { margin: .25rem 0; }

.cards + .narrow { margin-top: 1.5rem; }
