/* ========================================================
   TRAMONTO — Italian Kitchen
   Design tokens
   ======================================================== */

@font-face {
  font-family: 'VictorianBritania';
  src: url('../fonts/VictorianBritania.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --pine:        #163C34;   /* deep pine — primary dark */
  --sea:         #2F5E54;   /* mid green — secondary */
  --gold:        #F7C83F;   /* sunset gold — accent / CTA */
  --gold-pale:   #FFEB97;   /* pale gold — highlights, hover */
  --cream:       #FBF6E9;   /* warm neutral — light backgrounds */
  --ink:         #0E241F;   /* near-black green for deep shadow/text */
  --white:       #FFFFFF;

  --font-display: 'VictorianBritania', 'Italiana', 'Georgia', serif;
  --font-script:  'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; }
p { margin: 0; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ========================================================
   Signature element — the sunset arc
   A horizon line with a rising/setting sun, used as the
   recurring motif for dividers, loaders and section breaks.
   ======================================================== */
.sun-divider {
  position: relative;
  height: 64px;
  margin: 0 auto;
  width: 100%;
  max-width: 220px;
  overflow: hidden;
}
.sun-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 120px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-pale) 100%);
}
.sun-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  height: 2px;
  background: currentColor;
  opacity: 0.35;
}

/* ========================================================
   Header / nav
   ======================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 28px 0;
}
.site-header.is-solid {
  position: relative;
  background: var(--pine);
  padding: 18px 0;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 46px; width: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-pale);
  color: var(--gold-pale);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold-pale);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--gold);
}
@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    background: var(--pine);
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 26px; }
  .main-nav a { font-size: 15px; }
}

/* ========================================================
   Hero
   ======================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,36,31,0.55) 0%, rgba(14,36,31,0.15) 38%, rgba(14,36,31,0.85) 100%);
  z-index: -1;
}
.hero-inner {
  width: 100%;
  padding: 0 0 88px;
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-pale);
  letter-spacing: 0.04em;
}
.hero h1 {
  font-size: clamp(48px, 9vw, 108px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 6px 0 28px;
  text-transform: uppercase;
}
.hero-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 28px;
}
.hero-sub {
  max-width: 520px;
  margin: 0 auto 34px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}
.hero-page {
  min-height: 56vh;
  align-items: center;
}
.hero-page .hero-inner { padding-bottom: 0; }
.hero-page h1 { font-size: clamp(40px, 7vw, 74px); }

/* ========================================================
   Buttons
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-pale); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-line { background: transparent; border-color: var(--pine); color: var(--pine); }
.btn-line:hover { background: var(--pine); color: var(--white); }

/* ========================================================
   Sections — shared rhythm
   ======================================================== */
section { padding: 108px 0; }
@media (max-width: 780px) { section { padding: 72px 0; } }

.eyebrow {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 20px;
  color: var(--sea);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(30px, 4.2vw, 46px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Intro / split section (image + text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); }
.split-media .icon-badge {
  position: absolute;
  bottom: -34px;
  right: -34px;
  width: 108px;
  height: 108px;
  background: var(--pine);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(22,60,52,0.35);
}
.split-body p { color: var(--sea); line-height: 1.85; font-size: 16px; margin-top: 22px; }
.split-body .btn { margin-top: 34px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .split-media .icon-badge { width: 78px; height: 78px; right: 12px; bottom: -20px; }
}

/* Dark band section */
.band-dark {
  background: var(--pine);
  color: var(--gold-pale);
}
.band-dark .eyebrow { color: var(--gold); }
.band-dark .section-title { color: var(--white); }

/* Why Tramonto */
.why {
  background: var(--pine);
  color: var(--white);
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: stretch;
}
.why-text { padding: 100px 72px; }
.why-text p { color: rgba(255,235,151,0.85); line-height: 1.9; font-size: 16px; margin-top: 20px; }
.why-cta { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,235,151,0.18); }
.why-media { display: flex; align-items: center; justify-content: center; padding: 56px; }
.why-media img { height: auto; width: 100%; max-width: 380px; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 50px rgba(0,0,0,0.35); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-text { padding: 56px 28px; }
  .why-media { padding: 0 28px 56px; }
  .why-media img { max-width: 300px; }
}

