/* =====================================================
   RESET Y BASE
===================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background: #fff;
  padding-top: 80px;
}


/* =====================================================
   HEADER
===================================================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-size: 22px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.logo span {
  color: #d32f2f;
  margin-left: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.main-nav a:hover {
  color: #d32f2f;
}

.btn-header {
  background: #d32f2f;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 4px;
}


/* =====================================================
   HAMBURGUESA
===================================================== */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}


/* =====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  height: 80vh;
  background: url('../img/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}


/* =====================================================
   BOTONES
===================================================== */
.btn-primary {
  background: #d32f2f;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.btn-secondary {
  background: #d32f2f;
  color: #fff;
  padding: 12px 26px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.btn-whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.center {
  text-align: center;
  margin-top: 30px;
}


/* =====================================================
   SECCIONES
===================================================== */
.section {
  padding: 60px 20px;
}

.section-light {
  background: #f7f5f2;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}


/* =====================================================
   PRODUCT SCROLL (HOME)
===================================================== */
.product-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 15px;
  max-width: 1100px;
  margin: auto;
}

.product-scroll::-webkit-scrollbar {
  height: 6px;
}

.product-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.product-scroll .pizza-card {
  min-width: 260px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}


/* =====================================================
   CARD PRODUCTO UNIFICADA
===================================================== */
.pizza-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  text-align: center;
  padding-bottom: 15px;
}

.pizza-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.pizza-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.pizza-card h3 {
  margin-top: 12px;
}

.pizza-card p {
  padding: 0 15px;
}

.pizza-card .price {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 8px;
  color: #d32f2f;
}

.badge-destacado {
  display: inline-block;
  background: #ffc107;
  color: #000;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 8px;
}


/* =====================================================
   PASOS
===================================================== */
.steps {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
}

.step {
  text-align: center;
  max-width: 250px;
}

.icon {
  font-size: 40px;
  margin-bottom: 10px;
}


/* =====================================================
   VISITANOS
===================================================== */
.visit {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

.map iframe {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 6px;
}

.info p {
  margin-bottom: 10px;
}


/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
}


/* =====================================================
   MOBILE MENU
===================================================== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
  }

  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}


/* =====================================================
   MODAL PROMOCIONAL
===================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 15px;
}

.modal-box {
  background: #fff;
  padding: 25px 20px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  border-radius: 12px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 26px;
  cursor: pointer;
}


/* =====================================================
   ANIMACIÓN CARRITO
===================================================== */
.btn-agregado {
  background-color: #198754 !important;
  transform: scale(0.97);
  transition: all 0.2s ease;
}

.pulse-carrito {
  animation: pulseCart 0.4s ease;
}

@keyframes pulseCart {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
