body {
  margin: 0;
  padding: 0;
}

.navbar {
  margin: 0;       
  padding: 0;      
}

/************************/
/*     NAVBAR     */
/************************/
.navbar-custom {
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;

  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  
  background-color: #0000009a; /* mismo fondo claro */
  color: #000000;
  -webkit-text-stroke: 0px;       /* sin contorno */
}

.navbar-custom .nav-link:hover {
  color: #ffbd50;                 /* 👈 amarillo */
}
.navbar-custom.scrolled .nav-link:hover {
  color: #ffbd50;                 /* sigue siendo amarillo */
}
/* Fondo blanco al hacer scroll */
.navbar-custom.scrolled {
  background-color: #FFFBF2;      /* opcional, se ve más limpio */
  color: #000000;                 /* 👈 negras */
}


.navbar-custom .nav-link {
  color: #ffffff;
  transition: color 0.3s ease;
}

.navbar-custom.scrolled .nav-link {
  color: #000000;
}


/************************/
/*     FONDO DE FRIDAMAR     */
/************************/
.hero-section {
  height: 80vh;
  background: url('../images/header-background.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}

.logo-eventos {
  max-width: 290px;
  border-radius: 20px; /* prueba 12px, 16px o 24px */
  margin-top: 300px;
}




/************************/
/*     SECCIONES     */
/************************/
.section {
  padding: 80px 0;
}

.front-image-wrapper {
  display: flex;
  justify-content: center;
}

.front-image {
  max-width: 600px;      /* tamaño en desktop */
  width: 100%;
  border-radius: 20px;   /* esquinas elegantes */
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  object-fit: cover;
  margin-top: 90px;
}

/* Ajuste fino en celular */
@media (max-width: 768px) {
  .front-image {
    max-width: 90%;
    border-radius: 15px;
  }
}



/************************/
/*     QUIENES SOMOS     */
/************************/
.about-box {
  background-color: #ffbd50;
  border-radius: 100px;
  padding: 90px 90px;
  margin-top: 90px;
}

.about-title {
  font-weight: 700;
  margin-bottom: 20px;
}

/* 1. Importar en la cabecera de tu CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* 2. Aplicar a tu clase */
.about-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 300; /* El peso 300 la hace ver muy elegante y suave */
  line-height: 1.7;
  color: #000000;   /* Un gris oscuro es más suave visualmente que el negro puro */
}

.about-image {
  border-radius: 20px;
  max-height: 320px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-box {
    padding: 35px 25px;
    text-align: center;
  }

  .about-text {
    text-align: left;
  }
}


/************************/
/*     CARRUSEL     */
/************************/
.carousel {
  width: 100%;
  overflow: hidden;
  background: white; /* O tu color de fondo */
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  width: max-content; /* Se ajusta al contenido real */
  animation: scroll 20s linear infinite; /* Aumenté el tiempo para más suavidad */
}

.carousel-track img {
  width: 220px; /* Tamaño consistente */
  height: auto;
  margin-right: 40px; /* Espacio uniforme */
  flex-shrink: 0;
}

/* La clave: mover exactamente la mitad del contenedor */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Ajustes para Celulares */
@media (max-width: 600px) {
  .carousel-track img {
    width: 220px; /* Imágenes un poco más pequeñas en móvil */
    margin-right: 20px;
  }
}




/* CONTENEDOR DEL LIGHTBOX */
.glightbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMAGEN ABIERTA */
.glightbox-container img {
  max-width: 85vw;      /* 👈 controla tamaño */
  max-height: 85vh;     /* 👈 evita que se coma la pantalla */
  border-radius: 20px;  /* 👈 bordes redondos */
  object-fit: contain;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* MÓVIL: aún más pequeña */
@media (max-width: 768px) {
  .glightbox-container img {
    max-width: 92vw;
    max-height: 70vh;
    border-radius: 16px;
  }
}

.glightbox-container img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}


/************************/
/*     HECHO PARA COMPARTIR     */
/************************/

/* Importa esto en la parte superior de tu CSS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500&display=swap');

.section-piscina {
    font-family: 'Montserrat', sans-serif;
    max-width: 700px; /* Limitamos el ancho para que no se extienda demasiado en PC */
    margin: 0 auto;   /* Centra el bloque de texto en la pantalla */
    padding: 20px;
}

