/* Pizzeria Caprese — modern static website */

:root {
  --bg: #fff8ee;
  --paper: #ffffff;
  --ink: #201713;
  --muted: #70635b;
  --brand: #b91c1c;
  --brand-dark: #7f1414;
  --accent: #f59e0b;
  --green: #166534;
  --line: rgba(32, 23, 19, 0.12);
  --shadow: 0 24px 70px rgba(32, 23, 19, 0.14);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(245, 158, 11, 0.18), transparent 30rem),
    radial-gradient(circle at 96% 4%, rgba(185, 28, 28, 0.13), transparent 28rem),
    var(--bg);
  line-height: 1.5;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 238, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo svg {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  color: white !important;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.24);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 78px);
  padding: 76px 0 54px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(185, 28, 28, 0.16);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(185, 28, 28, 0.07);
  font-size: 0.85rem;
  font-weight: 900;
}

.eyebrow.light {
  color: #fff4dd;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.13);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.3rem, 8vw, 7rem);
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-text {
  max-width: 58ch;
  margin-top: 22px;
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.2s ease;
}

.btn.primary {
  color: white;
  background: var(--brand);
  box-shadow: 0 16px 36px rgba(185, 28, 28, 0.28);
}

.btn.secondary {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-image-card {
  min-height: 570px;
  border-radius: 44px;
  padding: 26px;
  color: white;
  background:
    linear-gradient(145deg, rgba(32, 23, 19, 0.25), rgba(127, 20, 20, 0.72)),
    url("https://images.unsplash.com/photo-1604382354936-07c5d9983bd3?auto=format&fit=crop&w=1200&q=80") center/cover;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-badge {
  width: fit-content;
  padding: 14px 16px;
  border-radius: 20px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.hero-offer {
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.hero-offer span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.hero-offer strong {
  display: block;
  margin: 4px 0 8px;
  font-size: 2.25rem;
  letter-spacing: -0.05em;
}

.hero-offer p,
.lunch-panel p,
.lunch-panel li {
  color: rgba(255, 255, 255, 0.78);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -26px;
  position: relative;
  z-index: 2;
}

.quick-info article,
.menu-card,
.about-card,
.contact-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(32, 23, 19, 0.07);
}

.quick-info article {
  padding: 20px;
}

.quick-info span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.quick-info strong {
  font-size: 1.08rem;
}

.section {
  padding: 74px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 28px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--muted);
  background: var(--paper);
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  color: white;
  background: var(--brand);
  border-color: var(--brand);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.menu-card {
  padding: 24px;
  transition: 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(32, 23, 19, 0.11);
}

.menu-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.14);
  font-size: 1.55rem;
}

.menu-card h3 {
  margin-bottom: 8px;
}

/* Menu full-page styles */
.menu-category-group {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: 28px;
  box-shadow: 0 4px 12px rgba(32, 23, 19, 0.04);
}

.menu-category-group .menu-section {
  margin: 0 0 24px 0;
  border: none;
  background: transparent;
  padding: 0;
}

.menu-category-group .menu-section:last-child {
  margin-bottom: 0;
}

.menu-full .menu-section {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 12px 16px;
}

.menu-full .menu-section-title {
  list-style: none;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 8px 6px;
  display: block;
  margin: 0 0 12px 0;
  border-bottom: 2px solid var(--brand);
}

.menu-category-group .menu-section-title {
  font-size: 0.98rem;
  margin: 16px 0 10px 0;
  padding-bottom: 8px;
}

.menu-category-group .menu-section-title:first-of-type {
  margin-top: 0;
}

.menu-full ol,.menu-full ul{margin:12px 0 0 0;padding:0;columns:2;column-gap:2rem}
.menu-full ol li,.menu-full ul li{margin:8px 0;padding:4px 0;border-bottom:1px dashed rgba(0,0,0,0.04);break-inside:avoid}
.menu-full .muted{color:var(--muted);font-size:0.95rem}

.lunch-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 46px;
  border-radius: 44px;
  color: white;
  background:
    linear-gradient(135deg, rgba(127, 20, 20, 0.95), rgba(185, 28, 28, 0.86)),
    url("https://images.unsplash.com/photo-1571997478779-2adcbbe9ab2f?auto=format&fit=crop&w=1400&q=80") center/cover;
  box-shadow: var(--shadow);
}

.price {
  display: block;
  font-size: clamp(3.8rem, 8vw, 7rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.price-box ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.price-box li::before {
  content: "✓";
  margin-right: 10px;
  color: #fcd34d;
  font-weight: 950;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  padding: 32px;
  border-radius: 24px;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(32, 23, 19, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(32, 23, 19, 0.15);
}

.about-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.12), rgba(185, 28, 28, 0.08));
  border: 2px solid rgba(185, 28, 28, 0.3);
  color: var(--ink);
}

.about-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(180, 140, 110, 0.12), rgba(190, 155, 125, 0.08));
  border: 2px solid rgba(180, 140, 110, 0.3);
  color: var(--ink);
}

.about-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.12), rgba(22, 163, 74, 0.08));
  border: 2px solid rgba(22, 101, 52, 0.3);
  color: var(--ink);
}

.about-card h3 {
  font-size: 1.3rem;
}

.about-card.dark {
  color: white;
  background: var(--ink);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pills span {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(22, 101, 52, 0.1);
  font-size: 0.9rem;
  font-weight: 950;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
  overflow: hidden;
  align-items: center;
}

.contact-copy {
  padding: 0;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 26px 0;
}

.menu-list {
  display: grid;
  gap: 24px;
}

.menu-block {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(32, 23, 19, 0.08);
}

.menu-block-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.menu-block-head h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.menu-block-head span {
  white-space: nowrap;
  color: var(--brand);
  font-weight: 950;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  background: #fffaf3;
  border: 1px solid rgba(32, 23, 19, 0.08);
}

.menu-item h4 {
  margin: 0 0 5px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.menu-item p {
  font-size: 0.95rem;
}

.menu-item strong {
  color: var(--brand);
  white-space: nowrap;
}

.menu-block.is-hidden {
  display: none;
}

@media (max-width: 760px) {
  .menu-items {
    grid-template-columns: 1fr;
  }

  .menu-block-head {
    align-items: start;
    flex-direction: column;
  }
}

.contact-list strong {
  color: var(--ink);
}

.map-card {
  border-radius: 28px;
  overflow: hidden;
}


.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 78px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px;
    border-radius: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .lunch-panel,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-image-card {
    min-height: 430px;
  }

  .quick-info,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 54px 0;
  }

  .hero-image-card,
  .lunch-panel {
    border-radius: 30px;
    padding: 24px;
  }

  .menu-full ol,
  .menu-full ul,
  .menu-category-group ol,
  .menu-category-group ul {
    columns: 1;
  }

  .footer {
    flex-direction: column;
  }
}
