/* ==========================================================================
   OSTERIA NOVE — Design System & Stylesheet
   Italian Ristorante, Zurich

   Table of Contents:

    1.  CSS Custom Properties (Design Tokens)
    2.  Reset & Base Styles
    3.  Typography Scale
    4.  Layout Utilities
    5.  Navigation (.site-nav)
    6.  Hero Sections
    7.  Buttons
    8.  Cards
    9.  Menu / Dish Styles
   10.  Testimonials
   11.  Gallery Grid
   12.  Image Sections (Parallax Dividers, Split Layouts)
   13.  Form Styles
   14.  Footer (.site-footer)
   15.  Dividers & Decorative Elements
   16.  Animations & Keyframes
   17.  Scroll Progress Bar
   18.  Back to Top Button
   19.  Accessibility
   20.  Page-Specific Overrides
   21.  Responsive — 1024px
   22.  Responsive — 768px
   23.  Responsive — 480px
   ========================================================================== */


/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */

:root {
  /* ---- Palette ---- */
  --cream:            #FAF7F2;
  --white:            #FFFFFF;
  --paper:            #F0EBE3;
  --charcoal:         #1A1A1A;
  --charcoal-light:   #333333;
  --terracotta:       #C45D3E;
  --terracotta-dark:  #A34B30;
  --terracotta-light: #D4836E;
  --olive:            #5C6B3C;
  --olive-light:      rgba(92, 107, 60, 0.1);
  --stone:            #8A8279;
  --stone-light:      #B5AFA7;
  --gold:             #C9A96E;
  --dark-overlay:     rgba(26, 26, 26, 0.6);

  /* ---- Typography ---- */
  --font-display:    'Playfair Display', serif;
  --font-heading:    'Cormorant Garamond', serif;
  --font-body:       'DM Sans', sans-serif;
  --font-decorative: 'Cormorant Garamond', serif;

  /* ---- Spacing ---- */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  2rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* ---- Sizing ---- */
  --container:        1200px;
  --container-narrow: 800px;
  --container-wide:   1400px;
  --nav-height:       80px;

  /* ---- Borders & Radii ---- */
  --radius:      2px;
  --radius-sm:   1px;
  --radius-lg:   4px;

  /* ---- Shadows ---- */
  --shadow-sm:   0 1px 3px rgba(26, 26, 26, 0.06);
  --shadow-md:   0 4px 16px rgba(26, 26, 26, 0.08);
  --shadow-lg:   0 8px 30px rgba(26, 26, 26, 0.12);
  --shadow-card: 0 2px 8px rgba(26, 26, 26, 0.05);

  /* ---- Transitions ---- */
  --ease-out:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --duration:   0.3s;
  --duration-slow: 0.5s;
}


/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

a:hover {
  color: var(--terracotta-dark);
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

::selection {
  background-color: var(--terracotta);
  color: var(--white);
}

::-moz-selection {
  background-color: var(--terracotta);
  color: var(--white);
}


/* ==========================================================================
   3. TYPOGRAPHY SCALE
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 400;
  color: var(--charcoal);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw + 0.5rem, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw + 0.25rem, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

h5 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

h6 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

p {
  margin-bottom: 1.25em;
  color: var(--charcoal-light);
  line-height: 1.75;
}

p:last-child {
  margin-bottom: 0;
}

small,
.text-small {
  font-size: 0.875rem;
  line-height: 1.6;
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.75;
}

.subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 300;
  font-style: italic;
  color: var(--stone);
  line-height: 1.6;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  margin-bottom: 1rem;
  position: relative;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--terracotta);
  vertical-align: middle;
  margin-right: 12px;
}

.decorative-text {
  font-family: var(--font-decorative);
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.5;
  padding-left: 2rem;
  border-left: 2px solid var(--gold);
  margin: 2rem 0;
}


/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-padding-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.flex-col {
  display: flex;
  flex-direction: column;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.gap-sm { gap: 1rem; }
.gap-md { gap: 2rem; }
.gap-lg { gap: 3rem; }
.gap-xl { gap: 4rem; }


/* ==========================================================================
   5. NAVIGATION (.site-nav)
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: transparent;
  transition:
    background-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.site-nav.scrolled {
  background-color: var(--cream);
  box-shadow: var(--shadow-sm);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ---- Logo ---- */

.nav-logo {
  flex-shrink: 0;
  z-index: 1001;
}

.nav-logo a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--duration) var(--ease-out);
}

