/* =========================================================
   Angela's Food & Coffee – huisstijl
   Rood #A2020F · Donkergroen #03321F · Goud #B48938 · Crème #FEFBF2
   ========================================================= */

:root {
  --rood: #A2020F;
  --rood-donker: #7E0109;
  --groen: #03321F;
  --groen-licht: #0B4A30;
  --goud: #B48938;
  --goud-licht: #D9B46A;
  --creme: #FEFBF2;
  --creme-donker: #F5EDDA;
  --inkt: #221C14;
  --inkt-zacht: #5B5146;
  --wa: #25D366;
  --wa-donker: #1DA851;

  --script: 'Marcellus', 'Trajan Pro', Georgia, serif;
  --serif: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ring: 0 0 0 3px var(--creme), 0 0 0 6px var(--goud);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--inkt);
  background: var(--creme);
}

img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--rood); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rood-donker); }
a:focus-visible, button:focus-visible, label:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--groen); color: #fff; padding: .5rem 1rem; border-radius: 4px;
  z-index: 100;
}
.skip:focus { top: 1rem; }

/* ---------- Typografie ---------- */

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }

.script {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--rood);
  line-height: 1.1;
  letter-spacing: .01em;
  margin-bottom: .5em;
}

h3 {
  font-family: var(--script);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--groen);
}

p { margin: 0 0 1em; }

/* ---------- Knoppen ---------- */

.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn-primary { background: var(--rood); color: #fff; border-color: var(--rood); }
.btn-primary:hover { background: var(--rood-donker); border-color: var(--rood-donker); color: #fff; }
.btn-ghost { color: var(--groen); border-color: var(--groen); background: transparent; }
.btn-ghost:hover { background: var(--groen); color: var(--creme); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 251, 242, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(180, 137, 56, .35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand img { width: 64px; height: 64px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.site-nav a {
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--groen);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--goud); color: var(--groen); }
.site-nav .nav-cta {
  background: var(--groen);
  color: var(--creme);
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border-bottom: 0;
}
.site-nav .nav-cta:hover { background: var(--groen-licht); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }

@media (max-width: 760px) {
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 0 8px;
    cursor: pointer;
    border-radius: 6px;
  }
  .nav-burger span {
    display: block; height: 2px; background: var(--groen); border-radius: 2px;
    transition: transform .2s, opacity .2s;
  }
  .nav-toggle:focus-visible + .nav-burger { box-shadow: var(--ring); }
  .nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--creme);
    border-bottom: 1px solid rgba(180, 137, 56, .35);
    padding: .5rem var(--gutter) 1rem;
    display: none;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--creme-donker); }
  .site-nav .nav-cta { margin-top: .75rem; text-align: center; }
}

/* ---------- Hero (truck als banner) ---------- */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(380px, 58vh, 560px);
  overflow: hidden;
  color: var(--creme);
  isolation: isolate;
}

.hero-photo,
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-photo { z-index: -2; }
.hero-photo img {
  object-fit: cover;
  object-position: 50% 38%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(3, 50, 31, .92) 0%, rgba(3, 50, 31, .65) 38%, rgba(3, 50, 31, .1) 72%, rgba(3, 50, 31, 0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero h1.script {
  color: var(--creme);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: .25em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.hero-line {
  max-width: 36ch;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  margin: 0 0 .5rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}

.hero-hours {
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(254, 251, 242, .85);
  margin-bottom: 1.6rem;
}
.hero-hours span { color: var(--goud-licht); font-weight: 700; white-space: nowrap; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn-light { color: var(--creme); border-color: var(--creme); background: transparent; }
.btn-light:hover { background: var(--creme); color: var(--groen); }

@media (max-width: 480px) {
  .hero { min-height: 72vh; }
  .hero-hours { letter-spacing: .08em; font-size: .95rem; }
}

/* ---------- Over Angela ---------- */

.over { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.over-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .over-inner { grid-template-columns: 1fr 1.1fr; }
}

.over-photo { margin: 0; display: flex; justify-content: center; }
.over-photo img {
  width: min(100%, 440px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 220px 220px 12px 12px;
  border: 4px solid var(--creme);
  box-shadow: 0 0 0 1px var(--goud), 0 24px 40px -20px rgba(3, 50, 31, .35);
}

.over-text p { max-width: 58ch; }
.over-text strong { color: var(--rood); font-weight: 700; }

/* ---------- Locatie ---------- */

.locatie {
  background: var(--creme-donker);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-top: 1px solid rgba(180, 137, 56, .35);
}

.locatie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 860px) {
  .locatie-grid { grid-template-columns: 1fr 1.25fr; align-items: start; }
}

.hours h3 { margin: 1.5rem 0 .6rem; }
.hours h3:first-child { margin-top: 0; }

.hours table { border-collapse: collapse; width: 100%; max-width: 380px; }
.hours th, .hours td { padding: .45rem 0; text-align: left; border-bottom: 1px dotted rgba(180, 137, 56, .6); }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--rood); white-space: nowrap; }
.hours .closed th, .hours .closed td { color: var(--inkt-zacht); font-weight: 500; }

.hours address { font-style: normal; margin-bottom: 1.25rem; }
.hours p { max-width: 40ch; }

.map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 300px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--goud), 0 18px 36px -24px rgba(3, 50, 31, .45);
  filter: saturate(.85);
}
.mail-line { margin-top: 1rem; font-size: .95rem; }

.map-link {
  display: inline-block;
  margin-top: .75rem;
  font-size: 1rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--groen);
  color: rgba(254, 251, 242, .85);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-size: .95rem;
}
.site-footer a { color: var(--creme); }
.site-footer a:hover { color: var(--goud-licht); }
.site-footer p { margin-bottom: .4em; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

.footer-brand img { width: 88px; height: 88px; margin-bottom: 1rem; }

.site-footer h4 {
  font-family: var(--script);
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--goud-licht);
  margin-bottom: .9rem;
}

.socials {
  list-style: none; margin: .75rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.socials a {
  display: inline-block;
  padding: .35rem .9rem;
  border: 1px solid rgba(180, 137, 56, .6);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .04em;
}
.socials a:hover { background: rgba(180, 137, 56, .18); border-color: var(--goud-licht); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1.5rem;
  padding: 1.25rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(180, 137, 56, .35);
  font-size: .92rem;
  color: rgba(254, 251, 242, .6);
}
.footer-bottom p { margin: 0; }

/* Discreet credit rechtsonder; alleen het logo is klikbaar */
.credit {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 4.75rem 0 0;
}
.credit a {
  display: block;
  border-radius: 999px;
  opacity: .9;
  transition: opacity .18s;
}
.credit a:hover { opacity: 1; }
.credit img { height: 30px; width: auto; }
@media (max-width: 760px) {
  .credit { margin-right: 0; }
  .footer-bottom { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Zwevende WhatsApp-knop ---------- */

.wa-float {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right, 0px));
  bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  transition: background-color .18s, transform .18s;
}
.wa-float:hover { background: var(--wa-donker); color: #fff; transform: translateY(-2px); }
.wa-float:focus-visible { box-shadow: 0 0 0 3px var(--creme), 0 0 0 6px var(--wa); border-radius: 50%; }
.wa-float svg, .wa-float i { position: relative; z-index: 1; font-size: 34px; width: 34px; height: 34px; }

/* het zachte, uitdijende ringetje */
.wa-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--wa);
  opacity: .55;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-ring { animation: none; opacity: 0; }
  .btn, .wa-float, 
}

@media print {
  .site-header, .wa-float, .map, .hero-actions { display: none !important; }
  body { background: #fff; color: #000; }
}