/* Testimonials */
.testimonials { background: var(--cream); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.testi-card {
  background: var(--white);
  border: 1px solid rgba(22,60,52,0.1);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.stars { color: var(--gold); font-size: 15px; letter-spacing: 3px; margin-bottom: 18px; }
.testi-card p.quote {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--pine);
}
.testi-name {
  display: block;
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sea);
}
@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--pine) 0%, var(--sea) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,200,63,0.35), transparent 70%);
}
.cta-band .container { position: relative; z-index: 2; max-width: 680px; }
.cta-band p { margin: 18px 0 36px; color: rgba(255,255,255,0.82); font-size: 16px; line-height: 1.8; }

/* Info strip (address/hours) */
.info-strip {
  background: var(--cream);
}
.info-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(22,60,52,0.1);
  padding: 40px;
}
.info-card img { border-radius: var(--radius); margin-bottom: 24px; aspect-ratio: 1/1; object-fit: cover; }
.info-line { margin-bottom: 20px; }
.info-line .label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 6px;
}
.info-line .value { font-size: 16px; color: var(--pine); }
@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* ========================================================
   Footer
   ======================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,235,151,0.75);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,235,151,0.15);
}
.footer-grid img { height: 40px; margin-bottom: 18px; }
.footer-grid p { font-size: 14px; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col a, .footer-col p { font-size: 14px; line-height: 1.9; display: block; }
.footer-col a:hover { color: var(--gold); }
.social-row { display: flex; gap: 14px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,235,151,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,235,151,0.5);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========================================================
   MENU page
   ======================================================== */
.menu-note {
  background: var(--gold-pale);
  color: var(--ink);
  text-align: center;
  padding: 18px 24px;
  font-size: 14px;
  border-radius: var(--radius);
  margin-bottom: 64px;
}
.menu-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
@media (max-width: 980px) {
  .menu-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .menu-columns { grid-template-columns: 1fr; }
}
.menu-group { margin-bottom: 44px; }
.menu-group h3 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(247,200,63,0.35);
}
.menu-item { margin-bottom: 18px; }
.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.menu-item-row .name {
  font-weight: 500;
  font-size: 15.5px;
  color: var(--white);
}
.menu-item-row .price {
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  font-size: 15px;
}
.menu-item .desc {
  font-size: 13.5px;
  color: rgba(255,235,151,0.65);
  margin-top: 4px;
  line-height: 1.55;
}
.menu-page-band { background: var(--pine); }
.menu-allergy {
  margin-top: 60px;
  padding: 24px;
  border: 1px solid rgba(255,235,151,0.25);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: rgba(255,235,151,0.75);
  text-align: center;
  line-height: 1.7;
}
.veg-tag { color: var(--gold-pale); font-size: 12px; }

/* ========================================================
   RESERVATIONS page
   ======================================================== */
.reserve-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: flex-start;
}
.reserve-panel {
  background: var(--white);
  border: 1px solid rgba(22,60,52,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 720px;
}
.reserve-panel iframe { width: 100%; height: 720px; border: 0; display: block; }
.reserve-side .info-card { margin-bottom: 24px; }
.reserve-side .info-card:last-child { margin-bottom: 0; }
.reserve-side .btn { width: 100%; justify-content: center; margin-top: 10px; }
@media (max-width: 980px) {
  .reserve-grid { grid-template-columns: 1fr; }
  .reserve-panel, .reserve-panel iframe { min-height: 640px; height: 640px; }
}

/* ========================================================
   ABOUT page
   ======================================================== */
.story-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--pine);
  color: var(--white);
}
.story-hero .eyebrow { color: var(--gold); }
.story-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  text-transform: lowercase;
  font-style: italic;
  font-family: var(--font-script);
  font-weight: 500;
  color: var(--gold-pale);
  margin-top: 8px;
}
.about-block { padding: 100px 0; }
.about-block:nth-child(even) { background: var(--white); }
.tagline-band {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: 90px 0;
}
.tagline-band h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-style: italic;
  font-family: var(--font-script);
}
