/* ===== Pizzeria L'Orchidea ===== */
:root {
  --crema: #FAF6EF;
  --crema-scura: #F1EADE;
  --carbone: #221D18;
  --carbone-2: #2C261F;
  --terracotta: #C34A2C;
  --terracotta-scura: #A93E24;
  --oro: #D9A441;
  --orchidea: #C77693;
  --testo: #3A332C;
  --testo-chiaro: #EDE6DB;
  --bordo: rgba(34, 29, 24, 0.12);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(34, 29, 24, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--testo);
  background: var(--crema);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--carbone); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 600; margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; font-weight: 600; }

.container { width: min(1120px, 92%); margin-inline: auto; }
.center { text-align: center; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 0.9rem;
}
.section-sub { max-width: 560px; margin: 0 auto 2.5rem; color: rgba(237,230,219,0.75); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  background: rgba(34, 29, 24, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease;
}
.site-header.scrolled { background: rgba(34, 29, 24, 0.94); box-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.header-inner { display: flex; align-items: center; gap: 2rem; padding: 0.8rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-flower { color: var(--orchidea); font-size: 1.5rem; line-height: 1; }
.brand-text {
  font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: #fff;
  display: flex; flex-direction: column; line-height: 1.05;
}
.brand-text small {
  font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.65);
}
.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.main-nav a {
  color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--oro); }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 0.8rem 1.7rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--terracotta); color: #fff; box-shadow: 0 6px 18px rgba(195,74,44,0.35); }
.btn-accent:hover { background: var(--terracotta-scura); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { border: 1.5px solid var(--carbone); color: var(--carbone); }
.btn-outline:hover { background: var(--carbone); color: var(--crema); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/hero-pizza-verdure.jpg') center 60% / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(24,20,16,0.62) 0%, rgba(24,20,16,0.35) 45%, rgba(24,20,16,0.82) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 9rem 0 4rem; color: #fff; }
.hero-eyebrow {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--oro); margin-bottom: 1rem;
}
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.4); }
.hero-sub { max-width: 540px; margin-top: 1.2rem; font-size: 1.08rem; color: rgba(255,255,255,0.88); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.badge-rating, .badge-open {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px); padding: 0.45rem 1rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
}
.badge-rating { color: var(--oro); }
.badge-rating small { color: rgba(255,255,255,0.8); font-weight: 500; }
.badge-open.open { color: #7FD68A; }
.badge-open.closed { color: #FFB4A0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-strip { position: relative; z-index: 2; background: rgba(20,16,13,0.85); border-top: 1px solid rgba(255,255,255,0.08); }
.strip-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem;
  padding: 1rem 0; color: rgba(255,255,255,0.85); font-size: 0.92rem; font-weight: 500;
}

/* ===== Chi siamo ===== */
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.col-text .feature-list { list-style: none; margin-top: 1.6rem; }
.feature-list li {
  padding: 0.7rem 0 0.7rem 1.9rem; position: relative; border-bottom: 1px dashed var(--bordo);
}
.feature-list li::before { content: '✿'; position: absolute; left: 0; color: var(--orchidea); }
.col-text p + p { margin-top: 1rem; }
.col-media { display: grid; grid-template-columns: 1fr; gap: 1.2rem; position: relative; }
.media-main img, .media-small img { border-radius: var(--radius); box-shadow: var(--shadow); }
.media-main img { aspect-ratio: 3/4; object-fit: cover; }
.media-small { width: 62%; margin-top: -30%; margin-left: 45%; }
.media-small img { aspect-ratio: 4/3; object-fit: cover; border: 6px solid var(--crema); }

/* ===== Menu ===== */
.section-dark { background: var(--carbone); }
.section-dark h2, .section-dark h3 { color: var(--testo-chiaro); }
.section-dark { color: rgba(237,230,219,0.85); }
.menu-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 4vw, 3.5rem);
  margin-top: 2.5rem;
}
.menu-col h3 {
  color: var(--oro); font-size: 1.15rem; letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(217,164,65,0.35); padding-bottom: 0.5rem; margin-bottom: 1.1rem;
}
.menu-col h3.mt { margin-top: 2rem; }
.menu-item {
  display: flex; align-items: baseline; gap: 0.5rem; padding: 0.55rem 0;
}
.mi-name { display: flex; flex-direction: column; font-weight: 600; color: var(--testo-chiaro); font-size: 0.98rem; }
.mi-desc { font-weight: 400; font-size: 0.82rem; color: rgba(237,230,219,0.55); margin-top: 0.1rem; }
.mi-dots { flex: 1; border-bottom: 1px dotted rgba(237,230,219,0.25); transform: translateY(-4px); }
.mi-price { font-weight: 700; color: var(--oro); font-variant-numeric: tabular-nums; }
.menu-item.signature .mi-name { color: var(--orchidea); }
.menu-item.signature .mi-price { color: var(--orchidea); }
.menu-note { text-align: center; margin-top: 2.5rem; font-size: 0.88rem; color: rgba(237,230,219,0.5); font-style: italic; }

/* ===== Galleria ===== */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; margin-top: 2.5rem;
}
.g-item { overflow: hidden; border-radius: var(--radius); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ===== Recensioni ===== */
.section-cream { background: #F3ECE1; }
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin: 1.5rem 0 2.5rem; }
.rating-big { font-family: 'Playfair Display', serif; font-size: 3.6rem; font-weight: 700; color: var(--carbone); }
.stars { color: var(--oro); font-size: 1.4rem; letter-spacing: 0.15em; }
.stars .half { opacity: 0.45; }
.rating-summary p { color: var(--testo); font-size: 0.9rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.review {
  background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
}
.review p { font-size: 1rem; font-style: italic; color: var(--carbone-2); }
.review footer { font-size: 0.82rem; color: rgba(58,51,44,0.6); font-weight: 600; }

/* ===== Contatti ===== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact-info address { font-style: normal; margin-bottom: 1.4rem; }
.contact-info address p + p { margin-top: 0.8rem; }
.phone-link {
  font-size: 1.35rem; font-weight: 700; color: var(--oro); text-decoration: none;
}
.phone-link:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; }
.hours td { padding: 0.5rem 0; border-bottom: 1px solid rgba(237,230,219,0.12); font-size: 0.95rem; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { color: var(--oro); font-weight: 700; }
.services-line { font-size: 0.88rem; color: rgba(237,230,219,0.6); }
.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ===== Footer ===== */
.site-footer { background: #17130F; color: rgba(237,230,219,0.75); padding: 2rem 0; }
.footer-inner { text-align: center; font-size: 0.92rem; }
.footer-inner a { color: var(--oro); }
.footer-small { margin-top: 0.5rem; font-size: 0.8rem; color: rgba(237,230,219,0.45); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .reviews { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .col-media { max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; top: 60px; right: 0; flex-direction: column; gap: 0;
    background: rgba(23,19,15,0.98); width: min(75vw, 320px); height: calc(100vh - 60px);
    padding: 1.5rem; transform: translateX(100%); transition: transform 0.3s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 1.05rem; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .brand-text { font-size: 1.15rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .strip-inner { justify-content: center; }
  .media-small { display: none; }
  .media-main img { aspect-ratio: 4/3; }
}
