/* Submarina#2 — high-impact sandwich shop (inspired by top chains) */
:root {
  --maroon: #6B2D2D;
  --maroon-dark: #552424;
  --maroon-soft: rgba(107, 45, 45, 0.08);
  --gold: #D4A017;
  --gold-light: #f0b020;
  --board-red: #a82a2a;
  --board-green: #2d6b2d;
  --black: #1a1a1a;
  --gray-100: #f8f9fa;
  --gray-800: #343a40;
  --white: #fff;
  --text-on-dark: #f5f5f5;
  --text-body: #212529;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --ease: 0.25s ease;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--maroon);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  z-index: 101;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  top: 0;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--gray-100);
}

/* Header — transparent over hero, solid on scroll */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: transparent;
  color: var(--white);
  transition: background var(--ease), box-shadow var(--ease), padding var(--ease);
}
.site-header.header-scrolled {
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
  transition: opacity var(--ease);
}
.logo:hover {
  opacity: 0.9;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.nav a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--ease), opacity var(--ease);
}

.nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

.btn-call {
  background: var(--gold);
  color: var(--black);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--ease), transform 0.15s ease;
}
.btn-call:hover {
  background: var(--gold-light);
  text-decoration: none;
  transform: scale(1.03);
}

/* Main content */
main {
  padding: 0 0 4rem;
}

/* Hero — full-bleed food photo (Jersey Mike's / Firehouse style) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  margin: 0 0 2rem;
  color: var(--text-on-dark);
  font-size: 1.15rem;
  font-weight: 500;
  opacity: 0.95;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: var(--gold);
  color: var(--black);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: background var(--ease), transform 0.2s ease, box-shadow var(--ease);
}
.hero-cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.hero-cta-btn-phone {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-cta-btn-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Menu banner — second food image + "The menu" */
.menu-banner {
  position: relative;
  height: 42vh;
  min-height: 280px;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.menu-banner-img {
  position: absolute;
  inset: 0;
}
.menu-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.menu-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.6) 100%);
}
.menu-banner-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Menu section */
.menu {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}

.menu-disclaimer {
  font-size: 0.875rem;
  color: var(--gray-800);
  margin: 0 0 2rem;
  text-align: center;
  opacity: 0.9;
}

/* Menu panels — match physical boards: maroon header + black body */
.menu-panel {
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-panel);
  border: 2px solid var(--board-green);
  transition: box-shadow var(--ease);
}
.menu-panel:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.panel-header {
  background: var(--maroon);
  padding: 0.6rem 1rem;
  text-align: center;
}
.panel-header .panel-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.panel-body {
  background: var(--black);
  color: var(--text-on-dark);
  padding: 1.25rem 1rem;
}

