/* ===============================
   Thai Sky — Feestmenu landingspagina
   Chili Red / Warm Gold / Herb Green
   =============================== */

:root {
  --fm-white: #ffffff;
  --fm-red: #e22e20;
  --fm-red-deep: #c4251a;
  --fm-gold: #e5a93c;
  --fm-gold-soft: #f6e4bc;
  --fm-herb: #6a8e23;
  --fm-herb-deep: #2e7d32;
  --fm-ink: #222222;
  --fm-muted: #5a5a5a;
  --fm-line: rgba(229, 169, 60, 0.45);
  --fm-shadow: 0 18px 40px rgba(34, 34, 34, 0.1);
  --fm-ff-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --fm-ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --fm-max: 1120px;
  --fm-radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body.fm-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fm-ff-body);
  color: var(--fm-ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(229, 169, 60, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(226, 46, 32, 0.06), transparent 50%),
    var(--fm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--fm-red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.fm-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--fm-ink);
  color: var(--fm-white);
  padding: 8px 12px;
  z-index: 100;
}

.fm-skip:focus {
  left: 12px;
  top: 12px;
}

/* ----- Header ----- */
.fm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 34, 34, 0.06);
  border-top: 3px solid var(--fm-red);
}

.fm-header__inner {
  max-width: var(--fm-max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fm-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.fm-brand__logo {
  height: clamp(52px, 8vw, 72px);
  width: auto;
}

.fm-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
  text-align: right;
}

.fm-header__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fm-ink);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(34, 34, 34, 0.12);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.fm-header__lang:hover,
.fm-header__lang:focus-visible {
  border-color: var(--fm-gold);
  background: rgba(229, 169, 60, 0.12);
  text-decoration: none;
  outline: none;
}

.fm-header__lang-flag {
  font-size: 14px;
  line-height: 1;
}

.fm-header__back {
  font-size: 14px;
  font-weight: 500;
  color: var(--fm-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.fm-header__back:hover,
.fm-header__back:focus-visible {
  color: var(--fm-red);
  text-decoration: none;
  outline: none;
}

.fm-header__phone {
  font-size: 14px;
  font-weight: 700;
  color: var(--fm-red);
  white-space: nowrap;
  text-decoration: none;
}

.fm-header__phone:hover,
.fm-header__phone:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* ----- Main ----- */
.fm-main {
  max-width: var(--fm-max);
  margin: 0 auto;
  padding: 20px 20px 48px;
}

/* ----- Hero ----- */
.fm-hero {
  margin-bottom: 36px;
}

.fm-hero__intro {
  margin-bottom: clamp(16px, 2.5vw, 28px);
}

.fm-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.fm-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--fm-gold);
  color: var(--fm-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}

.fm-hero__title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--fm-ff-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--fm-ink);
}

.fm-hero__lead {
  margin: 0 0 18px;
  max-width: 38em;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: var(--fm-muted);
}

.fm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.fm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: var(--fm-ff-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fm-btn:hover,
.fm-btn:focus-visible {
  text-decoration: none;
  outline: none;
  transform: translateY(-2px);
}

.fm-btn--primary {
  background: var(--fm-red);
  color: var(--fm-white);
  border: 2px solid var(--fm-red);
  box-shadow: 0 8px 18px rgba(226, 46, 32, 0.25);
}

.fm-btn--primary:hover,
.fm-btn--primary:focus-visible {
  background: var(--fm-red-deep);
  border-color: var(--fm-red-deep);
  color: var(--fm-white);
}

.fm-btn--ghost {
  background: transparent;
  color: var(--fm-ink);
  border: 2px solid rgba(34, 34, 34, 0.18);
}

.fm-btn--ghost:hover,
.fm-btn--ghost:focus-visible {
  border-color: var(--fm-gold);
  color: var(--fm-ink);
  background: rgba(229, 169, 60, 0.1);
}

.fm-hero__media {
  margin: 0;
}

/* ----- Voorproef-carrousel ----- */
.fm-preview-carousel {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.fm-preview-carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--fm-gold);
  box-shadow: var(--fm-shadow);
  background:
    linear-gradient(160deg, rgba(229, 169, 60, 0.18), rgba(226, 46, 32, 0.08)),
    #f4f1ec;
  aspect-ratio: 4 / 5;
  touch-action: pan-y;
}

.fm-preview-carousel__track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.fm-preview-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.fm-preview-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.fm-preview-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--fm-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(34, 34, 34, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fm-preview-carousel__btn:hover,
.fm-preview-carousel__btn:focus-visible {
  background: #fff;
  box-shadow: 0 8px 20px rgba(34, 34, 34, 0.2);
  outline: none;
}

.fm-preview-carousel__btn:active {
  transform: translateY(-50%) scale(0.96);
}

.fm-preview-carousel__btn--prev {
  left: 12px;
}

.fm-preview-carousel__btn--next {
  right: 12px;
}

.fm-preview-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
}

.fm-preview-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(34, 34, 34, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.fm-preview-carousel__dot:hover,
.fm-preview-carousel__dot:focus-visible {
  background: rgba(226, 46, 32, 0.45);
  outline: none;
}

.fm-preview-carousel__dot.is-active {
  background: var(--fm-gold);
  box-shadow: 0 0 0 2px rgba(226, 46, 32, 0.22);
  transform: scale(1.15);
}

.fm-hero__caption {
  margin-top: 10px;
  font-family: var(--fm-ff-head);
  font-size: 13px;
  line-height: 1.45;
  color: var(--fm-muted);
  text-align: center;
}

.fm-hero__caption::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--fm-gold);
  border-radius: 2px;
}

/* ----- USPs ----- */
.fm-usps {
  padding-top: 8px;
  border-top: 1px solid rgba(34, 34, 34, 0.08);
}

