/* Fondo global del sitio */
body {
  background-color:#fbdbfb;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}
section {
  scroll-margin-top: 80px; /* útil si usás navegación con anclas */
}

h4, h5 {
  letter-spacing: 1px;
}

.btn-outline-dark:hover {
  background-color: #f31378;
  color: white;
  border-color: #f31378;
}

.modal-title {
  font-weight: bold;
}


/* Sección principal con imagen de fondo */
.hero-header {
  position: relative;
  width: 100%;
  height: 600px;
  background-image: url('assets/bg-hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: visible;
}

/* Animaciones */
@keyframes fadeInUpSpidey {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@keyframes fadeInOnly {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Estado inicial */
.img-spidey,
.img-teinvito,
.img-portada {
  opacity: 0;
}

/* Imagen Spidey */
.img-spidey {
  position: absolute;
  left: 10%;
  top: 65%;
  transform: translateY(-50%);
  max-height: 150%;
  max-width: auto;
  transition: transform 0.3s ease;
}

/* Imagen Te Invito */
.img-teinvito {
  position: absolute;
  left: 45%;
  top: 20%;
  max-height: 40%;
  max-width: auto;
  transition: transform 0.3s ease;
}

/* Imagen Portada */
.img-portada {
  position: absolute;
  left: 35%;
  top: 40%;
  max-height: 40%;
  max-width: auto;
  transition: transform 0.3s ease;
}

/* Hover suave para todas las imágenes */
.hero-header img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-header {
    height: 450px;
  }

  .img-spidey {
    top: 75%;
    left: 7%;
    max-height:93%;
  }

  .img-teinvito {
    left: 55%;
    top: 30%;
    max-height: 27%;
  }

  .img-portada {
    left: 55%;
    top: 55%;
    max-height: 22%;
  }
}

/* Cuenta regresiva */
.countdown-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap; /* no deja que las cards bajen */
  gap: 1rem;
  padding: 0.3rem 1rem 2rem 1rem;
  margin-top: 0;
  margin-bottom: 0;
  overflow-x: hidden; /* oculta scroll horizontal si sobra contenido */
}

.countdown-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  flex: 1 1 90px; /* flex-grow:1, flex-shrink:1, flex-basis:90px */
  max-width: 120px; /* no se agrandan demasiado */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  min-width: 70px; /* para que no se achiquen mucho */
  text-align: center;
}

.countdown-card:hover {
  transform: scale(1.08);
}

.countdown-card span {
  font-size: 2.8rem;
  font-weight: bold;
  color: #6649d9

;
}

.countdown-card .label {
  font-size: 1rem;
  color: #444;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  display: block;
}

@media (max-width: 576px) {
  .countdown-card {
    padding: 1rem;
    flex-basis: 60px; /* base más pequeña en móvil */
    max-width: 90px;
    min-width: 50px;
  }

  .countdown-card span {
    font-size: 1.2rem;
  }

  .countdown-card .label {
    font-size: 0.75rem;
  }
}
.countdown-section {
  margin-top: 0.5rem; /* o lo que necesites */
}

.countdown-pretext {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6649d9;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}
footer {
  padding-bottom: 1rem;
  margin-bottom: 0;
}
section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
input#nombre {
  border: 2px solid #cfcecf;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input#nombre:focus {
  border-color: #cfcecf;
  box-shadow: 0 0 0 0.2rem rgba(243, 19, 120, 0.25);
}
.modal-content {
  animation: fadeInModal 0.4s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.shadow-top {
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
}
