/* ================================================
   Grill On Fire — Kristof Laureys
   Gedeelde stijlen voor alle pagina's
   ================================================ */

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

:root {
  --fire:    #c8590a;
  --fire-lt: #f0a050;
  --dark:    #1a0a00;
  --brown:   #3d1a00;
  --mid:     #8a6050;
  --cream:   #faf7f2;
  --sand:    #e8d8c8;
  --border:  #e0cfc0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.7;
}

/* ------------------------------------------------
   NAV
   ------------------------------------------------ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 2.5rem;
  background: rgba(26,10,0,0.92);
  backdrop-filter: blur(8px);
}

.nav-logo-wrap {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}

.nav-logo-img {
  height: 52px; width: 52px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  flex-shrink: 0;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px; letter-spacing: 2px; color: #fff; text-transform: uppercase;
}

.nav-logo span { color: var(--fire-lt); }

.nav-links { display: flex; gap: 2rem; }

.nav-links a {
  color: #d4b8a0; font-size: 13px; letter-spacing: 1px;
  text-decoration: none; text-transform: uppercase; transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--fire-lt); }

/* ------------------------------------------------
   HERO
   ------------------------------------------------ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 2rem 5rem;
  position: relative; overflow: hidden;
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10,4,0,0.65) 0%, rgba(26,10,0,0.78) 60%, rgba(26,10,0,0.95) 100%);
}

.hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle, rgba(200,89,10,0.18) 0%, transparent 70%);
  top: 60%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none; animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity:.8; }
  50%      { transform: translate(-50%,-50%) scale(1.15); opacity:1; }
}

.hero-content { position: relative; z-index: 3; }

.hero-emblem {
  display: inline-block;
  border: 2px solid var(--fire);
  padding: .7rem 2rem .5rem;
  margin-bottom: .5rem;
  animation: fadeUp .8s ease both;
}

.hero-emblem-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px; font-weight: 700;
  color: #fff; letter-spacing: 4px; text-transform: uppercase;
}

.hero-emblem-sub {
  display: block; background: var(--fire);
  color: #fff; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; text-align: center;
  padding: 3px 12px; margin-top: 3px;
}

.hero-flame {
  font-size: 40px; margin: 1rem 0 .5rem;
  animation: flicker 2s ease-in-out infinite;
}

@keyframes flicker {
  0%,100% { transform: scaleY(1); }
  50%      { transform: scaleY(1.08); }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px,6vw,64px); font-weight: 700;
  color: #fff; line-height: 1.15; margin: 1rem 0 .8rem;
  animation: fadeUp .9s .2s ease both;
}

.hero h1 em { font-style: italic; color: var(--fire-lt); }

.hero-sub {
  font-size: 16px; color: #d4b8a0; max-width: 500px;
  margin: 0 auto 2.5rem; font-weight: 300;
  animation: fadeUp .9s .4s ease both;
}

.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .9s .6s ease both;
}

@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ------------------------------------------------
   KNOPPEN
   ------------------------------------------------ */
.btn-primary {
  background: var(--fire); color: #fff;
  font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 14px 36px; border: none; border-radius: 2px; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background .2s, transform .15s;
}

.btn-primary:hover { background: #a84500; transform: translateY(-2px); }

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-outline {
  background: transparent; color: #fff;
  font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 14px 36px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 2px; cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color .2s, transform .15s;
}

.btn-outline:hover { border-color: var(--fire-lt); transform: translateY(-2px); }

/* ------------------------------------------------
   SECTIES — gemeenschappelijk
   ------------------------------------------------ */
section { padding: 5rem 2rem; }

.section-inner { max-width: 860px; margin: 0 auto; }

.section-label {
  display: block; text-align: center;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--fire); margin-bottom: .6rem; font-weight: 600;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px,4vw,38px); font-weight: 700;
  text-align: center; color: var(--brown); margin-bottom: .6rem;
}

.section-divider {
  width: 48px; height: 3px; background: var(--fire);
  margin: 0 auto 2.5rem; border-radius: 2px;
}