.site-nav.scrolled .nav-logo a {
  color: var(--charcoal);
}

/* ---- Nav Links ---- */

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--duration) var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width var(--duration) var(--ease-out);
}

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

.site-nav.scrolled .nav-links a {
  color: var(--charcoal);
}

.site-nav.scrolled .nav-links a:hover {
  color: var(--terracotta);
}

/* ---- Nav CTA ---- */

.nav-cta .btn {
  font-size: 0.8125rem;
  padding: 0.625rem 1.5rem;
}

/* ---- Hamburger / Mobile Toggle ---- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 1px;
  transition:
    transform var(--duration) var(--ease-out),
    opacity var(--duration) var(--ease-out),
    background-color var(--duration) var(--ease-out);
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 6px;
}

.site-nav.scrolled .nav-toggle-bar {
  background-color: var(--charcoal);
}

/* Hamburger -> X transformation */
.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* When nav-open, bars should be visible against overlay */
.nav-open .nav-toggle-bar {
  background-color: var(--white);
}

/* ---- Mobile Menu Overlay ---- */

.nav-mobile-overlay {
  display: none;
}


/* ==========================================================================
   6. HERO SECTIONS
   ========================================================================== */

.hero-full {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark-overlay);
  z-index: 1;
}

.hero-full .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-full h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-full .subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: 2.5rem;
}

.hero-full p {
  color: rgba(255, 255, 255, 0.8);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: subtleBounce 2.5s infinite;
}

.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes subtleBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- Inner Page Hero Banner ---- */

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark-overlay);
  z-index: 1;
}

.hero-banner .hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.hero-banner .subtitle {
  color: rgba(255, 255, 255, 0.85);
}


/* ==========================================================================
   7. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.875rem 2rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition:
    background-color var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary */
.btn-primary {
  background-color: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background-color: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(196, 93, 62, 0.3);
}

/* Secondary (Outline) */
.btn-secondary {
  background-color: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.btn-secondary:hover {
  background-color: var(--terracotta);
  color: var(--white);
}

/* White */
.btn-white {
  background-color: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-white:hover {
  background-color: var(--cream);
  border-color: var(--cream);
  color: var(--charcoal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Large */
.btn-large {
  font-size: 1rem;
  padding: 1.125rem 2.75rem;
  letter-spacing: 0.12em;
}

/* Small */
.btn-small {
  font-size: 0.75rem;
  padding: 0.625rem 1.25rem;
}

/* Link style button */
.btn-link {
  background: none;
  border: none;
  color: var(--terracotta);
  padding: 0;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  position: relative;
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width var(--duration) var(--ease-out);
}

.btn-link:hover {
  transform: none;
}

.btn-link:hover::after {
  width: 100%;
}


/* ==========================================================================
   8. CARDS
   ========================================================================== */

.card {
  background-color: var(--paper);
  padding: 2.5rem;
  border-radius: var(--radius);
  transition:
    box-shadow var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ---- Dish Card (Menu Item with Image) ---- */

.dish-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    box-shadow var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.dish-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.dish-card-image {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.dish-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.dish-card:hover .dish-card-image img {
  transform: scale(1.05);
}

.dish-card-content {
  padding: 1.75rem;
}

.dish-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.dish-card-content p {
  font-size: 0.9375rem;
  color: var(--stone);
  margin-bottom: 1rem;
}

.dish-card-price {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--terracotta);
}

/* ---- Feature Card (Icon + Heading + Text) ---- */

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background-color: var(--white);
  border-radius: var(--radius);
  transition:
    box-shadow var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  background-color: var(--olive-light);
  border-radius: 50%;
}

.feature-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--stone);
}


/* ==========================================================================
   9. MENU / DISH STYLES
   ========================================================================== */

.menu-category {
  margin-bottom: 3.5rem;
}

.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.menu-category-header h2 {
  margin-bottom: 0.5rem;
}

.menu-category-header p {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--stone);
  font-size: 1.125rem;
}

/* ---- Individual Menu Item ---- */

.menu-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(181, 175, 167, 0.3);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.menu-item-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  flex-shrink: 0;
}

.menu-item-dots {
  flex: 1;
  border-bottom: 1px dotted var(--stone-light);
  margin-bottom: 5px;
  min-width: 2rem;
}

