/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  background: url('images/food_pattern_512.webp') repeat;
  background-size: 512px 512px; /* Adjust tile size if needed */
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* Overlay for contrast */
  z-index: -1;
}

/* Header */
header {
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, #ff6a00, #e65100 80%, #181818 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.28);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  border-bottom: 2px solid #d38900;
}

header h1 {
  font-size: 28px;
  margin-top: 5px;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.28);
  color: #fff;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: 0;
  width: 100vw;
  color: #fff;
}

/* Hero Section */
.hero-section {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: rgba(24,24,24,0.9);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(255,106,0,0.10), 0 1.5px 8px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 32px 24px;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 80px; 
  border: 1.5px solid #222;
}

.hero-text h3 {
  font-size: 2rem;
  color: #ffa600;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.hero-text p {
  font-size: 18px;
  color: #e0e0e0;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* CTA Buttons */
.cta-btn {
  background: linear-gradient(90deg, #ffd700 60%, #ff6a00 100%);
  border: 2px solid #181818;
  color: #181818;
  padding: 14px 30px;
  margin: 12px 0;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  width: 220px;
  box-shadow: 0 2px 8px rgba(255,106,0,0.18);
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  outline: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.cta-btn:hover {
  background: linear-gradient(90deg, #ffb300 60%, #ff6a00 100%);
  color: #fff;
  border-color: #ffd700;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(255,106,0,0.28);
}

/* Bottom Navigation */
.bottom-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #181818;
  border-top: 2px solid #ff6a00;
  border-radius: 12px 12px 0 0;
  padding: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 64px;
  box-shadow: 0 -2px 12px rgba(255,106,0,0.10);
  z-index: 100;
}

.bottom-nav ul {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  padding: 0;
  margin: 0;
  height: 100%;
}

.bottom-nav ul li {
  list-style: none;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffa600;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s, background 0.2s;
  padding: 6px 18px 2px 18px;
  border-radius: 12px;
  height: 100%;
  min-width: 64px;
}

.bottom-nav .active a,
.bottom-nav .list-item.active a {
  color: #fff;
  background: linear-gradient(180deg, #ffb300 40%, #ff6a00 100%);
  border-radius: 1.4rem 1.4rem 0 0;
  transform: translateY(-4px) scale(1.03);
}

.bottom-nav a:hover {
  color: #ff6a00;
  background: rgba(255, 215, 0, 0.10);
  transform: translateY(-2px) scale(1.03);
}

.bottom-nav img {
  display: block;
  margin: 0 auto 2px;
  filter: brightness(0) invert(1);
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 600px) {
  .hero-section {
    max-width: 95%;
    padding: 2rem 1.5rem 2rem 1.5rem;
    margin-top: 10px;
    margin-bottom: 70px;
  }
  header h1 {
    font-size: 20px;
  }
  .cta-btn {
    width: 250px;
    font-size: 16px;
    padding: 1rem 0;
  }
}

/*=================== About Page Styles ===================*/
.about-header {
  width: 90%;
  margin: 0 auto;
  background: linear-gradient(135deg, #ff6a00, #e65100 60%, #181818 100%);
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 24px 38px 24px;
  text-align: center;
  margin-top: 25px;
  border: 2px solid #222;
}

.about-header h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.28);
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 20px;
  max-width: 800px;
  margin: 0 auto ;
}

.info-box {
  background: rgba(24, 24, 24, 0.85); /* glassy dark panel */
  border: 1px solid rgba(255, 166, 0, 0.4);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35),
              inset 0 1px 3px rgba(255,255,255,0.08);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
}

.info-box h4 {
  font-size: 20px;
  font-weight: 700;
  color: #ff3c00;
  margin-bottom: 12px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  border-bottom: 1.5px solid rgba(255, 106, 0, 0.4);
  padding-bottom: 6px;
}

.info-box ul {
  list-style: none;
  padding-left: 0;
}

.info-box ul li {
  margin: 10px 0;
  font-size: 16px;
  color: #f1f1f1;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.info-box ul li strong {
  color: #ffa600;
  font-weight: 600;
  margin-left:6px;
  margin-right:6px;
}

.footer {
  text-align: center;
  font-size: 13px;
  color: #ccc;
  padding: 12px 8px;
  background: rgba(24, 24, 24, 0.85); 
  border-top: 1px solid rgba(255, 166, 0, 0.4);
  margin-bottom: 60px;
}

.footer strong {
  color: #ffa600;
}

/*=================== Menu Page Styles ===================*/
.menu-header {
  width: 90%;
  margin: 0 auto;
  background: linear-gradient(135deg, #ff6a00, #e65100 60%, #181818 100%);
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 24px 38px 24px;
  text-align: center;
  margin-top: 25px;
  border: 2px solid #222;
}

.menu-header h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.28);
}

.menu-main-content {
  padding: 20px;
  margin-bottom: 80px;
}

.menu-hero-section {
  text-align: center;
  margin-bottom: 24px;
}

.menu-hero-section h3 {
  font-size: 26px;
  color: #ffa600;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.menu-hero-section p {
  font-size: 16px;
  color: #ddd;
}

.menu-main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.menu-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 22px !important;
  border-radius: 16px;
  background: rgba(24, 24, 24, 0.75);
}

