/* ==================================================
   GLOBAL
================================================== */

:root {
  --bg: #f3eee6;
  --surface: #fbf8f3;
  --dark: #171512;
  --text: #2b2824;
  --muted: #777168;
  --accent: #9b643c;
  --focus: #e4a875;
  --line: rgba(23, 21, 18, 0.12);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: white;
  color: var(--dark);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 24px;
}

.eyebrow {
  display: block;
  margin-bottom: 16px;

  color: var(--accent);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading,
.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;

  gap: 40px;
  margin-bottom: 38px;
}

.section-heading h1,
.section-heading h2,
.reviews-heading h2,
.about-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.3rem);

  line-height: 1;
  letter-spacing: -0.035em;
}


/* ==================================================
   HERO
================================================== */

.hero {
  min-height: 92vh;

  position: relative;
  overflow: hidden;

  color: white;

  background:
    linear-gradient(
      90deg,
      rgba(17, 14, 12, 0.9),
      rgba(17, 14, 12, 0.62) 46%,
      rgba(17, 14, 12, 0.22)
    ),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1800&q=85")
    center / cover;
}


/* ==================================================
   NAVIGATION
================================================== */

.navbar {
  height: 90px;

  display: flex;
  align-items: center;

  gap: 28px;
}

.brand {
  font-size: 0.9rem;
  font-weight: 700;

  letter-spacing: 0.14em;
  white-space: nowrap;
}

.brand span {
  color: #c7976d;
}

.nav-links {
  display: flex;

  gap: 26px;
  margin-left: auto;

  color: rgba(255, 255, 255, 0.76);
}

.nav-links a:hover {
  color: white;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-button {
  padding: 11px 18px;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;

  white-space: nowrap;

  transition: 0.2s;
}

.nav-button:hover {
  background: white;
  color: var(--dark);
}


/* Language selector */

.language-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;

  border: 0;

  background: transparent;
  color: rgba(255, 255, 255, 0.65);

  font-size: 0.78rem;
  font-weight: 700;

  white-space: nowrap;
  cursor: pointer;

  transition: color 0.2s;
}

.language-toggle:hover {
  color: white;
}


/* ==================================================
   HERO CONTENT
================================================== */

.hero-content {
  min-height: calc(92vh - 90px);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  padding-bottom: 80px;
}

.hero .eyebrow {
  color: #d7ae8b;
}

.hero h1 {
  max-width: 820px;

  font-family: "Playfair Display", serif;
  font-size: clamp(4rem, 8vw, 7.3rem);

  line-height: 0.87;
  letter-spacing: -0.045em;
}

.hero-content > p {
  max-width: 560px;

  margin: 28px 0 34px;

  color: rgba(255, 255, 255, 0.75);
}

.hero-actions {
  display: flex;
  align-items: center;

  gap: 26px;
}

.primary-button {
  padding: 14px 23px;

  border-radius: 999px;

  background: white;
  color: var(--dark);

  font-weight: 700;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.text-button {
  color: rgba(255, 255, 255, 0.84);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}


/* ==================================================
   OPENING HOURS BADGE
================================================== */

.hero-badge {
  width: 160px;
  height: 160px;

  position: absolute;
  right: 5vw;
  bottom: 5vw;

  display: grid;
  place-content: center;

  text-align: center;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(10px);
}

.hero-badge span {
  color: rgba(255, 255, 255, 0.65);

  font-size: 0.8rem;
}


/* ==================================================
   FEATURED ITEMS
================================================== */

.featured-section {
  padding: 110px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.menu-link {
  color: var(--accent);

  font-weight: 700;

  transition: opacity 0.2s;
}

.menu-link:hover {
  opacity: 0.65;
}


/* ==================================================
   PRODUCT CARDS
================================================== */

.menu-card {
  overflow: hidden;

  border-radius: var(--radius);

  background: var(--surface);

  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.menu-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 24px 60px rgba(40, 29, 20, 0.1);
}

.card-media {
  height: 245px;

  position: relative;
  overflow: hidden;

  background: #e8ded2;
}

.card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.menu-card:hover .card-image {
  transform: scale(1.035);
}

.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;

  padding: 7px 11px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.9);

  font-size: 0.72rem;
  font-weight: 700;
}

.card-content {
  padding: 20px;
}

