* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f8f9fa;
  min-height: 100vh;
  color: #1a1a1a;
}

/* Navbar - Professional & Bold */
.navbar {
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
}

.navbar h1 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Buttons - Modern & Vibrant */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: #f5a623;
  color: white;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
  background: #e89415;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
  background: white;
  color: #d32f2f;
  border: 2px solid #d32f2f;
}

.btn-secondary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Hero Section - Vibrant & Engaging */
.hero {
  text-align: center;
  color: white;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #d32f2f 0%, #f5a623 100%);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.2);
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 500;
}

/* Menu Grid - Spacious & Modern */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

/* Menu Card - Premium Look */
.menu-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid #f0f0f0;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: #d32f2f;
}

.menu-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #f5a623 0%, #d32f2f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.menu-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.menu-details {
  padding: 1.75rem;
}

.menu-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.menu-desc {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.menu-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #d32f2f;
  letter-spacing: -0.3px;
}

.menu-card .btn {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}

/* Cart Sidebar - Sleek & Functional */
.cart-sidebar {
  position: fixed;
  right: -400px;
  top: 0;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 16px rgba(0, 0, 0, 0.12);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  border-left: 4px solid #d32f2f;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 1.5rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #eee;
}

.cart-total {
  font-size: 1.4rem;
  font-weight: 800;
  padding: 1.25rem;
  border-top: 3px solid #d32f2f;
  border-bottom: 3px solid #d32f2f;
  margin-bottom: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  color: #d32f2f;
}

/* Modal - Professional */
.modal {
  display: none;
  position: fixed;
  z-index: 300;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal.show {
  display: flex;
}

.modal-content {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Status Container - Clean & Clear */
.status-container {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.status-header {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.status-item {
  padding: 1.25rem;
  margin: 1rem 0;
  background: #f8f9fa;
  border-left: 5px solid #d32f2f;
  border-radius: 8px;
  border: 1px solid #eee;
}

.status-item strong {
  color: #d32f2f;
}

/* Loader - Modern */
.loader {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid #f0f0f0;
  border-top-color: #d32f2f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar h1 {
    font-size: 1.4rem;
  }

  .hero {
    padding: 2rem 1.5rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cart-sidebar {
    width: 100%;
    right: -100%;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }
}
