/* ===========================
   Taste Real Rome — Styles
   Palette: Terracotta Red + Warm Cream + Charcoal
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --red:      #C0392B;
  --red-dark: #8E2A1F;
  --cream:    #FBF3E7;
  --charcoal: #1C1815;
  --mid:      #5A5048;
  --light:    #EDE0CC;
  --gold:     #C9A96E;
  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}

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

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2.5rem;
  transition: background .4s, padding .4s, box-shadow .4s;
}
nav.scrolled {
  background: rgba(251,243,231,.97);
  padding: .9rem 2.5rem;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  backdrop-filter: blur(6px);
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--cream);
  letter-spacing: .03em;
  text-decoration: none;
  transition: color .3s;
}
.nav-logo img { height: 38px; width: 38px; border-radius: 50%; }
nav.scrolled .nav-logo { color: var(--charcoal); }

.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  transition: color .3s;
}
nav.scrolled .nav-links a { color: var(--charcoal); }
.nav-links a:hover { color: var(--gold); }
.nav-links .btn { padding: .55rem 1.2rem; }

.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; z-index: 101;
}
.nav-burger span {
  width: 24px; height: 2px; background: var(--cream); transition: all .3s;
}
nav.scrolled .nav-burger span { background: var(--charcoal); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: .85rem 1.8rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all .3s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-red { background: var(--red); color: var(--cream); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(251,243,231,.5); }
.btn-outline:hover { border-color: var(--cream); }
nav.scrolled .btn-outline { color: var(--charcoal); border-color: rgba(28,24,21,.3); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 0 2.5rem 5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,20,16,.35) 0%, rgba(28,20,16,.35) 40%, rgba(28,20,16,.9) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  color: rgba(251,243,231,.85);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scroll-line { width: 1px; height: 32px; background: rgba(251,243,231,.5); }
.hero-scroll span { color: rgba(251,243,231,.6); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }

/* ── STATS BAR ── */
.stats-bar {
  display: flex; justify-content: center; gap: clamp(1.5rem,5vw,4rem);
  padding: 2.5rem 1.5rem;
  background: var(--charcoal);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
}
.stat-label {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(251,243,231,.6);
}

/* ── SECTION SHARED ── */
section { padding: 6rem 0; }
.section-inner { max-width: 1180px; margin: 0 auto; padding: 0 2.5rem; }
.section-eyebrow {
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.section-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mid);
  max-width: 640px;
}

/* ── ABOUT ── */
.about-bg { background: var(--cream); }
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: 4px; box-shadow: 0 20px 50px rgba(28,24,21,.2); }
.about-badge {
  position: absolute; bottom: -1.2rem; left: -1.2rem;
  background: var(--red); color: var(--cream);
  padding: 1rem 1.4rem; border-radius: 4px;
  box-shadow: 0 10px 30px rgba(192,57,43,.35);
}
.about-badge strong { display: block; font-family: var(--serif); font-size: 1.6rem; }
.about-badge span { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* ── EXPERIENCES / MENU CARDS ── */
.experiences-bg { background: var(--charcoal); color: var(--cream); }
.experiences-bg .section-body { color: rgba(251,243,231,.7); }
.exp-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.exp-card {
  background: rgba(251,243,231,.04);
  border: 1px solid rgba(251,243,231,.1);
  border-radius: 6px;
  padding: 1.8rem;
  transition: border-color .3s, transform .3s;
}
.exp-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.exp-card.featured { border-color: var(--red); background: rgba(192,57,43,.08); }
.exp-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .8rem; }
.exp-card h3 { font-family: var(--serif); font-size: 1.25rem; }
.exp-price { color: var(--gold); font-weight: 600; white-space: nowrap; font-size: .95rem; }
.exp-card p { font-size: .9rem; line-height: 1.6; color: rgba(251,243,231,.65); }
.exp-tag {
  display: inline-block; margin-top: 1rem;
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,169,110,.4);
  padding: .3rem .7rem; border-radius: 20px;
}

/* ── GALLERY ── */
.gallery-bg { background: var(--light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: .6rem;
  margin-top: 3rem;
}
.gallery-grid figure { overflow: hidden; border-radius: 4px; cursor: pointer; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-grid figure.tall { grid-row: span 2; }

/* ── REVIEWS ── */
.reviews-bg { background: var(--cream); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.review-card {
  background: #fff; border: 1px solid var(--light);
  border-radius: 6px; padding: 1.8rem;
}
.review-stars { color: var(--gold); letter-spacing: .1em; margin-bottom: .8rem; font-size: .9rem; }
.review-text { font-size: .92rem; line-height: 1.65; color: var(--charcoal); margin-bottom: 1rem; font-style: italic; }
.review-author { font-weight: 600; font-size: .85rem; }
.review-meta { font-size: .72rem; color: var(--mid); margin-top: .1rem; }

/* ── HOW IT WORKS ── */
.how-bg { background: var(--charcoal); color: var(--cream); }
.how-bg .section-body { color: rgba(251,243,231,.7); }
.how-steps {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3rem; counter-reset: step;
}
.how-step { position: relative; padding-top: 2.5rem; }
.how-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.1rem;
}
.how-step h4 { font-size: 1rem; margin-bottom: .5rem; }
.how-step p { font-size: .85rem; line-height: 1.55; color: rgba(251,243,231,.65); }

/* ── CONTACT ── */
.contact-bg { background: var(--light); }
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.5rem; align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  padding: .9rem 1rem; border: 1px solid rgba(28,24,21,.15);
  border-radius: 4px; font-family: var(--sans); font-size: .92rem;
  background: #fff; color: var(--charcoal);
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form button { align-self: flex-start; }
.contact-info h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; align-items: flex-start; }
.contact-item-icon { font-size: 1.3rem; }
.contact-item strong { display: block; font-size: .85rem; margin-bottom: .15rem; }
.contact-item p { font-size: .88rem; color: var(--mid); line-height: 1.5; }
.contact-item a { color: var(--red); text-decoration: none; }

/* ── FOOTER ── */
footer {
  background: var(--charcoal); color: rgba(251,243,231,.6);
  text-align: center; padding: 3rem 1.5rem 2rem;
}
.footer-logo { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); margin-bottom: 1rem; }
footer a { color: rgba(251,243,231,.7); text-decoration: none; }
footer a:hover { color: var(--gold); }

/* ── WHATSAPP STICKY ── */
.wa-sticky {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .3s;
}
.wa-sticky:hover { transform: scale(1.08); }
.wa-sticky svg { width: 28px; height: 28px; fill: #fff; }

/* ── LIGHTBOX ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(12,10,8,.94); align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: var(--cream);
  font-size: 2.2rem; cursor: pointer; line-height: 1;
}

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--charcoal); color: var(--cream);
  padding: .9rem 1.6rem; border-radius: 4px; font-size: .88rem;
  opacity: 0; pointer-events: none; transition: all .35s; z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .about-split, .contact-split { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 180px; }
}
@media (max-width: 600px) {
  nav { padding: 1rem 1.2rem; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 78%;
    background: var(--charcoal); flex-direction: column; justify-content: center;
    gap: 2rem; transition: right .35s; padding: 2rem;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--cream); }
  .nav-burger { display: flex; }
  .hero { padding: 0 1.2rem 3.5rem; }
  section { padding: 4rem 0; }
  .section-inner { padding: 0 1.2rem; }
  .stats-bar { gap: 1.5rem; padding: 2rem 1rem; }
  .how-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 140px; }
  .exp-grid { grid-template-columns: 1fr; }
}