.card-title-row {
  display: flex;
  justify-content: space-between;

  gap: 18px;
}

.card-title-row h3 {
  font-size: 1.03rem;
}

.card-title-row strong {
  color: var(--accent);

  white-space: nowrap;
}

.card-content p {
  margin-top: 9px;

  color: var(--muted);

  font-size: 0.9rem;
}


/* ==================================================
   DIETARY TAGS
================================================== */

.dietary-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 7px;
  margin-top: 14px;
}

.diet-tag {
  padding: 5px 9px;

  border-radius: 999px;

  font-size: 0.68rem;
  font-weight: 700;
}

.diet-tag.vegan {
  background: #dcebd8;
  color: #41633c;
}

.diet-tag.vegetarian {
  background: #e8edcf;
  color: #667132;
}

.diet-tag.gluten-free {
  background: #eee0c8;
  color: #795b2d;
}

.diet-tag.spicy {
  background: #f1d5cf;
  color: #994a3b;
}


/* ==================================================
   GOOGLE REVIEWS
================================================== */

.reviews-section {
  padding: 110px 0;

  overflow: hidden;

  background: #ebe3d8;
}

.google-review-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  gap: 16px;
}

.google-score {
  display: flex;
  align-items: center;

  gap: 15px;
}

.google-score > strong {
  font-size: 3rem;

  line-height: 1;
}

.google-score > div {
  display: flex;
  flex-direction: column;
}

.score-stars,
.review-stars {
  color: #f5a623;

  letter-spacing: 3px;
}

.google-score span {
  color: var(--muted);

  font-size: 0.85rem;
}

.google-review-link {
  padding: 11px 16px;

  border: 1px solid var(--line);
  border-radius: 999px;

  background: var(--surface);

  font-size: 0.86rem;
  font-weight: 700;

  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.google-review-link:hover {
  transform: translateY(-2px);

  background: white;

  box-shadow:
    0 10px 28px rgba(40, 29, 20, 0.1);
}


/* ==================================================
   REVIEWS SLIDER
================================================== */

.reviews-slider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.reviews-track {
  width: max-content;
  display: flex;
  gap: 20px;
}

.reviews-track.is-animated {
  animation: review-scroll 28s linear infinite;
}

.review-card {
  width: 350px;
  min-height: 245px;
  flex: none;

  display: flex;
  flex-direction: column;

  padding: 25px;

  border-radius: 22px;

  background: var(--surface);
}

@keyframes review-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 10px));
  }
}

.review-top {
  display: flex;
  align-items: center;

  gap: 13px;
}

.review-avatar {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--dark);
  color: white;

  font-weight: 700;
}

.review-top > div:last-child {
  display: flex;
  flex-direction: column;
}

.review-top span {
  color: var(--muted);

  font-size: 0.78rem;
}

.review-stars {
  margin-top: 18px;
}

.review-card p {
  margin-top: 13px;

  color: var(--muted);

  font-size: 0.92rem;
}

.google-label {
  margin-top: auto;
  padding-top: 20px;

  color: #4285f4;

  font-size: 0.8rem;
  font-weight: 700;
}

/* ==================================================
   GALLERY
================================================== */

.gallery-section {
  padding: 110px 0;

  background: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 270px;

  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  border-radius: var(--radius);

  transition:
    transform 0.3s,
    filter 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.015);
  filter: brightness(0.9);
}

.gallery-grid img:first-child,
.gallery-grid img:last-child {
  grid-row: span 2;
}


/* ==================================================
   ABOUT
================================================== */

.about-section {
  padding: 110px 0;

  background: var(--dark);
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;

  gap: 80px;

  align-items: center;
}

.about-visual {
  height: 600px;

  position: relative;
}

.visual-card {
  position: absolute;

  display: block;

  border-radius: var(--radius);

  object-fit: cover;
}

.visual-one {
  width: 81%;
  height: 88%;
  top: 0;
  left: 0;
}

.visual-two {
  width: 42%;
  height: 47%;

  right: 0;
  bottom: 0;

  border: 8px solid var(--dark);
}

