/* ========================================================
    Kete Kai Café Website - CSS Stylesheet
    For Assessment 3, CTEE402, NZ Certificate in Computing L4
    Author: 5127562 Jason Smith
    Last Modified: June 2026
======================================================== */

/* #region Sitewide CSS Variables for consistent theming across the site ===== */

/* Site colours, sizing, fonts, specifics*/
:root {
  --bg: #faf6f0;
  --panel: #1e2a2f;
  --brand: #a23c2b;
  --text: #1e2a2f;
  --text-light: #faf6f0;
  --muted: #1e2a2f;
  --border: #faf6f0;
  --bg-video: #2c6140;
  --bg-ocean: #1982b2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #faf6f0;
  color: #1e2a2f;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Arial, sans-serif;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}
/* #endregion */

/* #region Index Page Layout Styles ==================== */

/* ==================== Site Shell main wrapper container for the entire site ==================== */
.site-shell {
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* ==================== Sitewide Topbar Styles ==================== */

/* Topbar container controlling color, spacing, and layout */
.topbar {
  background: #a23c2b;
  color: #faf6f0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  gap: 20px;
  border-radius: 0;
}

/* Brand and Logo for the topbar */
.topbar .brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Logo for the topbar */
.topbar .logo {
  height: 80px;
  width: 150px;
  display: block;
}

/* Navigation for the topbar */
.topbar nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  font-size: 1.15rem !important;
  font-weight: 600;
}

/* Navigation Links for the topbar */
.topbar nav a {
  color: #faf6f0;
  opacity: 0.95;
  white-space: nowrap;
}

/* Navigation Link Hover Effect */
.topbar nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Hamburger Menu - Initially hidden, will be toggled by JavaScript for mobile navigation */
.hamburger {
  display: none !important;
}

/* ==================== Index Page Hero Section Styles ==================== */

/* Hero Section Container controlling layout and spacing */
.hero {
  position: relative;
  width: 100%;
  height: 400px;
  margin: 0;
  overflow: hidden;
}

/* Hero Image styling for full coverage and visual impact */
.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  z-index: 5;
  pointer-events: auto;
}

/* Overlay for the hero section to enhance text readability */
.hero::after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background: linear-gradient(
    180deg,
    rgba(30, 42, 47, 0.6) 0%,
    rgba(30, 42, 47, 0.8) 100%
  );
  z-index: 2;
}

/* Hero Copy styling for positioning and visual emphasis */
.hero-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #faf6f0;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
  z-index: 3;
  padding: 0 20px;
}

/* Hero Heading styling for size, weight, and spacing */
.hero-copy h1 {
  font-size: 48px;
  margin: 0 0 16px 0;
  line-height: 1.1;
  font-weight: 700;
}

/* Hero Subheading styling for size and weight */
.hero-copy h2 {
  font-size: 32px;
  margin: 0;
  font-weight: 500;
}

/* Hero Visual audio panel styling for positioning and layering */
.hero-visual .audio-panel {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: #1e2a2f;
  color: #faf6f0;
  border-radius: 50px;
  padding: 10px 18px;
  width: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Audio panel Text styling for size, weight, and color */
.hero-visual .audio-panel .audio-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #faf6f0;
  white-space: nowrap;
}

/* Play Button styling for size, color, and layout */
.hero-visual .audio-panel .play-btn {
  width: 52px;
  height: 52px;
  background: #a23c2b;
  color: #faf6f0;
  border: 3px solid #a23c2b;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Play Button Hover Effect for color change and slight scaling on hover */
.hero-visual .audio-panel .play-btn:hover {
  background: #faf6f0;
  color: #a23c2b;
  border-color: #a23c2b;
  transform: scale(1.1);
}

/* ==================== Index Page Intro Section Styles ==================== */

/* Intro Section Container controlling layout and spacing */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 60px 1%;
  background: #faf6f0;
  align-items: stretch;
}

/* Intro Card styling for background, color, and layout */
.intro-card {
  background: #1e2a2f;
  color: #faf6f0;
  border-radius: 24px;
  padding: 15px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Intro Card Heading styling for size, color, and spacing */
.intro-card h2 {
  margin: 0 0 24px 0;
  font-size: 2.2rem;
  color: #a23c2b;
  line-height: 1.2;
  text-align: center;
}

/* Intro Card Paragraph styling for size, line height, and color */
.intro-card p {
  font-size: 1.5rem;
  line-height: 1.75;
  margin-bottom: 20px;
  margin-left: 30px;
  margin-right: 30px;
  color: #faf6f0;
}

/* Intro Image styling for border, shadow, and layout */
.intro-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  height: 100%;
}

/* Intro Image styling for full coverage and visual impact */
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Intro Image Box styling for hiding the image on smaller screens */
.intro-image .image-box {
  display: none;
}

/* ==================== Index Page Links Grid Styles ==================== */

/* Links Grid Container controlling layout and spacing */
.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 60px 5%;
  background: #faf6f0;
}

