:root {
  /* Colores principales */
  --blanco: #ffffff;
  --azul-claro: #dbf2fa;
  --azul-medio: #81d8f4;
  --azul-oscuro: #0785af;
  --azul-hover: #4684bdd5;
  --azul-barra: rgba(200, 233, 255, 0.984);
  /* Gradientes */
  --gradiente-azul: linear-gradient(90deg, rgb(55,139,179) 0%, rgb(105,156,213) 100%);

  /* Sombras */
  --sombra-suave: 0 4px 12px rgba(0,0,0,0.15);
  --sombra-media: 0 8px 20px rgba(0,0,0,0.2);

  /* Bordes */
  --radio: 15px;
  --radio-pequeño: 5px;

  /* Fuentes */
  --fuente-serif: 'Times New Roman', Times, serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ------------------Todo header------------------------ */
#barra {
  position: fixed;
  z-index: 1000;
  width: 100%;
  background-color: rgba(200, 233, 255, 0.984);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid white;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 5px;
}



.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index:999;
  top: 0;
  left: 0;
  background-color: rgba(201, 233, 255, 0.721);
  overflow-x: hidden;
  transition: 0.1s;
  padding-top: 80px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 17px;
  color: #000000;
  display: block;
  transition: 0.1s;
  border-radius: 5px;
  transition: background 0.3s;
  line-height: 1.8;
  font-weight: 600;
}

.sidenav a:hover {
  color: #ffffff;
}

li a:hover,
.contenedor-submenu:hover .boton-sub {
  background-color: #4684bdd5;
}


.boton-sub {
  display: inline-block;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
}

.sub-menu {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 260px;
  z-index: 1;
}

.sub-menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.sub-menu li a:hover {
  background-color: #aad3f9e4;
  color: #000;
}

.contenedor-submenu:hover .sub-menu {
  display: block;
}

/* Overlay oscuro */
.overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    z-index: 998;
}

/* Overlay activo */
.overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ---------------Imagen DE FONDO ---------------------------*/

#main {
  transition: margin-left .5s;
  padding: 1px;
}

.inicio-content {
  text-shadow: 2px 2px 20px rgba(8, 91, 0, 0.789);
  color: #fefdfd;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  font-weight: bolder;
}

.inicio-texto {
  line-height: 1;
  margin-bottom: 35px;
}

