/* =====================================================================
   Mike's NY Style Pizza — Shared Design System
   Raleigh, NC · 3919 New Bern Ave, Raleigh, NC 27610
   ===================================================================== */

:root {
  --red: #d81f26;
  --red-dark: #a30f14;
  --red-darker: #7a0a0e;
  --black: #0c0c0d;
  --black-soft: #17151580;
  --panel: #1a1717;
  --panel-border: #3a2323;
  --gold: #f4b53d;
  --gold-soft: #f4b53d33;
  --green: #3a8b3f;
  --cream: #fff8ec;
  --white: #ffffff;
  --muted: #cfc6c2;
  --muted-dim: #a89e9a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-script: "Caveat", cursive;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(circle at 15% 0%, #2a0d0d 0%, transparent 45%),
    radial-gradient(circle at 100% 20%, #1c1414 0%, transparent 40%);
}

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

a { color: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: 10px 16px;
  z-index: 100;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------------
   Top ribbon (mini announcement bar)
   --------------------------------------------------------------------- */
.top-ribbon {
  background: linear-gradient(90deg, var(--red-darker), var(--red), var(--red-darker));
  color: var(--white);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  position: relative;
  z-index: 30;
}
.top-ribbon strong { color: var(--gold); }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 12, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-border);
  padding: 14px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  text-decoration: none;
}

.brand img {
  width: 76px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text .brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}

.brand-text .brand-name span {
  color: var(--gold);
}

.brand-text .brand-tag {
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.phone:hover { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  color: var(--white);
  padding: 13px 26px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(216, 31, 38, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(216, 31, 38, 0.55);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold), #d99424);
  color: var(--black);
  box-shadow: 0 6px 18px rgba(244, 181, 61, 0.35);
}

.btn-gold:hover { box-shadow: 0 10px 24px rgba(244, 181, 61, 0.5); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  box-shadow: none;
}
.btn-outline:hover { background: var(--gold-soft); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------------------------------------------------------------------
   Navigation
   --------------------------------------------------------------------- */
.nav {
  background: var(--black);
  border-bottom: 1px solid var(--panel-border);
  position: relative;
  z-index: 39;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 16px 24px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
}

.nav-menu li { flex: none; }

.nav-menu a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 15px 22px;
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  border-color: var(--gold);
}

/* ---------------------------------------------------------------------
   Hero (video, homepage only)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-video-wrap video,
.hero-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 8, 0.55) 0%, rgba(10, 8, 8, 0.85) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-content .eyebrow {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.hero-content h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.hero-content h1 span { color: var(--red); text-shadow: 0 2px 0 var(--gold); }

.hero-content p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 26px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  color: var(--muted-dim);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-badges span { display: flex; align-items: center; gap: 8px; }

/* ---------------------------------------------------------------------
   Simple page hero (non-video pages)
   --------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 70px 20px 50px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 31, 38, 0.25), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(244, 181, 61, 0.18), transparent 45%),
    var(--black);
  border-bottom: 1px solid var(--panel-border);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.4;
}

.page-hero .eyebrow {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
  position: relative;
}

.page-hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin: 6px 0 10px;
  position: relative;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.crumbs {
  position: relative;
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--muted-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.crumbs a { color: var(--muted-dim); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------------------------------------------------------------------
   Main / layout helpers
   --------------------------------------------------------------------- */
.main-content { flex: 1; padding: 60px 0 20px; }
.main-content.tight { padding-top: 40px; }

.section { padding: 20px 0 60px; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title .eyebrow {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.4rem;
}
.section-title h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-top: 4px;
}
.section-title p { color: var(--muted); max-width: 620px; margin: 12px auto 0; }

.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: linear-gradient(180deg, var(--panel), #120f0f);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); }

.card h2, .card h3 { font-family: var(--font-display); text-transform: uppercase; color: var(--gold); }
.card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .highlight { color: var(--white); font-weight: 700; font-size: 1.15rem; }
.card a.link { color: var(--gold); font-weight: 700; text-decoration: none; }
.card a.link:hover { text-decoration: underline; }

.center { text-align: center; }

.tag {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tag.green { background: #3a8b3f33; color: #7fce85; }

/* ---------------------------------------------------------------------
   Menu-specific styling
   --------------------------------------------------------------------- */
.menu-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 10px 0 10px;
}
.menu-jump a {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--panel-border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.menu-jump a:hover { border-color: var(--gold); color: var(--gold); }

.menu-category { margin-bottom: 54px; scroll-margin-top: 130px; }

.menu-category-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 10px;
}
.menu-category-head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.7rem;
  color: var(--white);
}
.menu-category-head .sub { color: var(--muted-dim); font-size: 0.95rem; }

.size-labels {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.size-labels span { width: 46px; text-align: right; }

.menu-list { display: flex; flex-direction: column; gap: 18px; }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--panel-border);
}

.menu-item .item-name-wrap { flex: 1; min-width: 0; }

.menu-item .item-name {
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
}

.menu-item .item-desc {
  color: var(--muted-dim);
  font-size: 0.92rem;
  margin-top: 3px;
}

.menu-item .item-price {
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-display);
  white-space: nowrap;
}