/* Link Card styling for background, color, and layout */
.link-card {
  background: #faf6f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image Block styling for controlling image height and overflow */
.link-card .image-block {
  height: 320px;
  overflow: hidden;
  position: relative;
}

/* Image styling for full coverage, visual impact, and hover effect */
.link-card .image-block img {
  width: 100% !important; /* Struggled to get this to work so needed to add !important to override the default image styling for this container */
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block !important;
  transition: transform 0.4s ease;
}

/* Image Hover Effect for subtle zoom on hover */
.link-card .image-block img:hover {
  transform: scale(1.05);
}

/* Link Button styling for background, color, and layout */
.link-card .link-button {
  display: block;
  text-align: center;
  padding: 20px;
  background: #1e2a2f;
  color: #faf6f0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0 0 24px 24px;
  margin-top: auto;
  transition: background 0.3s ease;
}

/* Link Button Hover Effect for color change on hover */
.link-card .link-button:hover {
  background: #a23c2b;
}

/*==================== Index Page Footer Styles ==================== */

/* Footer Container controlling background, color, and spacing */
.footer {
  background: #a23c2b;
  color: #faf6f0;
  padding: 50px 0 40px;
  margin-top: 80px;
}

/* Footer Inner Container for layout and spacing of footer content */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 100%;
  padding: 0 5%;
  margin: 0 auto;
}

/* Footer Brand styling for size, weight, and spacing */
.footer .brand {
  flex-shrink: 0;
  margin-left: 0;
}

/* Footer Logo styling for size and layout */
.footer .logo {
  height: auto;
  width: 240px;
  display: block;
}

/* Footer Right styling for text alignment and layout */
.footer-right {
  text-align: right;
}

/* Footer Navigation styling for layout and spacing */
.footer-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 50px;
  font-size: 1.5rem;
  justify-content: flex-end;
  margin-bottom: 25px;
}

/* Footer Navigation Links styling for color and opacity */
.footer-nav a:hover {
  text-decoration: underline;
}

/* Footer Hours styling for size, weight, and color */
.footer-hours {
  font-size: 1.35rem;
  opacity: 1;
  color: #1e2a2f;
  font-weight: 900;
}

/*==================== Index Page Responsive Styles ==================== */