.about-copy p {
  margin-top: 24px;

  color: rgba(255, 255, 255, 0.65);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;

  margin-top: 34px;
  padding-top: 34px;

  border-top:
    1px solid rgba(255, 255, 255, 0.12);
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats span {
  color: rgba(255, 255, 255, 0.48);
}


/* ==================================================
   LOCATION
================================================== */

.location-section {
  padding: 110px 0;

  background: #d8c2aa;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;

  gap: 40px;

  align-items: stretch;
}

.map-wrapper {
  min-height: 430px;

  overflow: hidden;

  border-radius: var(--radius);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;

  display: block;

  border: 0;
}

.location-details {
  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 26px;
}

.location-details div {
  padding-bottom: 18px;

  border-bottom:
    1px solid rgba(23, 21, 18, 0.15);
}

.location-details span,
.location-details strong {
  display: block;
}

.location-details span {
  margin-bottom: 5px;

  color: rgba(23, 21, 18, 0.55);

  font-size: 0.8rem;
}


/* ==================================================
   MENU PAGE
================================================== */

.menu-page-header {
  background: var(--dark);
  color: white;
}

.menu-section {
  padding: 90px 0 110px;
}

.menu-section .section-heading {
  margin-bottom: 32px;
}


/* ==================================================
   MENU FILTERS
================================================== */

.category-bar {
  display: flex;

  gap: 10px;
  margin-bottom: 32px;

  overflow-x: auto;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.category {
  min-height: 44px;
  padding: 10px 17px;

  border: 1px solid var(--line);
  border-radius: 999px;

  background: transparent;
  color: var(--muted);

  cursor: pointer;

  white-space: nowrap;
  touch-action: manipulation;

  transition: 0.2s;
}

.category:hover,
.category.active {
  border-color: var(--dark);

  background: var(--dark);
  color: white;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}


/* ==================================================
   FOOTER
================================================== */

footer {
  padding: 34px 0;

  background: var(--dark);
  color: white;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.footer-inner p {
  color: rgba(255, 255, 255, 0.65);

  font-size: 0.85rem;
}

.demo-credit {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.demo-credit:hover {
  color: var(--accent);
}

.reviews-section,
.gallery-section,
.about-section,
.location-section,
footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 900px) {

  .navbar {
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .language-toggle {
    margin-left: auto;
  }

  .featured-grid,
  .menu-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-visual {
    height: 480px;
  }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 620px) {

  .container {
    width: calc(100% - 28px);
  }


  /* Navigation */

  .navbar {
    height: 76px;

    gap: 12px;
  }

  .brand {
    font-size: 0.68rem;
  }

  .language-toggle {
    margin-left: auto;

    font-size: 0.7rem;
  }

  .nav-button {
    padding: 8px 11px;

    font-size: 0.72rem;
  }


  /* Hero */

  .hero {
    min-height: 760px;

    background-position: 62% center;
  }

  .hero-content {
    min-height: 650px;

    padding-bottom: 120px;
  }

  .hero h1 {
    font-size:
      clamp(3.4rem, 16vw, 5.2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;

    gap: 18px;
  }

  .hero-badge {
    width: 112px;
    height: 112px;

    right: 18px;
    bottom: 18px;
  }


  /* Sections */

  .featured-section,
  .reviews-section,
  .gallery-section,
  .about-section,
  .location-section,
  .menu-section {
    padding: 78px 0;
  }

  .section-heading,
  .reviews-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 16px;
  }


  /* Featured & Menu */

  .featured-grid,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-link {
    display: inline-block;

    margin-top: 16px;
  }


  /* Reviews */

  .google-review-summary {
    align-items: flex-start;

    margin-top: 25px;
  }

  .reviews-track {
    animation-duration: 22s;
  }

  .review-card {
    width: min(82vw, 290px);
  }


  /* Gallery */

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-grid img:first-child,
  .gallery-grid img:last-child {
    grid-row: span 1;
  }


  /* Images */

  .card-media {
    height: 230px;
  }

  .about-visual {
    height: 390px;
  }


  /* Map */

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 340px;
  }


  /* Footer */

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==================================================
   MOTION PREFERENCES
================================================== */

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reviews-track.is-animated {
    animation-duration: 28s !important;
    animation-iteration-count: infinite !important;
  }
}

@supports not (content-visibility: auto) {
  .reviews-section,
  .gallery-section,
  .about-section,
  .location-section,
  footer {
    content-visibility: visible;
  }
}