.inicio-texto p {
  font-size: 20px;
  color: #ffffff;
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

.Fondo {
  background-image: url(../img/imagenn.jpeg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.fondo-content img {
  width: 90%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.inicio-texto {
   line-height: 1.2;
  margin-bottom: 35px;
  text-align: center;
  padding: 0 15px;
}

.inicio-texto h1 {
    font-size : clamp(32px, 4vw, 55px);
    line-height: 1.2;
    gap: 5px;
    color: white;
    text-shadow: 0 0 8px rgba(2, 35, 0, 0.863);
  }

.inicio-texto h2 {
 font-size: clamp(18px, 3.5vw, 35px);
  line-height: 1.3;
}

.inicio-texto p {
    font-size: clamp(14px, 2.5vw, 20px);

  color: #ffffff;
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: 35px;
}

#audio {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -----------      Texto de bienvenida --------------------------*/
.texto {
  max-width: 100%;
  background-color: #dbf2fa;
  padding: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.texto-content {
  max-width: 1000px;
}

.texto-content .texto-text p {
  color: #000;
  margin: 0;
  font-size: 22px;
  text-align: center;
  line-height: 1.5;
}

span {
  font-size: 14px;
  text-transform: uppercase;
  color: rgb(4, 92, 169);
  font-weight: bolder;
}

.btn-1 {
  display: inline-block;
  padding: 15px 25px;
  color: whitesmoke;
  text-transform: uppercase;
  border-radius: 5%;
  margin-left: 5px;
  background: linear-gradient(90deg,
      rgb(55, 139, 179)0%,
      rgb(105, 156, 213) 100%);
}

/*-----------------SECCION DE  VERSICULOS----------------*/

.Frases {
  background-color: rgba(91, 200, 246, 0.651);
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 6rem;
}

.frases-cont {
  color: rgb(2, 2, 2);
  text-align: center;
}

.frases-cont h2 {
  color: rgb(255, 255, 255);
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 5px;
}

.frases-cont,
label {
  font-size: 25px;
}
/* ---------------- Seccion Sembrar ---------------- */
.sembrar {
  padding: clamp(20px, 5vw, 40px) 0;
  background-color: #fffefe;
}

.sembrar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(10px, 4vw, 30px);
  max-width: 1200px;
  margin: 0 auto;
}

.sembrar-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;   /* centra horizontalmente */
  text-align: center;    /* centra el texto */
}
.sembrar-text h3 {
  color: #000;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: clamp(1.3, 1.5vw, 1.6);
}

.sembrar-text .btn-1 {
  padding: clamp(8px, 2vw, 12px) clamp(15px, 4vw, 25px);
}

/* Imagen */
.sembrar-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.imgs {
  width: clamp(220px, 40vw, 450px);
  height: auto;
  border-radius: 3%;
}

.bloques {
  padding: clamp(30px, 6vw, 60px) 0;
  display: flex;
  justify-content: center;
}

.bloques-contenido {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(15px, 4vw, 25px);
  max-width: 1200px;
  justify-content: center;
}

.bloques-1 {
  border: 1px solid #0b9ec2;
  padding: clamp(15px, 4vw, 30px);
  box-shadow: 0 0 20px rgba(0,0,0,.4);
  border-radius: 10%;
  width: clamp(220px, 30vw, 320px);
}

.bloques-texto {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: bolder;
  text-align: center;
}

.bloques-1 img {
  width: 100%;
  max-width: 220px;
}

/* -----------------seccion de horarios ----------------------*/

.horarios {
  max-width: 100%;
  background-color: #dbf2fa;
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.horarios-content {
  width: 40%;
}

.horarios-text {
  background-color: #ffffff;
  text-align: center;
  border-radius: 15px;
  padding: 50px;
}

.horarios-text h2 {
  color: rgb(71, 137, 204);
  margin-bottom: 10px;

}

.horarios-text p {
  font-size: 20px;
  color: #000000;
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: 35px;
}


/* ---------------------seccion de Ubicacion ---------------------*/

.ubicacion {
  padding: clamp(30px, 8vw, 90px);
}

.ubicacion-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(20px, 5vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
}

/* -------- TEXTO -------- */

.ubicacion-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(10px, 3vw, 20px);
  font-size: clamp(18px, 3vw, 40px);
  color: #000;
}

.ubicacion-texto h2 {
  font-size: clamp(26px, 4vw, 50px);
  margin-bottom: clamp(20px, 5vw, 50px);
}

.ubicacion-texto h3 {
  font-size: clamp(16px, 2.5vw, 30px);
  margin-bottom: clamp(15px, 4vw, 30px);
}

.img-ubicacion {
  width: clamp(35px, 5vw, 80px);
  margin-bottom: 15px;
}

/* -------- BOTON -------- */

.btn-2 {
  width: clamp(200px, 60%, 80%);
  background-color: #e1f6fd;
  padding: clamp(10px, 3vw, 20px) clamp(15px, 4vw, 30px);
  border-radius: 30px;
  text-align: center;
}

.btn-2 a {
  font-size: clamp(12px, 2vw, 16px);
  color: #000;
  text-transform: uppercase;
  font-weight: bolder;
}

/* -------- IMAGEN -------- */

.ubicacion-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ubicacion-image img {
  width: clamp(240px, 40vw, 500px);
  height: auto;
  box-shadow: 0 0 20px rgba(111, 175, 215, 0.8);
  border-radius: 10px;
}
/* ---------------seccion de contactos------------------ */

.contactos {
  padding: 0;
  text-align: center;
}

.contactos-content {
  background-color: var(--blanco);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 55px;
  box-shadow: var(--sombra-suave);
}

.contactos-text h2 {
  padding-bottom: 20px;
  color: #000;
  font-size: 45px;
  padding: 50px;
}

.imagenes-con {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  padding-bottom: 10px;

}

.contactos-1 {
  background-color: #c6eff9;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 20px;
  max-width: 20%;
}

.contactos-iconos {
  max-width: 20%;
  display: flex;
  height: 40px;
  margin: 0 auto;
  align-items: center;

}

.contactos-iconos .correo {
  width: 27px;
}

.contactos-1 h3 {
  color: #000;
  font-size: 12px;
  margin: 0;
  text-align: center;
  line-height: 1.8;
}

.contactos-1:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* --------------------- Botón de Me gusta --------------------- */
.like-section {
    background-color: #dbf2fa;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.like-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #e1f8ffa6, #acdef1c1);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}


.like-container p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}


.btn-like {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #6cc1e9;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-like i {
    font-size: 20px;
}

/* Efecto hover */
.btn-like:hover {
    transform: scale(1.1);
    background-color: #1383a9e1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Contador de likes */
#contador-likes {
    margin-top: 15px;
    font-weight: bold;
    color: #555;
    font-size: 16px;
}


/* -----------------------Footer -------------------------------*/

.footer {
  background-color: #81d8f4;
  padding: 20px 0;
  text-align: center;
}
.Bttn{
  color: #0785af;
}
   
.like-container { display:inline-flex; align-items:center; gap:8px; position:relative; }
.like-input { /* off-screen, accesible para lectores */
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.like-container .bx.bxs-heart {
  cursor: pointer;
  color: #8a8a8a;
  font-size: 1.5rem;
  transition: color .15s ease;
  display:inline-block;
}
.like-input:checked + .bx.bxs-heart {
  color: red;
}

.like-input:focus + .bx.bxs-heart {
  outline: 2px solid #ffd;
  outline-offset: 2px;
}


/* -------- Tablets (<= 992px) -------- */
@media (min-width: 600px) and (max-width: 900px) {
  #barra { 
    background-color: var(--azul-barra); 
    padding: 8px 12px; 
  } 
  .header-right { 
    gap: 3px; 
  } 
  
  /* OCULTAR TEXTO BIENVENIDA EN MÓVIL */ 
  .header-right .navbar-brand { 
    display: none; 
  } 
  .header-left img, .header-right img { 
    width: 32px !important; 
  } 

  #barra { 
    height: 60px;
  }
  
  /* ----------- Imagen de fondo -----------*/
  .inicio-content {
    top: 35%;
    padding: 0 15px;
    width: 100%;
  }

  .inicio-texto h1 {
    font-size: 28px;
    line-height: 1.2;
    gap: 5px;
    color: white;
    text-shadow: 0 0 8px rgba(2, 35, 0, 0.863);
  }

  .inicio-texto h2 {
    font-size: 18px;
    line-height: 1.3;
    margin-top: 10px;
    text-shadow: 0 0 8px rgba(2, 35, 0, 0.863);

  }

  .inicio-texto p {
    font-size: 16px;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.863);

  }

  #audio {
    top: 55%;
    width: 60%;
  }

  .Fondo {
    background-position: center;
    max-width: 100%;
    min-height: 70vh;
  }
/* ----------- Texto de bienvenida ----*/
  .texto {
    padding: 40px 20px;
  }

  .texto-content {
    max-width: 100%;
  }

  .texto-content .texto-text p {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    font-weight: 600;
  }
/* ----------- Seccion Sembrar -----------*/


/* ----------- Frases -----------*/

  .Frases {
    padding: 3rem 1rem;
  }

  .frases-cont h2 {
    font-size: 20px;
  }
  .frases-cont label {
    font-size: 16px;
  }
/* ----------- Seccion Horarios -----------*/
  .horarios {
    padding: 20px 10px;
  }

  .horarios-content {
    width: 90%;
  }

  .horarios-text {
    padding: 20px 15px;
    border-radius: 10px;
  }

  .horarios-text h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .horarios-text p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  /* ----------- Seccion Ubicacion -----------*/
    .ubicacion-content {
    flex-direction: column;
  }
/* ----------- Seccion Like -----------*/
.like-section {
    padding: 20px 12px;
  }
.like-container {
    padding: 30px 10px;
    max-width: 100%;
    width: 100%;
  }

  .like-container p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .btn-like {
    padding: 10px 20px;
    font-size: 14px;
    gap: 6px;
  }

  .btn-like i {
    font-size: 18px;
  }

  #contador-likes {
    font-size: 14px;
    margin-top: 10px;
  }