/* ------------------------------------------------
   OVER ONS
   ------------------------------------------------ */
.about { background: var(--cream); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}

.about-text p { font-size: 15px; color: #5a3a28; margin-bottom: 1rem; }

.about-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fire); color: #fff;
  font-size: 13px; font-weight: 600; padding: 8px 18px;
  border-radius: 2px; margin-top: .5rem;
}

.about-visual {
  border-radius: 8px; overflow: hidden; aspect-ratio: 3/4;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}

.about-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}

/* ------------------------------------------------
   DIENSTEN
   ------------------------------------------------ */
.services { background: #fff; }

.service-cards {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}

.service-card {
  flex: 1 1 170px; max-width: 220px;
  background: var(--cream); border: 0.5px solid var(--border);
  border-radius: 6px; padding: 1.8rem 1.2rem; text-align: center;
  transition: transform .2s, box-shadow .2s;
}

.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.service-icon { font-size: 32px; margin-bottom: .8rem; display: block; }
.service-title { font-weight: 600; font-size: 14px; color: var(--brown); margin-bottom: .4rem; }
.service-desc { font-size: 13px; color: var(--mid); line-height: 1.5; }

/* ------------------------------------------------
   OFYR BAND
   ------------------------------------------------ */
.ofyr-band { background: var(--brown); padding: 5rem 2rem; text-align: center; }
.ofyr-band .section-title { color: #fff; }
.ofyr-band .section-divider { background: var(--fire-lt); }

.ofyr-text {
  font-size: 17px; color: #d4b8a0; max-width: 580px;
  margin: 0 auto 2rem; line-height: 1.9; font-weight: 300;
}

.ofyr-text strong { color: var(--fire-lt); font-weight: 600; }

.ofyr-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.ofyr-tag {
  background: rgba(200,89,10,.2); color: var(--fire-lt); font-size: 13px;
  padding: 6px 16px; border-radius: 2px; border: 0.5px solid rgba(200,89,10,.4);
}

/* ------------------------------------------------
   GALERIJ
   ------------------------------------------------ */
.gallery { background: var(--cream); }

/* Strak, uniform grid — elke tegel een vast vierkant, met een
   bewust gekozen focuspunt per foto zodat niets storend wordt
   afgesneden (zie nth-child object-position hieronder). */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.gallery-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
  transition: transform .4s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

/* Foto's met een persoon waar het hoofd boven het midden staat */
.gallery-item:nth-child(2) img  { object-position: center 25%; }
.gallery-item:nth-child(4) img  { object-position: center 30%; }
.gallery-item:nth-child(6) img  { object-position: center 12%; }
.gallery-item:nth-child(8) img  { object-position: center 15%; }
.gallery-item:nth-child(10) img { object-position: center 20%; }

.gallery-item .gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,10,0,.75));
  color: #fff; font-size: 13px; padding: 1rem .8rem .6rem;
  opacity: 0; transition: opacity .3s;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

/* ------------------------------------------------
   MENU
   ------------------------------------------------ */
.menu { background: #fff; }

.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 28px;
  margin-bottom: 3rem;
}

/* Ticket-achtige kaart met oranje icoon-badge — geen bruin/oranje
   blokken die met elkaar botsen */
.menu-card {
  background: var(--cream);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 2.2rem 1.6rem 2rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(61,26,0,.12);
}

.menu-card-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire), var(--fire-lt));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(200,89,10,.35);
}

.menu-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; color: var(--brown); margin-bottom: .5rem;
}

.menu-card-tagline {
  font-size: 13px; color: var(--mid); line-height: 1.5;
  margin-bottom: 1.6rem; min-height: 38px;
}

.menu-download-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--fire); color: var(--fire);
  background: transparent;
  text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .5px;
  padding: 11px 24px; border-radius: 30px;
  transition: background .2s, color .2s, transform .15s;
}

