/* Base Styles (Header, Footer, Navbar Same as Other Pages) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styles */
.site-header {
  background: #ff6600;
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.nav-links li a.active {
  background: #fff;
  color: #ff6600;
}

.nav-links li a:hover {
  background: #ffd699;
  color: #333;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.site-footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  position: relative;
  bottom: 0;
  width: 100%;
}


.site-footer p {
  font-size: 0.9rem;
}

/* Menu Section */
.menu-section {
  text-align: center;
  padding: 3rem 0;
}

/* Cart Page Specific Styles */
.cart-section {
  padding: 2rem 0;
  text-align: center;
}

.cart-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ff6600;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.cart-table th,
.cart-table td {
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: center;
}

.cart-table th {
  background: #ff6600;
  color: #fff;
}

.cart-table td button {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-table td button:hover {
  background: #fdd835;
}

.cart-total {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 1rem;
}

/* Quantity controls in cart */
.cart-qty {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.cart-qty-input {
  width: 60px;
  padding: 0.4rem;
  border: 2px solid #ff6600;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
}

.qty-decrease, .qty-increase {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
}

.qty-decrease:hover, .qty-increase:hover {
  background: #fdd835;
  color: #333;
}

.btn-primary {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #fdd835;
  color: #333;
}
.floating-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ff5722;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.floating-cart.hidden {
  display: none;
}

.floating-cart .cart-details {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.floating-cart #go-to-cart {
  background-color: white;
  color: #ff5722;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.floating-cart #go-to-cart:hover {
  background-color: #fbe9e7;
}

/* Mobile Responsive - Small Screens (below 900px) */
@media (max-width: 899px) {
  .hamburger {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .navbar {
    position: relative;
    flex-direction: row;
    gap: 0;
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .nav-links {
    order: 3;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ff6600;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: 100%;
  }

  .nav-links.active {
    max-height: 300px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  .nav-links li a {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .cart-section h2 {
    font-size: 1.8rem;
  }

  .cart-table {
    font-size: 0.85rem;
  }

  .cart-table th,
  .cart-table td {
    padding: 0.5rem;
  }

  .cart-table td button {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .cart-total {
    font-size: 1.2rem;
  }

  .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .floating-cart {
    flex-direction: column;
    gap: 0.5rem;
    padding: 8px 12px;
  }

  .floating-cart .cart-details {
    flex-direction: column;
    gap: 0.5rem;
  }

  .floating-cart #go-to-cart {
    width: 100%;
  }
}

/* Desktop Responsive - Large Screens (900px and above) */
@media (min-width: 900px) {
  .hamburger {
    display: none;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    position: static;
    max-height: none;
    background: none;
  }

  .nav-links li a {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: none;
  }

  .logo {
    font-size: 1.8rem;
  }

  .cart-section h2 {
    font-size: 2rem;
  }

  .cart-table {
    font-size: 1rem;
  }

  .floating-cart {
    padding: 15px 20px;
  }

  .floating-cart #go-to-cart {
    padding: 12px 24px;
  }
}
