@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,700;1,400&display=swap');

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  height: 100%;
  overflow-x: hidden;
  background-color: black;
}

/* Navbar */
.main-nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background-color: #ffffff;

}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 100px;
  flex-direction: row-reverse;

}

.logo {
  color: #003459;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: #003459;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1100;
  right: 0;
}

.nav-links {
  display: none;
  gap: 1.5rem;
  padding-right: 100px;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.95);
  width: 100%;
  text-align: center;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 10px 0;
  max-width: 300px;
  
  left: 0;
  right: auto;
}

.nav-links a {
  color: #003459;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00a8e8;
}

/* Carrusel */
.hero-carousel {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.carousel {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.carousel-slide {
  position: absolute;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s ease;
  z-index: 0;
  animation: kenburns 10s ease-in-out infinite;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.725);
  z-index: 1;
}

.eventos {
    background-color: #f0f7fa;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .eventos h2 {
    font-size: 2rem;
    color: #003459;
    margin-bottom: 2.5rem;
  }
  
  .evento {
    background-color: #ffffff;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 23, 31, 0.08);
    text-align: left;
  }
  
  .evento-icono {
    flex-shrink: 0;
    font-size: 2.5rem;
    color: #007ea7;
    padding-top: 0.3rem;
  }
  
  .evento-detalle h3 {
    color: #007ea7;
    margin-bottom: 0.5rem;
  }
  
  .evento-detalle p {
    margin: 0.4rem 0;
    color: #003459;
    line-height: 1.6;
  }
  
  .evento-detalle i {
    margin-right: 0.5rem;
    color: #00a8e8;
  }
  
  .btn-agregar {
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #00a8e8;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .btn-agregar:hover {
    background-color: #007ea7;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .evento {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .evento-icono {
      font-size: 2rem;
    }
  
    .evento-detalle {
      text-align: center;
    }
  }
  
  

@keyframes kenburns {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.2);
  }
}

.formulario-contacto {
    background: linear-gradient(to bottom, #ffffff, #f0f7fa);
    padding: 4rem 2rem;
    text-align: center;
    color: #00171f;
  }
  
  .formulario-tarjeta {
    background-color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 23, 31, 0.1);
  }
  
  .formulario-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
  }
  
  .formulario-texto {
    flex: 1;
    min-width: 250px;
    text-align: left;
  }
  
  .formulario-texto h2 {
    font-size: 1.8rem;
    color: #003459;
    margin-bottom: 0.5rem;
  }
  
  .formulario-texto p {
    font-size: 1rem;
    color: #007ea7;
  }
  
  .formulario {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .formulario input {
    padding: 0.9rem 1rem;
    border: 1px solid #cfe8f3;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #ffffff;
    transition: border-color 0.3s;
  }
  
  .formulario input:focus {
    border-color: #00a8e8;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 168, 232, 0.2);
  }
  
  .formulario button {
    padding: 0.9rem 1rem;
    background-color: #00a8e8;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .formulario button:hover {
    background-color: #007ea7;
    transform: translateY(-2px);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .formulario-grid {
      flex-direction: column;
      text-align: center;
      align-items: center;
    }
  
    .formulario-texto {
      text-align: center;
    }
  
    .formulario {
      width: 100%;
    }
  }


  .footer {
    background-color: #00171f;
    color: #ffffff;
    padding: 4rem 2rem;
    font-size: 0.95rem;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
  }
  
  .footer-col {
    flex: 1 1 250px;
  }
  
  .footer h3 {
    color: #00a8e8;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer a:hover {
    color: #00a8e8;
    text-decoration: underline;
  }
  
  .footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer li {
    margin-bottom: 0.5rem;
  }
  
  .footer .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
  }
  
  .footer .social-icons a {
    font-size: 1.2rem;
    color: #ffffff;
    background-color: #003459;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  .footer .social-icons a:hover {
    background-color: #00a8e8;
    transform: translateY(-2px);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
      align-items: center;
    }
  
    .footer-col {
      max-width: 100%;
    }
  
    .footer .social-icons {
      justify-content: center;
    }
  }
  
  

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  padding: 0 1rem;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-hero {
  background-color: #003459;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-hero:hover {
  background-color: #007ea7;
}

/* Vers赤culo destacado */
.versiculo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40vh;
  padding: 1rem 1rem;
  /* background: linear-gradient(to top, #003459, #16598a); */
  background-color: white;
  color: #003459;
  text-align: center;
  font-family: 'Crimson Text', serif;
}

.versiculo-contenido {
  max-width: 800px;
  line-height: 1.8;
  font-size: 1.1rem;
  position: relative;
}

.versiculo-contenido::before {
  content: "\201C";
  font-size: 6rem;
  position: absolute;
  top: -40px;
  left: -30px;
  color: rgba(255, 255, 255, 0.1);
}

.versiculo .cita {
  display: block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: #00a8e8;
  font-size: 1rem;
}

.quienes-somos {
    background-color: #f5f9fc;
    padding: 4rem 2rem;
    color: #00171f;
    text-align: center;
  }
  
  .quienes-somos h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #003459;
  }
  
  .quienes-somos p {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.7;
  }
  
  .tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .icono-tarjeta {
    font-size: 2rem;
    color: #007ea7;
    margin-bottom: 1rem;
  }
  
  
  .tarjeta {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 23, 31, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .tarjeta:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 23, 31, 0.15);
  }
  
  .tarjeta h3 {
    color: #007ea7;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .tarjeta p {
    font-size: 1rem;
    color: #003459;
  }
  

/* Responsive HERO */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .btn-hero {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Responsive NAV */
@media (max-width: 1000px) {
  .nav-container {
    padding: 1rem 1.5rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .logo {
    margin: 0;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1101;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 23, 31, 0.95);
    width: 100%;
    text-align: center;
    position: absolute;
    top: 100%;
    left: 0;
  }

  .main-nav.active .nav-links {
    display: flex;
    flex-direction: column;
  }

  .nav-links a {
    padding: 0.75rem 0;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 100px;
  position: relative;
}

.nav-logo img {
  width: 160px;
  height: auto;
}

.nav-title {
  font-variant: small-caps;
  font-size: 4rem;
  font-weight: bold;
  color: #003459;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-toggle {
  display: block;
  font-size: 2rem;
  background: none;
  border: none;
  color: #003459;
}

@media (max-width: 1000px) {
  .nav-container {
    padding: 10px 20px;
   
  }

  .nav-title {
    font-size: 2rem;
    position: static;
    transform: none;
    flex-grow: 1;
    text-align: center;
  }

  .nav-logo img {
    width: 120px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 10px 0;
  }

  .main-nav.active .nav-links {
    display: flex;
    flex-direction: column;
  }

  .nav-links a {
    padding: 10px 0;

  }
}


.main-nav.active .nav-links {
  display: flex;
  flex-direction: column;
}

.img-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
}

.img-lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.contenedor-inscripcion {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem; /* separaci車n entre bot車n e imagen */
  margin: 2rem auto;
}

.contenedor-inscripcion .btn-agregar {
  height: fit-content;
}

.texto-izquierda {
  text-align: left;
}

/* Para pantallas pequeñas: dirección en columna */
@media (max-width: 768px) {
  .contenedor-inscripcion {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contenedor-inscripcion .texto-izquierda {
    text-align: left;
  }
}