/* ----------- Seccion Contactos -----------*/
.contactos-seccion {
    padding: 20px 10px;
  }
  .contactos-content {
    width: 100%;
    padding-bottom: 30px;
  }

.contactos-text h2 {
    font-size: 24px;
    padding: 20px 10px;
  }

  .imagenes-con {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
  }

  .contactos-1 {
    max-width: 100%;
    width: 80%;
    padding: 15px;
    margin: 10px 0;
  }

  .contactos-iconos {
    max-width: 100%;
    width: 2rem;
    align-content: center;
    height: auto;
    margin-bottom: 10px;
  }

  .contactos-iconos .correo {
    width: 40px;
    height: 40px;
  }

  .contactos-1 h3 {
    font-size: 14px;
    line-height: 1.4;
  }

   /* ----------- MENU DESPEJABLE ABIERTO -----------*/
  .sidenav {
    width: 250px;
    padding-top: 60px;
    background-color: rgba(201, 233, 255, 0.926); 
  }
  .sidenav a {
    padding: 15px 25px;
    font-size: 18px;
    display: block;
    color: #000;
    border-radius: 5px;
    margin-bottom: 5px;
  }
  .sidenav a:hover {
    background-color: #4684bdd5;
    color: #fff;
  }

  /* Evitar que el main se mueva en móvil */
  #main {
    margin-left: 0 !important;
  }

  #iniciotexto,
  #audio {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ----------- MÓVIL (<= 600px) -------- */

