/* ============================================================
   Pizzeria "Il Forno Antico"
   Dark & Elegant — Motion Design Premium
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --nero:          #1a1614;
  --nero-soft:     #231e1b;
  --nero-card:     #2a2521;
  --nero-border:   rgba(244, 237, 226, 0.07);
  --crema:         #f4ede2;
  --crema-dim:     rgba(244, 237, 226, 0.55);
  --crema-muted:   rgba(244, 237, 226, 0.3);
  --terracotta:    #c1502e;
  --terracotta-dim: rgba(193, 80, 46, 0.15);
  --terracotta-hover: #a84323;
  --ambra:         #d99a3d;
  --font-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:     'JetBrains Mono', 'SF Mono', monospace;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-card:   0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.5);
  --transition:    0.4s var(--ease-smooth);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--crema);
}

h1 { font-size: clamp(2.4rem, 8vw, 5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 5.5vw, 3.2rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); }
h4 { font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }

p { margin-bottom: 1rem; }
strong { font-weight: 600; color: var(--crema); }

/* ============================================================
   NAVBAR — Glassmorphism + Hover Line from Center
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.15rem 0;
  transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(26, 22, 20, 0.72);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 1px 0 var(--nero-border), 0 8px 40px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--crema);
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--crema-dim);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0.1rem;
  transition: color 0.3s var(--ease-smooth);
}
/* Underline: center → outward expansion */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--terracotta);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-smooth);
  border-radius: 1px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--crema);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--crema);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-smooth), opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — Ken Burns Breathing + Immersive Overlay
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background with Ken Burns slow zoom */
.hero-bg {
  position: absolute;
  inset: -80px;
  background:
    linear-gradient(160deg, #1a1614 0%, #2a1f18 35%, #3d2a1e 60%, #2a1f18 82%, #1a1614 100%);
  background-size: 100%;
  background-position: center;
  z-index: 0;
  will-change: transform, background-size;
  animation: heroKenBurns 25s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  0% {
    background-size: 100%;
    background-position: center;
  }
  100% {
    background-size: 115%;
    background-position: center 45%;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(26, 22, 20, 0.2)  0%,
      rgba(26, 22, 20, 0.45) 35%,
      rgba(26, 22, 20, 0.75) 65%,
      var(--nero)           100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 2rem 1.5rem;
}

.hero-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(244, 237, 226, 0.45);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-title {
  margin-bottom: 1.25rem;
  animation: heroTitleIn 1s var(--ease-out-expo) both;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(244, 237, 226, 0.65);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.65;
  animation: heroSubIn 1s 0.2s var(--ease-out-expo) both;
}

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

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroCtasIn 1s 0.4s var(--ease-out-expo) both;
}

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

/* CTA Buttons — Premium micro-interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: background 0.35s var(--ease-smooth),
              border-color 0.35s var(--ease-smooth),
              transform 0.35s var(--ease-bounce),
              box-shadow 0.35s var(--ease-smooth);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--crema);
  border-color: var(--terracotta);
  box-shadow: 0 4px 24px rgba(193, 80, 46, 0.25);
}
.btn-primary:hover {
  background: var(--terracotta-hover);
  border-color: var(--terracotta-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(193, 80, 46, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--crema);
  border-color: rgba(244, 237, 226, 0.18);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  border-color: rgba(244, 237, 226, 0.45);
  background: rgba(244, 237, 226, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2.6s infinite var(--ease-smooth);
  opacity: 0.5;
}
.hero-scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(244, 237, 226, 0.2);
  border-radius: 11px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 2px;
  animation: scrollDot 2.6s infinite var(--ease-smooth);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
@keyframes scrollDot {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* ============================================================
   SECTIONS — Base
   ============================================================ */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
  font-weight: 500;
  position: relative;
}
.section-tag::after {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--terracotta);
  margin: 0.6rem auto 0;
  opacity: 0.4;
  border-radius: 1px;
}

.section-desc {
  color: var(--crema-dim);
  max-width: 580px;
  margin: 1rem auto 0;
  font-size: 0.95rem;
}

/* SVG Divider — animated stroke */
.section-divider {
  display: flex;
  justify-content: center;
  padding: 0 0 0.5rem;
  margin-top: 2.5rem;
}
.section-divider svg {
  width: 200px;
  height: 20px;
  overflow: visible;
}
.section-divider line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.2s var(--ease-out-expo);
}
.section-divider.visible line {
  stroke-dashoffset: 0;
}
.section-divider circle {
  opacity: 0;
  transition: opacity 0.5s ease 1.1s;
}
.section-divider.visible circle {
  opacity: 1;
}