.menu-download-btn:hover { background: var(--fire); color: #fff; transform: translateY(-2px); }
.menu-download-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* Menu op maat CTA — zelfde stijl als de menu-kaarten erboven */
.menu-cta {
  text-align: center;
  padding: 2.8rem 2rem;
  background: var(--cream);
  border: 0.5px solid var(--border);
  border-radius: 14px;
}

.menu-cta .menu-card-icon { margin-bottom: 1.1rem; }

.menu-cta-title {
  font-family: 'Playfair Display', serif; font-size: 22px; color: var(--brown); margin-bottom: .6rem;
}

.menu-cta-text {
  font-size: 14px; color: var(--mid); max-width: 480px;
  margin: 0 auto 1.4rem;
}

/* ------------------------------------------------
   CONTACT (gedeeld — ook op contact.html)
   ------------------------------------------------ */
.contact { background: var(--cream); }

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

.contact-info-title {
  font-family: 'Playfair Display', serif; font-size: 22px; color: var(--brown); margin-bottom: 1.5rem;
}

.contact-rows { display: flex; flex-direction: column; gap: 12px; }

.contact-row {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 0.5px solid var(--border);
  border-radius: 6px; padding: 14px 18px;
}

.contact-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--fire); display: flex; align-items: center;
  justify-content: center; font-size: 18px; flex-shrink: 0;
}

.contact-lbl { font-size: 11px; color: var(--mid); letter-spacing: .5px; text-transform: uppercase; }
.contact-val { font-size: 15px; font-weight: 500; color: var(--brown); }
.contact-val a { color: var(--fire); text-decoration: none; }
.contact-val a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 12px; }

.contact-form label {
  font-size: 12px; letter-spacing: .5px; text-transform: uppercase;
  color: var(--mid); font-weight: 600; margin-bottom: -6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: 'Raleway', sans-serif; font-size: 14px; color: var(--brown);
  background: #fff; border: 0.5px solid var(--border);
  border-radius: 4px; padding: 12px 16px; outline: none; transition: border-color .2s;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--fire); }

.contact-form textarea { min-height: 130px; resize: vertical; }

.contact-form-title {
  font-family: 'Playfair Display', serif; font-size: 22px; color: var(--brown); margin-bottom: 1rem;
}

/* Bedankt-bericht stijl */
.contact-success {
  text-align: center; padding: 3rem 2rem;
  background: var(--sand); border-radius: 8px; border: 0.5px solid var(--border);
}

.contact-success-icon { font-size: 48px; margin-bottom: 1rem; display: block; }

.contact-success h3 {
  font-family: 'Playfair Display', serif; font-size: 24px; color: var(--brown); margin-bottom: .5rem;
}

.contact-success p { color: var(--mid); font-size: 15px; }

/* ------------------------------------------------
   SOCIAL BAR
   ------------------------------------------------ */
.social-bar {
  background: var(--dark); padding: 2.5rem 2rem;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}

.social-label { color: #d4b8a0; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

.social-btn {
  display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.08); border: 0.5px solid rgba(255,255,255,.2);
  border-radius: 4px; padding: 10px 20px; font-size: 14px; font-weight: 500; transition: background .2s;
}

.social-btn:hover { background: var(--fire); border-color: var(--fire); }

/* ------------------------------------------------
   FOOTER
   ------------------------------------------------ */
footer {
  background: #120600; text-align: center;
  padding: 1.5rem; font-size: 13px; color: #5a3a28;
}

footer a { color: var(--mid); text-decoration: none; }
footer a:hover { color: var(--fire-lt); }

/* ------------------------------------------------
   LIGHTBOX
   ------------------------------------------------ */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,4,0,0.92);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  padding: 2rem;
  opacity: 0;
  transition: opacity .25s;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 50px rgba(0,0,0,.5);
}

.lightbox-caption {
  color: #f0e0d0;
  font-size: 14px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  background: none; border: none;
  color: #fff; font-size: 36px; line-height: 1;
  cursor: pointer;
  transition: color .2s, transform .2s;
}

.lightbox-close:hover { color: var(--fire-lt); transform: rotate(90deg); }

/* ------------------------------------------------
   ANIMATIES — hover-effecten (GSAP doet scroll-animaties)
   ------------------------------------------------ */

