@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ceviche+One&display=swap");

* {
  box-sizing: border-box;
}

#hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.6);
  transition: background-image 0.4s ease;
  width: 100%;
  height: 100%;
}

#about-us {
  background-image: url("https://plus.unsplash.com/premium_photo-1668472273029-ba03dfaf5c45?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.4s ease;
  padding: 1rem;
  width: 100% !important;
}

#hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0 0 0 0.9);
}

body {
  margin: 0;
  min-height: 100vh;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  overflow-x: hidden;
  justify-content: center;
  font-family: "Inter", sans-serif;
  color: white;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6,
#banner {
  font-family: "Ceviche One", cursive;
  font-weight: 500 !important;
}

p,
a,
ul,
span,
li,
button {
  font-family: "Inter", sans-serif;
}

.category h3 {
  font-size: 1.8rem;
  text-align: center;
}

header {
  width: 100%;
}

/* Navbar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  /* Reverted to 1rem 5% */
  background-color: #1a1a1a;
  /* Dark background for navbar */
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #e1b387;
  /* Accent color for logo */
  text-decoration: none;
  padding: 0 1rem;
  /* Added padding */
}

.navbar .nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 1rem;
  /* Added padding */
}

.menu-toggle {
  display: none;
  /* Hidden by default on larger screens */
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.4s;
}

.navbar .nav-links li {
  margin-left: 2rem;
}

.navbar .nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
  color: #e1b387;
  /* Accent color on hover */
}

/* General layout for order page */
.hero-section {
  margin-top: 2rem;
  background-color: #0a0a0a;
  padding: 8rem 0;
  text-align: center;
  background-image: url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  /* Example background */
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  /* Dark overlay */
}

a.btn-primary {
  text-decoration: none;
}

.hero-section .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 6rem;
  margin-bottom: 1rem;
  color: #e1b387;
  text-align: center;
}

.hero-section p {
  font-size: 1.4rem;
  color: #ccc;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 2rem 5%; /* Adjusted padding */
  background-color: #1a1a1a;
  border-radius: 10px;
}

.container h2 {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #e1b387;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.menu-item {
  background-color: #0a0a0a;

  border-radius: 8px;

  overflow: hidden;

  text-align: center;

  padding-bottom: 1rem;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

  display: flex;
  /* Added flex */

  flex-direction: column;
  /* Added flex-direction */
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.menu-item h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.menu-item p {
  color: #ccc;

  margin-bottom: 1rem;

  overflow: hidden;
}

.menu-item .btn-primary {
  display: inline-block;
  margin-top: 1rem;
}

#order-summary .cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #333;
}

#order-summary .cart-item:last-child {
  border-bottom: none;
}

#order-summary .cart-item span {
  font-size: 1.1rem;
  color: #fff;
}

#order-summary .cart-item button {
  background-color: #e1b387;
  color: #0a0a0a;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

#order-summary .cart-total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #333;
}

#order-summary .cart-total h3 {
  font-size: 2rem;
  color: #e1b387;
  /* Removed text-align: center; */
}

#order-summary .cart-total .btn-primary {
  padding: 0.6rem 1.5rem;
  /* Reduced padding */
  font-size: 1rem;
  /* Reduced font size */
}

#banner,
#selector-universe {
  position: relative;
  z-index: 100;
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    /* Allow items to wrap */
    padding: 1rem 5%;
  }

  .navbar .logo {
    padding: 0;
    /* Remove padding for logo on mobile */
  }

  .navbar .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    /* Hide nav links by default on mobile */
    text-align: center;
    background-color: #1a1a1a;
    /* Same as navbar background */
    left: 0;
    right: 0;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .navbar .nav-links.active {
    display: flex;
    /* Show nav links when active */
  }

  .navbar .nav-links li {
    margin: 1rem 0;
    /* Adjust spacing for stacked links */
  }

  .menu-toggle {
    display: flex;
    /* Show hamburger icon on mobile */
  }

  #hero {
    margin-top: 4rem;
    /* Add margin to hero section */
  }

  .hero-section h1 {
    font-size: 3.5rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  .container {
    padding: 1rem;
  }

  .container h2 {
    font-size: 2.8rem;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }
}

.full-width-section {
  width: 100%;
  max-width: 100%;
  /* Override container's max-width */
}

