@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("assets/fonts/josefin-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin.woff2") format("woff2");
}

:root {
  --color-text: #333;
  --color-ink: #1a2f33;
  --color-accent: #f39c12;
  --color-panel: #f5f5f5;
  --color-contact: #f4f4f4;
  --font-body: "Josefin Sans", sans-serif;
  --font-display: "Playfair Display", serif;
  --gutter: 5%;
  --space-section: 64px;
  --radius: 16px;
}

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

body,
h1,
h2,
h3,
p {
  margin: 0;
}

body {
  background: #fff;
  color: var(--color-text);
  font: 400 18px/27px var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

h2 {
  font-size: 32px;
  line-height: 32px;
}

.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header */
.hero {
  position: relative;
  height: 650px;
  overflow: hidden;
  color: #fff;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.45) 75%, rgba(0, 0, 0, 0) 100%);
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 64px;
  height: 100%;
  margin-inline: var(--gutter);
}

.hero__logo {
  flex: none;
  width: 400px;
  height: 400px;
}

.hero__text {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  min-width: 0;
}

.hero h1 {
  width: 100%;
  font-size: 37px;
  line-height: 74px;
}

.hero p {
  width: 80%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 60px;
  border-radius: 5px;
  background: var(--color-accent);
  color: var(--color-ink);
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
}

/* Meer dan een frituur */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: var(--space-section) var(--gutter) 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-panel);
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 0 32px 32px;
}

.about__image {
  position: relative;
}

/* Openingsuren */
.hours {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  height: 590px;
  margin-top: var(--space-section);
  padding: 64px;
}

.hours__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: fit-content;
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.hours__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hours__list strong::after {
  content: "\00a0";
}

/* Contact & reserveren */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  width: 1056px;
  max-width: 90%;
  margin: var(--space-section) auto;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--color-contact);
  color: var(--color-ink);
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

.js [data-fade] {
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.js [data-fade].is-visible {
  opacity: 1;
}

.contact h2 {
  font-size: 40px;
  line-height: 48px;
}

.contact__grid {
  display: flex;
  gap: 67px;
  width: 100%;
}

.contact__item {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.contact__item img {
  display: block;
}

.contact__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.contact h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
}

.contact__lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact a {
  color: #000;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* Tablet */
@media (max-width: 1199.98px) {
  .hero__inner {
    gap: 40px;
  }

  .hero__logo {
    width: 300px;
    height: 300px;
  }

  .hero h1 {
    line-height: 48px;
  }

  .hero p {
    width: 100%;
  }

  .hero p br {
    display: none;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about__text {
    padding: 32px;
  }

  .about__image {
    aspect-ratio: 16 / 10;
  }

  .hours {
    padding-inline: var(--gutter);
  }

  .contact__grid {
    gap: 32px;
  }
}

/* Telefoon */
@media (max-width: 809.98px) {
  .hero {
    height: auto;
  }

  .hero__shade {
    background: rgba(0, 0, 0, 0.6);
  }

  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: var(--space-section);
  }

  .hero__logo {
    width: 240px;
    height: 240px;
  }

  .hero__text {
    flex: none;
    width: 100%;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .about__text {
    padding: 24px;
  }

  h2 {
    line-height: 40px;
  }

  .about__image {
    aspect-ratio: 4 / 3;
  }

  .hours {
    height: auto;
    padding-block: var(--space-section);
  }

  .hours__card {
    width: 100%;
    padding: 24px;
  }

  .contact {
    gap: 40px;
    padding: 40px 24px;
  }

  .contact h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .contact__grid {
    flex-direction: column;
    gap: 40px;
  }

  .contact__item {
    flex: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-fade] {
    transition: none;
  }
}