.menu-item-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--terracotta);
  flex-shrink: 0;
  white-space: nowrap;
}

.menu-item-description {
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.5;
  margin-bottom: 0;
}

.menu-item-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.menu-item-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  background-color: var(--olive-light);
  color: var(--olive);
}


/* ==========================================================================
   10. TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  position: relative;
  transition:
    box-shadow var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.25rem;
  left: 1.75rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--terracotta-light);
  opacity: 0.3;
  pointer-events: none;
}

.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--charcoal-light);
  padding-left: 0;
  border-left: none;
  margin: 0 0 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-author-name {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
}

.testimonial-author-role {
  font-size: 0.8125rem;
  color: var(--stone);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}


/* ==========================================================================
   11. GALLERY GRID
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 0.75rem;
}

/* Spanning rules for visual variety */
.gallery-grid .gallery-item:nth-child(5n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid .gallery-item:nth-child(7n + 4) {
  grid-column: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-style: italic;
}


/* ==========================================================================
   12. IMAGE SECTIONS (Parallax Dividers, Split Layouts)
   ========================================================================== */

/* ---- Full-width Parallax Image Divider ---- */

.image-break {
  position: relative;
  width: 100%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fallback: mobile devices often don't support fixed background-attachment */
@supports not (background-attachment: fixed) {
  .image-break {
    background-attachment: scroll;
  }
}

.image-break::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark-overlay);
}

.image-break-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 700px;
  padding: 2rem;
}

.image-break-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.image-break-content p {
  color: rgba(255, 255, 255, 0.85);
}

/* ---- Split Section (Image + Text, Alternating) ---- */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 500px;
}

.split-section:nth-child(even) .split-image {
  order: 2;
}

.split-section:nth-child(even) .split-content {
  order: 1;
}

.split-image {
  position: relative;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  background-color: var(--paper);
}

.split-content .section-label {
  margin-bottom: 1rem;
}

.split-content h2 {
  margin-bottom: 1.5rem;
}

.split-content p {
  margin-bottom: 1.5rem;
}


/* ==========================================================================
   13. FORM STYLES
   ========================================================================== */

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 0;
  font-size: 1rem;
  color: var(--charcoal);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--stone-light);
  border-radius: 0;
  outline: none;
  transition:
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--terracotta);
  box-shadow: 0 1px 0 0 var(--terracotta);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone-light);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A8279' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 12px;
  padding-right: 1.5rem;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--stone);
  margin-top: 0.5rem;
}

.form-success {
  background-color: var(--olive-light);
  color: var(--olive);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.form-error {
  color: var(--terracotta);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}


/* ==========================================================================
   14. FOOTER (.site-footer)
   ========================================================================== */

.site-footer {
  background-color: var(--charcoal);
  color: var(--cream);
  padding-top: 5rem;
  padding-bottom: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(250, 247, 242, 0.1);
}

/* Footer — Brand Column */

.footer-brand .nav-logo a,
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand .footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--stone);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(250, 247, 242, 0.2);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1rem;
  transition:
    background-color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
}

.footer-social a:hover {
  background-color: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

/* Footer — Column Headings */

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul a {
  font-size: 0.9375rem;
  color: var(--stone);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

.footer-column ul a:hover {
  color: var(--cream);
}

/* Footer — Contact Info */

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.5;
}

.footer-contact-item strong {
  color: var(--cream);
  font-weight: 500;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  color: var(--terracotta-light);
  margin-top: 2px;
}

/* Footer — Hours */

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: var(--stone);
  padding: 0.375rem 0;
}

.footer-hours-row span:first-child {
  color: var(--cream);
  font-weight: 500;
}

/* Footer — Bottom Bar */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
  font-size: 0.8125rem;
  color: var(--stone);
}

.footer-bottom a {
  color: var(--stone);
}

.footer-bottom a:hover {
  color: var(--cream);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}


/* ==========================================================================
   15. DIVIDERS & DECORATIVE ELEMENTS
   ========================================================================== */

.divider {
  width: 60px;
  height: 1px;
  background-color: var(--terracotta);
  margin: 2rem auto;
  border: none;
}

.divider-wide {
  width: 120px;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 2.5rem auto;
  position: relative;
}

.divider-ornament::before,
.divider-ornament::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background-color: var(--stone-light);
}

.divider-ornament::before {
  margin-right: 1rem;
}

.divider-ornament::after {
  margin-left: 1rem;
}

