/* ════════════════════════════════════════════════
   KOFFIEBAR TREF. — Demo Site Stylesheet
   Palette: cream #f5f2eb | green #2d6a4f | gold #c8a96e | dark #1a1a1a
   ════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  --cream:   #f5f2eb;
  --green:   #2d6a4f;
  --green-dark: #1f4f3a;
  --gold:    #c8a96e;
  --gold-light: #e0c98e;
  --dark:    #1a1a1a;
  --mid:     #4a4a4a;
  --light:   #7a7a7a;
  --white:   #ffffff;
  --border:  rgba(200,169,110,0.25);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:  12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(26,26,26,0.08);
  --shadow-md: 0 6px 24px rgba(26,26,26,0.12);
  --shadow-lg: 0 16px 48px rgba(26,26,26,0.14);

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --max-w: 1140px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ─── Image fill utility ─── */
.media, .img-fill, figure.photo { position: relative; overflow: hidden; }
.media > img, .img-fill > img, figure.photo > img,
.gallery img, .card img, .hero__img,
.menu-card__image img, .over-section__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.aspect-portrait { aspect-ratio: 3/4; }
.aspect-square   { aspect-ratio: 1/1; }

/* ─── Container ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section   { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 60px 0; } }

/* ─── Typography ─── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--dark); }
h1 { font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { color: var(--mid); }

.label-text {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.lead-text { font-size: 1.1rem; color: var(--dark); font-weight: 300; margin-bottom: 1rem; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-intro { max-width: 520px; margin: 12px auto 0; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 12px 28px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); text-align: center;
  white-space: nowrap;
}
.btn--green  { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--green:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn--ghost:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn--sm     { padding: 8px 20px; font-size: 0.875rem; }
.btn--lg     { padding: 14px 36px; font-size: 1rem; }
.btn--full   { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
  background: rgba(245,242,235,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(26,26,26,0.08);
  padding: 10px 0;
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 900; font-size: 1.75rem;
  color: var(--white); letter-spacing: -0.02em;
  transition: color var(--transition);
}
.site-header.scrolled .logo { color: var(--dark); }

.desktop-nav { display: flex; gap: 0; margin-left: auto; }
.desktop-nav ul { display: flex; gap: 4px; }
.desktop-nav a {
  padding: 8px 16px; border-radius: 100px; font-weight: 500; font-size: 0.9rem;
  color: rgba(255,255,255,0.9); transition: all var(--transition);
}
.desktop-nav a:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.site-header.scrolled .desktop-nav a { color: var(--dark); }
.site-header.scrolled .desktop-nav a:hover { background: rgba(45,106,79,0.1); color: var(--green); }
.nav-cta { margin-left: 8px; }
.site-header:not(.scrolled) .nav-cta { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); color: var(--white); }
.site-header:not(.scrolled) .nav-cta:hover { background: rgba(255,255,255,0.3); }

/* ═══════════════════════════════════════════
   MOBILE MENU — FULLSCREEN OVERLAY
═══════════════════════════════════════════ */
.mobile-menu__trigger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.hamburger { display: flex; flex-direction: column; gap: 5px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--transition);
}
.site-header.scrolled .hamburger span { background: var(--dark); }

.mobile-menu__overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  height: 100dvh; height: 100svh;
}
.mobile-menu__overlay.is-open {
  transform: translateX(0);
}
.mobile-menu__panel { padding: 32px 28px 48px; min-height: 100%; display: flex; flex-direction: column; }
.mobile-menu__close {
  align-self: flex-end; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--dark); margin-bottom: 24px;
}
.mobile-menu__brand {
  font-family: var(--font-display); font-weight: 900; font-size: 2.5rem;
  color: var(--dark); margin-bottom: 40px; letter-spacing: -0.02em;
}
.mobile-menu__list { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__item {
  display: block; padding: 16px 0;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--dark); border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding var(--transition);
}
.mobile-menu__item:hover { color: var(--green); padding-left: 8px; }
.mobile-menu__footer {
  margin-top: 40px; display: flex; flex-direction: column; gap: 16px;
}
.mobile-menu__contact-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; font-weight: 500; color: var(--mid);
  transition: color var(--transition);
}
.mobile-menu__contact-link:hover { color: var(--green); }

