/* Taverne Idefix — one stylesheet for the whole site */

@font-face {
  font-family: "Montserrat";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/noto-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("fonts/noto-sans-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/noto-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("fonts/playfair-display-latin-400-italic.woff2") format("woff2");
}

:root {
  --blue: #6ec1e4;
  --blue-dark: #05435d;
  --night: #040219;
  --ink: #2f3338;
  --muted: #4c5863;
  --paper: #ffffff;
  --mist: #f4f5f9;
  --footer: #1a1a1a;
  --alert: #e30303;
  --wrap: 1100px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: var(--blue-dark);
}

h1,
h2,
h3 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1.1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 720px;
}

.center {
  text-align: center;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 4px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- Header + hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--night);
  display: flex;
  flex-direction: column;
  min-height: min(72vh, 620px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--night);
  opacity: 0.6;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 12px;
}

.logo img {
  width: 120px;
  height: 120px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--blue);
}
.nav .btn {
  border-bottom: 0;
  padding: 9px 26px;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 24px;
  padding-bottom: 72px;
}
.hero-text h1 {
  font-size: clamp(2.1rem, 6.5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}
.tagline {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin: 0;
  max-width: 26em;
}
.hero-text .tagline:first-child::after,
.rule::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--blue);
  margin: 16px auto 22px;
}
.hero-text h1 + .tagline {
  margin-top: 18px;
}
.hero-text .btn {
  margin-top: 28px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: #06222f;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}
.btn:hover {
  background: #93d3ee;
  transform: translateY(-1px);
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
  flex: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

/* ---------- Sections ---------- */

.section {
  padding: 64px 0;
}
.section.mist {
  background: var(--mist);
}
.section h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
}
.rule {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

.notice {
  background: var(--alert);
  color: #fff;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 3vw, 1.5rem);
  padding: 14px 20px;
  margin: 0;
}

.quote {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--muted);
  text-align: center;
  margin: 0;
  padding: 0 20px;
}

/* ---------- Menu ---------- */

.menu {
  columns: 2 320px;
  column-gap: 64px;
}
.menu section {
  break-inside: avoid;
  margin-bottom: 40px;
}
.menu h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.menu h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--blue);
  margin-top: 12px;
}
.menu h4 {
  font: inherit;
  font-weight: 700;
  margin: 14px 0 0;
}
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}
.menu li {
  padding: 3px 0;
}
.menu p {
  color: var(--muted);
  margin: 0;
}

.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}
.feature img {
  border-radius: 6px;
}

/* ---------- Opening hours ---------- */

.hours {
  width: 100%;
  max-width: 420px;
  margin: 28px auto;
  border-collapse: collapse;
  font-size: 1.05rem;
}
.hours th,
.hours td {
  padding: 11px 6px;
  border-bottom: 1px solid #dfe3ea;
  text-align: left;
  font-weight: 400;
}
.hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hours .closed td {
  color: var(--muted);
}
.hours .today th,
.hours .today td {
  font-weight: 700;
  color: var(--blue-dark);
}

/* ---------- Contact ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.card {
  background: var(--paper);
  border-radius: 8px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(4, 2, 25, 0.08);
}
.card svg {
  width: 30px;
  height: 30px;
  fill: var(--blue-dark);
  margin-bottom: 10px;
}
.card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.card p {
  margin: 0;
}

.social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-dark);
}
.social svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.map {
  margin-top: 40px;
  background: #e6e9ef;
  border-radius: 8px;
  overflow: hidden;
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.map.loaded {
  padding: 0;
}
.map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}
.map small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

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

.site-footer {
  background: var(--footer);
  color: #d9d9d9;
  text-align: center;
  font-size: 0.92rem;
  padding: 36px 0;
}
.site-footer p {
  margin: 0 0 10px;
}
.site-footer p:last-child {
  margin: 0;
}
.site-footer a {
  color: inherit;
}

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  .site-header {
    justify-content: center;
  }
  .logo img {
    width: 88px;
    height: 88px;
  }
  .nav {
    justify-content: center;
    gap: 2px 18px;
    font-size: 0.95rem;
  }
  .nav .cta {
    display: none;
  }
  .section {
    padding: 44px 0;
  }
}

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

/* ---------- Full menu with prices ---------- */

.jump {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--night);
}
.jump ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.jump ul::-webkit-scrollbar {
  display: none;
}
.jump a {
  display: block;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}
.jump a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #06222f;
}

.menu section,
.section[id] {
  scroll-margin-top: 70px;
}

.items li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px dotted #c9ced8;
}
.items .n {
  color: var(--ink);
}
.items .p,
.ptable td {
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.items small,
.ptable small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
}
.tag {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
  background: #dff1f9;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.menu .note,
.note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 10px;
}

.ptable {
  width: 100%;
  border-collapse: collapse;
}
.ptable th,
.ptable td {
  padding: 6px 0 6px 14px;
  text-align: right;
  border-bottom: 1px dotted #c9ced8;
}
.ptable thead th {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}
.ptable thead td {
  border: 0;
}
.ptable tbody th {
  text-align: left;
  font-weight: 400;
  padding-left: 0;
}