.divider-ornament-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Decorative section with centered ornament in a narrower scope */
.section-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-heading .section-label {
  display: block;
  margin-bottom: 0.75rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading .subtitle {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


/* ==========================================================================
   16. ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---- Animate on Scroll (JS-driven via IntersectionObserver) ---- */

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

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

.animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.animate-left.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.animate-right.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.animate-scale.animate-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children delays */
.animate-stagger > *:nth-child(1) { transition-delay: 0s; }
.animate-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.animate-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.animate-stagger > *:nth-child(4) { transition-delay: 0.3s; }
.animate-stagger > *:nth-child(5) { transition-delay: 0.4s; }
.animate-stagger > *:nth-child(6) { transition-delay: 0.5s; }


/* ==========================================================================
   17. SCROLL PROGRESS BAR
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}


/* ==========================================================================
   18. BACK TO TOP BUTTON
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--duration) var(--ease-out),
    visibility var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out),
    background-color var(--duration) var(--ease-out);
  z-index: 900;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--terracotta-dark);
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ==========================================================================
   19. ACCESSIBILITY
   ========================================================================== */

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* Remove focus styles for mouse users */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Skip link (keyboard navigation) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background-color: var(--terracotta);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top var(--duration) var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate,
  .animate-left,
  .animate-right,
  .animate-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-scroll-indicator {
    animation: none;
  }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .btn {
    border: 2px solid currentColor;
  }

  .divider,
  .divider-ornament::before,
  .divider-ornament::after {
    background-color: currentColor;
  }
}


/* ==========================================================================
   20. PAGE-SPECIFIC OVERRIDES
   ========================================================================== */

/* ---- Menu Page ---- */

.page-menu .menu-category + .menu-category {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(181, 175, 167, 0.2);
}

.page-menu .section-padding {
  padding-top: 4rem;
}

/* ---- About Page ---- */

.page-about .split-content {
  background-color: var(--cream);
}

.page-about .timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2.5rem;
}

.page-about .timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--stone-light);
}

.page-about .timeline-item::after {
  content: '';
  position: absolute;
  left: -4px;
  top: 6px;
  width: 9px;
  height: 9px;
  background-color: var(--terracotta);
  border-radius: 50%;
}

.page-about .timeline-item:last-child::before {
  display: none;
}

/* ---- Gallery Page ---- */

.page-gallery .gallery-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.page-gallery .gallery-filter-btn {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.25rem;
  color: var(--stone);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    background-color var(--duration) var(--ease-out);
}

.page-gallery .gallery-filter-btn:hover,
.page-gallery .gallery-filter-btn.active {
  color: var(--terracotta);
  border-color: var(--terracotta);
  background-color: rgba(196, 93, 62, 0.05);
}

/* ---- Contact Page ---- */

.page-contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.page-contact .contact-info-card {
  background-color: var(--paper);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.page-contact .contact-info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.page-contact .map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
}

.page-contact .map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* ==========================================================================
   21. RESPONSIVE — max-width: 1024px
   ========================================================================== */

