/* =========================================================
   ===== GENERAL STYLES =====
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
}

/* =========================================================
   ===== HEADER =====
========================================================= */

/* 🔹 Contact info bar */
.header-contact {
  background-color: #00292b;
  text-align: center;
  font-size: 0.9rem;
  padding: 8px 10px;
  color: #dcdcdc;
}

/* 🔹 Main header layout */
header {
  width: 100%;
  background-color: #151c25;
  color: #f5f5f5;
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 40px; /* antes era 20px */
}

.header-logo {
  display: flex;
  justify-content: flex-start;
}

.header-logo img {
  height: 90px; /* 🔹 más compacto */
  width: auto;
  border-radius: 50%;
  border: 3px solid rgba(255, 215, 0, 0.7); /* borde dorado suave */
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5),
              0 0 30px rgba(255, 215, 0, 0.3); /* brillo difuminado */
  position: relative;
  overflow: hidden;
  animation: sparkle 3s infinite ease-in-out;
}

.header-text {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffdd57;
}

.header-button {
  display: flex;
  justify-content: flex-end;
}

.header-button a {
  background-color: #ffd951;
  color: #001c1e;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s ease;
  white-space: nowrap;
}

.header-button a:hover {
  background-color: #ffea72;
  transform: scale(1.05);
}

.payment-text {
  text-align: center;
  color: #ffdd57;
  font-size: 1rem;
  margin-top: 8px;
  font-family: "Poppins", sans-serif;
}

/* =========================================================
   ===== RESPONSIVE: HEADER (MOBILE) =====
========================================================= */

@media (max-width: 768px) {
  .header-contact {
    font-size: 0.75rem;
    padding: 6px 5px;
    line-height: 1.2;
  }

  .header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 15px;
    column-gap: 5px;
  }

  .header-logo img {
    height: 55px;
  }

  .header-text {
    font-size: 2rem;
    text-align: center;
  }

  .header-button {
    justify-content: flex-end;
  }

  .header-button a {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 8px;
  }
}

@media (max-width: 400px) {
  .header-contact {
    font-size: 0.65rem;
  }

  .header-text {
    font-size: 1rem;
  }

  .header-logo img {
    height: 45px;
  }

  .header-button a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

/* =========================================================
   ===== FLYERS =====
========================================================= */
.flyers {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0; /* antes 40px → menos espacio vertical */
  gap: 30px; /* antes 40px → separa menos los flyers */
}

.flyer-img {
  width: 80%;
  max-width: 2000px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.8s ease;
}

.flyer-img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hidden {
  opacity: 0;
  transform: translateY(50px);
}

.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease-out;
}

/* =========================================================
   ===== FOOTER =====
========================================================= */
footer {
  margin-top: 40px;
  width: 100%;
  background-color: #001c1e;
  color: white;
}

.payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 20px 0;
  background-color: #003B2F;
}

.payment-logo {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.payment-logo:hover {
  transform: scale(1.1);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* =========================================================
   ===== WEEKLY SALES BOX =====
========================================================= */
.weekly-sales {
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

/* 🔹 Box principal */
.sales-box {
  background-color: #083d3c;
  color: #ffcc00;
  text-align: center;
  padding: 40px 80px;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  width: 85%;
  max-width: 900px;
  transition: all 0.4s ease;
  margin: 10px auto;
}

.sales-box:hover {
  transform: scale(1.02);
}

.sales-box h2 {
  font-size: 2rem;
  margin-bottom: 1.5px;
  color: #ffcc00;
  letter-spacing: 1px;
}

.sales-box p {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 25px;
  line-height: 1.4;
}

.sales-box input {
  padding: 12px;
  width: 300px;
  max-width: 90%;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  margin-bottom: 15px;
}

.sales-box button {
  background-color: #ffcc00;
  color: #083d3c;
  border: none;
  padding: 12px 25px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.sales-box button:hover {
  background-color: #ffe066;
  transform: scale(1.05);
}

/* =========================================================
   ===== RESPONSIVE: SALES BOX =====
========================================================= */
@media (max-width: 900px) {
  .sales-box {
    width: 90%;
    padding: 20px 35px;
  }

  .sales-box h2 {
    font-size: 1.7rem;
  }

  .sales-box p {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .sales-box {
    width: 80%;
    padding: 10px 5px;
    border-radius: 18px;
  }

  .sales-box h2 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .sales-box p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .sales-box input {
    width: 100%;
    font-size: 0.9rem;
  }

  .sales-box button {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px;
  }

  #success-message {
    font-size: 0.9rem !important;
  }
}

/* 🔹 Ajuste para tablets (pantallas hasta 768px) */
@media (max-width: 768px) {
  header {
    margin-bottom: 8px;
  }

  .weekly-sales {
    padding: 15px 0;
  }

  .sales-box {
    margin: 8px auto;
    padding: 12px 8px;
    width: 90%; /* más angosto visualmente en tablet */
  }

  .flyers {
    padding: 15px 0;
    gap: 20px;
  }
}

/* 🔹 Ajuste para móviles pequeños (pantallas hasta 600px) */
@media (max-width: 600px) {
  header {
    margin-bottom: 5px;
  }

  .weekly-sales {
    padding: 10px 0;
  }

  .sales-box {
    margin: 5px auto;
    padding: 10px 5px;
    width: 85%; /* más angosto en mobile */
  }

  .flyers {
    padding: 10px 0;
    gap: 15px;
  }
}







