/* ========================================================
   RISTORANTE AMALFI — Main Stylesheet
   ======================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

/* --- Design Tokens --- */
:root {
  --blue-dark:    #0d2340;
  --blue-medium:  #1a3a5c;
  --blue-footer:  #0d2340;
  --blue-accent:  #2d5a8e;
  --gold:         #c4963a;
  --gold-light:   #e8d4a0;
  --white:        #ffffff;
  --cream:        #faf7f2;
  --off-white:    #f5f1eb;
  --text-dark:    #1a1a1a;
  --text-medium:  #4a4a4a;
  --text-light:   #888888;
  --border:       rgba(196,150,58,0.25);

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-garamond:'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Lato', Arial, sans-serif;

  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;

  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.2);

  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.25;
  font-weight: 500;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { font-size: 1rem; color: var(--text-medium); line-height: 1.8; }

.section-label {
  font-family: var(--font-garamond);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--blue-dark);
  margin-bottom: 1.2rem;
}

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

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.hidden { display: none !important; }

/* ========================================================
   TOP BAR (Phone Strip)
   ======================================================== */
.top-bar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 0.55rem 2rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.top-bar a {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}
.top-bar a:hover { color: #fff; }
.top-bar .divider { opacity: 0.3; }

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), top var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled .nav-link { color: var(--blue-dark); }
.site-header.scrolled .site-logo .logo-amalfi { color: var(--blue-dark); }
.site-header.scrolled .site-logo .logo-ristorante { color: var(--gold); }
.site-header.scrolled .nav-cta { background: var(--blue-dark); color: #fff; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}
.site-logo .logo-ristorante {
  font-family: var(--font-garamond);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.site-logo .logo-amalfi {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--white);
  transition: color var(--transition);
}
.site-logo .logo-ornament {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin-top: 2px;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover { color: var(--gold-light); }
.nav-link.active { color: var(--gold); }

.nav-cta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--gold);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  margin-left: 0.75rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}
.site-header.scrolled .menu-toggle span { background: var(--blue-dark); }

/* ========================================================
   HERO — ARCH WINDOW
   ======================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--white);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,25,50,0.2) 0%,
    rgba(10,25,50,0.35) 50%,
    rgba(10,25,50,0.55) 100%
  );
}

/* The white arch SVG overlay */
.hero-arch-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Hero content inside the arch */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 3rem;
  color: white;
}
.hero-tagline {
  font-family: var(--font-garamond);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s 0.4s forwards;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 600;
  color: white;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  opacity: 0;
  animation: fadeInUp 1s 0.6s forwards;
}
.hero-title em { color: var(--gold-light); font-style: italic; }
.hero-subtitle {
  font-family: var(--font-garamond);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 1.2rem auto;
  line-height: 1.7;
  opacity: 0;
  animation: fadeInUp 1s 0.8s forwards;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s 1s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s 2s infinite;
}
.hero-scroll .scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ========================================================
   BUTTONS
   ======================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--blue-dark);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  transition: all var(--transition);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}
.btn-primary.dark {
  background: var(--blue-dark);
  color: white;
  border-color: var(--blue-dark);
}
.btn-primary.dark:hover {
  background: transparent;
  color: var(--blue-dark);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.btn-outline:hover {
  background: white;
  color: var(--blue-dark);
  border-color: white;
}
.btn-outline.dark {
  color: var(--blue-dark);
  border-color: var(--blue-medium);
}
.btn-outline.dark:hover {
  background: var(--blue-dark);
  color: white;
}

/* ========================================================
   SECTION DIVIDER
   ======================================================== */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}
.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.ornament-divider svg { color: var(--gold); width: 18px; height: 18px; }

/* ========================================================
   INTRO SECTION
   ======================================================== */
