/* Transparente por defecto
  #mainNav {
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
  }
  */

  /* Fondo visible al hacer scroll
  #mainNav.scrolled {
    background-color: #f8f9fa;
  }
  */

.navbar-toggler {
  border: none !important; /* opcional, para que no se vea el borde */
}

.lg_tay {
  display: block;
  width: 80px;
  margin: 30px auto 5px;
}

.btn-whatsapp {
  position: fixed;
  z-index: 999;
  bottom: 10px;
  right: 10px;
  padding: 0;
}

#menuFS a {
  color: #fff;
  text-decoration: none;
}

#menuFS a:hover {
  color: #fff;
  opacity: .5;
  text-decoration: none;
}

#menuFS .btn-close {
  --bs-btn-close-color: #fff;
  --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
  --bs-btn-close-opacity: 1;
  --bs-btn-close-hover-opacity: 0.75;
  --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  --bs-btn-close-focus-opacity: 1;
  --bs-btn-close-disabled-opacity: 0.25;
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.35em 0.35em;
  color: #fff;
  background: transparent var(--bs-btn-close-bg) center/1.5em auto no-repeat;
  filter: var(--bs-btn-close-filter);
  border: 0;
  border-radius: 0.375rem;
  opacity: var(--bs-btn-close-opacity);
}

#menuFS .bg_menuFS  {
  background-image: url(../img/bg_menu.webp);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
}

footer {
  font-size: .9rem;
  background-image: url(../img/bg_footer.webp);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: contain;
  padding-bottom: 150px;
}

footer li, .offcanvas li {
  margin-bottom: .25rem
}

footer a {
    text-decoration: none;
}

@media (min-width:767px) {
  footer {
    background-image: url(../img/bg_footer-desktop.webp);
    padding-bottom: 250px;
  }
}

.bg-img-1 {
  background: linear-gradient(to bottom, rgba(18, 50, 91, 0.9) 0%, rgba(7, 20, 37, 0.9) 100%), url("../img/bg-img-1.webp");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}


#swiper-style .swiper {
  position: relative;
}

#swiper-style .swiper-promos, #swiper-style .swiper-rooms {
  padding-bottom: 80px
}

#swiper-style .swiper-slide {
  display: flex;
  justify-content: center;
}

/* Paginación */
#swiper-style .swiper-pagination {
  bottom: -10px;
  text-align: center;
}

#swiper-style .swiper-pagination-bullet {
  width: auto;
  height: auto;
  padding: 8px 16px;
  border-radius: 0;
  background: transparent;
  color: rgba(18, 50, 91, .5);
  opacity: 1;
  transition: background 0.3s;
  font-weight: 700;
  font-size: 1rem;
}

#swiper-style  .swiper-pagination-bullet-active {
  background: transparent;
  color: rgba(18, 50, 91, 1);
}


#swiper-style .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, #swiper-style .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
}

#swiper-style .swiper-button-next, #swiper-style .swiper-button-prev {
    position: absolute;
    top: var(--swiper-navigation-top-offset, 50%);
    width: calc(var(--swiper-navigation-size) / 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

input[type="date"] {
  position: relative;
  color-scheme: light; /* evita el modo oscuro forzado en el ícono nativo */
}

/* Ocultamos el ícono por defecto */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

/* Agregamos nuestro propio ícono */
input[type="date"]::after {
  font-family: "bootstrap-icons";
  content: "\f214"; /* código del ícono de calendario */
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #12325B; /* Color que quieras */
  font-size: 18px;
}


#casachica {}

#galeria {}

#rooms {
  height: auto;
}

#ubicacion {}

#map {
  width: 100%;
  height: 550px;
}

#map .capa-anti-eventos {
  width: 95%;
  height: 250px;
  position: absolute;
  cursor: pointer;
}

.map-content {
  position: relative;
  width:100%;
  background-color: rgba(18, 50, 91, 1)
}

#promociones {
  height: auto;
}

#curado {
  height: auto;
  background-color: rgba(195, 143, 56, 1)
}

@media (min-width: 767px) {
  #casachica {}
  #rooms {
    height: 100%;
  }
  #ubicacion {}
  #map {
    height: 600px
  }
  #map .capa-anti-eventos {
    width: 100%;
    height: 100vh;
    position: absolute;
    cursor: pointer;
  }
  .map-content {
    position: absolute;
    width: 37%;
    bottom: 0;
    right: 0;
    background-color: rgba(18, 50, 91, 1)
  }
  #promociones {
    height: 100%;
  }
  #curado {
    height: 100%;
  }
}

/* Carousel image sizing - full-bleed but maintain aspect ratio */
.gallery-fs .carousel-item img{
  width:100%;
  height:calc(100vh); /* leave space for controls on mobile */
  object-fit:contain;
  /*background: rgba(18, 50, 91, 1);*/
}

/* Caption overlay */
.gallery-fs .carousel-caption {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%);
  left:0; right:0; bottom:0; padding:1rem;
}

/* ==========================
   Forzar animaciones en todo el sitio
   Ignora prefers-reduced-motion de Bootstrap 5.3+
   ========================== */

@media (prefers-reduced-motion: reduce) {
  /* Offcanvas */
  .offcanvas {
    transition: transform 0.2s ease-in-out !important;
  }

  /* Modal fade */
  .modal.fade .modal-dialog {
    transition: transform 0.2s ease-out, opacity 0.2s linear !important;
  }

  /* Collapse */
  .collapse {
    transition: height 0.25s ease !important;
  }

  /* Fade genérico */
  .fade {
    transition: opacity 0.15s linear !important;
  }
}

/* Fuerza animaciones del Carousel ignorando prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .carousel,
  .carousel-item,
  .carousel-fade .carousel-item {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out !important;
  }
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