@media (min-width: 200px) and (max-width: 600px) {
  #barra { 
    background-color: var(--azul-barra); 
    padding: 8px 12px; 
  } 
  .header-right { 
    gap: 8px; 
  } 
  
  /* OCULTAR TEXTO BIENVENIDA EN MÓVIL */ 
  .header-right .navbar-brand { 
    display: none; 
  } 
  .header-left img, .header-right img { 
    width: 32px !important; 
  } 

  #barra { 
    height: 60px;
  }
  .sidenav {
    width: 0;
    font-size: 24px;
    top: 15px;
    right: 20px;
    transform: width 1.5s ease;
    overflow: hidden;

  }

  
  /* ----------- Imagen de fondo -----------*/
  .inicio-content {
    top: 35%;
    padding: 0 15px;
    width: 100%;
  }

  .inicio-texto h1 {
    font-size: 28px;
    line-height: 1.2;
    gap: 5px;
    color: white;
    text-shadow: 0 0 8px rgba(2, 35, 0, 0.863);
  }

  .inicio-texto h2 {
    font-size: 18px;
    line-height: 1.3;
    margin-top: 10px;
    text-shadow: 0 0 8px rgba(2, 35, 0, 0.863);

  }

  .inicio-texto p {
    font-size: 16px;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.863);

  }

  #audio {
    top: 55%;
    width: 60%;
  }

  .Fondo {
    background-position: center;
    max-width: 100%;
    min-height: 70vh;
  }
/* ----------- Texto de bienvenida ----*/
  .texto {
    padding: 40px 20px;
  }

  .texto-content {
    max-width: 100%;
  }

  .texto-content .texto-text p {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    font-weight: 600;
  }
/* ----------- Seccion Sembrar -----------*/
 .sembrar-content {
    flex-direction: column;
    text-align: center;
  }

  .bloques-contenido {
    flex-direction: column;
    align-items: center;
  }

/* ----------- Frases -----------*/

  .Frases {
    padding: 3rem 1rem;
  }

  .frases-cont h2 {
    font-size: 20px;
  }
  .frases-cont label {
    font-size: 16px;
  }
/* ----------- Seccion Horarios -----------*/
  .horarios {
    padding: 20px 10px;
  }

  .horarios-content {
    width: 90%;
  }

  .horarios-text {
    padding: 20px 15px;
    border-radius: 10px;
  }

  .horarios-text h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .horarios-text p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  /* ----------- Seccion Ubicacion -----------*/
   .ubicacion-content {
    flex-direction: column;
  }

/* ----------- Seccion Like -----------*/
.like-section {
    padding: 20px 12px;
  }
.like-container {
    padding: 30px 10px;
    max-width: 100%;
    width: 100%;
  }

  .like-container p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .btn-like {
    padding: 10px 20px;
    font-size: 14px;
    gap: 6px;
  }

  .btn-like i {
    font-size: 18px;
  }

  #contador-likes {
    font-size: 14px;
    margin-top: 10px;
  }
/* ----------- Seccion Contactos -----------*/
.contactos-seccion {
    padding: 20px 10px;
  }
  .contactos-content {
    width: 100%;
    padding-bottom: 30px;
  }

.contactos-text h2 {
    font-size: 24px;
    padding: 20px 10px;
  }

  .imagenes-con {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
  }

  .contactos-1 {
    max-width: 100%;
    width: 80%;
    padding: 15px;
    margin: 10px 0;
  }

  .contactos-iconos {
    max-width: 100%;
    width: 2rem;
    align-content: center;
    height: auto;
    margin-bottom: 10px;
  }

  .contactos-iconos .correo {
    width: 40px;
    height: 40px;
  }

  .contactos-1 h3 {
    font-size: 14px;
    line-height: 1.4;
  }
  /* ----------- Footer -----------*/
  .footer {
    padding: 10px 5px;
    font-size: 14px;
    margin-bottom: 2px;
  }
  .footer-visitas {
    font-size: 14px;
    padding: 5px;
  }

  /* ----------- MENU DESPEJABLE ABIERTO -----------*/
  .sidenav {
    width: 250px;
    padding-top: 60px;
    background-color: rgba(201, 233, 255, 0.926); 
  }
  .sidenav a {
    padding: 15px 25px;
    font-size: 18px;
    display: block;
    color: #000;
    border-radius: 5px;
    margin-bottom: 5px;
  }
  .sidenav a:hover {
    background-color: #4684bdd5;
    color: #fff;
  }

  /* Evitar que el main se mueva en móvil */
  #main {
    margin-left: 0 !important;
  }

  #iniciotexto,
  #audio {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