/* Category Styles */
.category-header h3 {
  text-align:center;
  color:#ffa600;
  font-size: 1.5rem;
}

.category-header p {
  text-align:center;
  padding: 0.5rem;
}

.category {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.menu-item {
  background: rgba(24, 24, 24, 0.85);
  border: 1px solid rgba(255, 166, 0, 0.35);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(255,106,0,0.25);
}

.menu-item-image img {
  border-radius: 10px;
  width: 90px;
  height: 90px;
  object-fit: cover;
  margin-bottom: 8px;
}

.menu-item h4 {
  font-size: 18px;
  color: #ffd700;
  margin: 6px 0;
}

.menu-item p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
  text-align:center;
}

.menu-item .price {
  font-size: 16px;
  font-weight: bold;
  color: #ffa600;
  margin-bottom: 10px;
}

.cart-btn {
  align-self: center;
  background: linear-gradient(90deg, #ffd700 50%, #ff6a00 100%);
  border: none;
  color: #181818;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,106,0,0.2);
  transition: all 0.3s ease;
}

.cart-btn:hover {
  background: linear-gradient(90deg, #ffb300 50%, #ff6a00 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,106,0,0.3);
  transform: translateY(-2px);
}

.menu-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.like-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.heart-icon {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1); /* makes it white by default */
  transition: filter 0.2s ease;
}

/* Responsive for Menu Section - keep 2 columns on small screens */
@media (max-width: 900px) {
  .menu-section {
    max-width: 98%;
    padding: 0 1rem;
  }
  .category {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  .menu-main-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .menu-main-content {
    padding: 10px 0.5rem;
    margin-bottom: 70px;
  }
  .menu-section {
    max-width: 100%;
    padding: 0 0.5rem;
    gap: 0.8rem;
  }
  .category {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .menu-item {
    padding: 10px;
  }
  .menu-item-image img {
    width: 64px;
    height: 64px;
  }
  .menu-item h4 {
    font-size: 1rem;
  }
  .menu-item p,
  .menu-item .price {
    font-size: 0.9rem;
  }
  .cart-btn {
    font-size: 0.8rem;
    padding: 7px 10px;
  }
}

/*=================== Cart Page Styles ===================*/
.cart-main-content {
  max-width: 700px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 80px;
  padding: 24px;
  background: rgba(24, 24, 24, 0.82);
  align-items: center;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  min-height: 65vh;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.image-remove-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.cart-item {
  display: flex;
  flex-direction: row;
  align-items:center;
  background: rgba(34,34,34,0.95);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(255,106,0,0.10);
  gap: 1.5rem;
  border: 1px solid rgba(255,166,0,0.18);
  position: relative;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  background: #222;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-details h4 {
  font-size: 1.1rem;
  color: #ff9a02;
  margin-bottom: 2px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.cart-item-details p {
  font-size: 0.98rem;
  color: #e0e0e0;
  margin: 0;
}

.price {
  font-size: 0.5rem;
  font-weight: bold;
  color: #ff9a02 !important;
  margin-top: 4px;
}

.quantity-controls {
  display: flex;
  gap: 12px;
  margin: 6px 0;
}

.add-btn, .minus-btn {
  width: 30px;
  height: 30px;
  border: none;
  transition: transform 0.3s ease;
}

.add-btn, .minus-btn:hover {
  background: transparent;
  cursor: pointer;
  transform: scale(1);
}

.remove-btn {
  background: #ff3c00;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(255,106,0,0.13);
  transition: background 0.2s, transform 0.2s;
}

.remove-btn:hover {
  background: #e65100;
  transform: scale(1.05);
}

.cart-summary {
  display: flex;
  flex-direction: column;
}

.cart-summary h3 {
  color: #ffd700;
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.checkout-btn {
  background: linear-gradient(90deg, #ffd700 60%, #ff6a00 100%);
  color: #181818;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  align-self: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,106,0,0.18);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.checkout-btn:hover {
  background: linear-gradient(90deg, #ffb300 60%, #ff6a00 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

@media screen and (min-width: 1024px) {
  .cart-main-content {
    max-width: 900px;
    padding: 32px;
    margin-top: 40px;
    margin-bottom: 100px;
  }

  .cart-item {
    padding: 24px;
    gap: 2rem;
  }

  .cart-item-image {
    width: 100px;
    height: 100px;
  }

  .cart-item-details h4 {
    font-size: 1.3rem;
  }

  .cart-item-details p {
    font-size: 1.05rem;
  }

  .remove-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .checkout-btn {
    font-size: 1.2rem;
    padding: 14px 40px;
  }
}

/* Utility Classes */
.hidden {
  display: none;
}