/* =============================================
   NAPOLI PASTAS AND MORE — Main Stylesheet
   ============================================= */

/* --- Lucide icon defaults --- */
[data-lucide], i[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 1.75;
  fill: none;
}
.service-pill [data-lucide] { width: .95rem; height: .95rem; stroke: currentColor; }
.footer__logo [data-lucide]  { width: 1.1rem;  height: 1.1rem; stroke: currentColor; }

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

:root {
  --red:        #C0392B;
  --red-dark:   #962d22;
  --red-light:  #e74c3c;
  --cream:      #FDF6EC;
  --cream-dark: #F5E6CC;
  --green:      var(--red);
  --green-light:var(--red-light);
  --charcoal:   #1a1a1a;
  --text:       #3d2b1f;
  --text-muted: #7a6252;
  --white:      #ffffff;
  --gold:       #D4AF37;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.18);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
}

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

/* --- Typography helpers --- */
.section-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}
.section-eyebrow--light { color: var(--cream-dark); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.section-title--light { color: var(--white); }
.section-title em { color: var(--red); font-style: italic; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(192,57,43,.35);
}
.btn--primary:hover {
  background: var(--red-dark);
  box-shadow: 0 8px 28px rgba(192,57,43,.45);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.65);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn--large { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(253,246,236,.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: .7rem 0;
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}
.nav.scrolled .nav__logo { color: var(--charcoal); }
.nav__logo-icon { width: 1.2rem; height: 1.2rem; stroke: currentColor; flex-shrink: 0; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: rgba(255,255,255,.9);
  transition: color var(--transition);
}
.nav.scrolled .nav__links a { color: var(--text); }
.nav__links a:hover { color: var(--red) !important; }

.nav__cta {
  background: var(--red);
  color: var(--white) !important;
  padding: .55rem 1.35rem;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav__cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--transition);
}
.nav.scrolled .nav__hamburger span { background: var(--charcoal); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul { text-align: center; }
.mobile-menu ul li + li { margin-top: 1.75rem; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu__close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 16s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,10,5,.72) 0%,
    rgba(44,22,8,.58) 50%,
    rgba(26,10,5,.82) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 2rem;
  animation: fadeUp .9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream-dark);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero__title em {
  color: var(--cream-dark);
  font-style: italic;
  font-weight: 400;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: .02em;
}

.hero__stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2.25rem;
}
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: .05em; }
.hero__rating { font-size: 1.15rem; font-weight: 700; color: var(--white); }
.hero__reviews { font-size: .9rem; color: rgba(255,255,255,.7); }

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

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-hint span {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 14px;
  position: relative;
}
.hero__scroll-hint span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 0; transform: translateX(-50%) translateY(14px); }
  100% { opacity: 0; }
}

/* =============================================
   BADGES
   ============================================= */
.badges {
  background: var(--green);
  padding: 1.4rem 2rem;
}
.badges__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}
.badge {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--white);
}
.badge__icon { width: 1.1rem; height: 1.1rem; stroke: currentColor; flex-shrink: 0; }
.badge__text { font-size: .85rem; font-weight: 700; letter-spacing: .04em; }

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 7rem 2rem;
  background: var(--cream);
  overflow: hidden;
}
.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about__image-stack {
  position: relative;
  height: 520px;
}
.about__img {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about__img--back {
  width: 75%;
  height: 420px;
  top: 0; left: 0;
}
.about__img--front {
  width: 65%;
  height: 340px;
  bottom: 0; right: 0;
  border: 6px solid var(--cream);
}

.about__body {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.about__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
}
.about__stat { text-align: center; }
.about__stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: .3rem;
}
.about__stat-star, .about__stat-pct { font-size: 1.4rem; }
.about__stat-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =============================================
   MENU
   ============================================= */
