* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family:'Montserrat', sans-serif;
    line-height: 1.6;
    color: #192C4C;
    overflow-x: hidden;
    background-image:url(img/fondo.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
}

.wrapper {
    height: 100vh;
    overflow: hidden;
    perspective: 1000px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  position: relative;
  z-index: 10;
}

.logo-img {
  width: 80px;
  height: auto;
}

/* Botón general */
.boton {
  background: linear-gradient(120deg, #DFCA66, #AD803C, #DFCA66);
  background-size: 200%;
  background-position: left;
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-position 0.8s linear, transform 0.3s ease; /* Más rápido */
}

.boton:hover {
  transform: scale(1.05); /* Escala suave */
  background-position: right; /* Movimiento del degradado */
}

.boton.pequeño {
  font-size: 1rem;
}

.main-title {
    text-align: center;
    padding: 2rem 0;
    font-size: 2.5rem;
}

.panels-container {
    position: relative;
    height: 100%;
    transform-style: preserve-3d;
}

.panel {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0);
    transform-origin: center center -50vh;
    transition: transform 0.5s;
}

.panel h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.iglesia {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateX(0);
    height: 95vh; /* Altura proporcional a la pantalla */
    width: 80vh;
    z-index: 5; /* Por delante del fondo, detrás del texto */
    pointer-events: none; /* Evita que el usuario interactúe con la imagen */
  }
  .montaña {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateX(0);
    height: auto; /* Altura proporcional a la pantalla */
    width: 162vh;
    z-index: 1; /* Por delante del fondo, detrás del texto */
    pointer-events: none; /* Evita que el usuario interactúe con la imagen */
  }
  .fabrica {
    position: absolute;
    bottom: 50%; /* Ajusta la posición vertical para que esté encima de la montaña */
    left: 5%; /* Ajusta la posición horizontal según sea necesario */
    height: 40vh; /* Tamaño pequeño proporcional a la pantalla */
    width: auto; /* Mantiene las proporciones de la imagen */
    z-index: 3; /* Por delante de la montaña */
    pointer-events: none; /* Evita que el usuario interactúe con la imagen */
  }
  .nube1 {
    position: absolute;
    top: 37%;
    left: 6% ; /* Cambia el valor para moverla más a la izquierda */
    width: 450px;
    z-index: 4; 
  }
  .nube2 {
    position: absolute;
    top: 30%;
    left: 2%;
    width: 400px;
    z-index: 1; 
  }
  .nube3 {
    position: absolute;
    top: 42%;
    left: 33%;
    width: 450px;
    z-index: 1; 
  }
  .nube4 {
    position: absolute;
    top: 20%;
    left: 65%;
    width: 480px;
    z-index: 1; 
  }
  .nube5 {
    position: absolute;
    top: 17%;
    left: 38%;
    width: 500px;
    z-index: 1; 
  }
  .nube6 {
    position: absolute;
    top: 13%;
    left: 20%;
    width: 500px;
    z-index: 0; 
  }
  .scroll-btn {
    position: absolute;
    top: 70%;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    z-index: 10;
  }
  
  .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #19233f;
    border-radius: 20px;
    position: relative;
  }
 
  
  .scroll-wheel {
    width: 15px;
    height: 15px;
    background-color: #19233f;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMove 1.5s infinite ease-in-out;
  }
  
  @keyframes scrollMove {
    0% {
      top: 10px;
      opacity: 1;
    }
    50% {
      top: 25px;
      opacity: 0.5;
    }
    100% {
      top: 10px;
      opacity: 1;
    }
  }
  .contenido {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 800px;
    padding: 15px;
    z-index: 5;
  }
  
  .contenido h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
  }
  
  .subtitulo {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffd700;
  }
  
  .descripcion {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }
  /* Media queries para pantallas más pequeñas */
@media (max-width: 1024px) {

  .iglesia {
    height: 60vh; /* Reduce la altura de la iglesia */
    width: 50vh;
  }

  .montaña {
    width: 100vh; /* Reduce el ancho de la montaña */
  }

  .fabrica {
    height: 25vh; /* Reduce el tamaño de la fábrica */
  }

  .nube1, .nube2, .nube3, .nube4, .nube5, .nube6 {
    width: 250px; /* Reduce el tamaño de las nubes */
  }
.top-bar {
    padding: 25px 40px; /* Reduce el padding */
  }

  .logo-img {
    width: 80px; /* Reduce el tamaño del logo */
  }

  .boton {
    padding: 8px 15px; /* Reduce el tamaño del botón */
    font-size: 0.9rem;
  }

  .contenido h1 {
    font-size: 2rem; /* Reduce el tamaño del título */
  }

  .subtitulo {
    font-size: 1rem; /* Reduce el tamaño del subtítulo */
  }

  .descripcion {
    font-size: 0.9rem; /* Reduce el tamaño de la descripción */
  }
  .scroll-btn {
    top: 80%; /* Ajusta la posición del botón */
  }
}

