/* ═══════════════════════════════════════════════════════════════════
   ROTONDA PIZZA — BASE STYLESHEET
   Shared across every page: tokens, nav, footer, utilities
   ═══════════════════════════════════════════════════════════════════ */

/* ─── BRAND TOKENS ──────────────────────────────────────────────── */
:root {
  --black:    #1d1d1b;
  --red:      #e41f26;
  --green:    #4cb748;
  --silver:   #c0c0c0;
  --white:    #ffffff;
  --font:     'Catamaran', sans-serif;
  --h-weight: 800;
  --b-weight: 300;
}

/* ─── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: var(--b-weight);
  font-size: 15px;
  line-height: 25px;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ─── LOGO FONT ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'WoodfireBless';
  src: url('../fonts/WoodfireBless.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.logo-text {
  font-family: 'WoodfireBless', cursive;
  font-size: 32px;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
}
.logo-text.dark { color: var(--black); }

/* ─── UTILITIES ─────────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}
h1, h2, h3 {
  font-family: var(--font);
  font-weight: var(--h-weight);
  line-height: 1.15;
}
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.btn:hover  { opacity: 0.88; transform: translateY(-1px); }
.btn-red    { background: var(--red);   color: var(--white); }
.btn-white  { background: var(--white); color: var(--black); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }

/* ─── SECTION UTILITIES ─────────────────────────────────────────── */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-eyebrow span {
  width: 32px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.section-eyebrow.light { color: var(--silver); }
.section-eyebrow.dark  { color: #888; }

.section-headline {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
}
.section-headline.light { color: var(--white); }
.section-headline.dark  { color: var(--black); }

.section-sub {
  font-size: 17px;
  line-height: 28px;
  max-width: 520px;
}
.section-sub.light { color: var(--silver); }
.section-sub.dark  { color: #555; }

/* ─── NAV ───────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font);
  font-weight: var(--b-weight);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-cta {
  font-size: 13px;
  padding: 11px 24px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ─── HAMBURGER BUTTON ──────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
  flex-shrink: 0;
}
.hamburger .hbar {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.hamburger.open .hbar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hbar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hbar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV DRAWER ─────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 28px 24px 32px;
  z-index: 99;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  display: none;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.mobile-nav ul li a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-nav ul li a:hover,
.mobile-nav ul li a:focus { color: var(--red); }
.mobile-nav-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 8px;
  font-size: 14px !important;
  padding: 0 24px !important;
}

/* ─── MOBILE OVERLAY ────────────────────────────────────────────── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: none;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ─── STICKY CTA BAR ────────────────────────────────────────────── */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 68px;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 97;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.sticky-cta-bar.hidden { transform: translateY(100%); }
.sticky-cta-logo {
  font-family: 'WoodfireBless', cursive;
  font-size: 24px;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.01em;
}
.sticky-cta-bar .btn {
  font-size: 12px;
  padding: 0 20px;
  min-height: 44px;
  display: flex;
  align-items: center;
  letter-spacing: 0.08em;
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
footer {
  background: var(--black);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text {
  display: block;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 24px;
  color: var(--silver);
  max-width: 280px;
  margin-bottom: 28px;
}
.footer-socials { display: flex; gap: 14px; }
.social-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  text-decoration: none;
  font-size: 15px;
  transition: border-color 0.15s, color 0.15s;
}
.social-btn:hover { border-color: var(--red); color: var(--white); }
.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col ul li a {
  font-size: 14px;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--white); }
.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--silver);
  margin-bottom: 12px;
  line-height: 22px;
}
.contact-item span:first-child {
  color: var(--red);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-pillars {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 6px 12px;
}
.pillar-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  margin-left: 20px;
}
.footer-bottom a:hover { color: var(--silver); }

/* ─── PREFERS-REDUCED-MOTION ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── RESPONSIVE: 900px ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links    { display: none; }
  .nav-cta      { display: none; }
  .hamburger    { display: flex; }
  .mobile-nav   { display: block; }
  .mobile-overlay { display: block; }
}

/* ─── RESPONSIVE: 768px ─────────────────────────────────────────── */
@media (max-width: 768px) {
  body { padding-bottom: 68px; }
  .container { padding: 0 20px; }
  footer { padding: 60px 0 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 48px; }
  .sticky-cta-bar { display: flex; }
}

/* ─── RESPONSIVE: 480px ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .social-btn { width: 44px; height: 44px; }
}
