/* ESTILO GLOBAL */
:root {
  --color-primario: #d63384;
  --color-secundario: #ffe1ec;
  --color-terciario: #fff0f5;
  --color-texto: #3a3a3a;
  --color-fondo: #fffafc;
  --color-whatsapp: #25D366;
  --color-oferta: #e6377d;
}

body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background-color: var(--color-fondo);
  color: var(--color-texto);
  line-height: 1.6;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(45deg, var(--color-secundario), var(--color-terciario));
  background-size: 200% 200%;
  animation: gradient 8s ease infinite;
  padding: 4rem 2rem;
  text-align: center;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--color-primario);
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn-hero {
  background-color: var(--color-primario);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-hero:hover {
  background-color: #ad2670;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* NAVBAR */
.navbar {
  background-color: var(--color-terciario);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  display: inline-block;
  margin: 0 15px;
}

.navbar a {
  text-decoration: none;
  color: var(--color-primario);
  font-weight: 600;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.navbar a.activo,
.navbar a:hover {
  border-bottom: 2px solid var(--color-primario);
}

/* CONTENEDOR PRINCIPAL */
.contenedor {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* SECCIONES */
.nosotras, .mision-vision, .proximamente, .suscripcion {
  background-color: var(--color-terciario);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nosotras:hover, .mision-vision:hover, .proximamente:hover, .suscripcion:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nosotras h2,
.mision-vision h3,
.proximamente h2,
.suscripcion h2 {
  color: var(--color-primario);
  margin-top: 0;
  position: relative;
  z-index: 1;
}

/* PATRÓN FLORAL PARA SECCIÓN PRÓXIMAMENTE */
.proximamente::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('img/patron-flores.png'), 
                   url('https://www.transparenttextures.com/patterns/floral.png');
  background-size: 300px;
  opacity: 0.15;
  z-index: 0;
}

/* MISIÓN Y VISIÓN EN COLUMNAS */
.mision-vision {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.columna {
  padding: 1rem;
  position: relative;
  z-index: 1;
}

@media(min-width: 768px) {
  .mision-vision {
    flex-direction: row;
  }
  .columna {
    width: 50%;
  }
}

/* CONTADOR */
.contador {
  margin: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.contador-tiempo {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.contador-tiempo span {
  background-color: var(--color-primario);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  min-width: 60px;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.contador-tiempo span:hover {
  transform: scale(1.1);
  background-color: var(--color-oferta);
}

/* BOTÓN WHATSAPP */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-whatsapp);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* OFERTA ESPECIAL */
.oferta-especial {
  background-color: var(--color-oferta);
  color: white;
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem auto;
  max-width: 80%;
  animation: pulse 2s infinite;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* SUSCRIPCIÓN */
.suscripcion iframe {
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-top: 1rem;
}

/* FOOTER */
footer {
  background-color: #fce4ec;
  padding: 2rem 1rem;
  text-align: center;
}

footer .social {
  margin-bottom: 1rem;
}

footer .social a {
  margin: 0 10px;
  display: inline-block;
  color: var(--color-primario);
  background-color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
  transition: all 0.3s ease;
}

footer .social a:hover {
  transform: scale(1.1);
  color: white;
  background-color: var(--color-primario);
}

footer p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #6c757d;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .navbar li {
    margin: 0 10px;
  }
  
  .contador-tiempo {
    gap: 0.5rem;
  }
  
  .contador-tiempo span {
    padding: 0.5rem;
    min-width: 50px;
  }

  .oferta-especial {
    max-width: 95%;
    font-size: 1rem;
  }
}