/* ============================================================
   ABOUT — Stats with Hover Lift
   ============================================================ */
.about {
  background: var(--nero);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(244, 237, 226, 0.88);
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--crema-dim);
  font-size: 0.95rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-card {
  background: var(--nero-card);
  border: 1px solid var(--nero-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color var(--transition), transform 0.35s var(--ease-bounce),
              box-shadow var(--transition);
}
.stat-card:hover {
  border-color: rgba(193, 80, 46, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--crema-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   MENU — Cinematic Cards + Tab Transitions
   ============================================================ */
.menu {
  background: var(--nero-soft);
}

/* Tab buttons */
.menu-categories {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.menu-tab {
  padding: 0.65rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--nero-border);
  color: var(--crema-dim);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s var(--ease-smooth), box-shadow 0.35s ease;
  position: relative;
}
.menu-tab:hover {
  border-color: rgba(244, 237, 226, 0.2);
  color: var(--crema);
  transform: translateY(-1px);
}
.menu-tab.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--crema);
  box-shadow: 0 4px 20px rgba(193, 80, 46, 0.3);
  transform: translateY(-1px);
}

/* Grid container */
.menu-grid {
  position: relative;
  min-height: 200px;
}

/* Category panels — hidden by default */
.menu-items {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

/* Active panel → cards animate in with staggered slide-up + fade */
.menu-items.active {
  display: grid;
}

.menu-items.active .menu-card {
  animation: menuCardIn 0.5s var(--ease-out-expo) both;
}
.menu-items.active .menu-card:nth-child(1) { animation-delay: 0.04s; }
.menu-items.active .menu-card:nth-child(2) { animation-delay: 0.08s; }
.menu-items.active .menu-card:nth-child(3) { animation-delay: 0.12s; }
.menu-items.active .menu-card:nth-child(4) { animation-delay: 0.16s; }
.menu-items.active .menu-card:nth-child(5) { animation-delay: 0.20s; }

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

/* Individual card */
.menu-card {
  background: var(--nero-card);
  border: 1px solid var(--nero-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease-bounce),
              box-shadow 0.4s var(--ease-smooth),
              border-color 0.4s var(--ease-smooth);
  cursor: default;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(193, 80, 46, 0.15);
}

/* Image area — overlay + zoom */
.menu-card-img {
  height: 190px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* Dark overlay default — lightens on hover */
.menu-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 20, 0.4);
  transition: background 0.4s var(--ease-smooth);
  pointer-events: none;
  z-index: 1;
}
.menu-card:hover .menu-card-img::after {
  background: rgba(26, 22, 20, 0.1);
}

/* Background image / gradient that scales on hover */
.menu-card-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.85rem;
  transition: transform 0.5s var(--ease-out-expo);
  z-index: 0;
}
.menu-card:hover .menu-card-img-inner {
  transform: scale(1.08);
}

/* Fallback when using inline style background directly on .menu-card-img */
.menu-card-img[style*="background"] {
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.5s var(--ease-out-expo);
}
.menu-card:hover .menu-card-img[style*="background"] {
  transform: scale(1.08);
}

/* Badge */
.menu-badge {
  position: relative;
  z-index: 2;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.85rem;
  background: rgba(26, 22, 20, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 237, 226, 0.06);
  border-radius: 50px;
  color: rgba(244, 237, 226, 0.7);
  font-weight: 500;
  align-self: flex-start;
  margin: 0.85rem;
}

/* Card body */
.menu-card-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

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

.menu-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--crema);
}

.menu-price {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--ambra);
  white-space: nowrap;
  font-weight: 500;
}

.menu-card-body p {
  font-size: 0.85rem;
  color: var(--crema-muted);
  margin-bottom: 0;
  line-height: 1.55;
}

/* ============================================================
   GALLERY — Cinematic Hover Zoom + Overlay
   ============================================================ */
.gallery {
  background: var(--nero);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

/* Dark overlay default */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(26, 22, 20, 0.35);
  transition: background 0.45s var(--ease-smooth);
  pointer-events: none;
  border-radius: inherit;
}
.gallery-item:hover::before {
  background: rgba(26, 22, 20, 0.08);
}