/* ============================= */
/* CIRCULAR SELECTOR */
/* ============================= */

#selector-universe {
  position: relative;
  width: min(90vw, 550px);
  height: min(90vw, 550px);
  margin: auto;
}

.circular-frame {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  background: #111;
}

.circular-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circular-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.circular-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0% 50%;
  white-space: nowrap;
  font-size: 0.95rem;
  opacity: 0.4;
  cursor: pointer;
  pointer-events: auto;
}

.circular-label.active {
  opacity: 1;
  font-weight: 600;
}

.wrapper {
  position: relative;
  width: min(550px, 100vw);
  height: min(550px, 100vw);
}

.circle {
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  z-index: 1;
}

.image-display {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.menu {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.item {
  position: absolute;
  right: 20px;
  /* Moves labels closer to the circle */
  transform: translateY(-50%);
  white-space: nowrap;
  letter-spacing: 2px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.3s;
}

.item.active {
  color: #fff;
}

#hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 80px;
  width: 100%;
  min-height: 100vh;
  padding: 0 5%;
  overflow: hidden;
}

#banner {
  font-size: 90px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 2rem;
  justify-content: center;
  padding-left: 2rem;
}

.btn-primary {
  outline: none;
  border: none;
  background-color: #e1b387;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  color: #000;
  cursor: pointer;
}

#banner .btn-primary {
  align-self: flex-start;
  width: auto;
  /* Ensure it only takes content width */
}

@media (min-width: 512px) {
  #hero {
    grid-template-columns: 1fr 1fr;
  }

  #banner {
    min-width: 50vw;
  }

  .features {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}

#about-us {
  margin-top: 4rem;
  width: 100%;
  text-align: center;
  padding: 4rem 0;
}

#about-us h2 {
  font-size: 3rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  margin: 0 auto;
  gap: 2rem;
  padding: 0 5%; /* Added padding */
}

.feature-card {
  background-color: #e1b387;
  --peak: 75%;
  width: 100%;
  height: 300px;
  background: #e6b98d;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% var(--peak), 0 100%);
}

.feature-card h3 {
  font-size: 1.8rem;
}

.feature-card p {
  font-size: medium;
}

#menu {
  position: relative;
  padding: 2rem 0;
  width: 100%;
}

/* Menu Collage Background */
.menu-collage-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  z-index: 1;
}

.menu-collage-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* 60% transparent black */
  z-index: 2;
}

.collage-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.collage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.collage-image:hover img {
  transform: scale(1.1);
}

#menu h2,
#menu .categories {
  position: relative;
  z-index: 3;
}

#menu h2 {
  font-size: 3rem;
  text-align: center;
}

#menu h2 {
  font-size: 3rem;
}

.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin: 0 auto;
  gap: 2rem;
  padding: 0 5%; /* Added padding */
}

/* 🔑 2 rows, 1 column */
.category {
  width: 100%;
  min-height: 300px;
  display: grid;
  grid-template-rows: auto 1fr;
  /* ✅ */
  border: 1px solid #ddd;
}

.category h3 {
  font-size: 1.2rem;
  padding-bottom: 1rem;
  margin-top: 1rem;
  text-align: center;
  border-bottom: 1px solid #aaa;
}

/* items container */
.items {
  margin: 0 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.item-row {
  display: flex;
  justify-content: space-between;
  font-size: medium;
}

.items li:last-child {
  border-bottom: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

#prevBtn {
  left: 16px;
}

#nextBtn {
  right: 16px;
}

#reviews {
  margin-top: 4rem;
  width: 100%;
  text-align: center;
  padding: 4rem 0;
  background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  position: relative; /* Added for pseudo-element positioning */
  z-index: 0; /* Ensure content is above overlay */
}

#reviews::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
  z-index: 1; /* Overlay above background image, below content */
}

#reviews > * {
  /* Ensure content is above the overlay */
  position: relative;
  z-index: 2;
}

#reviews h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.carousel-container {
  width: 100%;
  margin: 50px auto 4rem auto;
  overflow: hidden;
  position: relative;
  min-height: 250px;
  padding: 0 5%; /* Added padding */
}

.carousel-track {
  display: flex;

  height: 100%;
}

