/* ============================================================
   Responsive Override (Mobile‑first, 3 breakpoints)
   Place AFTER main style.css
   ============================================================ */

/* --- Base: Mobile (≤767px) ------------------------------- */
html, body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display:block; }

[data-navbar] .grid-list,
.navbar-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* --- MOBILE (≤767 px) – stack grids into one column --- */
@media (max-width: 767px) {
  .grid-list {
    grid-template-columns: 1fr;   /* no !important needed */
    gap: 1.75rem;
  }
}
/* Add this AFTER the mobile rules */
@media (min-width: 768px) {
  .navbar {
    position: static;          /* sit in normal flow */
    left: 0;                   /* reset the -360px */
    max-width: none;
    width: auto;
    padding: 0;
    background: transparent;
    transform: none;           /* kill the slide-in transform */
    visibility: visible;
    overflow: visible;
  }

  /* hide mobile-only chrome */
  .nav-open-btn,
  .navbar .close-btn,
  .overlay { display: none !important; }
}








/* Footer centered */
footer .grid-list       { grid-template-columns: 1fr; text-align:center; }
footer .grid-list > *   { margin-inline:auto; }
footer .social-list     { justify-content:center; }

/* --- Tablet: 768–1099px ---------------------------------- */
@media (min-width: 768px) {
  [data-navbar] .grid-list,
  .navbar-menu {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
  }

  .grid-list.tablet-2,
  .menu .grid-list,
  .event-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  footer .grid-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Desktop: ≥1100px ------------------------------------ */
@media (min-width: 1100px) {
  .grid-list.desktop-3,
  .event-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  footer .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* =========================================
   GLOBAL BUTTON TWEAKS used below
   ========================================= */
.btn-primary {
  width: auto;
  padding: 0.55rem 1.25rem;
  font-size: 1rem;
}

/* =========================================
   LOCATION BUTTON ROW
   ========================================= */
.location-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
#locations-section .shape-1 {
  display: block !important;
  margin: 0 auto 2rem;
  max-width: 320px;
  height: auto;
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 600px) {
  #locations-section .shape-1{
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 auto 1.9rem;
    object-fit: cover;
  }
}
.location-links .btn {
  margin: 0 !important;
  width: auto;
  max-width: 100%;
  padding: 0.75rem 1.25rem;
  white-space: nowrap; /* keeps the text on one line */
}



/* =========================================
   HIDE FOOTER LINKS ON SMALL SCREENS
   ========================================= */
@media (max-width: 600px) {
  .link-list {
    display: none !important;
  }

  .social-list {
    display: flex !important;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }

  .social-list a {
    font-size: 1.7rem;
    color: var(--gold-crayola);
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

.footer-inner {
  padding-bottom: 5rem;
}


@media (max-width: 600px) {
  .foot-link {
    display: none !important;
  }

  .footer-inner {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .social-list {
    display: flex !important;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
  }

  .social-list a {
    font-size: 1.6rem;
    color: var(--gold-crayola);
  }
}




/* MENU.html - our location
   but don’t mess with scroll-margin-top */
header + #locations-section {
  margin-top: 120px !important;  /* tweak as needed */
  scroll-margin-top: 140 !important; /* reset it so nav pop-in isn’t hidden */
}


.hidden {
  display: none !important;
}



/* Signature Dishes mobile improvements */
@media (max-width: 767px) {
  .menu .grid-list {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .menu-card {
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .menu-card .card-text {
    font-size: 1.4rem;
    line-height: 1.6;
  }

  .menu-card .card-title {
    font-size: 2rem;
  }

  .menu-card .img-holder {
    max-height: 180px;
    margin-bottom: 1rem;
  }

  .menu-card .img-holder img {
    object-fit: contain;
    width: 100%;
    height: auto;
  }

  .menu-card .title-wrapper {
    flex-direction: column;
    align-items: initial;
    gap: 0.5rem;
  }
}



@media (max-width: 768px) {
  .about-video-banner {
    height: 40vh; /* Adjust as needed — 30vh to 50vh works well */
  }

  .video-container video {
    object-position: center top; /* shift focus upward if needed */
  }
}


/* Only hide 'Order Online' inside .navbar on large screens */
@media (min-width: 768px) {
  .navbar .hide-on-desktop-nav {
    display: none !important;
  }
}


/* === Desktop: button appears inline with other navbar links === */
.order-btn-nav {
  margin-left: 1rem;
}

.order-btn-nav .btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  border-radius: 2em;
}

/* === Mobile: center the button in hamburger menu === */
@media (max-width: 991px) {
  .order-btn-nav {
    margin-top: 2rem;
    text-align: center;
  }

  .order-btn-nav .btn {
    width: 90%;
    max-width: 300px;
    margin-inline: auto;
  }
}

/* === DISCOUNT AND PROMOS === */
.discount-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--gold-crayola);
  color: var(--black);
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-width: 300px;
  animation: fadeInUp 0.5s ease-out;
}

.popup-content h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.popup-content p {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.btn-popup {
  display: inline-block;
  background-color: var(--black);
  color: var(--gold-crayola);
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-popup:hover {
  background-color: rgba(70, 69, 69, 0.7);
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 3.5rem;
  cursor: pointer;
  color: var(--black);
}

/* Fade In Up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional mobile tweak */
@media (max-width: 480px) {
  .discount-popup {
    bottom: 20px;
    right: 15px;
    max-width: 90%;
    padding: 15px;
  }
}

/* Grid styling remains same */
.catering-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 40px;
  justify-items: center; /* Center cards inside the grid */
}

/* Set fixed size for image container */
.catering-grid .card-banner {
  width: 320px;   /* Fixed width for all images */
  height: 250px;  /* Fixed height for all images */
  overflow: hidden;
  border-radius: 12px;
}

/* Ensure images fill container without distortion */
.catering-grid .card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .menu .grid-list::before {
    display: none;
  }
}
