body {
  margin: 0;
  font-family: sans-serif;
}

/* ===== MENÚ SUPERIOR ===== */
.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  background: transparent;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.barra-izquierda {
  position: relative;
}

.barra-izquierda img {
  display: block;
  height: 100px;
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 65% !important;
}

.menu img {
  display: block;
  height: 100px;
}

/* ===== SECCIÓN HERO ===== */
.hero {
  height: 800px; 
  background-image: url("web/inicio/Inicio-Header-1920x800.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
}

/* ===== CONTENIDO (VIDEO) ===== */
.contenido {
  text-align: left;
  padding: 0;
  background-color: white;
  margin-top: 0;
  padding-top: 0;
  margin: 0;
}

.contenido iframe {
  width: 99.2vw;       /* ocupa el 80% del ancho de la ventana */
  height: 45vw;      /* mantiene proporción 16:9 */
  max-width: 1920px; /* límite para pantallas grandes */
  border-radius: 0px;
}

/* ===== TERCERA SECCIÓN ===== */
.tercera-seccion {
  background-image: url("web/inicio/Inicio-Fondo-Tercer-seccion-1920x1170.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 1170px; /* misma altura del JPG */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  margin-top: -5px;
  padding-top: 0;
}

/* Contenedor del texto */
.tercera-seccion .avivamiento {
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  margin-left: 175px;
}

/* Título */
.tercera-seccion .avivamiento h2 {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Línea amarilla divisoria */
.linea-amarilla {
  width: 800px;
  height: 5px;
  background-color: #ffd700; /* amarillo dorado */
  margin: 0 auto 20px auto; /* centrada con espacio abajo */
  border-radius: 3px;
}

/* Texto */
.tercera-seccion .avivamiento p {
  font-size: 1.2em;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 800px;
}

.contenido-tercera {
  color: white;
  background: rgba(0, 0, 0, 0.4); /* un sombreado opcional */
  padding: 40px;
  border-radius: 15px;
  max-width: 800px;
}


/* ===== SECCIÓN: EL AVIVAMIENTO HA LLEGADO ===== */
.avivamiento {
  background-color: transparent;
  text-align: center;
  padding: 100px 20px;
}

.avivamiento-contenido {
  max-width: 900px;
  margin: 0 auto;
}

.avivamiento h2 {
  font-size: 0.8em;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.avivamiento p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #333;
  margin: 0 auto;
}

.tercera-seccion,
.tercera-seccion h2,
.tercera-seccion p {
  color: #fff !important;
}


.tercera-seccion h2,
.tercera-seccion p {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.tercera-seccion,
.tercera-seccion h2,
.tercera-seccion p {
  font-family: "Playfair Display", serif;
}

.tercera-seccion .avivamiento h2 {
  font-size: 2em !important; /* tamaño de fuente */
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tercera-seccion .avivamiento p {
  font-family: "Metropolis", sans-serif;
  font-size: 1.2em;
  line-height: 1.6;
  color: #fff;
  margin: 10px auto 0 auto; /* 🔹 lo sube más cerca de la línea */
  max-width: 800px;
}

/* ===== IMAGEN AL LADO DERECHO DEL TEXTO ===== */
.tercera-seccion {
  display: flex;
  justify-content: center;
  align-items: flex-start;  /* 🔹 centra verticalmente texto e imagen */
  flex-wrap: wrap;
  gap: 60px;
  text-align: center; /* 🔹 restaura el centrado del texto */
}

.avivamiento {
  flex: 1;
  min-width: 400px;
  max-width: 800px;
  text-align: center; /* 🔹 centra solo el texto dentro del bloque */
}

.imagen-avivamiento {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 110px; /* 🔹 baja toda la imagen */
}

.imagen-avivamiento img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Bloque invertido (imagen izquierda, texto derecha) */
.bloque-invertido {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 0px;
  margin-top: -120px; /* separa del bloque anterior */
}

/* Ajusta proporciones idénticas a tu bloque original */
.bloque-invertido .imagen-avivamiento {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: flex-end; /* empuja imagen a la izquierda */
  align-items: center;
  margin-top: 110px;
  margin-left: 260px;
  
}

.bloque-invertido .imagen-avivamiento img {
  width: 100%;
  max-width: 750px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: scale(1.2);
}

/* Texto del lado derecho, con mismos márgenes y estilos */
.bloque-invertido .avivamiento {
  flex: 1;
  min-width: 400px;
  max-width: 800px;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  margin-right: 150px; 
  margin-top: -50px;
}

.linea-amarilla-secundaria {
  width: 600px; 
}

/* ===== TÍTULO FINAL DENTRO DEL MISMO FONDO ===== */
.titulo-sumergirte {
  width: 100%;
  text-align: center;
  order: 3;
  margin-top: 150px; 
  margin-top: -150px; 
  padding-top: 0; 
}

.titulo-sumergirte h2 {
  font-family: "Playfair Display", serif;
  font-size: 4em;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
  margin: 0;
}

/* ===== BOTÓN SVG "APARTAR MI LUGAR" ===== */
.boton-apartar {
  display: inline-block;
  margin-top: 30px;
  transition: transform 0.3s ease;
}

.boton-apartar img {
  width: 290px;
  height: auto;
}

.boton-apartar:hover {
  transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
  background-color: #0056A4; /* 🔹 Azul más claro como en maqueta */
  color: white;
  padding: 40px 0;
  font-family: "Metropolis", sans-serif;
}

.footer-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px; /* 🔹 Menos ancho */
  margin: 0 auto;
  text-align: center;
  flex-wrap: wrap;
}

/* Columna izquierda */
.footer-col.izquierda {
  flex: 1;
  text-align: left;
  font-weight: 700; /* 🔹 Negritas */
  font-size: 0.95em;
  line-height: 1.6;
}

/* Columna central */
.footer-col.centro {
  flex: 1;
  text-align: center;
  font-style: italic; /* 🔹 Cursiva */
}

.footer-col.centro a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 5px 0;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-col.centro a:hover {
  color: #FFD700; /* dorado al pasar el cursor */
}

/* Columna derecha */
.footer-col.derecha {
  flex: 1;
  text-align: right;
}

.footer-col.derecha img {
  width: 40px;
  height: 40px;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.footer-col.derecha img:hover {
  transform: scale(1.2);
}

/* 🔹 Adaptación para pantallas pequeñas */
@media (max-width: 900px) {
  .footer-contenido {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    margin: 10px 0;
  }

  .footer-col.izquierda,
  .footer-col.derecha {
    text-align: center;
  }
}


/* ===== EFECTOS HOVER ===== */
.btn.inicio:hover img { content: url("web/menu/Menu Inicio over 123x100.svg"); }
.btn.evento:hover img { content: url("web/menu/Menu Evento over 128x100.svg"); }
.btn.conferencistas:hover img { content: url("web/menu/Menu Conferencistas over 267x100.svg"); }
.btn.donativos:hover img { content: url("web/menu/Menu Donativos over 186x100.svg"); }
.btn.contacto:hover img { content: url("web/menu/Menu Contacto over 161x100.svg"); }