.section-intro {
  padding: 6rem 2rem;
  background: var(--cream);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.intro-images {
  position: relative;
  height: 520px;
}
.intro-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 85%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.intro-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.intro-content { padding-right: 1rem; }
.intro-content p { font-size: 1.05rem; line-height: 1.9; }
.intro-content p + p { margin-top: 1rem; }
.intro-content .cta-row { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.intro-quote {
  font-family: var(--font-garamond);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold);
  margin-top: 1.5rem;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

/* ========================================================
   FEATURED DISHES CAROUSEL
   ======================================================== */
.section-dishes {
  padding: 6rem 0;
  background: var(--white);
  overflow: hidden;
}
.section-dishes .section-header {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 3.5rem;
}
.section-dishes .section-header p {
  max-width: 560px;
  margin: 0.75rem auto 0;
}

.carousel-wrapper {
  position: relative;
}
.carousel-track-outer {
  overflow: hidden;
  padding: 1rem 0 2rem;
}
.carousel-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 calc(50vw - 600px);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.dish-card {
  flex: 0 0 320px;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.dish-card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dish-card:hover .dish-card-image { transform: scale(1.04); }
.dish-card-image-wrap { overflow: hidden; height: 240px; }
.dish-card-body {
  padding: 1.4rem 1.6rem 1.8rem;
}
.dish-card-category {
  font-family: var(--font-garamond);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.dish-card-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
}
.dish-card-desc {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish-card-price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 0.8rem;
  font-weight: 600;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--blue-medium);
  background: transparent;
  color: var(--blue-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.carousel-btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: white;
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; gap: 0.4rem; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-medium);
  opacity: 0.25;
  transition: all var(--transition);
  border: none;
}
.carousel-dot.active { opacity: 1; width: 24px; border-radius: 4px; }

.dishes-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 0 2rem;
}

/* ========================================================
   VIDEO BACKGROUND SECTION (Pizza / Kitchen)
   ======================================================== */
.section-video-bg {
  position: relative;
  padding: 8rem 2rem;
  overflow: hidden;
  background: var(--blue-dark);
}
.section-video-bg .video-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.section-video-bg .video-bg-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.5;
}
.section-video-bg .video-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,35,64,0.88) 0%,
    rgba(13,35,64,0.75) 100%
  );
  z-index: 1;
}
.section-video-bg .video-bg-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: white;
}
.section-video-bg .section-label { color: var(--gold-light); }
.section-video-bg .section-title { color: white; }
.section-video-bg p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* ========================================================
   RESERVATION SECTION (Home)
   ======================================================== */
.section-reservation-home {
  padding: 6rem 2rem;
  background: var(--off-white);
}
.reservation-home-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.reservation-info h2 { color: var(--blue-dark); margin-bottom: 1rem; }
.reservation-info p { color: var(--text-medium); margin-bottom: 1.5rem; }
.info-list { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-item .info-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-item .info-icon svg { width: 16px; height: 16px; color: white; }
.info-item .info-text strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 0.15rem;
}
.info-item .info-text span { font-size: 0.95rem; color: var(--text-medium); }

/* Reservation Form */
.reservation-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--gold);
}
.reservation-form-card h3 {
  font-family: var(--font-serif);
  color: var(--blue-dark);
  margin-bottom: 0.25rem;
}
.reservation-form-card .form-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.8rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,150,58,0.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}
.form-submit { width: 100%; }

/* ========================================================
   TESTIMONIALS
   ======================================================== */
.section-testimonials {
  padding: 6rem 2rem;
  background: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}
