@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* 

============ PARALLAX ============

.parallax-container {
  position: relative;
  overflow: hidden;
  height: 60vh;
}

.parallax-container .parallax {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.parallax-container .parallax img {
  opacity: 0;
  position: absolute;
  left: 50%;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  transform: translate3d(0, 0, 0);
  transform: translateX(-50%);
}

main {
  overflow: hidden;
}

============ HTML ============

<div class="parallax-container">
  <div class="parallax"><img src="img/imagen.jpg"></div>
</div>

*/

/**********************************************************/
/***************** ACF GOOGLE MAPS ***********************/
/**********************************************************/

.acf-map {
  width: 100%;
  height: 70vh;
  border: #ccc solid 1px;
  margin: 20px 0;
}

@media (max-width: 767px) {
  .acf-map {
    height: 40vh;
  }
}

.acf-map img {
   max-width: inherit !important;
}

/**********************************************************/
/************************* CUSTOM *************************/
/**********************************************************/

body {
  font-family: 'Montserrat', sans-serif;
}

.thumb-post {
  height: 200px;
  object-fit: cover;
}

.vc_images_carousel img {
	width: 100%;
  height: auto;
}

.menu-item a {
  color: #fff !important;
  font-weight: 600;
}

.dropdown-menu .menu-item a{
  color: #000 !important;
}

.color-celeste {
  color: #5DC4E9;
}

.color-celeste::placeholder,
.color-celeste::-webkit-input-placeholder,
.color-celeste:-ms-input-placeholder,
.color-celeste::-ms-input-placeholder { 
  color: #5DC4E9 !important; 
}

.color-amarillo{
  color: #EDC12E;
}

.color-azul{
  color: #086DB5;
}

.color-rojo {
  color: #E22026;
}

.color-naranja {
  color: #EB662B;
}

.color-morado{
  color: #672D90;
}

.btn-azul {
  background-color: #086DB5;
}

.btn-azul:hover{
  background-color: #075D9A;
}

.btn-outline-rojo {
  border-color: #E22026;
  color: #E22026;
}

.btn-outline-rojo:hover {
  background-color: #E22026;
  color: #fff;
}

.cursor-pointer {
  cursor: pointer;
}

.cursos-sin-eventos {
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.icono-facebook {
  color: #3b5998;
}

.icono-twitter-x {
  color: #14171A;
}

.icono-whatsapp {
  color: #25D366;
}

.search-form-custom .input-group input[type="search"] {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.search-form-custom .input-group button {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

/**********************************************************/
/************************* HEADER *************************/
/**********************************************************/

.nav-link {
  transition: text-decoration 0.3s ease;
}

.nav-link:hover {
  text-decoration: underline;
}

.fixed-top {
  top: -40px;
  transform: translateY(40px);
  transition: transform .3s;
  background-color: #ffffff;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .04) !important;
}

.fixed-top .nav-link,
.category .nav-link,
.post-template-single-turismo .nav-link,
.search .nav-link {
  color: #000 !important;
}

.fixed-top p,
.category nav p,
.post-template-single-turismo nav p,
.search nav p {
  color: #086DB5 !important;
}

.mb-1px-negativo {
  margin-bottom: -1px;
}

.dropdown-item.active {
  background-color: #f0f0f0 !important;
}

.nav-link.active {
  text-decoration: underline;
}

@media (max-width: 767px) {
  #navbar_top {
    background: #fff;
    width: 100%;
    z-index: 9999999;
    padding-bottom: 15px;
  }

  #navbar_top .nav-link {
    color: #000 !important;
  }
}


/**********************************************************/
/************************* FONDOS *************************/
/**********************************************************/

.fondo-inicio {
  position: relative;
  background-image: url('../img/banner.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-top: -110px;
}

.fondo-inicio::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.2); /* adjust opacity as needed */
  z-index: 1;
}

.fondo-inicio > * {
  position: relative;
  z-index: 2;
}

.fondo-carreta {
  background-image: url('../img/carreta.png');
  background-size: 30%;
  background-repeat: no-repeat;
}

.fondo-carreta-escazu {
  background-image: url('../img/carreta_logo.png');
  background-size: 20%;
  background-repeat: no-repeat;
}

.bg-azul{
  background-color: #086DB5;
}

.bg-morado{
  background-color: #672D90;
}

.bg-turquesa {
  background-color: #19b3b5;
}

.bg-naranja-light{
  background-color: rgba(235, 102, 43, 0.05);
}

/**********************************************************/
/********************** PAGE GENÉRICO *********************/
/**********************************************************/

.banner-pagina {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: -110px;
  overflow: hidden;
}

.banner-pagina::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.5); /* adjust opacity as needed */
  z-index: 1;
}

