/* ============================================================
   SAISON - Seasonal Kitchen & Bar
   Example restaurant website by Zenbyte
   ============================================================ */

:root {
  --charcoal: #1c1815;
  --charcoal-soft: #2a2420;
  --cream: #f7f1e7;
  --cream-dim: #e9e0d2;
  --sand: #d8c7ad;
  --gold: #c19a5b;
  --gold-dark: #a87f3f;
  --text: #2a2420;
  --muted: #6f655a;
  --line: rgba(28, 24, 21, 0.12);
  --radius: 14px;
  --container: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -28px rgba(28, 24, 21, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
blockquote {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
}

.eyebrow {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.section-sub {
  margin-top: 14px;
  color: var(--muted);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(193, 154, 91, 0.7);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgba(247, 241, 231, 0.5);
  color: var(--cream);
}

.btn-ghost:hover {
  background: rgba(247, 241, 231, 0.12);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    padding 0.4s var(--ease);
  padding-block: 20px;
}

.site-header.scrolled {
  background: rgba(28, 24, 21, 0.92);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
  padding-block: 12px;
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold);
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  color: var(--cream);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin-left: auto;
  margin-right: 8px;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.92rem;
  position: relative;
  padding-block: 4px;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  background: linear-gradient(rgba(20, 17, 14, 0.2), rgba(20, 17, 14, 0.2)),
    url("https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
  background-color: var(--charcoal);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 17, 14, 0.92) 0%,
    rgba(20, 17, 14, 0.45) 45%,
    rgba(20, 17, 14, 0.55) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-block: 120px;
}

.hero .eyebrow {
  color: var(--sand);
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-text {
  margin-top: 22px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 520px;
  color: var(--cream-dim);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 0.85rem;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(247, 241, 231, 0.5);
  border-radius: 14px;
  display: grid;
  justify-items: center;
  padding-top: 7px;
  z-index: 2;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollCue 1.8s var(--ease) infinite;
}

@keyframes scrollCue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(9px);
    opacity: 0.3;
  }
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--charcoal);
  color: var(--cream);
  padding: 18px 26px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.about-badge strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--gold);
}

.about-badge span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.about-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(193, 154, 91, 0.18);
}

/* ===== Stats ===== */
.stats {
  background: var(--charcoal);
  color: var(--cream);
  padding-block: clamp(48px, 6vw, 72px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--gold);
}

.stat span {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
}

/* ===== Menu ===== */
.menu {
  background: var(--cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 60px);
}

.menu-cat {
  font-size: 1.4rem;
  color: var(--charcoal);
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.menu-cat::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--gold);
}

.menu-item {
  margin-bottom: 22px;
}

.menu-item-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.menu-item-head .name {
  font-weight: 600;
  color: var(--charcoal);
}

.menu-item-head .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(28, 24, 21, 0.28);
  transform: translateY(-4px);
}

.menu-item-head .price {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--gold-dark);
}

.menu-item-head .price::before {
  content: "€";
  font-size: 0.8rem;
  margin-right: 2px;
}

.menu-item .desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ===== Gallery ===== */
.gallery {
  background: var(--cream-dim);
}

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

.gallery-grid figure {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.gallery-grid .tall {
  grid-row: span 2;
}

.gallery-grid .wide {
  grid-column: span 2;
}

/* ===== Quote ===== */
.quote {
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
}

.quote blockquote {
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-style: italic;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.4;
}

.quote-author {
  margin-top: 24px;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--sand);
}

/* ===== Reservation ===== */
.reserve {
  background: var(--cream);
}

.reserve-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.reserve-info h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 18px;
}

.reserve-info > p {
  color: var(--muted);
}

.info-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.info-list li {
  display: grid;
  gap: 2px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
}

.reserve-form {
  background: #fff;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

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

.reserve-form label {
  display: grid;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
}

.reserve-form input,
.reserve-form select,
.reserve-form textarea {
  font: inherit;
  font-size: 0.92rem;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.reserve-form input:focus,
.reserve-form select:focus,
.reserve-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193, 154, 91, 0.18);
}

.reserve-form textarea {
  resize: vertical;
}

.form-status {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.2em;
}

.form-status.ok {
  color: #2e7d4f;
}

.form-status.err {
  color: #b3402f;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--charcoal);
  color: var(--cream-dim);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand-name {
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  color: var(--cream);
}

.footer-tag {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 22px;
  border-top: 1px solid rgba(247, 241, 231, 0.12);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom strong {
  color: var(--gold);
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 50px -30px rgba(0, 0, 0, 0.8);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 110;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .about-media img {
    height: 380px;
  }

  .about-badge {
    right: 16px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

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

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

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-grid .wide,
  .gallery-grid .tall {
    grid-column: auto;
    grid-row: auto;
  }

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

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

  .hero-inner {
    padding-block: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
