html {
  scroll-behavior: smooth;
}
  
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f8f9fa;
  color: #333;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.76); /* color negro con 80% de opacidad */
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}


.logo {
  font-size: 1.2rem; /* tamaño del logo */
  font-weight: bold;
  color: white; /* color del resto del texto */
}

.logo .gold {
  color: rgb(255, 213, 0);
}


.nav-links ul {
  display: flex;
  list-style: none;
}

.nav-links ul li {
  margin-left: 20px;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links ul li a:hover {
  color: #1abc9c;
}

/* Menú hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  height:3px;
  width: 25px;
  background: #fff;
  margin: 2.5px 0;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Animación hamburguesa → cruz */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}



/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 220px;
    background: #222;
    transition: right 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links ul {
    flex-direction: column;
    text-align: center;
  }

  .nav-links ul li {
    margin: 20px 0;
  }

  .nav-links ul li a {
    font-size: 1.2rem;
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Ocupa toda la pantalla */
  overflow: hidden; /* Recorta lo que sobra del video */
  display: flex;
  justify-content: center;
  align-items: center;
  background: black; /* Solo se ve si el video tarda en cargar */
  text-align: center;
  color: white;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 120%;
  object-fit: cover; /* Llena toda la sección, recorta bordes si es necesario */
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.hero-texto {
  position: relative;
  z-index: 1;
  padding: 0 15px;
}

.hero-texto h1 {
  margin: 3px 0 10px;
  font-size: 3rem;
}

.hero-texto p {
  margin: 0;
  font-size: 1rem;
}

/* Colores simples */
.rosa { color: #ff00ff; }
.azul { color: #00ffff; }
.amarillo { color: #ffffff; }

.card {
  background: #fff;
  color: #000;
  padding: 22px;
  border-radius: 18px;
  text-align: center;           /* Todo centrado */
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card:hover {
  transform: translateY(-8px); /* efecto flotante */
  box-shadow: 0 16px 35px rgba(0,0,0,0.25);
}

.card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 15px;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.card:hover img {
  transform: scale(1.07);
  filter: brightness(1.05);
}

/* Títulos en mayúsculas y color azul vibrante */
.card h3 {
  font-size: 1.4rem;
  color: hsl(212, 100%, 50%);  /* color azul vibrante */
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;    /* todo en mayúsculas */
  letter-spacing: 1px;
}

/* Texto centrado y legible */
.card p, .card ul {
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 6px 0;
  text-align: center;
  color: #444;
}

.card p strong {
  color: #111;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Listas centradas */
.card ul {
  list-style-type: disc;
  padding-left: 0;
  display: inline-block;
  text-align: left;
  color: #555;
}
/* Botones centrados y uno al lado del otro */
.card-buttons {
  margin-top: 18px;
  display: flex;
  flex-direction: row;   /* fila */
  gap: 12px;             /* espacio entre botones */
  justify-content: center; /* centrados horizontalmente */
  flex-wrap: nowrap;     /* no se acomodan en otra línea */
}

.card-buttons .btn,
.card-buttons .btn-whatsapp {
  width: auto;           /* tamaño según contenido */
  white-space: nowrap;   /* evita que el texto se rompa */
}


.card-buttons .btn-whatsapp {
  background: #25D366;
  color: #fff;
  display: inline-flex;       /* importante para alinear icono y texto */
  align-items: center;        /* centra verticalmente */
  gap: 6px;                   /* espacio entre icono y texto */
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.card-buttons .btn-whatsapp:hover {
  transform: translateY(-2px);
  background: #e2923d;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}


.card-buttons .btn:hover {
  transform: translateY(-2px);
  background:  #6d3c06;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

@media (max-width: 480px) {
  .card-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

.btn, .btn-whatsapp {
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

.btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
}

.btn:hover {
  background: linear-gradient(135deg, #0056b3, #007bff);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #1ebe57);
  color: #fff;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #1ebe57, #25D366);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');



.buscador {
  margin-bottom: 30px;
  text-align: center;
}

.buscador input {
  width: 80%;
  max-width: 400px;
  padding: 12px 20px;
  border-radius: 25px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 1rem;
  transition: 0.3s;
}

.buscador input:focus {
  border-color: #1abc9c;
  box-shadow: 0 0 8px rgba(26, 188, 156, 0.4);
}



/* SECCIÓN TIENDAS */
.tiendas {
  padding: 50px 20px;
  text-align: center;
}

.tiendas h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.grid-tiendas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.servicios {
  padding: 50px 20px;
  text-align: center;
  background-color: #055d89;
}


.servicios h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 30px;
}

.grid-servicios
{ 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Sección Únete con GIF de fondo */
.unete {
  background: black; /* fallback */
  background-image: url('img/envios.gif'); /* GIF de fondo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff; /* opcional para que el texto destaque */
}

.unete::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* overlay semi-transparente para mejorar legibilidad */
  z-index: 0;
}

.unete h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.unete p {
  font-size: 1.3rem;
  margin-bottom: 35px;
  color: #fff;
  position: relative;
  z-index: 1;
}

/* Botón principal de la sección */
.btn-unete {
  padding: 18px 35px;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #ff0080, #7928ca);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.btn-unete i {
  font-size: 1.2rem; /* Icono de Font Awesome */
}

.btn-unete:hover {
  background: linear-gradient(135deg, #7928ca, #ff0080);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 600px) {
  .unete h2 { font-size: 2rem; }
  .unete p { font-size: 1.1rem; }
  .btn-unete { font-size: 1rem; padding: 15px 25px; }
}

/* Modal */
.modal {
  display: none; 
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}

.modal-content {
  background: #fff;
  margin: 80px auto;
  padding: 35px 25px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: modalShow 0.5s ease;
}

@keyframes modalShow {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover { color: #ff0080; }

.modal-content h3 {
  margin-bottom: 10px;
  text-align: center;
  color: #333;
}

.modal-content p {
  margin-bottom: 20px;
  text-align: center;
  color: #555;
}

.modal-content form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

.modal-content form input,
.modal-content form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.modal-content form input:focus,
.modal-content form textarea:focus {
  border-color: #ff0080;
  outline: none;
}

/* Botón de WhatsApp dentro del modal */
.modal-content .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.modal-content .btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 600px) {
  .unete h2 { font-size: 2rem; }
  .unete p { font-size: 1rem; }
  .btn-unete { font-size: 1rem; padding: 12px 25px; }
  .modal-content { padding: 25px 20px; }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px; /* separación entre botones */
  margin-top: 20px;
}

.pagination button {
  padding: 6px 12px;
  border: none;
  background: #007bff;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.pagination button:hover:not(:disabled) {
  background: #0056b3;
}

.pagination button.active {
  background: #28a745; /* color diferente para la página actual */
  font-weight: bold;
}

.pagination button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Para que los números aparezcan en fila */
#page-numbers {
  display: flex;
  gap: 6px;
}
