/* ============================================================
   John Treur — De Echte Bakker
   Design: dark gold premium artisan bakery
   ============================================================ */

/* ---------- RESET & TOKENS --------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #F5C518;
  --gold-dark:  #C9A010;
  --brown:      #8B6914;
  --bg:         #1A1A1A;
  --bg-mid:     #222222;
  --bg-card:    #242424;
  --cream:      #F5ECD7;
  --cream-dark: #E8D8BC;
  --white:      #FFFFFF;
  --text-light: #E8E0D0;
  --text-muted: #A89880;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --radius:     8px;
  --radius-lg:  16px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --transition: 200ms ease;

  --max-w: 1200px;
  --gutter: 1.5rem;
}

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

body {
  background: var(--bg);
  color: var(--text-light);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ---------- TYPOGRAPHY ------------------------------------- */
h1, h2, h3 { font-family: var(--ff-display); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }

em { font-style: italic; }

/* ---------- BUTTONS ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 4px;
  font-family: var(--ff-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--gold {
  background: var(--gold);
  color: #1A1A1A;
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.btn--lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* ---------- LAYOUT HELPERS --------------------------------- */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-overline {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.section-sub {
  max-width: 560px;
  margin: .8rem auto 0;
  color: var(--text-muted);
  font-size: .98rem;
}

/* ---------- HEADER ----------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(18,18,18,1.0);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,197,24,.12);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.logo__name {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .02em;
}
.logo__tagline {
  font-family: var(--ff-display);
  font-size: .8rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: .05em;
}
.logo__tagline em { font-style: italic; }

/* Desktop nav */
.desktop-nav { display: flex; }
.desktop-nav ul { list-style: none; display: flex; gap: 2rem; }
.desktop-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: .02em;
  transition: color var(--transition);
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
}
.desktop-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* Hamburger */
.mobile-menu__trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--white);
}
.hamburger { display: flex; flex-direction: column; gap: 5px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu__trigger { display: flex; }
}

/* ---------- MOBILE MENU ------------------------------------ */
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: 100%;
  height: 100svh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 280ms ease, transform 280ms ease;
}
.mobile-menu__overlay.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

.mobile-menu__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
}

.mobile-menu__close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: .5rem;
  margin-bottom: 1rem;
}

.mobile-menu__logo {
  margin-bottom: 2.5rem;
}
.mobile-menu__logo .logo__name { font-size: 1.4rem; }

.mobile-menu__list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-menu__item {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--transition);
}
.mobile-menu__item:hover { color: var(--gold); }

.mobile-menu__cta {
  margin-top: 2rem;
  align-self: flex-start;
}

/* Body lock when menu open */
body.menu-open { overflow: hidden; }

/* ---------- HERO ------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,.80) 0%,
    rgba(20,20,20,.65) 50%,
    rgba(20,20,20,.88) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
  max-width: 780px;
}

.hero__pretitle {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero__h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- INFO-BAR --------------------------------------- */
.info-bar {
  background: var(--gold);
  color: #1A1A1A;
  padding: 1.25rem var(--gutter);
}

.info-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.info-bar__block {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.info-bar__icon {
  flex-shrink: 0;
  color: #1A1A1A;
  margin-top: .1rem;
}

.info-bar__text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  font-size: .9rem;
  line-height: 1.4;
}
.info-bar__text strong { font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.info-bar__text a { color: #1A1A1A; font-weight: 600; text-decoration: underline; }

.info-bar__divider {
  width: 1px;
  height: 48px;
  background: rgba(0,0,0,.2);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .info-bar__divider { display: none; }
  .info-bar__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}

/* ---------- SOCIAL PROOF STRIP ----------------------------- */
.proof-strip {
  background: #111;
  border-bottom: 1px solid rgba(245,197,24,.15);
  padding: 1.1rem var(--gutter);
}

.proof-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.proof-strip__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.proof-strip__item strong { color: var(--white); }

.proof-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.proof-strip__sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.1);
}

@media (max-width: 600px) {
  .proof-strip__sep { display: none; }
  .proof-strip__inner { flex-direction: column; gap: .9rem; }
  .proof-strip__item { font-size: .85rem; }
}

/* ---------- SPECIALITEITEN --------------------------------- */
.specialiteiten {
  padding: 6rem 0;
  background: var(--bg);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }

/* Card */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245,197,24,.12);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-card);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  border-color: rgba(245,197,24,.35);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.card:hover .card__media img { transform: scale(1.04); }