.btn-ghost {
  background: transparent;
  color: var(--blue-dark);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.btn-ghost:hover {
  background: #dff1f9;
}

@media print {
  .hero-bg,
  .jump,
  .nav,
  .btn-row,
  .feature {
    display: none;
  }
  .hero {
    min-height: 0;
    background: none;
    color: #000;
  }
  .hero::after {
    display: none;
  }
  .section {
    padding: 16px 0;
  }
}

/* ---------- Today's hours (home) + call bar (phones) ---------- */

.today {
  margin: 18px 0 0;
  font-weight: 700;
}
.today a {
  color: #fff;
  text-decoration-color: var(--blue);
  text-underline-offset: 4px;
}

.callbar {
  display: none;
}

@media (max-width: 640px) {
  .callbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    background: var(--blue);
    color: #06222f;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(4, 2, 25, 0.25);
  }
  .callbar svg {
    width: 1.2em;
    height: 1.2em;
    fill: currentColor;
    flex: none;
  }
  body {
    padding-bottom: 56px;
  }
}

@media print {
  .callbar {
    display: none;
  }
}

/* ---------- Photos ---------- */

/* Home hero: sunset photo, lighter overlay so the sky stays visible */
.hero-photo::after {
  opacity: 0.38;
}
.hero-photo .hero-bg img {
  object-position: 80% 78%;
}
.hero-photo .hero-text {
  text-shadow: 0 2px 14px rgba(4, 2, 25, 0.75);
}
.hero-photo .btn {
  text-shadow: none;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tile {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--night);
}
.tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s;
}
.tile:hover img {
  transform: scale(1.05);
}
.tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 14px 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  background: linear-gradient(transparent, rgba(4, 2, 25, 0.85));
}

.menu section picture img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 14px;
}

@media (max-width: 700px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tile img {
    transition: none;
  }
}
@media print {
  .menu section picture,
  .tiles {
    display: none;
  }
}

/* ---------- Iteration 2: home layout, footer, inner heroes ---------- */

/* Inner pages: shorter hero so content starts sooner */
.hero:not(.hero-photo) {
  min-height: min(56vh, 440px);
}
.hero:not(.hero-photo) .hero-text {
  padding-bottom: 56px;
}

.hero-sub {
  margin: 14px 0 0;
  font-size: 1.1rem;
  max-width: 28em;
}
.hero-text .btn-row {
  margin-top: 26px;
}
.hero-text .btn-row .btn {
  margin-top: 0;
}
.btn-light {
  background: #fff;
  color: var(--night);
}
.btn-light:hover {
  background: #e8f5fb;
}
.btn-row.start {
  justify-content: flex-start;
}
.hero-photo .hero-text {
  padding-bottom: 110px;
}

@media (min-width: 900px) {
  /* Text on the left, so the sign on the right of the photo stays readable */
  .hero-photo .hero-text {
    align-items: flex-start;
    text-align: left;
  }
  .hero-photo .hero-text .tagline:first-child::after {
    margin-left: 0;
  }
  .hero-photo .btn-row {
    justify-content: flex-start;
  }
  .hero-photo .hero-bg img {
    object-position: 100% 78%;
  }
}

/* Practical info, overlapping the bottom of the hero */
.info-strip {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}
.info-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.info-strip .wrap > .info {
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(4, 2, 25, 0.14);
}
.info:first-child {
  border-radius: 10px 0 0 10px;
}
.info:last-child {
  border-radius: 0 10px 10px 0;
}
.info svg {
  width: 28px;
  height: 28px;
  flex: none;
  fill: var(--blue-dark);
}
.info small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--muted);
}
.info a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.info a:hover {
  text-decoration: underline;
}

/* Photo mosaic: one large tile plus four small ones */
.tiles {
  margin-top: 32px;
}
.tile-big {
  grid-column: span 2;
  grid-row: span 2;
}
.tile picture {
  display: block;
  height: 100%;
}
.tile-big img {
  aspect-ratio: auto;
  height: 100%;
}
.tile-big span {
  font-size: 1.2rem;
  padding: 60px 20px 18px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img {
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.section.night {
  background: var(--night);
}
.night .quote {
  color: #fff;
}
.night .quote::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--blue);
  margin: 0 auto 26px;
}

/* Jump bar: current section + fade at the edge to hint at scrolling */
.jump .wrap {
  position: relative;
}
.jump .wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--night));
  pointer-events: none;
}
.jump ul {
  padding-right: 48px;
}
.jump a.actief {
  background: var(--blue);
  border-color: var(--blue);
  color: #06222f;
  font-weight: 700;
}

/* Footer */
.site-footer {
  text-align: left;
  padding: 56px 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.9fr;
  gap: 40px;
}
.site-footer h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 16px;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--blue);
}
.site-footer .social {
  justify-content: flex-start;
  margin-top: 18px;
}
.site-footer .social a {
  background: #2c2c2c;
  width: 40px;
  height: 40px;
}
.site-footer .social a:hover {
  background: var(--blue-dark);
}
.footer-hours {
  margin: 0;
}
.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  border-bottom: 1px solid #2c2c2c;
  max-width: 280px;
}
.footer-hours dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  padding: 4px 0;
}
.footer-bottom {
  margin-top: 44px;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid #2c2c2c;
  font-size: 0.82rem;
  color: #9a9a9a;
}

@media (max-width: 800px) {
  .info-strip .wrap {
    grid-template-columns: 1fr;
  }
  .info-strip .wrap > .info {
    border-radius: 0;
    padding: 16px 20px;
  }
  .info:first-child {
    border-radius: 10px 10px 0 0 !important;
  }
  .info:last-child {
    border-radius: 0 0 10px 10px !important;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 700px) {
  .tile-big {
    grid-row: auto;
  }
  .tile-big img {
    aspect-ratio: 16 / 10;
  }
}
