/* ============================================================
   Parc Tenbosch — Feuille de style principale
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --dark:    #4f4f4e;
  --body:    #717170;
  --accent:  #f5a623;
  --bg:      #ffffff;
  --grey-bg: #dedede;
  --light-bg:#f4f7f8;
  --green-bg:#d2e0c3;
  --nav-h:   120px;
  --nav-h-sm: 93px;
  --ease: cubic-bezier(.4,0,.2,1);
  --container: 1170px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 2;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--dark); text-decoration: underline; font-weight: 600; }
a:hover { color: var(--accent); text-decoration: none; }
ul { list-style: none; }
h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: .6em;
  letter-spacing: 1px;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid #e5e5e5;
  transition: box-shadow .2s var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  transition: height .2s var(--ease);
}
.site-header.compressed .header-inner { height: 80px; }

/* Logo */
.logo a {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--dark);
}
.logo a:hover { color: var(--accent); }

/* Desktop nav */
.desktop-nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.desktop-nav a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--dark);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--dark);
}

/* ── Mobile nav ─────────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0; right: -300px;
  width: 280px;
  height: 100%;
  background: var(--bg);
  z-index: 200;
  padding: 80px 30px 30px;
  transition: right .3s var(--ease);
  box-shadow: -4px 0 20px rgba(0,0,0,.1);
}
.mobile-nav.open { right: 0; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.2rem; }
.mobile-nav a {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  text-decoration: none;
  font-weight: 400;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--accent); }
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--dark);
  line-height: 1;
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 190;
}
.mobile-overlay.open { display: block; }

/* Page offset for sticky header */
main { padding-top: var(--nav-h); }

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 60px 0;
}
.section-grey   { background: var(--grey-bg); }
.section-light  { background: var(--light-bg); }
.section-green  { background: var(--green-bg); }
.section-white  { background: var(--bg); }

/* ── Banner (hero) ──────────────────────────────────────────── */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content { text-align: center; padding: 60px 20px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  padding: .6em 1.4em;
  border: 2px solid var(--accent);
  color: var(--dark);
  background: var(--bg);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent); color: var(--bg); text-decoration: none; }

/* ── Info / callout boxes ───────────────────────────────────── */
.info-box {
  background: #d5d5d5;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}
.info-box p { color: var(--dark); }

.rounded-box {
  background: rgba(255,255,255,.9);
  border-radius: 30px;
  padding: 24px;
}
.rounded-box-blue {
  background: rgba(244,247,248,.9);
  border-radius: 30px;
  padding: 24px;
}

/* ── Text content ───────────────────────────────────────────── */
.content-narrow {
  max-width: 820px;
  margin: 0 auto;
}
.paragraph { color: #3f3f3f; line-height: 1.9; margin-bottom: 1em; }
.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}
.text-green  { color: #248d6c; }
.text-blue   { color: #24678d; }

/* ── Two-column grid ────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.img-row {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.img-row img { max-width: 80%; }

/* ── Season lists (Visites) ─────────────────────────────────── */
.season-list ul { padding-left: 1.2em; list-style: disc; }
.season-list li { margin-bottom: .4em; color: #3f3f3f; line-height: 1.7; }

/* ── Plant list table ───────────────────────────────────────── */
.plant-list-wrapper {
  overflow-x: auto;
}
.plant-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Open Sans', sans-serif;
  font-size: .9rem;
}
.plant-table th {
  background: #d9d9d9;
  font-weight: 700;
  padding: 8px 12px;
  text-align: left;
  font-size: 1rem;
}
.plant-table th.zone-col { text-align: center; }
.plant-table td {
  padding: 5px 12px;
  border-bottom: 1px solid #f0f0f0;
  color: #3f3f3f;
}
.plant-table tr:hover td { background: #fafaf8; }
.plant-table .num-col { font-weight: 600; white-space: nowrap; }
.plant-table .zone-col { text-align: center; }

/* ── Photo gallery ──────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #eee;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff;
  padding: 24px 12px 10px;
  font-size: .8rem;
  font-style: italic;
  opacity: 0;
  transition: opacity .25s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 500;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border: 3px solid rgba(255,255,255,.15);
}
.lightbox-caption {
  color: #fff;
  font-size: .9rem;
  font-style: italic;
  margin-top: 12px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: .3em .7em;
  transition: background .2s;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ── Contact form ───────────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: .7em 1em;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: .9rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color .2s;
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--accent); }
.form-textarea { height: 180px; resize: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hidden { display: none; }
.form-success {
  padding: 1em;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 4px;
  margin-top: 1rem;
  display: none;
}

/* ── Person cards (Conception) ──────────────────────────────── */
.person-card { text-align: center; }
.person-card img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto 1rem;
}
.person-card p { font-weight: 600; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid #e5e5e5;
  padding: 24px 0;
  text-align: center;
  font-size: .85rem;
  color: var(--body);
}
.site-footer a { color: var(--body); }
.site-footer a:hover { color: var(--accent); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .hamburger   { display: block; }
  .header-inner { height: var(--nav-h-sm); }
  main { padding-top: var(--nav-h-sm); }
  :root { --nav-h: 93px; }
  h2 { font-size: 1.8rem; }
}
@media (max-width: 768px) {
  .gallery-grid   { grid-template-columns: repeat(2, 1fr); }
  .two-col        { grid-template-columns: 1fr; }
  .three-col      { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .hero           { min-height: 200px; }
  .section        { padding: 40px 0; }
  h2              { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .gallery-grid   { grid-template-columns: 1fr; }
  .logo a         { font-size: 1.5rem; }
}
