/* ---------------------------------------------------------
   Luc'se Tuinen — visitekaart-website
   Minimalistische, groene stijl met crème als rustpunt
--------------------------------------------------------- */

:root {
  --forest: #26382b; /* diep bosgroen — koppen, donkere vlakken */
  --forest-soft: #35492f;
  --green: #4d6b45; /* middengroen — primaire knoppen */
  --green-deep: #3c5636; /* hover-groen */
  --green-soft: #7d9270; /* zachtgroen */
  --sage: #a9b89c; /* lichte salie */
  --sand: #cddbc0; /* lichtgroen accent (was beige) */
  --cream: #f3f6ee; /* lichte, groen-getinte achtergrond (was crème) */
  --cream-warm: #e7efe0; /* zachtgroen vlak voor kaarten (was beige) */
  --ink: #262a20; /* bijna-zwart, warm getint, voor body-tekst */
  --ink-soft: #5b6156;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Karla", -apple-system, sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--forest);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.grain {
  display: none;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--green-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: rgba(38, 56, 43, 0.3);
}
.btn-ghost:hover {
  border-color: var(--forest);
  background: rgba(38, 56, 43, 0.05);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(247, 244, 234, 0);
  transition:
    background 0.4s var(--ease),
    padding 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(247, 244, 234, 0.94);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(38, 56, 43, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  transition: color 0.4s var(--ease);
}

.logo-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  overflow: hidden;
}
.logo-mark-img {
  width: 100%;
  height: 100%;
    object-fit: fill;
  object-position: top center;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.logo-apostrophe {
  font-style: italic;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.primary-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--forest);
  position: relative;
  padding: 12px 12px;
  transition: color 0.4s var(--ease);
}
.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: currentColor;
  transition: right 0.35s var(--ease);
}
.primary-nav a:not(.nav-cta):hover::after {
  right: 0;
}

.nav-cta {
  background: var(--green);
  color: var(--cream) !important;
  padding: 12px 26px;
  border-radius: 100px;
  transition: background 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--green-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--forest);
  transition:
    transform 0.35s var(--ease),
    opacity 0.35s var(--ease),
    background 0.3s var(--ease);
}

/* ---------- hero / banner ---------- */
.hero {
  padding: clamp(140px, 20vw, 190px) 0 clamp(72px, 10vw, 110px);
  background: var(--cream-warm);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.hero-text {
  max-width: 560px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  color: var(--forest);
  font-weight: 500;
}
.hero h1 em {
  font-style: italic;
}
.hero-sub {
  margin-top: 26px;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero .btn-ghost {
  color: var(--forest);
  border-color: rgba(38, 56, 43, 0.3);
}
.hero .btn-ghost:hover {
  border-color: var(--forest);
  background: rgba(38, 56, 43, 0.06);
}

.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-in 0.8s var(--ease) forwards;
}
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- diensten ---------- */
.diensten {
  padding: clamp(96px, 14vw, 160px) 0 clamp(64px, 11vw, 130px);
}
.diensten-heading {
  font-size: clamp(30px, 4vw, 42px);
  max-width: 500px;
  margin-bottom: 56px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.service-card {
  background: var(--cream-warm);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(38, 56, 43, 0.1);
  transition: border-color 0.4s var(--ease);
}
.service-card:hover {
  border-color: rgba(38, 56, 43, 0.28);
}

.service-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-card:hover .service-img img {
  transform: scale(1.04);
}

.service-body {
  padding: 34px 34px 40px;
}

.service-body h3 {
  font-size: 28px;
  margin-bottom: 10px;
}
.service-body p {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 15.5px;
}

/* ---------- over ons ---------- */
.over-ons {
  padding: clamp(16px, 3vw, 20px) 0 clamp(64px, 11vw, 130px);
}
.over-ons-inner {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: center;
}
.over-ons-media {
  position: relative;
  border-radius: 12px;
  aspect-ratio: 3/4;
  background: var(--cream-warm);
  border: 1px solid rgba(38, 56, 43, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--sage);
}
.media-placeholder-icon {
  color: var(--green-soft);
}
.media-note {
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.over-ons-text h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 22px;
}
.placeholder-copy {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  font-style: italic;
  padding-left: 20px;
  border-left: 2px solid var(--sage);
}

/* ---------- galerij ---------- */
.galerij {
  padding: clamp(24px, 4vw, 40px) 0 clamp(64px, 11vw, 130px);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cream-warm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s var(--ease),
    filter 0.4s var(--ease);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(38, 56, 43, 0) 55%,
    rgba(20, 26, 18, 0.55) 100%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}
.gallery-item:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px;
  background: rgba(20, 26, 18, 0.92);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: min(1000px, 90vw);
  max-height: 72vh;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.lightbox-caption {
  color: var(--cream);
  font-size: 15px;
  opacity: 0.85;
  text-align: center;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(247, 244, 234, 0.1);
  border: 1.5px solid rgba(247, 244, 234, 0.35);
  color: var(--cream);
  border-radius: 100px;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(247, 244, 234, 0.18);
  border-color: rgba(247, 244, 234, 0.6);
}
.lightbox-close {
  top: 26px;
  right: 26px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 30px;
  line-height: 1;
}
.lightbox-prev {
  left: 26px;
}
.lightbox-next {
  right: 26px;
}

/* ---------- contact ---------- */
.contact {
  background: var(--forest);
  padding: clamp(96px, 14vw, 160px) 0;
}
.contact-simple {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.contact-simple h2 {
  color: var(--cream);
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 18px;
}
.contact-lead {
  font-size: 17px;
  color: rgba(247, 244, 234, 0.78);
  line-height: 1.7;
  margin-bottom: 38px;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.contact .btn-primary {
  background: var(--cream);
  color: var(--forest);
}
.contact .btn-primary:hover {
  background: var(--sand);
}
.contact .btn-ghost {
  color: var(--cream);
  border-color: rgba(247, 244, 234, 0.5);
}
.contact .btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(247, 244, 234, 0.1);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--forest);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(247, 244, 234, 0.65);
}
.footer-inner a {
  transition: color 0.25s var(--ease);
}
.footer-inner a:hover {
  color: var(--cream);
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .over-ons-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .over-ons-media {
    aspect-ratio: 16/10;
    max-width: 420px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--forest);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .primary-nav.open {
    transform: translateX(0);
  }
  .primary-nav a {
    color: var(--cream);
    font-size: 20px;
  }
  .primary-nav a::after {
    display: none;
  }
  .nav-cta {
    margin-top: 10px;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav-toggle.open span {
    background: var(--cream) !important;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 22px;
  }

  .hero {
    padding-top: 110px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-text {
    max-width: none;
  }
  .hero-image {
    aspect-ratio: 4 / 3;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }

  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-links .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 20px;
  }
  .lightbox img {
    max-height: 60vh;
  }
  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}
