/* Fuente personalizada (por si no está cargada aún) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Contenedor principal */


/* Responsive */
@media (min-width: 768px) {
  .titulo { font-size: 4rem; }
  .subtitulo { font-size: 2rem; }
}

@media (min-width: 1024px) {
  .titulo { font-size: 5rem; }
  .subtitulo { font-size: 2.2rem; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out both;
}
.animate-fade-in {
  opacity: 0;
  animation: fade-in 1s ease-out forwards;
}
@keyframes fade-in {
  to {
    opacity: 1;
  }
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-400 {
  animation-delay: 0.4s;
}


/* Contenido de como surge Eru-BA */



/*Footer*/
.footer a:hover {
  text-decoration: underline;
  color: #f8c146;
}

.footer h5 {
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  font-size: 0.9rem;
}



/*Navbar*/
 a {
  color: black;  
  text-decoration: none !important;
}

.nav-link {
  position: relative;
  display: inline-block;
  color: black;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: red;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: red;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  color: black;
  text-decoration: none;
}

.nav-link:hover {
  color: red;
  transform: translateY(-3px);
}

 .hero-section {
  background: url('img/nacimiento.png') no-repeat center center / cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  color: white;
  position: relative;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.85); /* ✔ MÁS OPACO para contraste */
  padding: 3rem 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

.title .red {
  color: #e01b24;
}

.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.column {
  flex: 1 1 300px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.column.left {
  text-align: left;
  color: #a8ff94; /* verde claro */
}

.column.right {
  text-align: right;
}

.column.center {
  flex-basis: 100%;
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .content {
    flex-direction: column;
    text-align: center;
  }

  .column.left, .column.right {
    text-align: center;
  }

  .title {
    font-size: 2rem;
  }

  .column {
    font-size: 1rem;
  }
}