@media (max-width: 768px) {
  .iglesia {
    height: 60vh; /* Reduce aún más la altura de la iglesia */
    width: 50vh;
  }

  .montaña {
    width: 80vh; /* Reduce el ancho de la montaña */
  }

  .fabrica {
    height: 30vh; /* Reduce el tamaño de la fábrica */
  }

  .nube1, .nube2, .nube3, .nube4, .nube5, .nube6 {
    width: 200px; /* Reduce aún más el tamaño de las nubes */
  }
  .nube4, .nube5, .nube6 {
    top: 30%;
  }
  .top-bar {
    flex-direction: row;
    padding: 25px;
  }

  .logo-img {
    width: 80px; /* Reduce aún más el tamaño del logo */
  }

  .boton {
    margin-top: 10px; /* Añade espacio entre el logo y el botón */
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .contenido h1 {
    font-size: 1.8rem; /* Reduce el tamaño del título */
  }

  .subtitulo {
    font-size: 0.9rem;
  }

  .descripcion {
    font-size: 0.8rem;
  }
  .scroll-btn {
    top: 59%; /* Ajusta la posición del botón */
  }
}

@media (max-width: 480px) {
  .iglesia {
    height: 30vh; /* Ajusta la altura de la iglesia para móviles */
    width: 20vh;
  }

  .montaña {
    width: 60vh; /* Ajusta el ancho de la montaña */
  }

  .fabrica {
    height: 15vh; /* Ajusta el tamaño de la fábrica */
  }

  .nube1, .nube2, .nube3, .nube4, .nube5, .nube6 {
    width: 150px; /* Tamaño más pequeño para las nubes */
  }
  .top-bar {
    flex-direction: row;
    padding: 25px;
  }

  .logo-img {
    width: 60px; /* Tamaño más pequeño para el logo */
  }

  .boton {
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 0.7rem;
  }

  .contenido h1 {
    font-size: 1.5rem; /* Ajusta el tamaño del título */
  }

  .subtitulo {
    font-size: 0.8rem;
  }

  .descripcion {
    font-size: 0.7rem;
  }
  .scroll-btn {
    top: 50%; /* Asegura que el botón esté visible */
  }
}
  /* seccion2 */
  .entrar {
    position: absolute;
    top: 95%;
}
.video-bloque {
  width: 100%; /* Ajusta el ancho al 100% del contenedor */
  height: 100%; /* Ajusta la altura al 100% del contenedor */
  object-fit: cover; /* Asegura que el video se ajuste sin deformarse */
  border-radius: 40px 0; /* Hereda el borde redondeado del bloque */
  
}
  
.contenido {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
}
  
.contenido h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}
  
.bloque-azul {
    width: 90%;
    max-width: 600px;
    height: 300px;
    background-color: #192C4C;
    border-radius: 40px 0 40px 0px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}
/* Estilos del footer */
.site-footer {
  background-color: #192C4C;
  color: white;
  padding: 50px 0 0;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.8;
}

.footer-title {
  color: #DFCA66;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #AD803C;
}

.footer-links li, .footer-contact li {
  margin-bottom: 12px;
  list-style: none;
}

.footer-links a, .footer-contact a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-links a:hover, .footer-contact a:hover {
  color: #DFCA66;
}

.footer-contact i {
  margin-right: 10px;
  color: #DFCA66;
  width: 18px;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  color: white;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: #DFCA66;
  color: #192C4C;
  transform: translateY(-3px);
}

.back-to-top {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.back-to-top:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #DFCA66;
  color: #DFCA66;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  background-color: rgba(0,0,0,0.1);
}

.copyright {
  margin-bottom: 10px;
}

.legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.8rem;
}

.legal-links a:hover {
  color: #DFCA66;
  text-decoration: underline;
}

.legal-links span {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-section {
    min-width: 100%;
  }
  
  .footer-links, .footer-contact {
    padding-left: 0;
  }
}