/* Hover-gloed op knoppen */
.btn-primary {
  box-shadow: 0 0 0 0 rgba(200,89,10,0);
  transition: background .2s, transform .15s, box-shadow .3s;
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(200,89,10,.45);
}

/* Service cards — subtiele glans bij hover */
.service-card { position: relative; }

.service-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.service-card:hover::after { opacity: 1; }

/* Divider-lijn begint op breedte 0 (GSAP animeert naar 48px) */
.section-divider { width: 0; }

/* ------------------------------------------------
   PAGINAHEADER (voor contact.html e.a.)
   ------------------------------------------------ */
.page-header {
  padding: 10rem 2rem 5rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.06);
  transition: transform 8s ease;
}

.page-header:hover .page-header-bg { transform: scale(1); }

.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10,4,0,.7) 0%, rgba(26,10,0,.88) 100%);
}

.page-header > :not(.page-header-bg):not(.page-header-overlay) {
  position: relative; z-index: 2;
}

.page-header .section-label { color: var(--fire-lt); }
.page-header .section-title { color: #fff; }
.page-header .section-divider { background: var(--fire-lt); }

/* Sociale knoppen op contactpagina */
.social-btns {
  display: flex; gap: 12px; margin-top: 1.2rem;
}

.social-btn-lg {
  display: inline-flex; align-items: center; gap: 10px;
  flex: 1; justify-content: center;
  background: var(--brown); color: #fff;
  text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 13px 20px; border-radius: 4px;
  transition: background .2s, transform .15s;
}

.social-btn-lg:hover { background: var(--fire); transform: translateY(-2px); }

.social-btn-lg svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Contact side-foto */
.contact-side-photo {
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1.5rem;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}

.contact-side-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .6s ease;
}

.contact-side-photo:hover img { transform: scale(1.04); }

/* ------------------------------------------------
   HAMBURGER MENU
   ------------------------------------------------ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobiel menu overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,10,0,0.97);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  text-decoration: none;
  letter-spacing: 2px;
  transition: color .2s;
}

.nav-mobile a:hover,
.nav-mobile a.active { color: var(--fire-lt); }

/* ------------------------------------------------
   RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .about-grid { gap: 2rem; }
  .service-card { flex-basis: calc(50% - 8px); max-width: calc(50% - 8px); }
}

@media (max-width: 620px) {
  nav { padding: .8rem 1.2rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  /* Op gsm elke foto volledig en in haar eigen, staande verhouding tonen */
  .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
  .gallery-item { aspect-ratio: auto; }
  .gallery-item img { height: auto; object-position: center; }
  .gallery-item:nth-child(2) img,
  .gallery-item:nth-child(4) img,
  .gallery-item:nth-child(6) img,
  .gallery-item:nth-child(8) img,
  .gallery-item:nth-child(10) img { object-position: center; }

  .service-card { flex-basis: calc(50% - 8px); max-width: calc(50% - 8px); }

  .menu-grid { grid-template-columns: 1fr; gap: 18px; }
  .menu-download-btn { padding: 13px 26px; font-size: 14px; }
  .menu-cta { padding: 2.2rem 1.6rem; }

  .page-header { padding: 7rem 1.5rem 3rem; }

  .social-btns { flex-direction: column; }

  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .section-inner { max-width: 100%; }

  .contact-side-photo { display: none; }

  /* iOS zooms in op inputs kleiner dan 16px — voorkomen */
  input, select, textarea { font-size: 16px !important; }
}

/* ------------------------------------------------
   FORM — verplichte velden & validatie feedback
   ------------------------------------------------ */
.required-star {
  color: var(--fire);
  font-weight: 600;
}

.form-required-note {
  font-size: 12px;
  color: var(--mid);
  margin-top: .25rem;
  margin-bottom: .5rem;
}

.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown),
.contact-form select:invalid:not([value=""]) {
  border-color: #c0392b;
  background: rgba(192,57,43,.05);
}

.contact-form input:valid:not(:placeholder-shown),
.contact-form textarea:valid:not(:placeholder-shown) {
  border-color: #27ae60;
}
