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

:root {
  --electric-blue: #0ea5e9;
  --sky-blue: #38bdf8;
  --dark-blue: #0284c7;
  --white: #ffffff;
  --light-gray: #f8fafc;
  --text-dark: #1e293b;
  --text-gray: #64748b;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--electric-blue);
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--electric-blue);
}

.cart-btn {
  background: var(--electric-blue);
  color: white;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  transition:
    transform 0.3s,
    background 0.3s;
}

.cart-btn:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(14, 165, 233, 0.7), rgba(14, 165, 233, 0.7)),
    url("Images/BG Hero.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -200px;
  right: -200px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  bottom: -150px;
  left: -150px;
}

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

.hero h1 {
  font-size: 4rem;
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.cta-btn {
  background: white;
  color: var(--electric-blue);
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Menu Section */
.menu-section {
  padding: 6rem 5%;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.2rem;
  margin-bottom: 4rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.menu-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.menu-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--sky-blue), var(--electric-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-info {
  padding: 1.8rem;
}

.menu-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.menu-desc {
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.nutrition {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.nutrition-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.nutrition-label {
  font-size: 0.7rem;
  color: var(--text-gray);
  text-transform: uppercase;
  font-weight: 600;
}

.nutrition-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--electric-blue);
}

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

.price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--electric-blue);
}

.add-to-cart {
  background: var(--electric-blue);
  color: white;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.add-to-cart:hover {
  background: var(--dark-blue);
  transform: scale(1.05);
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.qty-btn {
  background: var(--electric-blue);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.qty-btn:hover {
  background: var(--dark-blue);
  transform: scale(1.1);
}

.qty-display {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  min-width: 30px;
  text-align: center;
}

/* Cart Summary */
.cart-summary {
  position: fixed;
  right: -400px;
  top: 0;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: right 0.4s;
  z-index: 2000;
  overflow-y: auto;
}

.cart-summary.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-gray);
}

.cart-header h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
}

.close-cart {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-gray);
}

.cart-items {
  margin-bottom: 2rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.cart-item-info {
  flex: 1;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty-btn {
  background: var(--electric-blue);
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.cart-qty-btn:hover {
  background: var(--dark-blue);
}

.cart-qty-btn.remove {
  background: #ef4444;
}

.cart-qty-btn.remove:hover {
  background: #dc2626;
}

.cart-qty-display {
  font-size: 1rem;
  font-weight: 700;
  min-width: 25px;
  text-align: center;
}

.cart-total {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-top: 2px solid var(--electric-blue);
}

.checkout-btn {
  width: 100%;
  background: #25d366;
  color: white;
  padding: 1.2rem;
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.checkout-btn:hover {
  background: #128c7e;
}

.empty-cart {
  text-align: center;
  padding: 3rem 0;
  color: var(--text-gray);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-gray);
}

.modal-header h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
}

.close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-gray);
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--text-dark);
}

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

.modal-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.modal-form-group input,
.modal-form-group select,
.modal-form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

.modal-form-group input:focus,
.modal-form-group textarea:focus {
  outline: none;
  border-color: var(--electric-blue);
}

.modal-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-form-group small {
  color: var(--text-gray);
  font-size: 0.85rem;
  display: block;
  margin-top: 0.3rem;
}

.modal-form-group input[type="file"] {
  padding: 0.8rem;
  background: var(--light-gray);
}

.modal-submit-btn {
  width: 100%;
  background: #25d366;
  color: white;
  padding: 1.2rem;
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.modal-submit-btn:hover {
  background: #128c7e;
}

.required {
  color: #ef4444;
}

/* Contact Section */
.contact-section {
  background: var(--light-gray);
  padding: 6rem 5%;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  background: var(--electric-blue);
  color: white;
  padding: 1.2rem;
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: var(--dark-blue);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  text-align: center;
  padding: 2rem 5%;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .section-title {
    font-size: 2rem;
  }

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

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