/* ===== Sitewide Tablet Responsive - Adjustments for better layout and readability on tablet screens */
@media (min-width: 769px) and (max-width: 1024px) {
  .topbar nav {
    display: flex;
    gap: 18px;
    font-size: 1.05rem !important;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  /* Adjust the topbar padding and logo size for better fit on tablet screens */
  .topbar {
    padding: 18px 5%;
  }

  /* Adjust the logo size for better fit on tablet screens */
  .topbar .brand .logo {
    height: 70px;
    width: auto;
  }

  /* Ensure overlay doesn't overflow */
  .hero {
    height: 400px;
  }

  .hero::after,
  .hero-image {
    height: 400px !important;
  }

  /* Scaling h1 size in Hero for Tablet Screens */
  .hero-copy h1 {
    font-size: 2.6rem;
    margin-bottom: 8px;
    display: block;
    line-height: 1.05;
  }

  /* Scaling h2 size in Hero for Tablet Screens */
  .hero-copy h2 {
    font-size: 2rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  /*Allows normal line break */
  .hero-copy {
    white-space: normal;
  }

  /* Move Audio Panel down and to the right away from h1 and h2 */
  .hero-visual .audio-panel {
    bottom: 25px;
    right: 25px;
  }

  /* Make footer layout better on iPad */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  /* Footer Logo - Adjust size for better fit on tablet */
  .footer .logo {
    width: 160px;
    height: auto;
  }

  /* Footer Navigation - Adjust gap and font size for better fit on tablet */
  .footer-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 28px !important;
    font-size: 1.2rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  .footer-nav a {
    padding: 4px 8px;
  }

  /* Footer Hours - Adjust font size for better fit on tablet */
  .footer-hours {
    font-size: 1.2rem;
  }
}

/* ===== Sitewide Mobile Responsive - Adjustments for better layout and readability on mobile screens =====*/
@media (max-width: 768px) {
  /* Hamburger Menu - Show the hamburger menu on mobile screens */
  .hamburger {
    display: block !important; /* Forced as this would not initially work */
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #faf6f0;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 1001;
  }

  /* Hide the navigation links on mobile, they will be toggled by the hamburger menu */
  .topbar nav,
  .topbar nav * {
    display: none !important; /* Forced as this would not initially work */
  }

  /* Topbar - Adjust padding and layout for better fit on mobile screens */
  .topbar {
    position: relative;
  }

  /* Active Navigation - When the hamburger menu is toggled, show the navigation links in a vertical layout */
  .topbar nav.active {
    display: flex !important; /* Forced as this would not initially work */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #a23c2b;
    padding: 20px 5%;
    gap: 18px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  /* Active Navigation Links - Adjust font size and padding for better fit on mobile */
  .topbar nav.active a {
    display: block !important; /* Forced as this would not initially work */
    font-size: 1.2rem;
    padding: 10px 0;
    color: #faf6f0;
    text-align: center;
  }

  /* Active Navigation Link Hover Effect for better visibility on mobile */
  .topbar nav.active a:hover {
    color: #a23c2b !important;
    background: #1e2a2f !important;
    border-radius: 8px;
    padding: 12px 20px !important;
  }

  /* Specifying hero section size for mobile */
  .hero {
    height: 300px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    overflow: hidden;
  }

  /* Specifying hero image size for mobile*/
  .hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  /* Specifying hero image overlay for mobile */
  .hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    background: linear-gradient(
      180deg,
      rgba(30, 42, 47, 0.35) 0%,
      rgba(30, 42, 47, 0.75) 100%
    );
    z-index: 2;
  }

  /* Specifying hero copy placement for mobile */
  .hero-copy {
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
  }

  /* Hero Copy - Adjust font sizes for better readability on smaller screens */
  .hero-copy h1 {
    font-size: 1.5rem !important;
    line-height: 1.05;
    margin-bottom: 10px;
  }

  /* Adjust the subheading size for better readability on smaller screens */
  .hero-copy h2 {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  /* Hero Visual - Hide the audio text on mobile to save space and focus on the play button */
  .hero-visual .audio-panel .audio-text {
    display: none;
  }

  /* Audio Panel - Adjust size and position for mobile */
  .hero-visual .audio-panel {
    background: transparent;
    box-shadow: none;
    padding: 0;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    justify-content: center;
  }

  /* Play Button - Adjust size for better fit on mobile */
  .hero-visual .audio-panel .play-btn {
    bottom: 80px;
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
    justify-content: center;
  }

  /* General adjustments for mobile screens to ensure content fits well and is readable */
  .intro,
  .links-grid,
  .footer-inner,
  .footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Intro Section - Stack columns vertically and adjust padding for mobile */
  .intro {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  /* Intro Card - Adjust heading sizes for better readability on mobile */
  .intro-card h2 {
    font-size: 1.5rem;
  }

  /* Intro Card - Adjust paragraph size and spacing for better readability on mobile */
  .intro-card p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-left: 20px;
    margin-right: 20px;
  }

  /* Links Grid - Stack columns vertically and adjust padding for mobile */
  .links-grid {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  /* Footer Navigation - Stack links vertically and adjust spacing for mobile */
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    margin-bottom: 20px;
  }

  /* Footer - Stack content vertically and adjust spacing for mobile */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Footer Navigation - Adjust gap and font size for better fit on mobile */
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
  }

  /* Footer Logo - Adjust size for better fit on mobile */
  .footer .logo {
    width: 150px;
    height: auto;
  }

  /* Footer Hours - Adjust font size for better fit on mobile */
  .footer-hours {
    font-size: 0.8rem;
    white-space: nowrap;
    text-align: center;
  }
}

/* Further Mobile Adjustments for very small screens (e.g., phones with smaller displays) */
@media (max-width: 480px) {
  /* Hero Copy - Further adjust font sizes for very small screens */
  .hero-copy h1 {
    font-size: 1.9rem;
  }

  /* Adjust the subheading size for better readability on very small screens */
  .hero-visual .audio-panel {
    width: 220px;
    padding: 8px 12px;
    bottom: 15px;
    right: 15px;
  }
}

/* #endregion */

/* #region About Us Page Specific Styles ===================== */

/* ==================== About Us Page Container for layout and spacing ====================*/
.aboutus-page .page-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== About Us Page Hero ==================== */

/* Hero Section Container for layout and spacing */
.aboutus-page .hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  margin: 0;
}

/* Hero Image styling to get faces in range */
.aboutus-page .hero img.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  object-position: center 8%;
}

/* Overlay for the hero section to enhance text readability */
.aboutus-page .hero::before {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* Hero Content styling for positioning and visual emphasis */
.aboutus-page .hero-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #faf6f0;
  z-index: 3;
  padding: 0 20px;
  width: 100%;
  max-width: 900px;
}

/* Hero Heading styling for size, weight, and spacing */
.aboutus-page .hero-copy h1 {
  font-size: 3.2rem;
  margin: 0 0 12px 0;
  line-height: 1.1;
}

/* Hero Subheading styling for size and weight */
.aboutus-page .hero-copy h2 {
  font-size: 1.4rem;
  margin: 0;
}

/* ==================== About Us Page Content Sections ==================== */

