* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #191917;
  color: white;
}
.cart-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff6f00;
  color: #fff;
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(255, 111, 0, 0.4);
  z-index: 999;
  transition: background 0.3s;
}
.content-area {
  width: 100%;
  position: fixed;
  top: 200px; /* navbar height + category menu height */
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 0px;
}

.cart-button:hover {
  background-color: #ff8c1a;
}

.category-menu {
  position: fixed;
  top: 125px; /* adjust according to your navbar height */
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  border-top: 2px solid #ff6f00;
  border-bottom: 2px solid #ff6f00;
  padding: 12px 0;
  flex-wrap: wrap;            /* <-- optional */
  row-gap: 8px;               /* <-- optional */
  gap: 50px; 
  background-color: #121212; /* or your page bg color */
}

.category-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s;
}

.category-menu a:hover {
  color: #ff6f00;
}

.category-menu .active {
  color: #ff6f00;
}

.container {
   display: flex;
  justify-content: center;
  align-items: flex-start;
   flex-wrap: wrap;
  gap: 80px;
}
.card {
  margin-top: 15px;
  background-color: #1e1e1e;
  border: 1px solid #ff6f00;
  border-radius: 10px;
  width: 200px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
   display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 300px;

}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
}

.card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.card h3 {
  font-size: 18px;
  margin: 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: auto; /* allow it to expand up to 2 lines */
}


.card p {
  font-size: 14px;
  color: #bbb;
  margin: 3px 0;
}

.price-add {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.price {
  font-size: 18px;
  color: #fff;
}

.add-btn {
  background-color: transparent;
  border: 1px solid #ff6f00;
  color: #ff6f00;
  font-size: 18px;
  padding: 2px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.add-btn:hover {
  background-color: #ff6f00;
  color: #fff;
}
.price-add-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-btn {
  background-color: transparent;
  border: 1px solid #ff6f00;
  color: #ff6f00;
  font-size: 18px;
  padding: 2px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.sub-btn:hover {
  background-color: #ff6f00;
  color: #fff;
}
.quantity-display {
  font-size: 16px;
  color: #fff;
  min-width: 20px;
  text-align: center;
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #1e1e1e;
  border: 2px solid #ff6f00;
  border-radius: 15px;
  width: 600px;
  max-width: 90vw;
  padding: 0;
  animation: slideIn 0.3s ease;
}

.modal-header {
  background-color: #ff6f00;
  color: white;
  padding: 15px 20px;
  border-radius: 13px 13px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 20px;
  display: flex;
  gap: 20px;
}

.product-image {
  flex: 1;
}

.product-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.product-details {
  flex: 1.5;
}

.product-stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #bbb;
}

.product-stats div {
  display: flex;
  justify-content: space-between;
}

.allergens {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

.allergen-icon {
  width: 25px;
  height: 25px;
  background-color: #ff6f00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.sauces-section {
  margin-bottom: 20px;
}

.sauces-title {
  font-size: 16px;
  margin-bottom: 10px;
  color: #ff6f00;
}

.sauces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sauce-item {
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.sauce-item:hover {
  border-color: #ff6f00;
  background-color: #333;
}

.sauce-item.selected {
  border-color: #ff6f00;
  background-color: rgba(255, 111, 0, 0.1);
}

.sauce-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 5px;
}

.sauce-name {
  font-size: 12px;
  color: #fff;
}

.modal-footer {
  padding: 20px;
  border-top: 1px solid #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.upgrades-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.upgrade-item {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
}
.upgrade-item.selected {
  border-color: #333;
  background-color: #f57914;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quantity-btn {
  background-color: #ff6f00;
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background-color: #ff8c1a;
}

.quantity-display {
  font-size: 18px;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}

.add-to-order-btn {
  background-color: #ff6f00;
  border: none;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-to-order-btn:hover {
  background-color: #ff8c1a;
}

.total-price {
  font-size: 20px;
  font-weight: bold;
  color: white;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.bounce {
  animation: bounce 0.5s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
/*Login Modal overlay background */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* dark semi-transparent overlay */
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Modal box */
.loginmodal {
  position: relative;
  background: linear-gradient(135deg, #ff3c3c, #ffa500); /* red to orange gradient */
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  width: 300px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInScale 0.3s ease;
  color: #fff; /* white text for contrast */
}


/* Heading inside modal */
.loginmodal h2 {
  margin-top: 0;
  font-size: 22px;
  color: #080808;
}

/* Text inside modal */
.loginmodal h4 {
  font-size: 14px;
  color: #0a0a0a;
  margin: 12px 0 20px;
}

/* Button inside modal */
.loginmodal button {
  padding: 10px 20px;
  background-color: #080808;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Button hover effect */
.loginmodal button:hover {
  background-color: #2f3031;
}
/* Close (×) button inside modal */
.loginmodal .close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: #030303;
  cursor: pointer;
  transition: color 0.2s ease;
}

.loginmodal .close-btn:hover {
  color: #3e3d3d;
}
.loginmodal {
  position: relative;
}

/* Optional: fade-in scale animation */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Navbar */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.navbar.transparent {
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(19, 19, 18, 0.7);
}

/* Logo */
.nav-logo img {
  height: 70px;
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 18px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: #ff5e18;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Right Side Button */
.nav-buttons {
  display: flex;
  align-items: center;
}

.profile-container {
  background-color: white;
  padding: 6px 12px;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer {
  background: linear-gradient(to top, #ff6b00, #ff6a0072, #191917);
  color: white;
  padding: 60px 40px 20px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 70px;
  align-items: center;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #0a0a0a;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #0a0909;
}

.footer-bottom h3 {
  font-size: 14px;
  margin-top: 50px;
}
@media (max-width: 600px) {
  .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-menu a {
    font-size: 16px;
  }

  .footer-socials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: white;
  border-radius: 2px;
}

/* Show hamburger and hide nav-links on mobile */
/* Mobile layout arrangement */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .nav-logo {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .profile-container {
    order: 1;
  }

  .hamburger {
    order: 3;
    display: flex;
    margin-left: 15px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(19, 19, 18, 0.9);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    align-items: center;
    text-align: center;
    gap: 20px;
    z-index: 999;
  }
  .nav-links a {
    color: white;
    font-size: 18px;
  }
  .nav-links.active {
    display: flex;
  }
}

.profile-container {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 55px; /* Adjust as needed */
  right: 10px;
  background-color: #000;
  border: 2px solid #ff6600;
  border-radius: 6px;
  min-width: 140px;
  z-index: 999;
  list-style: none;
  padding: 4px 0;
  margin: 0;
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.25);
}

.dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
  background-color: #ff6600;
  color: #000;
}