.text-destacado {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.basic-1 {
	padding-top: 3.75rem;
	padding-bottom: 3.5rem;
	background-color: #ffbc503f;
}

.img-fluid{
  border-radius: 20px;
  max-height: 320px;
  object-fit: cover;
  align-items: center;
}

/************************/
/*     GALERIA     */
/************************/
.carousel-section {
  padding: 80px 0;
}

.myCarousel {
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

.myCarousel img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;

  /* 🔥 OPTIMIZACIÓN MOBILE */
  will-change: transform;
  transform: translateZ(0);
}
body.glightbox-open {
  overflow: auto !important;
  position: static !important;
}


/* ========== INSTALACIONES ========== */

.instalaciones .media {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.inst-icon {
    width: 60px;          /* tamaño base del icono */
    height: auto;
    margin-right: 20px;
    flex-shrink: 0;
}

.instalaciones h4 {
    margin-bottom: 5px;
}

.instalaciones p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 300; /* El peso 300 la hace ver muy elegante y suave */
  line-height: 1.7;
  color: #000000;   /* Un gris oscuro es más suave visualmente que el negro puro */
}

@media (max-width: 768px) {
    .inst-icon {
        width: 40px;
        margin-right: 15px;
    }
}


/************************/
/*     Instructor     */
/************************/
.instructor-content {
  display: flex;
  align-items: center;
}

.text-container {
  width: 100%;
  text-align: center;
}


@media (max-width: 768px) {
  .text-container {
    text-align: center;
  }
}


.instructor-right .instructor-image {
    order: 2;
    border-radius: 16px;
}

.instructor-image img {
  border-radius: 16%;
  width: 80%;
  height: 600px;

}


@media (max-width: 768px) {
  .instructor-image img {
    width: 240px;
    height: 300px;
    margin: auto;
    display: block;
  }
}

/* ============================= */
/* GOOGLE MAPS */
/* ============================= */

.map-container {
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 260px;   /* ajusta aquí si lo quieres más alto/bajo */
    border: 0;
}



/**********************/
/*   Footer     */
/**********************/
.footer {
    padding-top: 50px;    /* Mantén espacio arriba */
    padding-bottom: 40px;  /* Elimina el espacio de abajo */
    margin-bottom: -100px;   /* Asegura que no haya margen externo */
	background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/header-background2.JPG') center center no-repeat;
	background-size: cover;
  text-align: center;
}



/* Si usas la clase footer-col, revisa que no tenga márgenes */
.footer-col {
    margin-bottom: 0;
}
.footer a { 
	text-decoration: none;
}
.footer h5,
.footer p,
.footer a {
	color: #bbb;
}

.footer .list-unstyled .fas {
	color: #bbb;
	font-size: 0.5rem;
	line-height: 1.375rem;
}

.footer .fab:hover {
	color: #0065fd;
}
.footer .fas:hover {
	color: #fd2600;
}


.footer .row {
  justify-content: center;
}



.footer .footer-col a {
  margin: 0 10px;
  font-size: 22px;
}

/* ===== BOTONES FLOTANTES ===== */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1050;
}

.btn-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .2s ease, opacity .2s ease;
}

.btn-float:hover {
  transform: scale(1.08);
}

/* WhatsApp */
.btn-float.whatsapp {
  background: #25D366;
}

/* Volver arriba */
.btn-float.top {
  background: #b16400;
  opacity: 0;
  pointer-events: none;
}

/* Mostrar botón */
.btn-float.top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile ajuste */
@media (max-width: 768px) {
  .btn-float {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

/*************************/
/*     02. Preloader     */
/*************************/
/* Fondo del preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff; /* Color de fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Asegura que esté por encima de todo */
  transition: opacity 0.5s ease;
}

/* Animación del círculo */
.spinner {
  width: 75px;
  height: 75px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #ffbd50; /* Color principal */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Clase para ocultarlo */
.hidden {
  opacity: 0;
  pointer-events: none;
}