/* Section Card styling for background, color, and layout */
.aboutus-page .section-card,
.aboutus-page .video-panel,
.aboutus-page .hours-card {
  background: #1e2a2f;
  color: #faf6f0;
  border-radius: 28px;
  padding: 48px;
  margin: 40px auto;
  max-width: 1400px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Section Card styling for minimum height and padding */
.aboutus-page .section-card {
  min-height: 560px;
  padding: 60px 50px;
}

/* Section Card Heading styling for size, color, and spacing */
.aboutus-page .section-card h2 {
  color: #a23c2b;
  font-size: 2.2rem;
  margin-top: 0;
}

/* Section Card Paragraph styling for size, line height, and color */
.aboutus-page .section-card p {
  font-size: 1.5rem;
  line-height: 1.75;
  margin-top: 24px;
  color: #faf6f0;
}

/* Section Card List styling for size, line height, and color */
.aboutus-page .section-card li {
  font-size: 1.5rem;
  line-height: 1.75;
  margin-top: 16px;
  margin-left: 80px;
  padding-left: 18px;
  color: #faf6f0;
}

/* Custom List Marker styling for the bullet points */
.aboutus-page .section-card li::marker {
  content: "•";
  color: #a23c2b;
  font-size: 2rem;
}

/* ==================== About Us Page Video Panel Section ==================== */

/* Video Panel styling for background, color, and layout */
.aboutus-page .video-panel {
  max-height: 500px;
  padding: 40px 48px;
  background-color: #2c6140;
}

/* Video Frame styling for size, aspect ratio, and visual design */
.aboutus-page .video-frame {
  width: 75%;
  max-height: 400px;
  aspect-ratio: 16 / 9;
  background: #2c6140;
  border-radius: 20px;
  overflow: hidden;
  margin: 24px auto 0;
  position: relative;
  z-index: 10;
  cursor: help;
}

.aboutus-page .video-frame::after {
  content: "Video by Free HD Videos via YouTube, Licensed under CC0 1.0";
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #faf6f0;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 2147483647 !important; /* Maximum z-index value to ensure title tooltip appears above all other elements */
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.aboutus-page .video-frame:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Video Frame styling for the embedded iframe */
.aboutus-page .video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==================== About Us Page Gallery Grid Section ==================== */

/* Gallery Grid styling for layout, spacing, and visual design */
.aboutus-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: auto;
  max-width: 1500px;
  padding: 0 20px;
  justify-items: center;
}

/* Gallery Image styling for size, object fit, and visual design */
.aboutus-page .gallery-grid img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

/* ==================== About Us Page Hours Card Section ==================== */

/* Hours Card styling for background, color, and layout */
.aboutus-page .hours-card {
  text-align: center;
}

/* Hours Card Heading styling for size, weight, and spacing */
.aboutus-page .hours-card h2 {
  font-size: 2.5rem;
}

/* Hours Card Paragraph styling for size, weight, and color */
.aboutus-page .hours-card p {
  font-size: 2.2rem;
  margin-top: 16px;
  font-weight: 600;
  color: #faf6f0;
}

/* ==================== About Us Page Responsive Styles ==================== */

/* ==================== About Us Page Tablet Responsive ==================== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* About Us Hero - Adjust height and font sizes for better fit on tablet screens */
  .aboutus-page .hero {
    height: 400px;
  }

  /* Fix hero copy positioning */
  .aboutus-page .hero-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
  }

  /* Adjust the hero heading and subheading sizes for better readability on tablet screens */
  .aboutus-page .hero-copy h1 {
    font-size: 2.8rem;
  }

  /* Adjust the hero subheading size for better readability on tablet screens */
  .aboutus-page .hero-copy h2 {
    font-size: 1.35rem;
  }

  /* Section Cards & Video Panel - Adjust padding and margins for better fit on tablet screens */
  .aboutus-page .section-card,
  .aboutus-page .video-panel,
  .aboutus-page .hours-card {
    padding: 45px 40px;
    margin: 35px auto;
    max-width: 1000px;
    width: 100%;
  }

  /* Section Card Headings - Adjust size for better readability on tablet screens */
  .aboutus-page .video-frame {
    width: 90%;
    max-height: 360px;
  }

  /* Gallery Grid - Adjust layout and spacing for better fit on tablet screens */
  .aboutus-page .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
    max-width: 1100px;
    margin: 40px auto;
  }

  /* Gallery Images - Adjust size for better fit on tablet screens */
  .aboutus-page .gallery-grid img {
    width: 100%;
    height: 240px;
  }
}

/* ==================== About Us Page Mobile Responsive ==================== */
@media (max-width: 768px) {
  /* About Us Hero - Adjust height and font sizes for better fit on mobile screens */
  .aboutus-page .hero {
    height: 280px;
  }

  /* Adjust the hero heading and subheading sizes for better readability on mobile screens */
  .aboutus-page .hero-copy h1 {
    font-size: 2.1rem;
  }

  /* Adjust the hero subheading size for better readability on mobile screens */
  .aboutus-page .hero-copy h2 {
    font-size: 1.25rem;
  }

  /* Section Cards & Video Panel - Stack vertically and adjust padding and margins for mobile */
  .aboutus-page .section-card,
  .aboutus-page .video-panel {
    padding: 35px 25px;
    margin: 30px 15px;
    border-radius: 20px;
  }

  /* Section Card Headings - Adjust size for better readability on mobile screens */
  .aboutus-page .section-card h2 {
    font-size: 1.4rem;
  }

  /* Section Card Paragraphs and Lists - Adjust size, line height, and spacing for better readability on mobile screens */
  .aboutus-page .section-card p,
  .aboutus-page .section-card li {
    font-size: 1rem;
    line-height: 1.65;
    margin-left: 0;
    padding-left: 10px;
  }

  /* Video Panel - Adjust size and layout for better fit on mobile screens */
  .aboutus-page .video-panel {
    padding: 30px 20px;
  }

  /* Video Frame - Adjust size for better fit on mobile screens */
  .aboutus-page .video-frame {
    width: 100%;
    max-height: 280px;
  }

  /* Video Frame Tooltip - Adjust size and padding for better fit on mobile screens */
  .aboutus-page .video-frame::after {
    font-size: 0.55rem;
    padding: 8px 14px;
    bottom: 15px;
  }

  /* Video Frame Hover Effect - Ensure it works well on mobile screens */
  .aboutus-page .video-frame:hover::after {
    opacity: 1;
    visibility: visible;
  }

  /* Gallery Grid - Adjust layout and spacing for better fit on mobile screens */
  .aboutus-page .gallery-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  /* Gallery Images - Adjust size for better fit on mobile screens */
  .aboutus-page .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  /* Hours Card - Adjust padding and text alignment for better fit on mobile screens */
  .aboutus-page .hours-card {
    padding: 25px 15px;
    text-align: center;
  }

  /* Hours Card Heading - Adjust size for better readability on mobile screens */
  .aboutus-page .hours-card h2 {
    font-size: 1.5rem;
  }

  /* Hours Card Paragraph - Adjust size and weight for better readability on mobile screens */
  .aboutus-page .hours-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    white-space: nowrap;
    text-align: center;
    font-weight: 600;
  }
}