.fm-usps__intro {
  max-width: 36em;
  margin: 28px auto 22px;
  text-align: center;
}

.fm-usps__title {
  margin: 0 0 8px;
  font-family: var(--fm-ff-head);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--fm-ink);
}

.fm-usps__lead {
  margin: 0;
  font-size: 15px;
  color: var(--fm-muted);
  line-height: 1.55;
}

.fm-usps__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fm-usp {
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(106, 142, 35, 0.18);
  background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
  box-shadow: 0 6px 18px rgba(34, 34, 34, 0.04);
}

.fm-usp__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(106, 142, 35, 0.12);
  color: var(--fm-herb-deep);
  font-size: 18px;
}

.fm-usp__title {
  margin: 0 0 6px;
  font-family: var(--fm-ff-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--fm-ink);
}

.fm-usp__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fm-muted);
}

/* ----- Feestmenukaart ----- */
.fm-menu-card-section {
  margin: 8px 0 40px;
  padding-top: 8px;
}

.fm-menu-card {
  max-width: 42rem; /* ~max-w-2xl */
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.fm-menu-card__trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(229, 169, 60, 0.4);
  border-radius: 1rem; /* rounded-2xl */
  overflow: hidden;
  background: var(--fm-white);
  cursor: zoom-in;
  box-shadow: 0 20px 40px rgba(34, 34, 34, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fm-menu-card__trigger:hover,
.fm-menu-card__trigger:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(34, 34, 34, 0.18);
  outline: none;
}

.fm-menu-card__img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.fm-menu-card__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--fm-herb);
  background: transparent;
  color: var(--fm-herb-deep);
  font-family: var(--fm-ff-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.fm-menu-card__download:hover,
.fm-menu-card__download:focus-visible {
  background: var(--fm-herb);
  border-color: var(--fm-herb);
  color: var(--fm-white);
  text-decoration: none;
  outline: none;
  transform: translateY(-1px);
}

/* ----- Lightbox ----- */
body.fm-lightbox-open {
  overflow: hidden;
}

.fm-lightbox[hidden] {
  display: none !important;
}

.fm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.fm-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(17, 17, 17, 0.82);
  cursor: pointer;
}

.fm-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 100%);
  display: flex;
  flex-direction: column;
}

.fm-lightbox__close {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--fm-red);
  color: var(--fm-white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.fm-lightbox__close:hover,
.fm-lightbox__close:focus-visible {
  background: var(--fm-red-deep);
  outline: none;
}

.fm-lightbox__scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 12px;
  background: #111;
  max-height: min(92vh, 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.fm-lightbox__img {
  width: 100%;
  height: auto;
  min-width: 100%;
  display: block;
}

/* ----- Footer ----- */
.fm-footer {
  border-top: 1px solid rgba(34, 34, 34, 0.08);
  background: #faf9f7;
  padding: 28px 20px 36px;
}

.fm-footer__inner {
  max-width: var(--fm-max);
  margin: 0 auto;
  text-align: center;
}

.fm-footer__brand {
  margin: 0 0 8px;
  font-family: var(--fm-ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--fm-ink);
}

.fm-footer__line {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fm-muted);
}

.fm-footer__sep {
  margin: 0 6px;
  color: rgba(34, 34, 34, 0.35);
}

.fm-footer a {
  color: var(--fm-red);
  font-weight: 600;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .fm-usps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fm-header__inner {
    padding: 10px 14px;
  }

  .fm-header__back {
    font-size: 13px;
  }

  .fm-header__phone {
    font-size: 13px;
  }

  .fm-main {
    padding: 14px 14px 40px;
  }

  .fm-hero {
    margin-bottom: 28px;
  }

  .fm-hero__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Foto direct onder titel, daarna toelichting + CTA's */
  .fm-hero__media {
    order: -1;
  }

  .fm-hero__intro {
    margin-bottom: 12px;
  }

  .fm-hero__title {
    font-size: clamp(24px, 7vw, 32px);
    max-width: none;
  }

  .fm-hero__lead {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .fm-hero__actions {
    flex-direction: column;
  }

  .fm-menu-card-section {
    margin: 4px 0 32px;
  }

  .fm-lightbox {
    padding: 10px;
  }

  .fm-lightbox__close {
    top: 8px;
    right: 8px;
  }

  /* Op mobiel: iets groter voor pinch/scroll-zoom in de lightbox */
  .fm-lightbox__img {
    min-width: 140%;
    width: 140%;
    max-width: none;
  }

  .fm-btn {
    width: 100%;
  }

  .fm-preview-carousel__viewport {
    aspect-ratio: 16 / 11;
    max-height: 42vh;
  }

  .fm-preview-carousel__btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .fm-hero__caption {
    margin-top: 8px;
    font-size: 12.5px;
  }

  .fm-usps__intro {
    margin: 20px auto 16px;
  }

  .fm-usps__grid {
    gap: 10px;
  }

  .fm-usp {
    padding: 14px 12px;
  }
}

@media (max-width: 480px) {
  .fm-header__actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .fm-usps__grid {
    grid-template-columns: 1fr;
  }

  .fm-badge {
    font-size: 11px;
    padding: 5px 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fm-btn,
  .fm-menu-card__trigger,
  .fm-menu-card__download,
  .fm-preview-carousel__track,
  .fm-preview-carousel__btn,
  .fm-preview-carousel__dot {
    transition: none;
  }

  .fm-btn:hover,
  .fm-btn:focus-visible,
  .fm-menu-card__trigger:hover,
  .fm-menu-card__trigger:focus-visible,
  .fm-menu-card__download:hover,
  .fm-menu-card__download:focus-visible {
    transform: none;
  }
}