/* Placeholder / image layer */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.55s var(--ease-out-expo);
  position: relative;
  z-index: 1;
}
.gallery-item:hover .gallery-placeholder {
  transform: scale(1.08);
}

/* Subtle border glow on hover */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.45s var(--ease-smooth);
  pointer-events: none;
}
.gallery-item:hover::after {
  box-shadow: inset 0 0 0 1px rgba(193, 80, 46, 0.2);
}

.gallery-placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(244, 237, 226, 0.2);
  border: 1px solid rgba(244, 237, 226, 0.06);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  position: relative;
  z-index: 1;
}

.gallery-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--crema-muted);
  margin-top: 1.75rem;
  font-style: italic;
  opacity: 0.5;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  background: var(--nero-soft);
}

.reviews-badge {
  text-align: center;
  margin-bottom: 3.5rem;
}

.reviews-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.rating-star {
  font-size: 2.2rem;
  color: var(--ambra);
}

.rating-value {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--crema);
  line-height: 1;
}

.rating-sep {
  font-size: 1.6rem;
  color: rgba(244, 237, 226, 0.18);
}

.rating-max {
  font-size: 1.6rem;
  color: rgba(244, 237, 226, 0.28);
}

.rating-source {
  font-size: 0.85rem;
  color: var(--crema-muted);
}

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

.review-card {
  background: var(--nero-card);
  border: 1px solid var(--nero-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.35s var(--ease-bounce),
              border-color var(--transition),
              box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(193, 80, 46, 0.15);
  box-shadow: var(--shadow-card);
}

.review-stars {
  color: var(--ambra);
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  letter-spacing: 3px;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(244, 237, 226, 0.68);
  font-style: italic;
  margin-bottom: 1.1rem;
}

.review-author {
  font-size: 0.78rem;
  color: var(--crema-muted);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--nero);
}

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

.service-card {
  background: var(--nero-card);
  border: 1px solid var(--nero-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: transform 0.35s var(--ease-bounce),
              border-color var(--transition),
              box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(193, 80, 46, 0.15);
  box-shadow: var(--shadow-card);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.35rem;
  display: block;
  transition: transform 0.35s var(--ease-bounce);
}
.service-card:hover .service-icon {
  transform: scale(1.12);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--crema-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================================
   CONTACTS + MAP
   ============================================================ */
.contacts {
  background: var(--nero-soft);
  padding-bottom: 0;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: transform 0.3s var(--ease-smooth);
}
.contact-item:hover {
  transform: translateX(4px);
}

.contact-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  transition: transform 0.3s var(--ease-bounce);
}
.contact-item:hover .contact-icon {
  transform: scale(1.15);
}

.contact-item h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--crema-muted);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.contact-item p {
  font-size: 0.95rem;
  color: rgba(244, 237, 226, 0.72);
  margin-bottom: 0;
  line-height: 1.55;
}

.contact-phone {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--terracotta);
  transition: color 0.3s var(--ease-smooth);
}
.contact-phone:hover {
  color: var(--ambra);
}

.contacts-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 350px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 350px;
  background: var(--nero-card);
  border: 1px solid var(--nero-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-placeholder iframe {
  display: block;
  filter: grayscale(0.85) invert(0.06) hue-rotate(330deg);
  transition: filter 0.6s var(--ease-smooth);
}
.map-placeholder iframe:hover {
  filter: grayscale(0.3) invert(0) hue-rotate(0);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--nero);
  border-top: 1px solid var(--nero-border);
  padding: 4.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--crema-muted);
  margin-bottom: 0;
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--crema-muted);
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.footer p,
.footer a {
  font-size: 0.85rem;
  color: rgba(244, 237, 226, 0.45);
  margin-bottom: 0.35rem;
  transition: color var(--transition);
}

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

.hours-placeholder {
  font-style: italic;
  font-size: 0.78rem;
  color: rgba(244, 237, 226, 0.18);
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 237, 226, 0.07);
  border-radius: 50%;
  transition: all 0.35s var(--ease-smooth), transform 0.35s var(--ease-bounce);
}
.social-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-bounce);
}
.social-link:hover {
  border-color: var(--terracotta);
  background: var(--terracotta-dim);
  transform: translateY(-3px);
}
.social-link:hover svg {
  transform: scale(1.15);
}

