
/* Paste your existing style.css content here */
/* plus modal styles from previous assistant response */

@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400;700&display=swap');

body {
    background: url('background2.png') center/cover no-repeat;
    font-family: 'Baloo Bhai 2', Arial, sans-serif;
    color: #FFD600;
    margin: 0;
    padding: 20px;
    background-color: #1E4BA1;
    text-align: center;
}

header {
    background-color: #1E4BA1;
    color: #FFD600;
    padding: 20px 15px;
    font-weight: bold;
    border-bottom: 4px solid #FFD600;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .logo {
    max-width: 150px;
    margin-bottom: 10px;
}

#menu {
    margin-top: 20px;
}

.menu-item {
    background: rgba(255, 214, 0, 0.15);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 0 8px rgba(255, 214, 0, 0.5);
    text-align: left;
}

.menu-item h3 {
    margin: 0 0 5px;
    color: #FFD600;
}

.menu-item p {
    margin: 0 0 10px;
}

.options-container {
    display: none;
    margin-top: 10px;
}

.options-container .option-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.options-container .option-item img {
    max-width: 60px;
    border-radius: 6px;
    margin-right: 10px;
}

.addons {
    background: rgba(255, 214, 0, 0.1);
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    color: #FFD600;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.addons label {
    display: flex;
  justify-content: space-between;
  width: 80%;
  max-width: 300px;
  margin-bottom: 8px;
  font-size: 16px;
}

.addons input {
  width: 50px;
  padding: 5px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
  text-align: center;
}

#order {
    margin-top: 30px;
}

button {
    background-color: #FFD600;
    color: #1E4BA1;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
}

button:hover {
    background-color: #ffc107;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(30, 75, 161, 0.8);
}

.modal-content {
  background-color: #1E4BA1;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  color: #FFD600;
  box-shadow: 0 0 15px #FFD600;
  position: relative;
}

.close {
  color: #FFD600;
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ffc107;
}

#order-summary {
  list-style-type: disc;
  margin-left: 20px;
  max-height: 150px;
  overflow-y: auto;
  margin-bottom: 15px;
}

#pickup-form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  text-align: left;
}

#pickup-form input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: none;
  margin-top: 5px;
  font-size: 1em;
}

#pickup-form button {
  margin-top: 15px;
  width: 100%;
  background-color: #25D366;
  color: white;
  border: none;
  padding: 10px;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#pickup-form button:hover {
  background-color: #128C7E;
}

/* Popup overlay dims the page */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0,0,0,0.3); /* lighter dim */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show popup overlay */
.popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* The popup box */
.popup-content {
  background: white;
  border-radius: 16px;
  padding: 25px 30px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  text-align: center;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  color: #333;
}

/* When popup is shown */
.popup-overlay.show .popup-content {
  transform: scale(1);
  opacity: 1;
}

/* Title styling */
.popup-content h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #f44336;
  user-select: none;
}

/* Image styling */
.popup-content .option-item img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
  user-select: none;
}

/* Price and description */
.popup-content .option-item p {
  font-size: 1.2rem;
  margin-bottom: 24px;
  font-weight: 700;
}

/* Close button */
.popup-close-btn {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  user-select: none;
  transition: background-color 0.25s ease;
}

.popup-close-btn:hover {
  background-color: #d32f2f;
}

#customer-note {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  border: none;
  font-size: 1em;
  font-family: inherit;
  box-sizing: border-box;
}

#order-modal label[for="customer-note"] {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: bold;
  text-align: left;
}