/* ========== Further Mobile Adjustments for very small screens ========== */
@media (max-width: 480px) {
  /* About Us Hero - Further adjust height and font sizes for very small screens */
  .aboutus-page .hero-copy h1 {
    font-size: 1.5rem;
  }
  /* Adjust the hero subheading size for better readability on very small screens */
  .aboutus-page .section-card h2 {
    font-size: 1.2rem;
  }
  /* Section Card Paragraphs and Lists - Further adjust size and spacing for better readability on very small screens */
  .aboutus-page .hours-card p {
    font-size: 1rem;
  }
}

/* #endregion */

/* #region Gallery Page Specific Styles ==================== */

/* ==================== Feature Image Section ==================== */

/* Feature centered with good padding from Hero */
.gallery-page .gallery-feature {
  max-width: 100%;
  margin: 50px auto 40px;
  padding: 0 20px;
}

/* Main featured image in Gallery Feature section */
.gallery-page .gallery-feature img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border: 8px solid #1e2a2f;
  border-radius: 12px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
  display: block;
  margin: 0 auto;
}

/* ==================== Slideshow Section ==================== */

/* Slideshow block */
.gallery-page .gallery-slideshow {
  max-width: 1200px;
  margin: 40px auto;
  background: #1e2a2f;
  padding: 40px 30px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Slideshow container */
.gallery-page .slideshow-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* ==================== Thumbnails Specific ====================*/

/* Gallery Page Slideshow Thumbnails to stay left of Main Display Image */
.gallery-page .slideshow-thumbs-left {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

/* Gallery Page Slideshow Thumbnails to stay right of Main Display Image */
.gallery-page .slideshow-thumbs-right {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
/* Slideshow thumbnail clickable wrapper for each thumbnail image */
.gallery-page .slideshow-thumb {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Thumbnail Image styling */
.gallery-page .slideshow-thumb img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

/* Thumbnail hover and active state */
.gallery-page .slideshow-thumb:hover img,
.gallery-page .slideshow-thumb[aria-selected="true"] img {
  border-color: #a23c2b;
  transform: scale(1.08);
}

/* ======================= Gallery Page Slideshow Main Display Image==================== */

/* Slideshow Display container */
.gallery-page .slideshow-display {
  flex: 1;
  max-width: 520px;
}

/* Main Slideshow Image */
.gallery-page .slideshow-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 8px solid #a23c2b;
  border-radius: 12px;
}

/* ===================== Gallery Page Controls Bar ======================= */

/* Slideshow Controls container */
.gallery-page .slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

/* Slideshow Navigation Buttons */
.gallery-page .slideshow-btn {
  background: transparent;
  border: 3px solid #faf6f0;
  color: #a23c2b;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slideshow Button hover state */
.gallery-page .slideshow-btn:hover {
  background: #a23c2b;
  color: #faf6f0;
}

/* Slideshow Button focus state */
.gallery-page .slideshow-btn:focus {
  outline: 3px solid rgba(255, 255, 255, 0.15);
  outline-offset: 4px;
}

/* Slideshow Play and Pause Button */
.gallery-page .slideshow-playpause {
  background: transparent;
  border: 3px solid #faf6f0;
  color: #a23c2b;
  padding: 10px 28px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Slideshow Play and Pause Button active pressed state */
.gallery-page .slideshow-playpause[aria-pressed="true"] {
  background: #a23c2b;
  color: #faf6f0;
}

/* Slideshow Play and Pause Button hover state */
.gallery-page .slideshow-playpause:hover {
  background: #a23c2b;
  color: #faf6f0;
}

/* Slideshow Play and Pause Button focus state */
.gallery-page .slideshow-playpause:focus {
  outline: 3px solid #a23c2b;
  outline-offset: 4px;
}

/* ==================== Gallery Page Responsive Styles ==================== */

/* ==================== Gallery Page Tablet Responsive ==================== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Slideshow block - Adjust padding and max width for better fit on tablet screens */
  .gallery-page .gallery-slideshow {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px 35px;
  }

  /* Slideshow inner wrapper */
  .gallery-page .slideshow-inner {
    gap: 15px;
  }

  /* Reduce thumbnail size on tablet */
  .gallery-page .slideshow-thumbs-left,
  .gallery-page .slideshow-thumbs-right {
    gap: 8px;
  }

  /* Thumbnail Image smaller sizing */
  .gallery-page .slideshow-thumb img {
    width: 85px;
    height: 85px;
  }

  /* Slightly reduce display container size*/
  .gallery-page .slideshow-display {
    max-width: 420px;
  }

  /* Reduce slideshow image size */
  .gallery-page .slideshow-image {
    height: 320px;
  }

  /* Bottom controls - make them a bit smaller */
  .gallery-page .slideshow-controls {
    gap: 25px;
    margin-top: 25px;
  }

  /* Make Navigation Buttons smaller size */
  .gallery-page .slideshow-btn {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  /* Make Play and Pause Button smaller size */
  .gallery-page .slideshow-playpause {
    padding: 10px 24px;
    font-size: 1rem;
  }
}

/* ==================== Gallery Page Mobile Responsive =================== */
@media (max-width: 768px) {
  /* Slideshow block - Adjust padding and max width for better fit on mobile screens */
  .gallery-page .gallery-slideshow {
    padding: 30px 20px;
    max-width: 100%;
    margin: 30px 15px;
  }

  /* Hide thumbnails on mobile */
  .gallery-page .slideshow-thumbs-left,
  .gallery-page .slideshow-thumbs-right {
    display: none !important;
  }

  /* Center the main image */
  .gallery-page .slideshow-inner {
    justify-content: center;
  }

  /* Slideshow Display container */
  .gallery-page .slideshow-display {
    max-width: 100%;
    flex: 1;
  }

  /* Main Slideshow Image */
  .gallery-page .slideshow-image {
    height: 260px;
    border: 6px solid #a23c2b;
  }

  /* Controls Make them larger and centered */
  .gallery-page .slideshow-controls {
    gap: 30px;
    margin-top: 25px;
  }

  /* Slideshow Navigation Buttons */
  .gallery-page .slideshow-btn {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }

  /* Slideshow Play and Pause Button */
  .gallery-page .slideshow-playpause {
    padding: 12px 30px;
    font-size: 1.05rem;
  }
}

/* #endregion */

/* #region Menu Page Specific Styles ==================== */

/* ==================== Menu Page Hero Section ==================== */

/* Menu Page Hero Image styling to get the food in range */
.menu-page .hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  margin: 0;
}

/* Menu Page Hero Image to cover overlay fully */
.menu-page .hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  position: relative;
  object-position: center 35%;
  z-index: 1;
}

/* Base Hero Overlay */
.menu-page .hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(30, 42, 47, 0.4) 0%,
    rgba(30, 42, 47, 0.75) 70%,
    rgba(30, 42, 47, 0.85) 100%
  );
  z-index: 2;
}

/* ===================== Menu Page Menu Sections ===================== */

/* Menu section container */
.menu-page .menu-section {
  padding: 45px 35px;
  border-radius: 28px;
  margin-bottom: 35px;
  color: #faf6f0;
  margin-left: auto;
  margin-right: auto;
  max-width: 90%;
  box-sizing: border-box;
}

/* Menu section heading */
.menu-page .menu-section h2 {
  margin: 0 0 80px 0;
  font-size: 2.35rem;
  color: #faf6f0;
  text-align: center;
  letter-spacing: 0.6px;
}

/* ==================== Menu Page Menu Items ==================== */

/* Menu items list */
.menu-page .menu-list {
  display: flex;
  flex-direction: column;
  gap: 90px;
}

/* Menu row Grid */
.menu-page .menu-row {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 60px 50px;
  align-items: start;
}

/* ==================== Menu Page Inside menu-details ==================== */

/* Menu Details grid container */
.menu-page .menu-details {
  display: grid;
  grid-template-columns: 425px 1000px;
  gap: 0;
  align-items: start;
}

/* Menu Item name heading */
.menu-page .menu-details h3 {
  margin: 0;
  font-size: 1.45rem;
  color: #faf6f0;
  font-weight: 600;
  grid-column: 1;
  line-height: 1.25;
}

/* Menu Item Description Paragraph */
.menu-page .menu-details p:first-of-type {
  margin: 8px 0 18px 0;
  line-height: 1.4;
  color: #faf6f0;
  white-space: normal;
  font-size: 1.12rem;
  width: 100%;
  font-weight: 600;
}

/* Dietary Information Paragraph */
.menu-page .dietary {
  grid-column: 2;
  margin: 8px 0 18px 0;
  font-size: 1.12rem;
  color: #faf6f0;
  white-space: normal;
  font-style: italic;
  opacity: 0.75;
  line-height: 1.5;
}

/* Menu Item Price */
.menu-page .menu-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: #faf6f0;
  text-align: right;
  white-space: nowrap;
  padding-top: 6px;
}