.footer-bottom {
  border-top: 1px solid var(--nero-border);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.73rem;
  color: rgba(244, 237, 226, 0.18);
  margin-bottom: 0.25rem;
  line-height: 1.6;
}

.footer-note { font-style: italic; }
.footnote { color: rgba(244, 237, 226, 0.08); }

/* ============================================================
   SCROLL REVEAL — .reveal class (existing JS)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}

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

/* ============================================================
   AOS COMPATIBILITY — data-aos attributes
   Ready for AOS library: just add data-aos attributes to HTML
   ============================================================ */
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
  pointer-events: none;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

[data-aos="fade"] { opacity: 0; }
[data-aos="fade"].aos-animate { opacity: 1; }

[data-aos="fade-up"]    { transform: translateY(36px); }
[data-aos="fade-down"]  { transform: translateY(-36px); }
[data-aos="fade-left"]  { transform: translateX(-36px); }
[data-aos="fade-right"] { transform: translateX(36px); }

[data-aos="zoom-in"]     { transform: scale(0.92); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

[data-aos="flip-up"] {
  transform: perspective(600px) rotateX(8deg);
  transform-origin: bottom;
}
[data-aos="flip-up"].aos-animate {
  transform: perspective(600px) rotateX(0);
}

/* AOS delays */
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* AOS durations */
[data-aos-duration="400"] { transition-duration: 0.4s; }
[data-aos-duration="600"] { transition-duration: 0.6s; }
[data-aos-duration="800"] { transition-duration: 0.8s; }
[data-aos-duration="1000"] { transition-duration: 1s; }
[data-aos-duration="1200"] { transition-duration: 1.2s; }

/* ============================================================
   RESPONSIVE — Mobile-First
   ============================================================ */

/* ≤ 768px (tablet) */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  /* Nav off-canvas */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(26, 22, 20, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: right 0.45s var(--ease-out-expo);
    z-index: 999;
    border-left: 1px solid var(--nero-border);
  }
  .nav-links.open { right: 0; }

  .nav-link { font-size: 1rem; }
  .hamburger { display: flex; }

  /* Layout → 1 col / 2 col */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .menu-items { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .reviews-wall { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contacts-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .contacts-map,
  .map-placeholder { min-height: 260px; }

  .menu-card-img { height: 170px; }
}

/* ≤ 480px (mobile) */
@media (max-width: 480px) {
  .hero-title { font-size: 2.1rem; }

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

  .btn {
    width: 100%;
    max-width: 280px;
    padding: 0.9rem 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .stat-card { padding: 1.25rem 0.75rem; }
  .stat-number { font-size: 1.8rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand { text-align: center; }
  .social-links { justify-content: center; }

  .contacts-map,
  .map-placeholder { min-height: 220px; }

  .menu-categories { gap: 0.4rem; }
  .menu-tab {
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
  }
  .menu-card-img { height: 155px; }

  .reviews-rating { gap: 0.15rem; }
  .rating-value { font-size: 2.8rem; }
  .rating-star { font-size: 1.6rem; }
  .reviews-wall { gap: 1rem; }
  .review-card { padding: 1.5rem; }
}

/* ≥ 1200px (desktop large) */
@media (min-width: 1200px) {
  .menu-items {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mockly-watermark{position:fixed;inset:0;z-index:99999;pointer-events:none;display:flex;align-items:center;justify-content:center}
.mockly-watermark-inner{font-family:monospace;font-size:clamp(5rem,18vw,14rem);font-weight:700;letter-spacing:clamp(12px,4vw,40px);color:rgba(216,185,92,.04);text-transform:uppercase;user-select:none;transform:rotate(-20deg);text-shadow:0 0 30px rgba(0,0,0,.02);animation:watermarkFade 3s ease-in-out infinite;text-align:center;line-height:1.1}
.mockly-watermark-sub{display:block;font-size:clamp(.8rem,2.5vw,1.5rem);letter-spacing:clamp(6px,1.5vw,16px);margin-top:6px;opacity:.6}
@keyframes watermarkFade{0%,100%{opacity:1}50%{opacity:.6}}
.footer-credit{margin-top:1.2rem;font-size:.73rem;color:rgba(244,237,226,.35);letter-spacing:.03em}
.footer-credit a{color:var(--ambra);text-decoration:underline;text-underline-offset:2px}
.footer-credit a:hover{color:var(--terracotta)}
