/* ===== BASE RESET & FONTS ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== BODY ===== */
body {
  background:
    linear-gradient(160deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.70) 100%),
    url("https://images.pexels.com/photos/1566837/pexels-photo-1566837.jpeg") center / cover fixed;
  min-height: 100vh;
  font-family: 'Playfair Display', Georgia, serif;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
}

/* ===== MENU GRID ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* ===== PIZZA CARD ===== */
.pizza-card-about {
  position: relative;
  background: #fffaf5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(196, 69, 54, 0.12);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pizza-card-about:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

/* ===== PIZZA INFO ===== */
.pizza-info {
  padding: 24px 20px 28px;
  text-align: center;
}

.pizza-info h3 {
  color: #c44536;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.pizza-info p {
  color: #7a5c4f;
  font-size: 15px;
  line-height: 1.6;
}

/* ===== ORDER BUTTON ===== */
#hero-button-order {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 32px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #5a2d1d;
  background: linear-gradient(135deg, #fcd7a8 0%, #f9bc7a 100%);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 16px rgba(249, 162, 80, 0.35);
  transition: color 0.35s ease, background 0.35s ease, transform 0.2s ease, box-shadow 0.35s ease;
}

#hero-button-order:hover {
  color: #fff;
  background: linear-gradient(135deg, #d94f3b 0%, #c44536 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 69, 54, 0.40);
}

#hero-button-order:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(196, 69, 54, 0.30);
}

/* ===== TOTAL PRICE ===== */
#total-price {
  font-size: 44px;
  font-weight: 700;
  color: #c44536;
  letter-spacing: -0.5px;
}

/* ===== CONFIRM / WHATSAPP BUTTON ===== */
#confirm-order {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 16px 36px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 18px rgba(18, 140, 126, 0.35);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

#confirm-order:hover {
  background: linear-gradient(135deg, #1ebe58 0%, #0e7a6f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(18, 140, 126, 0.45);
}

#confirm-order:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(18, 140, 126, 0.30);
}

/* ===== SECTION DIVIDERS / UTILITY ===== */
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(196, 69, 54, 0.10);
  font-size: 16px;
  color: #5a2d1d;
}

/* ===== MEDIA QUERIES ===== */

/* Large tablets & small desktops */
@media (max-width: 1024px) {
  .container {
    padding: 60px 24px;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .container {
    padding: 48px 20px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pizza-info {
    padding: 18px 16px 22px;
  }

  .pizza-info h3 {
    font-size: 19px;
  }

  #total-price {
    font-size: 36px;
  }

  #hero-button-order {
    font-size: 18px;
    padding: 12px 28px;
  }

  #confirm-order {
    font-size: 16px;
    padding: 14px 28px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  body {
    background-attachment: scroll; /* fixed causes jank on iOS */
  }

  .container {
    padding: 32px 16px 48px;
  }

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

  .pizza-card-about {
    border-radius: 18px;
  }

  .pizza-info {
    padding: 16px 14px 20px;
  }

  .pizza-info h3 {
    font-size: 18px;
  }

  .pizza-info p {
    font-size: 14px;
  }

  #total-price {
    font-size: 30px;
  }

  #hero-button-order {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 17px;
    padding: 14px 20px;
    margin-top: 20px;
  }

  #confirm-order {
    display: flex;
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 15px 20px;
    border-radius: 14px;
  }
}

/* Very small screens */
@media (max-width: 320px) {
  .container {
    padding: 24px 12px 40px;
  }

  .pizza-info h3 {
    font-size: 16px;
  }

  #total-price {
    font-size: 26px;
  }
}