/* ==================== Menu Page Category Background Colors===================== */
.menu-page .breakfast {
  background: #a23c2b;
} /* Red-Brown */
.menu-page .lunch {
  background: #1e2a2f;
} /* Jet Black */
.menu-page .specialty {
  background: #2c6140;
} /* Hunter Green */
.menu-page .drinks {
  background: #1982b2;
} /* Ocean Blue */

/* Page Content top padding */
.menu-page .page-content {
  padding-top: 80px;
}

/* ==================== Menu Page Responsive Styles ==================== */

/* ==================== Menu Page Tablet Responsive ==================== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Menu Page Specific Fixes */
  .menu-page .menu-section {
    margin-left: 40px;
    margin-right: 40px;
    padding: 40px 30px;
    max-width: none !important;
  }

  /* Menu Row Grid adjustments */
  .menu-page .menu-row {
    grid-template-columns: 220px 1fr auto;
    gap: 40px 55px;
  }

  /* Menu Details Grid adjustments */
  .menu-page .menu-details {
    display: contents;
  }
}

/* ==================== Menu Page Mobile Responsive==================== */
@media (max-width: 860px) {
  /* Menu Page Hero - Adjust height and overlay for better fit on mobile screens */
  .menu-page .hero {
    height: 320px; /* Slightly taller on mobile */
  }

  /* Adjust the hero overlay to be slightly darker on mobile for better text readability */
  .menu-page .hero::after {
    background: linear-gradient(
      180deg,
      rgba(30, 42, 47, 0.35) 0%,
      rgba(30, 42, 47, 0.8) 100%
    );
  }

  /* Menu Section spacing for mobile */
  .menu-page .menu-section {
    margin-left: 20px;
    margin-right: 20px;
    padding: 35px 25px;
  }

  /* Stack Menu Row and Details */
  .menu-page .menu-row,
  .menu-page .menu-details {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Dietary Information width for mobile */
  .menu-page .dietary {
    grid-column: 1;
  }

  /* Menu Price alignment for mobile */
  .menu-page .menu-price {
    text-align: left;
    padding-top: 0;
  }
}

/* ========== Further Mobile Adjustments for very small screens ========== */
@media (max-width: 480px) {
  /* Menu Section spacing for very small screens */
  .menu-page .menu-section h2 {
    font-size: 2rem;
  }
}

/* #endregion */

/* #region Contact Page Specific Styles ==================== */

/* ==================== Contact Page content styles ==================== */

/* Content Container */
.contact-page .page-content {
  padding-top: 80px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 40px 5%;
}

/* ==================== Contact Page Contact Info Section ==================== */

/* Contact Info Grid section */
.contact-page .contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* ==================== Contact Page Contact Details Box ==================== */

/* Contact Details box */
.contact-page .contact-details {
  background: #a23c2b;
  color: #faf6f0;
  padding: 40px;
  border-radius: 24px;
  width: 100%;
}

/* Contact Details Main Heading */
.contact-page .contact-details h2 {
  color: #faf6f0;
  margin-top: 0;
  margin-bottom: 40px;
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
}

/* Contact Details Sub Heading */
.contact-page .contact-details h3 {
  margin-top: 100px;
  margin-bottom: 40px;
  color: #faf6f0;
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
}

/* Space between Phone, Email, Address */
.contact-page .contact-details p {
  margin-bottom: 40px;
  line-height: 1.55;
}

/* ==================== Contact Page Map Section ==================== */

/* Map Section container*/
.contact-page .map-section {
  background: #2c6140;
  color: #faf6f0;
  padding: 40px;
  border-radius: 24px;
  text-align: center;
}

/* Map section Heading */
.contact-page .map-section h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 30px;
  color: #faf6f0;
}

