/* ===========================
   PRIMO AMORE v2
   Dark Italian Trattoria Style
   =========================== */

:root {
  --bg: #1a1714;
  --bg-light: #252119;
  --bg-card: #2a2520;
  --surface: #332d27;
  --gold: #c9a96e;
  --gold-light: #dfc08a;
  --gold-dim: rgba(201,169,110,0.15);
  --cream: #f5efe6;
  --cream-soft: rgba(245,239,230,0.7);
  --cream-muted: rgba(245,239,230,0.45);
  --red: #b44a3f;
  --green: #5a8a5e;
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===========================
   HEADER
   =========================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header.scrolled {
  background: rgba(26,23,20,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201,169,110,0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--cream-muted);
  border-radius: 8px;
  transition: color 0.3s, background 0.3s;
}

.nav a:hover {
  color: var(--cream);
  background: rgba(245,239,230,0.06);
}

.header-cta {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--bg) !important;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s;
}

.header-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.burger.open span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* MOBILE NAV */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26,23,20,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--cream-soft);
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: var(--gold);
}

.mobile-cta {
  margin-top: 24px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.95rem !important;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--bg) !important;
  border-radius: 8px;
  font-weight: 600;
}

/* ===========================
   HERO
   =========================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(26,23,20,0.7) 40%, rgba(26,23,20,0.2) 70%, rgba(26,23,20,0.4) 100%);
}

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

.hero-chip {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gold-dim);
  color: var(--gold);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(201,169,110,0.2);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  margin-bottom: 20px;
}

.hero-line1 {
  display: block;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--cream-muted);
  margin-bottom: 8px;
}

.hero-line2 {
  display: block;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.1;
}

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

.hero-lead {
  font-size: 1.1rem;
  color: var(--cream-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,110,0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1.5px solid rgba(245,239,230,0.25);
  color: var(--cream);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: border-color 0.3s, background 0.3s;
}

.btn-ghost:hover {
  border-color: var(--cream-muted);
  background: rgba(245,239,230,0.05);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s;
}

.btn-wa:hover {
  background: #1DA851;
  transform: translateY(-2px);
}

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

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(245,239,230,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.mouse-wheel {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 3px;
  animation: mouseScroll 1.8s ease-in-out infinite;
}

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

/* ===========================
   ABOUT SPLIT
   =========================== */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.about-img-col {
  position: relative;
  overflow: hidden;
}

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

.about-img-accent {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 120px;
  height: 120px;
  background: var(--gold);
  opacity: 0.15;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
}

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 20px;
}

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

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-text-col p {
  font-size: 1rem;
  color: var(--cream-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(245,239,230,0.1);
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--cream-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===========================
   MENU
   =========================== */

.menu {
  padding: 120px 0;
  background: var(--bg-light);
}

.menu-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.menu-head {
  text-align: center;
  margin-bottom: 40px;
}

.menu-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter {
  padding: 8px 20px;
  background: transparent;
  border: 1.5px solid rgba(245,239,230,0.12);
  color: var(--cream-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.filter:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.menu-list {
  display: flex;
  flex-direction: column;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid rgba(245,239,230,0.06);
  transition: background 0.3s;
  gap: 16px;
}

.menu-item:hover {
  background: rgba(245,239,230,0.02);
  padding-left: 12px;
  padding-right: 12px;
  margin-left: -12px;
  margin-right: -12px;
  border-radius: 8px;
}

.menu-item-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.item-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  min-width: 32px;
  padding-top: 2px;
}

.menu-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.menu-item p {
  font-size: 0.88rem;
  color: var(--cream-muted);
  line-height: 1.5;
}

.item-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  background: var(--gold-dim);
  color: var(--gold);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.item-tag.green {
  background: rgba(90,138,94,0.15);
  color: var(--green);
}

.item-tag.gold {
  background: var(--gold-dim);
  color: var(--gold);
}

.item-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--gold);
  white-space: nowrap;
  font-weight: 600;
}

.menu-item.featured {
  background: var(--gold-dim);
  padding: 24px 20px;
  margin: 0 -20px;
  border-radius: var(--radius);
  border-bottom: none;
}

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

.menu-disclaimer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--cream-muted);
  opacity: 0.6;
}

/* ===========================
   SPECIALITA
   =========================== */

.specialita {
  padding: 120px 0;
}

.spec-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.spec-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.spec-card-body {
  padding: 28px;
}

.spec-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.spec-card-body p {
  font-size: 0.9rem;
  color: var(--cream-muted);
  line-height: 1.7;
}

/* ===========================
   REVIEWS
   =========================== */

.reviews {
  padding: 120px 0;
  background: var(--bg-light);
}

.reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.reviews-inner h2 {
  margin-bottom: 56px;
}

.reviews-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
  margin-bottom: 48px;
}

.review-card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245,239,230,0.05);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,169,110,0.2);
}

.review-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-card blockquote {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--cream-soft);
  margin-bottom: 20px;
  font-style: normal;
}

.review-who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gold);
  flex-shrink: 0;
}

.review-who strong {
  display: block;
  font-size: 0.88rem;
}

.review-who span {
  font-size: 0.78rem;
  color: var(--cream-muted);
}

.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 24px 40px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,169,110,0.15);
}

.summary-score {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
}

.summary-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.reviews-summary p {
  font-size: 0.85rem;
  color: var(--cream-muted);
}

/* ===========================
   CONTACT
   =========================== */

.contact {
  padding: 120px 0;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-left h2 {
  margin-bottom: 36px;
}

.cinfo {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cinfo-row {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(245,239,230,0.06);
}

.cicon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
  padding-top: 2px;
}

.cinfo-row strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--cream);
}

.cinfo-row p {
  font-size: 0.88rem;
  color: var(--cream-muted);
  line-height: 1.6;
}

.cinfo-row a {
  color: var(--gold);
  font-weight: 600;
}

.cinfo-row a:hover {
  text-decoration: underline;
}

.orari {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  font-size: 0.85rem;
}

.orari span {
  color: var(--cream-muted);
}

.orari .chiuso {
  color: var(--red);
  font-weight: 600;
}

.contact-btns {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.contact-right {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  background: var(--bg-card);
}

.contact-right iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(30%) contrast(1.1);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  border-top: 1px solid rgba(245,239,230,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 48px 0 32px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--cream-muted);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--cream-muted);
  transition: color 0.3s;
}

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

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(245,239,230,0.06);
  text-align: center;
  font-size: 0.78rem;
  color: var(--cream-muted);
  opacity: 0.5;
}

.footer-dev {
  margin-top: 8px;
  opacity: 0.7;
}

.footer-dev a {
  color: var(--gold);
  font-weight: 500;
  transition: color 0.3s;
}

.footer-dev a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ===========================
   WHATSAPP FAB
   =========================== */

.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  z-index: 90;
  transition: transform 0.3s, box-shadow 0.3s;
}

.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

/* ===========================
   REVEAL
   =========================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 968px) {
  .about-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-img-col {
    height: 400px;
  }

  .about-text-col {
    padding: 60px 24px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-right {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .nav, .header-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero-content {
    padding-bottom: 80px;
  }

  .hero-line2 {
    font-size: 2.4rem;
  }

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

  .reviews-summary {
    flex-direction: column;
    gap: 12px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .about-stats {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }

  .hero-btns a {
    text-align: center;
    justify-content: center;
  }

  .menu-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .item-price {
    margin-left: 52px;
  }

  .contact-btns {
    flex-direction: column;
  }

  .contact-btns a {
    text-align: center;
    justify-content: center;
  }
}
