/* ── Blintz Pizza Website — Shared Styles ─────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --orange: #FF6B1A;
  --orange-dark: #E65100;
  --dark: #1A1A2E;
  --dark-2: #2A2A3E;
  --cream: #FFF8F2;
  --gray: #F5F5F7;
  --text: #2C2C2C;
  --muted: #6B6B7B;
  --border: #EBEBF0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--dark);
}
.nav-links { display: flex; gap: 8px; }
.nav-links a {
  font-size: 13px; font-weight: 500;
  color: var(--muted); text-decoration: none;
  padding: 6px 12px; border-radius: 8px;
  transition: all .15s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--orange); background: #FFF3EE;
}

/* ── Footer ── */
footer {
  background: var(--dark);
  padding: 48px 24px 32px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
}
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.footer-logo span { color: var(--orange); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-links h4 { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.4); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.footer-links a { display: block; font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; margin-bottom: 8px; transition: color .15s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-app-links { display: flex; gap: 10px; }
.app-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: all .15s;
}
.app-badge:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ── Page hero (for legal pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 64px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255,107,26,0.15) 0%, transparent 60%);
}
.page-hero-content { position: relative; max-width: 700px; margin: 0 auto; }
.page-hero-tag {
  display: inline-block;
  background: rgba(255,107,26,0.2);
  border: 1px solid rgba(255,107,26,0.3);
  color: #FF9A5C;
  font-size: 12px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  color: #fff; line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 16px; color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ── Legal content ── */
.legal-wrap {
  max-width: 800px; margin: 0 auto;
  padding: 56px 24px;
}
.legal-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-meta-item { font-size: 13px; color: var(--muted); }
.legal-meta-item strong { color: var(--text); font-weight: 500; }

.legal-toc {
  background: var(--cream);
  border: 1px solid #FFD9B8;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.legal-toc h3 { font-size: 13px; font-weight: 500; color: var(--orange-dark); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 12px; }
.legal-toc ol { padding-left: 18px; }
.legal-toc li { margin-bottom: 5px; }
.legal-toc a { font-size: 14px; color: var(--orange-dark); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

.legal-section {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}
.legal-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.legal-section h3 { font-size: 16px; font-weight: 500; color: var(--dark); margin: 16px 0 8px; }
.legal-section p { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 12px; }
.legal-section ul, .legal-section ol { padding-left: 22px; margin-bottom: 12px; }
.legal-section li { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 6px; }
.legal-highlight {
  background: var(--cream);
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 14px; color: var(--orange-dark);
  font-weight: 500;
}
.contact-box {
  background: var(--gray); border-radius: 12px;
  padding: 20px 24px; margin-top: 16px;
}
.contact-box p { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.contact-box a { color: var(--orange); text-decoration: none; font-weight: 500; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