.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 2rem;
  border-bottom: 2px solid var(--gold);
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.testimonial-text {
  font-family: var(--font-garamond);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.testimonial-author {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

/* ========================================================
   GALLERY
   ======================================================== */
.section-gallery {
  padding: 6rem 2rem;
  background: var(--cream);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 250px 250px;
  gap: 0.75rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ========================================================
   HOURS / INFO BAR
   ======================================================== */
.section-hours {
  background: var(--blue-dark);
  padding: 4rem 2rem;
}
.hours-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.hours-block { text-align: center; color: white; }
.hours-block .block-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: rgba(196,150,58,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196,150,58,0.3);
}
.hours-block .block-icon svg { width: 20px; height: 20px; color: var(--gold); }
.hours-block h4 {
  font-family: var(--font-garamond);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.hours-block p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.hours-block a { color: var(--gold-light); transition: color var(--transition); }
.hours-block a:hover { color: white; }
.hours-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
  display: none;
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  background: var(--blue-footer);
  color: rgba(255,255,255,0.75);
  padding: 5rem 2rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.footer-brand .logo-amalfi { color: white; font-size: 1.5rem; }
.footer-brand .logo-ristorante { color: var(--gold); font-size: 0.7rem; }
.footer-brand p { margin-top: -1rem; font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}
.social-link svg { width: 15px; height: 15px; }

.footer-col h5 {
  font-family: var(--font-garamond);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: white; }
.footer-col address {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
}
.footer-col address a { color: var(--gold-light); transition: color var(--transition); }
.footer-col address a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.footer-bottom p { color: rgba(255,255,255,0.85); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: white; }
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ========================================================
   PAGE HERO (inner pages)
   ======================================================== */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg video,
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,35,64,0.9) 0%, rgba(13,35,64,0.3) 60%, rgba(13,35,64,0.15) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.page-hero-content .breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.page-hero-content .breadcrumb a { color: var(--gold-light); }
.page-hero-content h1 { color: white; }
.page-hero-content p { color: rgba(255,255,255,0.75); max-width: 600px; margin-top: 0.75rem; }

/* ========================================================
   ABOUT PAGE
   ======================================================== */
.section-story {
  padding: 7rem 2rem;
  background: var(--white);
}
.story-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.story-text .section-label { margin-bottom: 0.5rem; }
.story-text h2 { margin-bottom: 1.5rem; }
.story-text p { margin-bottom: 1.2rem; font-size: 1.05rem; }
.story-text blockquote {
  font-family: var(--font-garamond);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--blue-medium);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.story-images {
  position: sticky;
  top: 8rem;
}
.story-img-stack { position: relative; }
.story-img-stack img:first-child {
  width: 90%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.story-img-stack img:last-child {
  position: absolute;
  bottom: -3rem;
  right: -1rem;
  width: 55%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}
.chef-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.chef-sig-name {
  font-family: var(--font-garamond);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--blue-dark);
}
.chef-sig-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ========================================================
   SPEISEKARTE (MENU) PAGE
   ======================================================== */
.section-menu {
  padding: 5rem 2rem;
  background: var(--white);
}
.menu-note {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: none;
  border: none;
  border-radius: 0;
}
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.menu-tab {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  color: var(--text-medium);
  background: transparent;
  transition: all var(--transition);
}
.menu-tab:hover { border-color: var(--gold); color: var(--gold); }
.menu-tab.active {
  background: var(--blue-dark);
  color: white;
  border-color: var(--blue-dark);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.menu-panel-header {
  text-align: center;
  margin-bottom: 3rem;
}
.menu-panel-header .section-label { margin-bottom: 0.4rem; }
.menu-panel-header h2 { color: var(--blue-dark); margin-bottom: 0.5rem; }
.menu-panel-header p { color: var(--text-medium); max-width: 560px; margin: 0 auto; }

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.menu-item {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: default;
}
.menu-item:hover { background: transparent; }

/* Image wrapper: clips zoom */
.menu-item-img-wrap {
  overflow: hidden;
  height: 340px;
  width: 100%;
}
.menu-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-item:hover .menu-item-img {
  transform: scale(1.06);
}
.menu-item-no-img {
  width: 100%;
  height: 100%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 3rem;
}
.menu-item-content {
  padding: 1.6rem 0.25rem 0;
  flex: 1;
}
.menu-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.55rem;
}
.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--blue-dark);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.menu-item-price {
  font-family: var(--font-garamond);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.menu-item-desc {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* Full-width items (drinks, specials) */
.menu-items-list {
  max-width: 1100px;
  margin: 0 auto;
}
.menu-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.menu-item-row:hover { background: var(--cream); }
.menu-item-row:last-child { border-bottom: none; }
.menu-item-row .item-name-desc .item-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--blue-dark);
}
.menu-item-row .item-name-desc .item-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}
.menu-item-row .item-price {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
}

/* ========================================================
   RESERVATION PAGE (Full)
   ======================================================== */
.section-reservation-full {
  padding: 6rem 2rem;
  background: var(--off-white);
}
.reservation-full-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.reservation-full-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--gold);
}
.reservation-full-form-card h2 {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}
.reservation-full-form-card > p { margin-bottom: 2rem; }

/* ========================================================
   LEGAL / IMPRESSUM pages
   ======================================================== */
.section-legal {
  padding: 6rem 2rem;
  background: var(--white);
}
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}
.legal-content h2 { color: var(--blue-dark); margin: 2.5rem 0 0.75rem; font-size: 1.3rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 1rem; font-size: 0.95rem; }
.legal-content a { color: var(--blue-medium); text-decoration: underline; }

/* ========================================================
   MOBILE NAV DRAWER
   ======================================================== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav a {
  display: block;
  font-size: 1.1rem;
  font-family: var(--font-serif);
  color: var(--blue-dark);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .nav-cta-mobile {
  display: inline-flex;
  margin-top: 2rem;
  background: var(--gold);
  color: var(--blue-dark) !important;
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  font-family: var(--font-sans) !important;
}
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-medium);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1100px) {
  .carousel-track { padding: 0 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:first-child { grid-column: span 3; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .intro-grid,
  .story-grid,
  .reservation-home-inner,
  .reservation-full-grid { grid-template-columns: 1fr; gap: 3rem; }
  .intro-images { height: 320px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hours-inner { grid-template-columns: 1fr; }
  .menu-items-grid { grid-template-columns: 1fr; gap: 3rem 0; }
  .menu-item-img-wrap { height: 260px; }
}
@media (max-width: 640px) {
  .header-inner { padding: 1rem 1.25rem; }
  .top-bar { font-size: 0.75rem; gap: 0.75rem; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child { grid-column: span 2; grid-row: auto; }
  .hero-actions { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