@media (max-width: 768px) {
  .mobile-menu__trigger { display: flex; }
  .desktop-nav, .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu__overlay { transition: none; }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative; height: 100svh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(26,26,26,0.6) 0%, rgba(26,26,26,0.35) 50%, rgba(45,106,79,0.4) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  padding: 0 24px; max-width: 800px;
}
.hero__eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 16px;
  opacity: 0.9;
}
.hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(5rem, 14vw, 11rem);
  color: var(--white); line-height: 1;
  letter-spacing: -0.03em; margin-bottom: 20px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.hero__tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300; color: rgba(255,255,255,0.9);
  line-height: 1.5; margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════
   INFO BAR
═══════════════════════════════════════════ */
.info-bar {
  background: var(--green); color: var(--white);
  padding: 14px 0;
}
.info-bar__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap; justify-content: center;
}
.info-bar__item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 500;
}
.info-bar__item a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.info-bar__item a:hover { color: var(--gold-light); }
.info-bar__item svg { flex-shrink: 0; opacity: 0.8; }

/* ═══════════════════════════════════════════
   CHAMPION BANNER
═══════════════════════════════════════════ */
.champion-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
  color: var(--white); padding: 28px 0;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.champion-banner__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 20px; justify-content: center;
  text-align: center;
}
.champion-banner__icon {
  flex-shrink: 0; color: var(--gold);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(200,169,110,0.15);
  display: flex; align-items: center; justify-content: center;
}
.champion-banner p { font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,0.9); max-width: 600px; }
.champion-banner strong { color: var(--gold-light); }

/* ═══════════════════════════════════════════
   OVER TREF
═══════════════════════════════════════════ */
.over-section { background: var(--cream); }
.over-section__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px; align-items: start;
}
.over-section__image { position: relative; }
.over-section__image .img-fill {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.over-section__badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--green); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-md);
  max-width: 220px; line-height: 1.3;
}
.over-section__text h2 { margin-bottom: 20px; }
.over-section__text p { margin-bottom: 16px; }
.over-section__partners { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.partner-tag {
  padding: 6px 16px; border-radius: 100px;
  background: rgba(45,106,79,0.1); color: var(--green);
  font-size: 0.85rem; font-weight: 600;
  border: 1px solid rgba(45,106,79,0.2);
}

@media (max-width: 900px) {
  .over-section__grid { grid-template-columns: 1fr; gap: 48px; }
  .over-section__image { max-width: 420px; margin: 0 auto; width: 100%; }
  .over-section__badge { right: 0; }
}

/* ═══════════════════════════════════════════
   MENU
═══════════════════════════════════════════ */
.menu-section {
  background: linear-gradient(180deg, #eee9de 0%, var(--cream) 100%);
}
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
}
.menu-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.menu-card--full { grid-column: 1; }
.menu-card__image { height: 180px; flex-shrink: 0; }
.menu-card__body { padding: 28px; flex: 1; }
.menu-card__body--horizontal {
  display: flex; flex-direction: column; gap: 16px;
}
.menu-card__title {
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  color: var(--dark); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px; letter-spacing: 0;
}
.menu-card__title svg { color: var(--gold); flex-shrink: 0; }
.menu-card__sub { font-size: 0.875rem; color: var(--light); margin-bottom: 16px; margin-top: -10px; }
.menu-list { display: flex; flex-direction: column; gap: 10px; }
.menu-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 10px; border-bottom: 1px dashed var(--border);
  font-size: 0.95rem; gap: 8px;
}
.menu-list li:last-child { border-bottom: none; padding-bottom: 0; }
.menu-list li span:first-child { color: var(--dark); }
.price { font-weight: 600; color: var(--green); white-space: nowrap; }
.menu-card__local-badge {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--green); flex-shrink: 0;
  background: rgba(45,106,79,0.07); border-radius: var(--radius);
  padding: 20px 24px; text-align: center;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.menu-card__image--local { background: linear-gradient(135deg, rgba(45,106,79,0.12) 0%, rgba(200,169,110,0.18) 100%); }