@media (max-width: 1024px) {

  .container,
  .container-narrow,
  .container-wide {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

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

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .split-content {
    padding: 3rem;
  }

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

  .page-contact .contact-grid {
    gap: 3rem;
  }
}


/* ==========================================================================
   22. RESPONSIVE — max-width: 768px
   ========================================================================== */

@media (max-width: 768px) {

  /* ---- Typography ---- */

  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }

  /* ---- Navigation — Show Hamburger ---- */

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* ---- Mobile Overlay Menu ---- */

  .nav-mobile-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: var(--charcoal);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--duration-slow) var(--ease-out),
      visibility var(--duration-slow) var(--ease-out);
  }

  .nav-open .nav-mobile-overlay {
    opacity: 1;
    visibility: visible;
  }

  .nav-mobile-overlay a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--cream);
    text-decoration: none;
    padding: 0.75rem 0;
    opacity: 0;
    transform: translateY(15px);
    transition:
      opacity var(--duration) var(--ease-out),
      transform var(--duration) var(--ease-out),
      color var(--duration) var(--ease-out);
  }

  .nav-open .nav-mobile-overlay a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-open .nav-mobile-overlay a:nth-child(1) { transition-delay: 0.1s; }
  .nav-open .nav-mobile-overlay a:nth-child(2) { transition-delay: 0.15s; }
  .nav-open .nav-mobile-overlay a:nth-child(3) { transition-delay: 0.2s; }
  .nav-open .nav-mobile-overlay a:nth-child(4) { transition-delay: 0.25s; }
  .nav-open .nav-mobile-overlay a:nth-child(5) { transition-delay: 0.3s; }
  .nav-open .nav-mobile-overlay a:nth-child(6) { transition-delay: 0.35s; }
  .nav-open .nav-mobile-overlay a:nth-child(7) { transition-delay: 0.4s; }

  .nav-mobile-overlay a:hover {
    color: var(--terracotta-light);
  }

  .nav-mobile-overlay .btn {
    margin-top: 1.5rem;
    font-size: 0.875rem;
  }

  /* ---- Hero ---- */

  .hero-full {
    min-height: 90vh;
  }

  .hero-banner {
    min-height: 35vh;
  }

  /* ---- Grids ---- */

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-grid .gallery-item:nth-child(5n + 1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-grid .gallery-item:nth-child(7n + 4) {
    grid-column: span 1;
  }

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

  /* ---- Split Section — Stack ---- */

  .split-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split-section:nth-child(even) .split-image,
  .split-section:nth-child(even) .split-content {
    order: unset;
  }

  .split-image {
    height: 300px;
  }

  .split-content {
    padding: 2.5rem 1.5rem;
  }

  /* ---- Forms ---- */

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

  /* ---- Footer ---- */

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* ---- Image Break ---- */

  .image-break {
    min-height: 300px;
    background-attachment: scroll;
  }

  /* ---- Page-Specific ---- */

  .page-contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-contact .map-container {
    height: 300px;
  }

  /* ---- Back to Top ---- */

  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
}


/* ==========================================================================
   23. RESPONSIVE — max-width: 480px
   ========================================================================== */

