/* ============================================================
   MAIN STREET DINER — Classic Retro Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Boogaloo&family=Righteous&family=Lato:wght@300;400;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --red:        #D62828;
  --red-dark:   #A01C1C;
  --red-light:  #F05252;
  --white:      #FFFDF7;
  --cream:      #FFF8E7;
  --black:      #1A1A1A;
  --chrome:     #C8C8C8;
  --chrome-dark:#8A8A8A;
  --yellow:     #FFD700;
  --shadow:     rgba(0,0,0,0.25);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--cream);
  color: var(--black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--black);
  color: var(--chrome);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.top-bar a { color: var(--yellow); text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  background: var(--red);
  box-shadow: 0 4px 12px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo .logo-icon {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 3px solid var(--yellow);
  box-shadow: 0 2px 8px var(--shadow);
}
.nav-logo .logo-text {
  font-family: 'Righteous', cursive;
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1.15;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}
.nav-logo .logo-text span {
  display: block;
  font-size: 0.75rem;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
nav ul li a {
  display: block;
  padding: 8px 16px;
  color: var(--white);
  text-decoration: none;
  font-family: 'Righteous', cursive;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.5px;
}
nav ul li a:hover,
nav ul li a.active {
  background: var(--white);
  color: var(--red);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   CHECKERBOARD DIVIDER
   ============================================================ */
.checker-strip {
  height: 18px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--black) 0px,
    var(--black) 18px,
    var(--white) 18px,
    var(--white) 36px
  );
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--red);
  background-image:
    linear-gradient(135deg, var(--red-dark) 0%, var(--red) 60%, var(--red-light) 100%);
  padding: 60px 20px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.page-hero h1 {
  font-family: 'Righteous', cursive;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-shadow: 3px 3px 0 var(--red-dark), 0 0 30px rgba(255,215,0,0.3);
  position: relative;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-top: 10px;
  position: relative;
}

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-family: 'Righteous', cursive;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--red);
  display: inline-block;
  position: relative;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin: 10px auto 0;
  border-radius: 2px;
}
.section-title p {
  color: #666;
  margin-top: 12px;
  font-size: 1rem;
}

/* ============================================================
   NEON BADGE
   ============================================================ */
.neon-badge {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  font-family: 'Righteous', cursive;
  padding: 6px 18px;
  border-radius: 20px;
  border: 2px solid var(--yellow);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-shadow: 0 0 8px var(--yellow);
  box-shadow: 0 0 12px rgba(255,215,0,0.3);
  margin-bottom: 12px;
}

/* ============================================================
   CARD
   ============================================================ */
.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Righteous', cursive;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(214,40,40,0.4);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214,40,40,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--red);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--black);
  color: var(--chrome);
  margin-top: auto;
}
.footer-checker {
  height: 18px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--red) 0px, var(--red) 18px,
    var(--black) 18px, var(--black) 36px
  );
}
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-col h3 {
  font-family: 'Righteous', cursive;
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--chrome);
  text-decoration: none;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: #555;
}
.footer-bottom a { color: #777; text-decoration: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--red-dark);
    padding: 16px;
    gap: 8px;
    box-shadow: 0 8px 20px var(--shadow);
  }
  nav ul.open { display: flex; }
  nav ul li a { padding: 12px 16px; font-size: 1.1rem; }
  header { position: relative; }
}