.card__body {
  padding: 1.75rem 1.5rem;
}
.card__title {
  color: var(--white);
  margin-bottom: .5rem;
}
.card__desc {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card__badge {
  display: inline-block;
  background: rgba(245,197,24,.12);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 20px;
  border: 1px solid rgba(245,197,24,.25);
}

/* ---------- CTA-BAND --------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, #1F1A0E 0%, #2A2008 50%, #1F1A0E 100%);
  border-top: 1px solid rgba(245,197,24,.2);
  border-bottom: 1px solid rgba(245,197,24,.2);
  padding: 5rem var(--gutter);
}

.cta-band__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-band__overline {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.cta-band__h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.2;
}

.cta-band__text { min-width: 300px; flex: 1; }

.cta-band__text p {
  color: var(--text-muted);
  max-width: 480px;
}

/* ---------- OVER JOHN -------------------------------------- */
.over-john {
  background: var(--cream);
  padding: 6rem 0;
  color: #1A1A1A;
}

.over-john__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .over-john__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.over-john__image { position: relative; }

.over-john__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.over-john__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.over-john__badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--gold);
  color: #1A1A1A;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.over-john__content .section-overline { color: var(--brown); }
.over-john__content h2 { color: #1A1A1A; margin-bottom: 1.25rem; }

.over-john__lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2A2A2A;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.over-john__content p {
  color: #4A4A4A;
  margin-bottom: .9rem;
  font-size: .98rem;
}

.over-john__facts {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.over-john__fact {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .93rem;
  font-weight: 500;
  color: #2A2A2A;
}

.fact-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(139,105,20,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brown);
}

/* ---------- CONTACT SECTION -------------------------------- */
.contact-section {
  background: var(--bg-mid);
  padding: 6rem 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.contact-section .section-overline { color: var(--gold); }
.contact-section h2 { color: var(--white); margin-bottom: 1rem; }

.contact-sub {
  color: var(--text-muted);
  font-size: .97rem;
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: 2rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--text-light);
  font-size: .95rem;
}
.contact-details li svg { flex-shrink: 0; color: var(--gold); margin-top: .15rem; }
.contact-details a:hover { color: var(--gold); text-decoration: underline; }

.contact-hours h3 {
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.hours-table { border-collapse: collapse; width: 100%; }
.hours-table td {
  padding: .4rem 0;
  font-size: .9rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hours-table td:last-child {
  text-align: right;
  color: var(--text-muted);
}

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(245,197,24,.12);
  box-shadow: var(--shadow-card);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .03em;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: .95rem;
  padding: .8rem 1rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(245,197,24,.05);
}

/* ---------- FOOTER ----------------------------------------- */
.footer-kit {
  background: #111;
  border-top: 1px solid rgba(245,197,24,.15);
  padding: 5rem 0 0;
  color: var(--text-muted);
}

.footer-kit__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter) 3.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 3rem;
}

@media (max-width: 960px) {
  .footer-kit__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 540px) {
  .footer-kit__inner { grid-template-columns: 1fr; }
}

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}
.footer-logo .logo__name { font-size: 1.2rem; color: var(--white); font-family: var(--ff-display); font-weight: 900; }
.footer-logo .logo__tagline { color: var(--gold); font-family: var(--ff-display); font-size: .82rem; }

.footer-about {
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: .75rem;
}

.footer-kvk {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

.footer-hours { border-collapse: collapse; font-size: .88rem; }
.footer-hours td { padding: .3rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-hours td:last-child { padding-left: 1.5rem; color: rgba(255,255,255,.5); }

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  line-height: 1.4;
}
.footer-contact-list li svg { flex-shrink: 0; color: var(--gold); margin-top: .1rem; }
.footer-contact-list a:hover { color: var(--gold); }

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-nav a { font-size: .9rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold); }

.footer-kit__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem var(--gutter);
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.25);
  max-width: 100%;
}

/* ---------- MEDIA SAFETY NET ------------------------------- */
.media, .img-fill, figure.photo { position: relative; overflow: hidden; }
.media > img, .img-fill > img, figure.photo > img,
.gallery img, .card img, .hero__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ---------- REDUCED MOTION --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- MOBILE (≤480px) -------------------------------- */
@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 280px; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .over-john__badge { right: .25rem; bottom: .25rem; }
  .contact-form-wrap { padding: 1.5rem; }
}