.local-bg {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--green);
}
.local-bg__label {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--green); letter-spacing: -0.01em;
}
.local-partners-mini { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.local-partners-mini .partner-tag { font-size: 0.78rem; padding: 4px 12px; }

@media (max-width: 700px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card__body--horizontal { flex-direction: column; }
}

/* ═══════════════════════════════════════════
   OPENINGSTIJDEN
═══════════════════════════════════════════ */
.hours-section { background: var(--cream); }
.hours-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.hours-section__text h2 { margin-bottom: 16px; }
.hours-section__text p { margin-bottom: 24px; }
.hours-highlights { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.hours-highlight {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius);
  background: rgba(45,106,79,0.06); border: 1px solid rgba(45,106,79,0.12);
}
.hours-highlight svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }
.hours-highlight strong { color: var(--dark); font-size: 0.9rem; }
.hours-highlight span { font-size: 0.82rem; color: var(--light); }
.hours-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--green);
}
.hours-list { display: flex; flex-direction: column; gap: 0; }
.hours-list__item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(200,169,110,0.15);
  font-size: 0.95rem;
}
.hours-list__item:last-child { border-bottom: none; padding-bottom: 0; }
.day { font-weight: 500; color: var(--dark); }
.time { font-weight: 600; color: var(--green); }
.closed-text { color: var(--light); font-weight: 400; }
.hours-list__item--closed .day { color: var(--light); }

@media (max-width: 768px) {
  .hours-section__grid { grid-template-columns: 1fr; gap: 40px; }
  .hours-card { padding: 28px 24px; }
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-section { background: linear-gradient(180deg, var(--cream) 0%, #ebe7dc 100%); }
.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-section__info h2 { margin-bottom: 32px; }
.contact-list { display: flex; flex-direction: column; gap: 24px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }
.contact-list a { color: var(--mid); text-decoration: underline; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--green); }
.contact-section__form h3 { margin-bottom: 24px; font-size: 1.4rem; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--dark); }
.optional { font-weight: 400; color: var(--light); }
.form-group input, .form-group textarea {
  border: 1.5px solid rgba(74,74,74,0.2);
  border-radius: var(--radius);
  padding: 12px 16px; font-family: var(--font-body); font-size: 0.95rem;
  background: var(--white); color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

@media (max-width: 768px) {
  .contact-section__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ═══════════════════════════════════════════
   MAP
═══════════════════════════════════════════ */
.map-section { overflow: hidden; border-top: 1px solid var(--border); }
.map-section iframe { display: block; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer-kit {
  background: var(--dark); color: rgba(255,255,255,0.8);
  padding-top: 72px;
}
.footer-kit__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 60px;
}
.footer-logo {
  font-family: var(--font-display); font-weight: 900; font-size: 2.5rem;
  color: var(--white); letter-spacing: -0.02em; margin-bottom: 16px;
}
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); transition: all var(--transition);
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,169,110,0.1); }
.footer-kit__nav h4, .footer-kit__contact h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-kit__nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-kit__nav a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-kit__nav a:hover { color: var(--white); }
.footer-kit__contact address { margin-bottom: 20px; }
.footer-kit__contact p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.footer-kit__contact a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-kit__contact a:hover { color: var(--white); }
.footer-hours p { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.footer-hours strong { color: rgba(255,255,255,0.8); }
.footer-kit__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-kit__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-align: center; }

@media (max-width: 900px) {
  .footer-kit__inner { grid-template-columns: 1fr 1fr; }
  .footer-kit__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-kit__inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .info-bar__inner { flex-direction: column; gap: 8px; text-align: center; }
  .hero__actions { flex-direction: column; align-items: center; }
  .champion-banner__inner { flex-direction: column; }
  .hours-card { padding: 24px 20px; }
}