.banner-pagina > * {
  position: relative;
  z-index: 2;
}

.titulo-pagina {
  margin-top: 200px;
  margin-bottom: 60px;
}

.page-template-default main .wp-block-image {
  margin-top: 50px;
  margin-bottom: 50px;
}

@media (max-width: 767px) {
  .page-template-default main .wp-block-image {
    margin-top: 25px;
    margin-bottom: 25px;
  }
}

.page-template-default .wp-block-heading {
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-template-default .wp-block-button {
  margin-top: 30px;
  margin-bottom: 30px;
}

.qr {
  text-align: center;
}

.qr img{
  width: 150px;
  height: 150px;
}

.page-template-default iframe {
  width: 100%;
  height: 75vh;
}

/**********************************************************/
/************************ CARROUSEL ***********************/
/**********************************************************/


#catCarousel .carousel-indicators {
  margin: 0;
  justify-content: center;
  gap: 8px;
}

#catCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #E22026;
  opacity: 1;
  border: none;
  padding: 0;
  transition: all 0.3s ease;
}

#catCarousel .carousel-indicators button.active {
  width: 40px;
  border-radius: 6px;
}

/**********************************************************/
/*********************** FOOTER ***************************/
/***********************************************************/

.cerros {
  position: relative;
}

.bruja {
  position: absolute;
  -webkit-animation: linea infinite;
  -webkit-animation-name: run;
  -webkit-animation-duration: 30s;
}

@-webkit-keyframes run {
  0% {
    left: -10%;
  }

  100% { 
    left: 100%;
  }
}

/**********************************************************/
/************************* ARCHIVE *************************/
/**********************************************************/

.filtro-categorias a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: text-decoration 0.3s ease;
}

.filtro-categorias a:hover {
  text-decoration: underline;
}

.archive-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

.archive-pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
  align-items: center;
}

.archive-pagination li {
  margin: 0;
}

.archive-pagination a,
.archive-pagination .current {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.archive-pagination .current {
  background-color: #086DB5;
  color: #fff;
}

.archive-pagination a:hover {
  background-color: #e8f0f9;
}

.archive-pagination .dots {
  border: none;
  background: none;
  cursor: default;
}

.post-template-single-turismo .wp-block-heading {
  color: #086DB5;
  font-weight: bold;
  font-size: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.post-template-single-turismo .wp-block-separator {
  margin-top: 35px;
  margin-bottom: 20px;
  border-top: 1px solid #333;
}

.post-template-single-turismo .fondo-carreta-escazu {
  background-position: left 25%;
  background-size: 25%;
}

.links-entradas div {
  width: fit-content;
  display: inline-block;
}

.post-template-single-turismo .wp-block-post-featured-image {
  margin-bottom: 50px
}

/**********************************************************/
/***************** ANIMACIONES Y EFECTOS ******************/
/**********************************************************/

.floating-animation {
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes floating {
  0%, 100% { transform: translate(0, 0px); }
  50%      { transform: translate(0, -10px); }
}

.overlay-oscuro {
  -webkit-filter: brightness(0.75) !important;
  filter: brightness(0.75) !important;
  transition: all .3s ease !important;
}

/* Contenedor de la imagen con overflow hidden para el zoom */
.vintage-hover-container {
  position: relative;
  overflow: hidden;
}

/* Para círculos */
.vintage-hover-container.rounded-circle {
  border-radius: 50% !important;
}

/* Para cuadrados con bordes redondeados (opcional) */
.vintage-hover-container.rounded {
  border-radius: 8px !important;
}

/* Imagen con efectos de transición */
.vintage-hover {
  transition: all 0.5s ease;
  filter: grayscale(0%) sepia(0%) contrast(100%) brightness(100%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Viñeta que aparece en hover */
.vintage-hover-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 100px rgba(0,0,0,0);
  transition: all 0.5s ease;
  pointer-events: none;
  border-radius: inherit;
}

/* Efectos al hacer hover */
.vintage-hover-container:hover .vintage-hover {
  transform: scale(1.2);
  filter: grayscale(20%) sepia(60%) contrast(110%) brightness(95%);
}

.vintage-hover-container:hover::after {
  box-shadow: inset 0 0 80px rgba(50,30,10,0.6);
}


/* Efecto de sombra y elevación en hover */
.hover-sombra {
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hover-sombra:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}