/* ==================== Responsive Map Container ==================== */

/* Map container to hold the iframe responsovely */
.contact-page .map-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 62%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #a23c2b;
}

/* Map iframe to fill the container */
.contact-page .map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==================== Contact Page Enquiry Form ===================== */

/*Enquiry Form container */
.contact-page .enquiry-form {
  background: #1982b2;
  padding: 50px;
  border-radius: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Enquiry Form Heading */
.contact-page .enquiry-form h2 {
  text-align: center;
  color: #faf6f0;
  margin-bottom: 30px;
}

/* Form inputs and textarea */
.contact-page .enquiry-form input,
.contact-page .enquiry-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
}

/* Textarea specific styles */
.contact-page .enquiry-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* Send Button */
.contact-page .send-btn {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 30px auto 0;
  padding: 16px 40px;
  background: #1e2a2f;
  color: #faf6f0;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Send Button hover state */
.contact-page .send-btn:hover {
  background: #a23c2b;
  transform: translateY(-2px);
}

/* ==================== Contact Page Responsive Styles ==================== */

/* ==================== Contact Page Tablet Responsive ==================== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Contact Info Section for Tablet */
  .contact-page .contact-info {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Padding for Contact Details, Map and Enquiry Form for Tablet */
  .contact-page .contact-details,
  .contact-page .map-section,
  .contact-page .enquiry-form {
    padding: 35px;
  }

  /* Map container adjustments for Tablet */
  .contact-page .map-container {
    padding-bottom: 52%;
    max-width: 800px;
  }

  /* Map iframe adjustments for Tablet */
  .contact-page .map-container iframe {
    width: 100%;
    height: 100%;
  }

  /* Map Heading size for Tablet */
  .contact-page .map-section h2 {
    font-size: 2.2rem;
  }
}
/* ==================== Contact Page Mobile Responsive ==================== */
@media (max-width: 768px) {
  /* Contact Info Section for Mobile */
  .contact-page .contact-info {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Padding for Contact Details, Map and Enquiry Form for Mobile */
  .contact-page .contact-details,
  .contact-page .map-section,
  .contact-page .enquiry-form {
    padding: 30px 20px;
  }

  /* Map container taller on Mobile */
  .contact-page .map-container {
    padding-bottom: 75%; /* Tall map on mobile */
  }

  /* Map Heading size for Mobile */
  .contact-page .map-section h2 {
    font-size: 2rem;
  }
}

/* ==================== Contact Page Enquiry Form Success Message & Improvements ==================== */

/* Enquiry Form Success Message styling */
.contact-page .enquiry-form label {
  display: block;
  margin-top: 15px;
  margin-bottom: 6px;
  font-weight: 700;
  color: #faf6f0;
  font-size: 1.1rem;
}

/* Enquiry Form inputs and textarea styling */
.contact-page .enquiry-form input,
.contact-page .enquiry-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  box-sizing: border-box;
}

/* Enquiry Form Success Message styling */
.contact-page .success-message {
  display: none;
  background-color: #faf6f0;
  color: #2c6140;
  border: 3px solid #2c6140;
  border-radius: 16px;
  padding: 30px 20px;
  margin-top: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Success Message Heading */
.contact-page .success-message h3 {
  margin: 0 0 12px 0;
  font-size: 1.6rem;
  color: #2c6140;
}

/* Success Message Paragraph */
.contact-page .success-message p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
}

/* Make the Send button consistent with the rest of the site */
.contact-page .send-btn {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 25px auto 0;
  padding: 16px 40px;
  background: #1e2a2f;
  color: #faf6f0;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Send Button hover state */
.contact-page .send-btn:hover {
  background: #a23c2b;
  transform: translateY(-3px);
}

/* #endregion */

/* #region Real iPad Specific Fixes ==================== */

/* ==================== Force Footer Links Fix On Real iPad ==================== */

@media (min-width: 700px) and (max-width: 1100px) {
  /* Footer navigation adjustments for real iPad screens */
  .footer-nav {
    gap: 10px !important;
    font-size: 1.05rem !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    justify-content: center !important;
  }

  /* Footer navigation links padding adjustments for real iPad screens */
  .footer-nav a {
    padding: 2px 6px !important;
  }

  /* Footer inner container adjustments for real iPad screens */
  .footer-inner {
    gap: 20px !important;
  }
}

/* ==================== Force Larger Map On Real iPad ==================== */

@media (min-width: 700px) and (max-width: 1100px) {
  /* Map container adjustments for real iPad screens */
  .contact-page .map-container {
    padding-bottom: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  /* Map section padding adjustments for real iPad screens */
  .contact-page .map-section {
    padding: 30px 20px !important;
  }

  /* Map iframe adjustments for real iPad screens */
  .contact-page .map-container iframe {
    height: 100% !important;
  }
}

/* #endregion */

/* #region Desktop Header Navigation Fix ==================== */
/* ==================== Desktop Header Navigation Fix ==================== */

/* Header container to use flexbox for layout and prevent wrapping on desktop */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap; /* Important: prevents wrapping on desktop */
  padding: 0 20px;
  min-height: 70px;
}

/* Header navigation list to use flexbox and prevent wrapping on desktop */
header nav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header navigation links to prevent wrapping and maintain spacing */
header nav a {
  white-space: nowrap; /* Prevents text from breaking into two lines */
}

/* Only allow wrapping on smaller screens (split screen, tablet, mobile) */
@media (max-width: 1024px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px 10px;
  }

  /* Allow header navigation to wrap on smaller screens */
  header nav ul {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
}

/* #endregion */

/* #region iPad 9th Gen Menu Specific Fix ==================== */

/* ==================== iPad 9th Gen Menu Page Fix ======================= */

/* Force to max the menu appear correctly on iPad 9th Gen real device */
@media (width: 1080px) and (orientation: landscape) {
  .menu-page .menu-section {
    margin-left: 20px !important;
    margin-right: 20px !important;
    padding: 40px 25px !important;
    width: 97% !important;
    max-width: none !important;
  }

  .menu-page .menu-row {
    grid-template-columns: 260px 1fr auto !important;
    gap: 40px 50px !important;
  }

  .menu-page .menu-details {
    display: contents !important;
  }
}

/* #endregion */
