/* =========================================
   1. BASE SETTINGS & RESET (Mobile Default)
   ========================================= */
:root {
  --bg-color: #1e6c93; /* lightBlue Background */
  --card-bg: #f5f2f2; /* Light Gray Content Card */
  --text-main: #222;
  --text-accent: #1e6c93; /* Midnight/Red highlight */
  --primary-focus: #005fcc;
  --spacing-unit: 20px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  /* Operational Fix: Single source of truth for background */
  background: url("../assets/images/herojpeg.jpeg") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  /* Operational Fix: Zero padding on mobile to maximize screen real estate */
  padding: 0;
  line-height: 1.6;
}

/* Skip Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  z-index: 1000;
  font-weight: bold;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* =========================================
   2. MAIN CONTAINER & NAVIGATION
   ========================================= */
main {
  width: 100%;
  max-width: 1200px; /* Limits width on huge desktop screens */
  margin: 0 auto;
  background: var(--card-bg);
  padding: 20px; /* Standard mobile padding */
  /* Border/Shadow removed for mobile to look cleaner */
  box-shadow: none;
  border: none;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column; /* Mobile: Stack vertically */
  gap: 10px;
  text-align: center;
  font-weight: 1000;
}

nav a {
  color: var(--text-accent);
  text-decoration: none;
  font-size: 1.2rem;
  display: block; /* Large hit area for thumbs */
  padding: 12px;
  border-radius: 4px;
  background-color: rgba(
    0,
    0,
    0,
    0.05
  ); /* Subtle background for touch target visibility */
  transition: all 0.2s ease;
}

/* Keyboard Focus Indicators (High Contrast) */
nav a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-focus);
  outline-offset: 2px;
  background-color: rgba(0, 95, 204, 0.1);
}

/* =========================================
   3. TYPOGRAPHY (Mobile Scaled)
   ========================================= */
h1 {
  font-family: "Oswald", sans-serif;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.2em; /* Readable on mobile */
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: var(--text-accent);
  line-height: 1.2;
}

h2 {
  font-family: "Oswald", sans-serif;
  color: var(--text-accent);
  text-transform: uppercase;
  text-decoration: underline;
  font-size: 1.5em;
  margin-top: 10px; /* Fixed: Added unit */
  margin-bottom: 10px;
}

h3 {
  font-family: "Oswald", sans-serif;
  text-align: center;
  font-size: 1.3em;
  color: var(--text-accent);
  margin: 20px 0;
}

h4 {
  font-family: "Oswald", sans-serif;
  text-align: center;
  font-size: 1.1em;
  letter-spacing: 1px;
  color: #333; /* Adjusted for contrast against light gray */
  border-bottom: 4px double #1e6c93;
  padding-bottom: 10px; /* Fixed: Cannot be negative */
  margin-bottom: 30px;
}

.section-note {
  font-size: 1.1em;
  color: #080000;
  margin-bottom: 20px;
  border-left: 4px solid #088cce;
  padding-left: 15px;
  background: #fff; /* Highlights the note */
  padding: 10px;
}

.text-align-center {
  text-align: center;
}

.text-align-left {
  text-align: left;
}
/* =========================================
   4. MENU GRID & ITEM STYLING
   ========================================= */
/* Default Mobile: 1 Column */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

dt {
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  font-size: 1.4em;
  text-decoration: underline;
  color: var(--text-accent);
  margin-top: 20px;
  border-top: 1px dotted #aa6060;
  padding-top: 10px;
}

dt:first-of-type {
  margin-top: 0;
  border-top: none;
}

dd.price {
  font-weight: bold;
  color: #1e6c93; /* Darker green for better contrast */
  font-size: 1.1em;
  margin: 0 0 5px 0;
}

dd:not(.price) {
  margin-left: 0;
  color: #070000;
  font-size: 1em;
  margin-bottom: 10px;
}

/* The Black Box (Tots Section) */
.black-box {
  background-color: #1a1a1a; /* Softened black for screen comfort */
  color: #fff;
  padding: 20px;
  border-radius: 6px;
}

.black-box dt {
  color: #d2691e;
  border-top-color: #444;
}

.black-box dd.price {
  color: #90ee90;
}

.black-box dd:not(.price) {
  color: #ddd;
}

/* Nested Options */
.nested-options {
  margin-left: 10px;
  padding-left: 15px;
  border-left: 2px solid #ddd;
}

/* =========================================
   5. RESPONSIVE BREAKPOINTS
   ========================================= */

/* --- TABLET / LAPTOP (Min-Width: 768px) --- */
@media (min-width: 768px) {
  body {
    padding: 20px; /* Add breathing room around the card */
  }

  main {
    padding: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* Restore shadow for depth */
    border: 1px solid #ddd;
  }

  nav ul {
    flex-direction: row; /* Switch to horizontal row */
    justify-content: center;
    gap: 2rem;
  }

  nav a {
    display: inline-block;
    background-color: transparent; /* Remove mobile touch background */
    padding: 8px 12px;
  }

  .menu-grid {
    grid-template-columns: 1fr 1fr; /* Switch to 2 columns */
    align-items: start;
    gap: 50px;
  }

  /* Span full width elements */
  .full-width {
    grid-column: 1 / -1;
  }

  h1 {
    font-size: 3em;
  }
}

/* --- DESKTOP (Min-Width: 1024px) --- */
@media (min-width: 1024px) {
  main {
    max-width: 1100px; /* Restrict width for readability */
    padding: 60px;
  }

  h1 {
    font-size: 3.5em;
    letter-spacing: 4px;
  }

  .menu-grid {
    gap: 80px; /* More whitespace between columns */
  }
}

/* --- PRINT (Operational Requirement) --- */
@media print {
  .skip-link,
  nav {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  main {
    box-shadow: none;
    border: none;
    width: 100%;
    max-width: none;
  }
  .black-box {
    background: none;
    color: #000;
    border: 1px solid #000;
  }
}