.menu {
  padding: 7rem 2rem;
  background: var(--white);
}
.menu__inner { max-width: 1200px; margin: 0 auto; }
.menu__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.menu__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Category tabs */
.menu__tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.menu-tab {
  background: none;
  border: 2px solid var(--cream-dark);
  color: var(--text-muted);
  font-family: 'Lato', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .6rem 1.6rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.menu-tab:hover {
  border-color: var(--red);
  color: var(--red);
}
.menu-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

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

.menu-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.menu-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.menu-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.menu-card:hover .menu-card__img-wrap img { transform: scale(1.06); }

.menu-card__badge {
  position: absolute;
  top: .85rem;
  left: .85rem;
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 50px;
}
.menu-card__badge--gold { background: var(--gold); color: var(--charcoal); }

.menu-card__body {
  padding: 1.25rem 1.4rem 1.5rem;
}
.menu-card__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .5rem;
}
.menu-card__title-row h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
}
.menu-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}
.menu-card__body p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.menu__note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews {
  padding: 7rem 2rem;
  background: var(--charcoal);
}
.reviews__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.reviews__rating-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: 1.5rem 0 3.5rem;
}
.reviews__big-stars { color: var(--gold); font-size: 2rem; letter-spacing: .06em; }
.reviews__big-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.reviews__big-label {
  font-size: .95rem;
  color: rgba(255,255,255,.55);
  align-self: flex-end;
  padding-bottom: .4rem;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.review-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background var(--transition), transform var(--transition);
}
.review-card:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-4px);
}
.review-card--featured {
  background: rgba(192,57,43,.15);
  border-color: rgba(192,57,43,.3);
}
.review-card__stars { color: var(--gold); font-size: 1rem; margin-bottom: .85rem; }
.review-card__text {
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}
.review-card__author {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
}

/* =============================================
   VISIT
   ============================================= */
.visit {
  padding: 7rem 2rem;
  background: var(--cream);
}
.visit__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.visit__address, .visit__phone {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  font-size: 1rem;
  color: var(--text-muted);
}
.visit__phone a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  transition: color var(--transition);
}
.visit__phone a:hover { color: var(--red-dark); }
.visit__icon { width: 1.2rem; height: 1.2rem; stroke: var(--red); flex-shrink: 0; margin-top: .25rem; }

.visit__hours h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--cream-dark); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td {
  padding: .6rem 0;
  font-size: .92rem;
  color: var(--text-muted);
}
.hours-table td:first-child { font-weight: 700; color: var(--text); min-width: 120px; }

.visit__services {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 2rem;
}
.service-pill {
  background: var(--green);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: 50px;
}

/* Map placeholder */
.map-link { display: block; }
.map-placeholder {
  background: linear-gradient(135deg, #fdf0ee 0%, #f5d5d0 50%, #e8b8b0 100%);
  border-radius: var(--radius-lg);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  text-align: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
}
.map-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.map-pin { width: 3rem; height: 3rem; stroke: var(--red); stroke-width: 1.5; animation: bounce 2s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.map-address {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--green);
  font-weight: 600;
}
.map-cta {
  font-size: .85rem;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .5rem;
}
.map-bg-decoration {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 30px,
    rgba(192,57,43,.06) 30px,
    rgba(192,57,43,.06) 31px
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent 30px,
    rgba(192,57,43,.06) 30px,
    rgba(192,57,43,.06) 31px
  );
  pointer-events: none;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--red);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-banner__inner { max-width: 700px; margin: 0 auto; }
.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  margin-bottom: .85rem;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
}
.cta-banner .btn--primary {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}
.cta-banner .btn--primary:hover {
  background: var(--cream);
  box-shadow: 0 10px 32px rgba(0,0,0,.28);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--charcoal);
  padding: 4rem 2rem 0;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__logo {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: .85rem;
}
.footer__brand p { line-height: 1.7; }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer__links a { transition: color var(--transition); }
.footer__links a:hover { color: var(--red); }

.footer__social { line-height: 1.9; }

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about__inner { gap: 3.5rem; }
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__image-stack { height: 320px; }
  .about__img--back { width: 80%; height: 280px; }
  .about__img--front { width: 65%; height: 220px; }
  .about__stats { gap: 1.25rem; }

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

  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__rating-hero { flex-direction: column; gap: .4rem; }

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

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

  .badges__inner { gap: 1rem 2rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; text-align: center; }
  .about__stats { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}