.panel-title-green {
  color: var(--white) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.menu-panel-maroon .panel-body {
  background: var(--black);
  color: var(--text-on-dark);
}

.menu-panel-black .panel-header {
  background: var(--maroon);
}
.menu-panel-black .panel-body {
  background: var(--black);
}

.panel-title {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.panel-body h4 {
  font-size: 0.95rem;
  margin: 1rem 0 0.35rem;
  color: var(--white);
}
.panel-body h4:first-child {
  margin-top: 0;
}

.menu-panel ul,
.menu-panel p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.menu-panel ul {
  padding-left: 1.25rem;
  list-style: disc;
}

/* Deli panel — sub graphic */
.deli-panel-graphic {
  text-align: center;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.deli-panel-graphic img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Deli grid */
.deli-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .deli-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Subs table */
.sizes {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  opacity: 0.95;
}

.subs-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.subs-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.subs-table th,
.subs-table td {
  padding: 0.5rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 2px solid var(--board-red);
  transition: background 0.15s ease;
}
.subs-table th:last-child,
.subs-table td:last-child {
  border-right: none;
}
.subs-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.06);
}

.subs-table th {
  font-weight: 700;
  color: var(--gold);
}
.subs-table th:nth-child(n+3) {
  color: var(--gold);
}

.subs-table td:first-child {
  font-weight: 600;
  width: 2.5rem;
  color: var(--board-red);
}

.subs-table td:nth-child(n+3) {
  text-align: right;
  white-space: nowrap;
  color: var(--board-green);
}

/* Extras */
.extras-items {
  margin-bottom: 0.75rem;
}

.extras-table {
  width: 100%;
  max-width: 280px;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.extras-table th,
.extras-table td {
  padding: 0.3rem 0.5rem;
  text-align: left;
  color: var(--text-on-dark);
}
.extras-table th {
  color: var(--gold);
  font-weight: 700;
}

.extras-table td:nth-child(n+2) {
  text-align: right;
  color: var(--board-green);
}

.extras-side {
  margin-top: 1rem;
  color: var(--white);
}
.panel-body .extras-items,
.panel-body p,
.panel-body li {
  color: var(--text-on-dark);
}

/* Menu graphics — tomato, pepper, mustard */
.menu-graphic-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  justify-content: center;
}
.menu-graphic .menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-graphic .menu-icon svg {
  display: block;
}
.style-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.style-with-icon .menu-icon {
  display: inline-flex;
  flex-shrink: 0;
}
.style-with-icon .menu-icon svg {
  display: block;
}

/* Styles list */
.styles-list {
  margin: 0;
}

.styles-list dt {
  font-weight: 700;
  margin-top: 0.75rem;
  color: var(--board-red);
}

.styles-list dt:first-child {
  margin-top: 0;
}

.styles-list dd {
  margin: 0.2rem 0 0;
  padding-left: 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

/* Staff favorites — cards with food photos */
.faves-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faves-heading {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--maroon);
  margin: 0 0 1.5rem;
  text-align: center;
}

.faves-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .faves-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fave-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--ease), box-shadow var(--ease);
}
.fave-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fave-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
}
.fave-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.fave-card:hover .fave-card-img img {
  transform: scale(1.05);
}

.fave-card-body {
  padding: 1.25rem;
}

.fave-card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--board-red);
  margin-bottom: 0.35rem;
}

.fave-card-body h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 0.5rem;
}
.fave-card-number {
  color: var(--gold);
}
.fave-highlight {
  color: var(--board-green);
}

.fave-card-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--gray-800);
}

/* Info section — Hours + Location cards */
.info-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.info-card h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--maroon);
  margin: 0 0 1rem;
}

.hours-list {
  display: inline-block;
  text-align: left;
  margin: 0.5rem 0 0.75rem;
}

.hours-list dt {
  font-weight: 600;
  display: inline;
  margin: 0;
  color: var(--text-body);
}
.hours-list dt::after {
  content: " ";
}
.hours-list dd {
  display: inline;
  margin: 0 0 0 0.25rem;
}
.hours-list dd::after {
  content: "";
  display: block;
}

.info-note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.address a {
  color: var(--maroon);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--ease);
}
.address a:hover {
  color: var(--maroon-dark);
  text-decoration: underline;
}

/* CTA section — full-width call to order */
.cta-section {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-on-dark);
}

.cta-phone {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  margin: 0.25rem 0 0.5rem;
  transition: color var(--ease);
}
.cta-phone:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.cta-content p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--text-on-dark);
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.95rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-phone {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color var(--ease);
}
.footer-phone:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.site-footer p {
  margin: 0.35rem 0 0;
  opacity: 0.9;
}

.footer-tagline {
  margin-top: 1rem !important;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer-credit {
  margin-top: 1.25rem !important;
  font-size: 0.85rem;
  opacity: 0.8;
}
.footer-credit a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}
.footer-credit a:hover {
  text-decoration: underline;
}

/* Sticky call bar — visible on mobile, tap target */
.sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--maroon);
  padding: 0.75rem 1rem;
  text-align: center;
  z-index: 99;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

.sticky-call a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity var(--ease);
}
.sticky-call a:hover {
  opacity: 0.95;
}
.sticky-call-icon {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .sticky-call {
    display: block;
  }

  main {
    padding-bottom: 5rem;
  }
}

@media (min-width: 769px) {
  .sticky-call {
    display: none;
  }
}