.review-slide {
  min-width: 100%;

  height: 100%;

  display: flex;

  background-color: #1a1a1a;

  border-radius: 10px;

  overflow: hidden;

  box-sizing: border-box;
}

.review-left {
  flex-basis: 40%;

  padding: 2rem;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: space-between;

  background-color: #2a2a2a;
}

.review-avatar {
  width: 100px;

  height: 100px;

  border-radius: 50%;

  object-fit: cover;

  border: 3px solid #e1b387;
}

.review-stars {
  color: #e1b387;

  font-size: 1.5rem;
}

.review-right {
  flex-basis: 60%;

  padding: 2rem;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

.review-text {
  font-size: 1.1rem;

  font-style: italic;

  line-height: 1.6;

  color: #ccc;
}

.review-author {
  margin-top: 1rem;

  font-weight: bold;

  align-self: flex-end;

  color: #e1b387;
}

#prevBtn,
#reviews-prevBtn {
  left: 16px;
}

#nextBtn,
#reviews-nextBtn {
  right: 16px;
}

#our-chef {
  margin-top: 4rem;
  width: 100%;
  text-align: center;
  padding: 4rem 0;
}

#our-chef h2 {
  font-size: 3rem;

  margin-bottom: 2rem;
}

.chef-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 5%; /* Added padding */
}

.chef-row {
  display: flex;

  justify-content: center;

  gap: 2rem;

  flex-wrap: wrap;
}

.chef-card {
  background-color: #1a1a1a;

  border-radius: 10px;

  overflow: hidden;

  box-sizing: border-box;

  width: 100%;

  max-width: 250px;

  transition: transform 0.3s ease;
}

.chef-card:hover {
  transform: scale(1.05);
}

.chef-card img {
  width: 100%;

  height: 200px;

  object-fit: cover;
}

.chef-card h3 {
  font-size: 1.8rem;

  margin: 1rem 0;
}

.chef-card p {
  font-size: 1rem;

  color: #ccc;

  margin-bottom: 1rem;
}

#contact {
  width: 100%;
  padding: 4rem 0;
  background-image: url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  position: relative; /* Added for pseudo-element positioning */
  z-index: 0; /* Ensure content is above overlay */
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
  z-index: 1; /* Overlay above background image, below content */
}

#contact > * {
  /* Ensure content is above the overlay */
  position: relative;
  z-index: 2;
}

.enquiry-container {
  display: flex;
  gap: 2rem;
  width: 100%;
  margin: 4rem auto;
  padding: 0 5%; /* Added padding */
}

.map-container {
}

.map-container,
.form-container {
  flex: 1;
  /* Allows children to grow and shrink */
}

/* Adjusting column widths for flexbox */
.enquiry-container > .map-container {
  flex-basis: 45%;
}

.enquiry-container > .form-container {
  flex-basis: 55%;
}

.form-container {
  padding: 1.5rem;
  background-color: #1a1a1a;
  border-radius: 10px;
}

.form-container h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #e1b387;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ccc;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid #444;
  background-color: #2a2a2a;
  color: white;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e1b387;
}

.form-container button,
.btn-primary {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  background-color: #e1b387;
  color: #0a0a0a;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-container button:hover,
.btn-primary:hover {
  background-color: #d4a070;
}

@media (max-width: 1200px) {
  #hero {
    width: 90%;
    gap: 40px;
  }

  #banner {
    font-size: 60px;
  }
}

@media (max-width: 992px) {
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #banner {
    align-items: center;
    max-width: 100%;
    padding-left: 0;
  }

  #banner .btn-primary {
    align-self: center;
  }

  .wrapper {
    width: min(550px, 90vw);
    height: min(550px, 90vw);
  }

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

  .enquiry-container {
    flex-direction: column;
    width: 100%;
  }

  .enquiry-container > .map-container,
  .enquiry-container > .form-container {
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {
  #banner {
    padding-left: 0;
    font-size: 54px;
  }

  .wrapper {
    width: min(550px, 90vw);
    height: min(550px, 90vw);
  }

  .features {
    grid-template-columns: 1fr;
  }

  .categories {
    grid-template-columns: 1fr;
  }

  .review-slide {
    flex-direction: column;
  }

  .review-left,
  .review-right {
    flex-basis: 100%;
    text-align: center;
  }

  .review-avatar {
    margin-bottom: 1rem;
  }

  .review-author {
    align-self: center;
  }
}

