/* =============================================
   FORNO & FIZZ — GLOBAL STYLES
   ============================================= */

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

:root {
  --cream:       #F5F0E8;
  --cream-dark:  #EDE8DF;
  --charcoal:    #1C1A17;
  --brown:       #2E2822;
  --rust:        #B8503A;
  --rust-hover:  #9E3F2B;
  --rust-light:  #D4664E;
  --gold:        #C9A96E;
  --text-body:   #3D3830;
  --text-light:  #7A7368;
  --border:      rgba(0,0,0,0.12);
  --white:       #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1100px;

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   UTILITIES
   ============================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 28px;
}

.section-label--light { color: var(--rust-light); }

/* =============================================
   PLACEHOLDER IMAGES
   ============================================= */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.img-placeholder--dark {
  background: #1a1714;
  color: rgba(255,255,255,0.2);
}

.img-placeholder--medium {
  background: #2a2520;
  color: rgba(255,255,255,0.2);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-smooth);
}

.btn:hover::before { transform: translateX(0); }

.btn--primary {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--rust-hover);
  border-color: var(--rust-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184, 80, 58, 0.35);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

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

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 60px);
  transition: background 0.4s var(--ease-smooth), padding 0.4s var(--ease-smooth), box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(28, 26, 23, 0.96);
  backdrop-filter: blur(12px);
  padding-top: 16px;
  padding-bottom: 16px;
  box-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

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

.nav__logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.nav__logo-name {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav__links a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rust-light);
  transition: width 0.3s var(--ease-smooth);
}

.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-smooth);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 10vh, 120px);
  padding-left: clamp(20px, 5vw, 60px);
  padding-right: clamp(20px, 5vw, 60px);
  overflow: hidden;
}

.hero__img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0d0b 0%, #1e1a14 40%, #2a2218 100%);
}

/* Subtle texture pattern */
.hero__img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 60% 40%, rgba(184, 80, 58, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201, 169, 110, 0.08) 0%, transparent 50%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 10, 8, 0.88) 0%,
    rgba(12, 10, 8, 0.3) 50%,
    rgba(12, 10, 8, 0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 44px;
  letter-spacing: -0.01em;
}

.hero__title em {
  font-style: italic;
  color: rgba(255,255,255,0.85);
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  right: clamp(20px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero__scroll-hint span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(1); }
  50% { opacity: 0.7; transform: scaleY(0.8) translateY(5px); }
}

/* =============================================
   STORY SECTION
   ============================================= */
.story {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.story__headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  max-width: 680px;
  margin-bottom: 48px;
}

.story__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 820px;
  margin-bottom: 72px;
}

.story__body p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 52px;
  max-width: 600px;
}

.stat {
  padding-right: 32px;
}

.stat:not(:last-child) {
  border-right: 1px solid var(--border);
  margin-right: 32px;
}

.stat__number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 12px;
}

.stat__number sup {
  font-size: 0.45em;
  vertical-align: super;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--rust);
}

.stat__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.5;
}

/* =============================================
   PHOTO GALLERY
   ============================================= */
.gallery {
  background: var(--cream-dark);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 380px 280px;
  gap: 4px;
}

.gallery__item { overflow: hidden; }

.gallery__item:hover .img-placeholder { transform: scale(1.03); }
.gallery__item .img-placeholder { transition: transform 0.6s var(--ease-smooth); }

.gallery__item--large {
  grid-row: 1 / 3;
}

.gallery__item--wide {
  grid-column: 2 / 4;
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.reviews__headline {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 60px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.review-card {
  background: var(--cream-dark);
  padding: 36px;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.review-card__stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.review-card__text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 28px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2520, #3d3830);
  flex-shrink: 0;
}

.review-card__author strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
}

.review-card__author span {
  font-size: 11px;
  color: var(--text-light);
}

/* Rating summary */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 80px;
}

.rating-summary__score {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
}

.rating-summary__stars {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 6px;
}

.rating-summary__details p {
  font-size: 13px;
  color: var(--text-light);
}

/* =============================================
   RESERVATION FORM
   ============================================= */
.reservation {
  max-width: 680px;
}

.reservation__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 48px;
}

.reservation__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-group input,
.form-group select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.25s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input::placeholder { color: rgba(0,0,0,0.3); }

.form-group input:focus,
.form-group select:focus {
  border-bottom-color: var(--rust);
}

/* =============================================
   MENU SECTION
   ============================================= */
.menu-section {
  padding: var(--section-pad) 0;
  background: var(--cream-dark);
}

.menu-section__headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 28px;
}

.menu-section__headline em {
  font-style: italic;
  color: var(--rust);
}

.menu-section__sub {
  font-size: 16px;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 64px;
  line-height: 1.75;
}

/* Tabs */
.menu-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-tab {
  background: none;
  border: none;
  padding: 16px 0;
  margin-right: 40px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s;
}

.menu-tab span {
  font-family: var(--font-sans);
  font-size: 12px;
  margin-left: 6px;
  opacity: 0.5;
}

.menu-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-smooth);
}

.menu-tab.active {
  color: var(--rust);
}

.menu-tab.active::after { transform: scaleX(1); }
.menu-tab:hover { color: var(--charcoal); }

/* Menu list */
.menu-list {
  display: none;
  padding-top: 8px;
}

.menu-list.active { display: block; }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.menu-item:first-child { border-top: 1px solid var(--border); margin-top: 20px; }

.menu-item:hover { padding-left: 8px; }
.menu-item { transition: padding 0.3s var(--ease-smooth); }

.menu-item__info h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.menu-item__info p {
  font-size: 14px;
  color: var(--text-light);
  max-width: 520px;
}

.menu-item__price {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-allergen {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 32px 0 0;
}

/* =============================================
   CTA / FIND US
   ============================================= */
.cta {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.cta__img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0d0b 0%, #1c1712 60%, #241e16 100%);
}

.cta__img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(184, 80, 58, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 70%, rgba(201, 169, 110, 0.1) 0%, transparent 50%);
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.75);
}

.cta__content {
  position: relative;
  z-index: 2;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
}

.cta__title em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

.cta__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.75;
}

.cta__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.cta__detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.cta__detail svg { color: var(--rust-light); flex-shrink: 0; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--charcoal);
  padding-top: 72px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  margin-bottom: 16px;
}

.footer__logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  opacity: 0.92;
}

.footer__brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
}

.footer__links h5 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer__links ul { list-style: none; }

.footer__links li + li { margin-top: 12px; }

.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.25s;
}

.footer__links a:hover { color: var(--white); }

.footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* =============================================
   ANIMATIONS — SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 900px) {
  .story__body {
    grid-template-columns: 1fr;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 200px 200px;
  }

  .gallery__item--large {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .gallery__item--wide {
    grid-column: 1 / 3;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / 3;
  }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 640px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(28, 26, 23, 0.98);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    backdrop-filter: blur(12px);
  }

  .nav__links.open { display: flex; }

  .nav__hamburger { display: flex; }

  .stats {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 100%;
  }

  .stat:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 28px;
    margin-right: 0;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery__item { height: 240px; }

  .gallery__item--large {
    grid-column: auto;
    grid-row: auto;
    height: 320px;
  }

  .gallery__item--wide {
    grid-column: auto;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__brand { grid-column: auto; }

  .hero__buttons { flex-direction: column; }

  .hero__scroll-hint { display: none; }
}