.menu-item .item-prices {
  display: flex;
  gap: 22px;
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-display);
  white-space: nowrap;
}
.menu-item .item-prices span { width: 46px; text-align: right; }

.menu-note {
  background: var(--gold-soft);
  border: 1px solid var(--panel-border);
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.92rem;
  margin: 16px 0;
}

.toppings-box {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin: 18px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.printable-menu-cta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 40px;
}

.printable-menu-cta img {
  width: 130px;
  border-radius: 8px;
  border: 2px solid var(--panel-border);
}

/* ---------------------------------------------------------------------
   Hours table
   --------------------------------------------------------------------- */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.hours-table th,
.hours-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--panel-border); }
.hours-table th {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.hours-table td { color: var(--muted); }
.hours-table tr.today td { color: var(--white); font-weight: 700; }
.hours-table tr.today { background: rgba(244, 181, 61, 0.08); }
.hours-table tr:hover { background: rgba(216, 31, 38, 0.08); }

/* ---------------------------------------------------------------------
   Map
   --------------------------------------------------------------------- */
.map-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--panel-border);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-weight: 700;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  background: #0e0c0c;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--gold); }
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.submit-button {
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s ease;
}
.submit-button:hover { transform: translateY(-2px); }
.form-note { color: var(--muted-dim); font-size: 0.85rem; margin-top: 10px; }

/* ---------------------------------------------------------------------
   Gallery / image treatment
   --------------------------------------------------------------------- */
.image-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 30px 0; }
.gallery-item { text-align: center; }
.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  transition: transform 0.3s ease;
}
.gallery-item img:hover { transform: scale(1.03); }
.gallery-item p { margin-top: 10px; color: var(--muted-dim); font-size: 0.9rem; }

/* ---------------------------------------------------------------------
   CTA band
   --------------------------------------------------------------------- */
.cta-band {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--red-darker), var(--red));
  border-radius: var(--radius);
  margin: 20px auto 60px;
  max-width: var(--maxw);
}
.cta-band h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: #ffe4e4; margin-bottom: 26px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.footer {
  position: relative;
  background: #080707;
  border-top: 1px solid var(--panel-border);
  padding: 50px 0 20px;
  margin-top: auto;
  color: var(--muted-dim);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer h3 {
  font-family: var(--font-display);
  color: var(--gold);
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.footer a { text-decoration: none; color: var(--muted-dim); }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer .brand-text .brand-name { color: var(--white); }
.footer-social { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.footer-social a {
  border: 1px solid var(--panel-border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
}
.footer-social a:hover { border-color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--panel-border);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--muted-dim); }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  }
  .nav-menu.active { display: flex; }
  .nav-menu a { border-bottom: 1px solid var(--panel-border); text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

@media (max-width: 600px) {
  .hero { min-height: 70vh; padding: 40px 16px; }
  .header-actions { width: 100%; justify-content: space-between; }
  .brand img { width: 58px; }
  .brand-text .brand-name { font-size: 1.15rem; }
  .menu-item { flex-direction: column; align-items: flex-start; }
  .size-labels { display: none; }
}

/* ---------------------------------------------------------------------
   Accessibility / print
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video-wrap video { display: none; }
}

@media print {
  .header, .nav, .footer, .hero-video-wrap, .top-ribbon { display: none; }
  body { background: #fff; color: #000; }
  .card { border: 1px solid #999; box-shadow: none; }
}