@media (max-width: 576px) {
  #banner {
    padding-left: 0;
    font-size: 43px;
  }

  #banner .btn-primary {
    align-self: center;
  }

  .wrapper {
    width: min(550px, 80vw);
    height: min(550px, 80vw);
  }

  .item {
    font-size: 14px;
  }

  #about-us h2,
  #menu h2,
  #reviews h2,
  #our-chef h2,
  .form-container h2 {
    font-size: 2.5rem;
  }

  .btn-primary {
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    padding: 0.8rem;
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== PHOTO CAROUSEL FIX ===== */

#photo-carousel {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  margin: 4rem auto;
  overflow: hidden;
  position: relative;
}

#photo-carousel > div {
  height: 100%;
}

#photo-carousel .carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

#photo-carousel .carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

#photo-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  #photo-carousel {
    aspect-ratio: 4 / 3;
  }
}

.form-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #1a1a1a;
  /* Darker background consistent with other containers */
  border-radius: 8px;
  color: white;
  /* Ensure text color is white */
}

.form-section h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: #e1b387;
  /* Accent color for headings */
}

.rating-group {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rating-group .star {
  font-size: 2rem;
  cursor: pointer;
  color: #ccc;
  /* Default star color */
  transition: color 0.2s ease-in-out;
}

.rating-group .star:hover,
.rating-group .star.selected {
  color: gold;
  /* Selected/hovered star color */
}

/* --- Search Bar --- */
.search-container {
  margin: 20px 0;
  text-align: center;
}

#search-bar {
  width: 50%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* --- Cart Item Controls --- */
.cart-item-controls {
  display: flex;
  align-items: center;
}

.quantity-input {
  width: 60px;
  text-align: center;
  margin: 0 10px;
}

.item-total-price {
  width: 100px;
  text-align: right;
  margin-right: 10px;
}

/* --- Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  text-align: center;
  border-radius: 10px;
  position: relative;
}

.modal-content h2 {
  font-size: 2rem;
}

.close-btn {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
}

#table-number-input {
  width: 80%;
  padding: 10px;
  margin: 20px 0;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 10px;
  height: 20px;
  /* Reserve space */
}

/* --- Order Confirmation Modal --- */
#confirmation-order-summary {
  text-align: left;
  margin: 20px 0;
}

#confirmation-order-summary .summary-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

/* --- Sticky Order Summary --- */

#show-cart-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

#cart-view {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1a1a1a;
  border-top: 1px solid #333;
  z-index: 999;
  transition: transform 0.3s ease-in-out;
}

#cart-view.hidden {
  transform: translateY(100%);
}

#order-summary {
  /* No longer sticky */
}

#order-summary .container {
  padding: 0.5rem 1rem;
  margin: 0 auto;
  max-height: 400px;
  overflow-y: auto;
  position: relative;
  /* Added for close button positioning */
}

#close-cart-btn {
}

#order-summary h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.grid-container.collapsed {
  display: none;
}

#order-summary h2,
#order-summary h3 {
  font-family: "Inter", sans-serif;
}

#cart-items {
}

.category-section {
  width: 100%;
  margin-bottom: 2rem;
}

.category-section h3 {
  width: 100%;
  text-align: center;
  font-size: 3.5rem;
}

/* Category Slider Styles - Moved to order.css */

.order-page-item-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 0 5%;
}

.order-page-item-grid.collapsed {
  display: none;
}

.collapse-indicator {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 10px;
  border-left: 5px solid white;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: transform 0.3s ease-in-out;
}

.collapse-indicator.rotated {
  transform: rotate(90deg);
}

@media (max-width: 992px) {
  .order-page-item-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .order-page-item-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .menu-item h3 {
    font-size: 1.2rem;
  }

  .menu-item p {
    font-size: 0.9rem;
  }

  .menu-item .price {
    font-size: 1.1rem;
  }

  .menu-item img {
    height: 150px;
  }
}

#show-cart-btn.hidden {
  display: none;
}

@media (max-width: 992px) {
  .menu-collage-bg {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}

@media (max-width: 576px) {
  .menu-collage-bg {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, 1fr);
  }
}