@media (max-width: 480px) {

  .container,
  .container-narrow,
  .container-wide {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-padding {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  /* ---- Typography ---- */

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.375rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .section-label {
    font-size: 0.6875rem;
  }

  p {
    font-size: 0.9375rem;
  }

  /* ---- Grid ---- */

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* ---- Hero ---- */

  .hero-full {
    min-height: 80vh;
  }

  .hero-full .hero-content {
    padding: 1rem;
  }

  .hero-banner {
    min-height: 30vh;
  }

  /* ---- Buttons ---- */

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
  }

  .btn-large {
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
  }

  /* ---- Cards ---- */

  .card {
    padding: 1.75rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .dish-card-image {
    height: 200px;
  }

  .dish-card-content {
    padding: 1.25rem;
  }

  /* ---- Menu ---- */

  .menu-item-header {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .menu-item-dots {
    display: none;
  }

  .menu-item-price {
    width: 100%;
    order: 3;
  }

  /* ---- Gallery ---- */

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

  .gallery-grid .gallery-item:nth-child(5n + 1) {
    grid-column: span 1;
  }

  /* ---- Split Section ---- */

  .split-image {
    height: 220px;
  }

  .split-content {
    padding: 2rem 1rem;
  }

  /* ---- Image Break ---- */

  .image-break {
    min-height: 250px;
  }

  .image-break-content {
    padding: 1.5rem;
  }

  .image-break-content h2 {
    font-size: 1.5rem;
  }

  /* ---- Mobile Menu ---- */

  .nav-mobile-overlay a {
    font-size: 1.5rem;
    padding: 0.5rem 0;
  }

  /* ---- Footer ---- */

  .site-footer {
    padding-top: 3rem;
  }

  .footer-main {
    gap: 1.5rem;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* ---- Back to Top ---- */

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}


/* ==========================================================================
   24. COMPATIBILITY & ADDITIONAL COMPONENT STYLES
   Classes used across pages that need explicit definitions.
   ========================================================================== */

/* ---- Hero Full (index.html) additional classes ---- */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--dark-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: 2.5rem;
  font-family: var(--font-body);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-chevron {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ---- Hero Banner overlay (inner pages) ---- */

.hero-banner-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-banner-content h1,
.hero-banner-overlay h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.hero-banner-content p,
.hero-banner-overlay p,
.hero-banner-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  font-family: var(--font-body);
}

/* ---- Section variants ---- */

.section {
  padding: 5rem 2rem;
  max-width: var(--container);
  margin: 0 auto;
}

.section-light {
  background-color: var(--paper);
}

.section-paper {
  background-color: var(--paper);
}

.section-centered {
  text-align: center;
}

.section-dark-cta {
  background-color: var(--charcoal);
  color: var(--cream);
}

.section-dark-cta h2 {
  color: var(--white);
}

.section-dark-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

.section-dark-cta .btn-white {
  margin-bottom: 1.5rem;
}

.section-label-light {
  color: rgba(255, 255, 255, 0.7);
}

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

/* ---- Section CTA ---- */

.section-cta {
  margin-top: 3rem;
}

.cta-phone {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.cta-phone a {
  color: var(--gold);
  text-decoration: none;
}

.cta-phone a:hover {
  text-decoration: underline;
}

/* ---- Features Grid (index.html) ---- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--terracotta);
  opacity: 0.6;
}

/* ---- Dishes Grid (index.html) ---- */

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.dish-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dish-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.dish-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.dish-card:hover .dish-image img {
  transform: scale(1.05);
}

.dish-info {
  padding: 1.5rem;
}

.dish-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.dish-info p {
  color: var(--stone);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.dish-price {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--terracotta);
}

/* ---- Two-column text (index.html welcome) ---- */

.two-col-text {
  columns: 2;
  column-gap: 3rem;
  text-align: left;
  margin-top: 2rem;
}

.two-col-text p {
  margin-bottom: 1rem;
}

/* ---- Text link ---- */

.text-link {
  display: inline-block;
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 500;
  margin-top: 1.5rem;
  transition: color var(--duration) var(--ease-out);
}

.text-link:hover {
  color: var(--terracotta-dark);
}

/* ---- Image break overlay ---- */

.image-break-overlay {
  position: absolute;
  inset: 0;
  background: var(--dark-overlay);
  z-index: 1;
}

.image-break-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

/* ---- Quote styles ---- */

.quote-italian {
  font-family: var(--font-decorative);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.quote-translation {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  font-family: var(--font-body);
}

.decorative-quote {
  text-align: center;
  margin-bottom: 2rem;
}

/* ---- Stats (about page) ---- */

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Menu intro (menu page) ---- */

.menu-intro {
  text-align: center;
  padding: 4rem 2rem 2rem;
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.menu-intro-text {
  color: var(--stone);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ---- Intro text (gallery page) ---- */

.intro-text {
  color: var(--stone);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ---- Contact grid (contact page) ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  margin-bottom: 2rem;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.contact-info-card p,
.contact-info-card address {
  color: var(--stone);
  font-style: normal;
  line-height: 1.7;
}

.contact-info-card a {
  color: var(--terracotta);
  text-decoration: none;
}

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

.map-container {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  display: block;
  width: 100%;
  min-height: 300px;
  border: 0;
}

/* ---- Form success message ---- */

.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--olive-light);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--olive);
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.form-success a {
  color: var(--terracotta);
}

/* ---- Additional services grid (contact page) ---- */

.services-info {
  padding: 5rem 2rem;
  background: var(--paper);
}

/* ---- Hours list in footer ---- */

.hours-list {
  list-style: none;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  gap: 1rem;
}

/* ---- Footer column & social links (index.html format) ---- */

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--duration);
}

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

.footer-col address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col address a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-family: var(--font-decorative);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration);
}

.social-links a:hover {
  color: var(--gold);
}

/* ---- CTA section (gallery/menu/about) ---- */

.cta-section {
  padding: 5rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* About page CTA override (dark bg) */
.section.section-cta {
  background: var(--charcoal);
  color: var(--cream);
}

.section.section-cta h2 {
  color: var(--white);
}

.section.section-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

/* ---- Footer extra classes (menu/contact pages) ---- */

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-nav,
.footer-hours,
.footer-contact,
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-nav li,
.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-nav li a,
.footer-links li a,
.footer-contact li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--duration);
}

.footer-nav li a:hover,
.footer-links li a:hover,
.footer-contact li a:hover {
  color: var(--gold);
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  gap: 1rem;
}

.footer-contact address,
.footer-col .footer-contact {
  font-style: normal;
}

/* ---- Responsive additions for new components ---- */

@media (max-width: 1024px) {
  .features-grid {
    gap: 2rem;
  }

  .dishes-grid {
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dishes-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .two-col-text {
    columns: 1;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hours-list li {
    justify-content: center;
    gap: 1.5rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .dishes-grid {
    max-width: 100%;
  }

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


/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */
