/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/*---INDICE---
0-Variables generales
1-Titulos
2-Textos
3-Botones
4-Header
5-Footer
6-Distancias
7-Secciones
8-Responsive
*/


/* 0 - VARIABLES GENERALES */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Trirong:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
	--color-blanco: #ffffff;
	--color-azul: #182840;
	--color-crema: #F3E9D7;
	--fuente-textos: "Jost", sans-serif;
	--fuente-titulos: "Trirong", serif;
}

body {
	background-color: var(--color-blanco) !important;
}
/* 1 - TITULOS */
.h1-inicio h1 {
	font-family: var(--fuente-textos) !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	color: var(--color-azul) !important;
	text-transform: uppercase !important;
}
.h1-paginas h1 {
	font-family: var(--fuente-textos) !important;
	font-size: 70px !important;
	font-weight: 500 !important;
	color: var(--color-azul) !important;
	text-transform: uppercase !important;
}
.h2-grande-paginas h2 {
	font-family: var(--fuente-textos) !important;
	font-size: 70px !important;
	font-weight: 500 !important;
	color: var(--color-azul) !important;
	text-transform: uppercase !important;
}

.h2-paginas {
	font-family: var(--fuente-titulos) !important;
	font-size: 30px !important;
	font-weight: 200 !important;
	color: var(--color-azul) !important;
}
.h2-paginas h2 {
	font-family: var(--fuente-titulos) !important;
	font-size: 30px !important;
	font-weight: 200 !important;
	color: var(--color-azul) !important;
}
.h3-paginas-cursiva {
	font-family: var(--fuente-titulos) !important;
	font-size: 30px !important;
	font-weight: 200 !important;
	color: var(--color-azul) !important;
	font-style: italic !important;
}
.h3-paginas-cursiva h3 {
	font-family: var(--fuente-titulos) !important;
	font-size: 30px !important;
	font-weight: 200 !important;
	color: var(--color-azul) !important;
	font-style: italic !important;
}


.h2-inicio h2 {
  display: block !important;
  font-family: var(--fuente-titulos) !important;
  font-size: 70px !important;
  font-weight: 200 !important;
  color: var(--color-azul) !important;
  font-style: normal !important;
  transition: color 0.3s ease;
  will-change: transform, font-style;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0); /* más robusto que Z(0) */
  contain: layout paint style;
  perspective: 1000px; /* ayuda en algunos fallos tipográficos */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.h2-inicio h2:hover {
  font-style: italic !important;
}

.h3-inicio h3 {
	font-family: var(--fuente-titulos) !important;
	font-size: 70px !important;
	font-weight: 100 !important;
	color: var(--color-azul) !important;
}


/* 2 - HEADER */

.elementor-location-header {
	display: flex !important;
	justify-content: center !important;
}

.olleta-header-general {
	border-bottom: 2px solid var(--color-azul) !important;
	width: 1380px !important;
}


/* 2 - HEADER CÓDIGO */


/* Reset básico */

#main-header,
#main-header * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.header-content {
	display: flex !important;
	width: 100% !important;
	justify-content: space-between !important;
	align-items: center !important;
}


/* Header fijo con márgenes laterales de 30px */

#main-header {
	position: fixed;
	top: 0;
	left: 30px;
	/* 30px del borde izquierdo */
	right: 30px;
	/* 30px del borde derecho */
	height: 90px;
	/* altura inicial */
    background: rgba(255,255,255,0);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
	border-bottom: 2px solid var(--color-azul) !important;
	/* quitamos cualquier borde */
	box-shadow: none !important;
	/* quitamos cualquier sombra */
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: left .3s ease, right .3s ease, height .3s ease, background .3s ease, backdrop-filter .3s ease;
	z-index: 1000;
}


/* Logo y botones */

#main-header .logo {
	height: auto !important;
	width: 160px !important;
	transition: opacity .3s ease;
}

#main-header .btn {
	background: transparent;
	font-family: var(--fuente-textos) !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	color: var(--color-azul) !important;
	cursor: pointer !important;
	transition: background .3s ease, color .3s ease;
	text-transform: uppercase !important;
	width: 20% !important;
	display: flex !important;
}

#main-header .btn-derecho {
	background: transparent;
	font-family: var(--fuente-textos) !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	color: var(--color-azul) !important;
	cursor: pointer !important;
	transition: background .3s ease, color .3s ease;
	text-transform: uppercase !important;
	width: 20% !important;
	display: flex !important;
	justify-content: end !important;
}

#main-header .btn-derecho img {
	cursor: pointer !important;
}

#main-header .btn:hover {
	background: transparent;
}

#main-header .btn-derecho:hover {
	background: transparent;
}


/* Estado al hacer scroll */

#main-header.scrolled {
	left: 0;
	/* sin márgenes laterales */
	right: 0;
	height: 50px !important;
	/* altura reducida */
	background: rgba(255, 255, 255, 0.01) !important;
	backdrop-filter: blur(6px) !important;
	-webkit-backdrop-filter: blur(6px) !important;
	border-bottom: 2px solid var(--color-azul) !important;
	padding: 0 30px !important;
}


/* Ocultar logo */

#main-header.scrolled .logo {
	opacity: 0;
}


/* 2.1 - HEADER SECUNDARIO */


/* Reset básico */

#second-header,
#second-header * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


/* Header fijo con márgenes laterales de 30px */

#second-header {
	position: fixed;
	top: 0;
	left: 0;
	padding: 0 30px !important;
	width: 100%;
	height: 60px;
	background: rgba(255, 255, 255, 0.01) !important;
	backdrop-filter: blur(6px) !important;
	-webkit-backdrop-filter: blur(6px) !important;
	border-bottom: 2px solid var(--color-azul) !important;
	/* quitamos cualquier borde */
	box-shadow: none !important;
	/* quitamos cualquier sombra */
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: left .3s ease, right .3s ease, height .3s ease, background .3s ease, backdrop-filter .3s ease;
	z-index: 1000;
}


/* Logo y botones */

#second-header .logo {
	height: auto !important;
	width: 140px !important;
	transition: opacity .3s ease;
	margin-bottom: -8px;
}

#second-header .btn {
	background: transparent;
	font-family: var(--fuente-textos) !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	color: var(--color-azul) !important;
	cursor: pointer !important;
	transition: background .3s ease, color .3s ease;
	text-transform: uppercase !important;
	width: 20% !important;
	display: flex !important;
}

#second-header .btn-derecho {
	background: transparent;
	font-family: var(--fuente-textos) !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	color: var(--color-azul) !important;
	cursor: pointer !important;
	transition: background .3s ease, color .3s ease;
	text-transform: uppercase !important;
	width: 20% !important;
	display: flex !important;
	justify-content: end !important;
}

#second-header .btn-derecho img {
	cursor: pointer !important;
}

#second-header .btn:hover {
	background: transparent;
}

#second-header .btn-derecho:hover {
	background: transparent;
}

#second-header.scrolled {
	left: 0;
	/* sin márgenes laterales */
	right: 0;
	height: 50px !important;
	/* altura reducida */
}


/* Ocultar logo */

#second-header.scrolled .logo {
	opacity: 0;
}


/* 3 - TEXTOS */

.textos p {
	font-family: var(--fuente-textos) !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	color: var(--color-azul) !important;
}
.textos-crema p {
	font-family: var(--fuente-textos) !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	color: var(--color-crema) !important;
}

.textos-b p {
	font-family: var(--fuente-titulos) !important;
	font-size: 22px !important;
	font-weight: 200 !important;
	color: var(--color-azul) !important;
	line-height: 120% !important;
}


/* 4 - SECCIONES */
.fondo {
	background-color: var(--color-blanco) !important;
}
.contenedor-inicial-b {
	height: 40vh !important;
}

.contenedor-inicial {
	height: 100vh !important;
}

.imagen-horizontal img {
	height: 60vh !important;
	width: 100% !important;
	object-fit: cover !important;
}

.imagen-horizontal-historia img {
	height: 60vh !important;
	width: 100% !important;
	object-fit: cover !important;
}

.imagen-vertical img {
	height: 100vh !important;
	width: 100% !important;
	object-fit: cover !important;
}

.olleta-menu a {
  font-family: var(--fuente-titulos) !important;
  font-size: 45px !important;
  font-weight: 200 !important;
  color: var(--color-azul) !important;
  font-style: normal !important;

  display: block !important;
  line-height: 1.2 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;

  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  transition: none !important;
  will-change: transform, font-style;
}

.olleta-menu a:hover {
  font-style: italic !important;
}

/* Reducción real del espacio vertical */
.olleta-menu .elementor-nav-menu--main {
  row-gap: 10px !important;
  align-items: flex-start !important;
}

.olleta-menu .elementor-nav-menu--main > li {
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.fondo-azul {
	background-color: var(--color-azul) !important;
}

.altura-completa {
	height: 100vh !important;
}

.imagen-mitad img {
	height: 100% !important;
	object-fit: cover !important;
}
.fondo-menu {
	background-color: var(--color-crema) !important;
}
.e-gallery-item:hover .elementor-gallery-item__overlay {
    /*background-color: rgba(24, 40, 64, 0.5) !important;*/
	background-color: rgba(243, 233, 215, 0.5) !important;
}

/*Preloader*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.1s ease;
}
#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader__animation {
  width: 200px;
  height: 200px;
}


/* 5 - BOTONES */

/* 1) Base del <h3> sin text-decoration, con espacio para icono */
.boton-azul h3 {
  font-family: var(--fuente-titulos) !important;
  font-size: 28px !important;
  font-weight: 200 !important;
  color: var(--color-azul) !important;
  text-decoration: none;
  position: relative;
  display: inline-block;
	padding-bottom: 5px !important;
  padding-right: 30px;  /* espacio para el SVG */
}

/* 2) Pseudo-elemento ::before: línea 100% visible por defecto */
.boton-azul h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-azul);
}

/* — Ajustes en tu CSS existente — */
#reservation-button {
  background: rgba(255, 255, 255, 0.01) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  color: var(--color-azul);
  padding: 7px 20px 6px 20px;
  border-radius: 15px;
	border: 2px solid var(--color-azul);
  text-decoration: none;
  font-size: 20px;
  font-family: var(--fuente-textos);
  text-transform: uppercase;
  font-weight: 400;
  z-index: 9999;
}
#reservation-button:hover {
  background: var(--color-azul) !important;
  color: var(--color-crema);
}


/* 3) Definimos la animación: de 100% → 0 → 100% */
@keyframes underline-replay {
  0%   { width: 100%; }
  50%  { width:   0; }
  100% { width: 100%; }
}

/* 4) Al hover lanzamos la animación */
.boton-azul h3:hover::before {
  animation: underline-replay 0.6s ease-in-out forwards;
}

/* 5) El mismo pseudo-elemento ::after para el SVG a la derecha */
.boton-azul h3::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url('https://lolleta.antiestudi.com/wp-content/uploads/2025/05/flecha.svg') no-repeat center center;
  background-size: contain;
}



.boton-menu .elementor-button span {
	font-family: var(--fuente-textos) !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	color: var(--color-azul) !important;
}


/* 6 - DISTANCIAS */

.padding-lateral {
	padding: 0 30px !important;
}

.padding-vertical {
	padding: 30px 0 !important;
}

.padding-general {
	padding: 30px !important;
}

.padding-general-contacto {
	padding: 100px 30px 30px 30px !important;
}


/* 7 - SECCIONES */

.e-gallery--ltr.e-gallery-masonry .e-gallery-item:nth-child(2),
.e-gallery--ltr.e-gallery-masonry .e-gallery-item:nth-child(5) {
	margin-top: 50px !important;
}

/*Eventos pasados*/
/* Contenedor general */
.eventos-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.evento-item {
  display: flex;
  align-items: bottom;  
}

.evento-poster img {
  width: 300px;
  height: auto;
  display: block;
}

.evento-info {
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin-left: 30px; 
}
/*Conmutador idiomas*/
.cpel-switcher__name {
    padding-left:0px !important;
}
.cpel-switcher__lang--active a{
	text-decoration: underline !important;
}
.cpel-switcher__nav a {
	font-family: var(--fuente-textos) !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	color: var(--color-azul) !important;
	line-height: 25px !important
}

/* 8 - FOOTER */
.texto-footer p {
	font-family: var(--fuente-textos) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: var(--color-crema) !important;
	text-transform: uppercase !important;
}
.texto-footer a {
	font-family: var(--fuente-textos) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: var(--color-crema) !important;
	text-transform: uppercase !important;
}

/* MOBILE */

@media only screen and (max-width: 600px) {
	.h2-inicio h2 {
		font-size: 60px !important;
	}
	.h1-paginas h1 {
		font-size: 43px !important;
	}
	.h2-grande-paginas h2 {
		font-size: 43px !important;
	}
	.textos-b p {
		font-size: 20px !important;
	}
	.h3-inicio h3 {
		font-size: 60px !important;
	}
	.imagen-horizontal img {
		height: 62vh !important;
	}
	.imagen-horizontal-historia img {
		height: auto !important;
	}
	.imagen-vertical img {
		height: 62vh !important;
	}
	.contenedor-inicial {
		height: auto !important;
	}
	.padding-lateral {
		padding: 0 15px !important;
	}
	.padding-vertical {
		padding: 15px 0 !important;
	}
	.padding-general {
		padding: 15px !important;
	}
	.contenedor-inicial-b {
		height: auto !important;
	}
#main-header .btn {
	display: none !important;
}
#main-header .logo {
	width: 120px !important;
	margin-bottom: -8px !important;
}
#main-header {
	left: 15px;
	right: 15px;
	height: 75px;
}
#main-header.scrolled {
	padding: 0 15px !important;
}
#second-header {
	padding: 0 15px !important;
	height: 60px;
}
#second-header .btn {
	display: none !important;
}
#second-header .logo {
	width: 120px !important;
	margin-bottom: -8px !important;
}
#second-header.scrolled {
	padding: 0 15px !important;
}
.fondo-menu {
	background-color: var(--color-azul) !important;
}
.olleta-menu a {
  font-size: 45px !important;
  font-weight: 200 !important;
  color: var(--color-crema) !important;
}
.altura-completa {
	height: auto !important;
}
.e-gallery--ltr.e-gallery-masonry .e-gallery-item:nth-child(2),
.e-gallery--ltr.e-gallery-masonry .e-gallery-item:nth-child(5) {
	margin-top: 0px !important;
}


.padding-general-contacto {
	padding: 20px 15px 30px 15px !important;
}
/*Eventos pasados*/
/* Contenedor general */
.eventos-list {
gap: 40px;
}

.evento-item {
	flex-direction: column;
	align-items: bottom; 
}

.evento-poster img {
  width: 100%;
}

.evento-info {
	padding-top: 20px;
	margin-left: 0px; 
	text-align: center;
}
.evento-info h2 {
	margin-bottom: 5px !important;
}
#reservation-button {
  padding: 7px 20px 6px 20px;
  border-radius: 15px;
	border: 2px solid var(--color-azul);
  font-size: 16px;
}
.cpel-switcher__nav a {
color: var(--color-crema) !important;

}
}


/* PANTALLAS > 1440px */

@media only screen and (min-width: 1441px) {
.textos p {
		font-size: 22px !important;
}
.textos-crema p {
	font-size: 22px !important;
}
.h3-inicio h3 {
		font-size: 90px !important;
	}
.textos-b p {
		font-size: 26px !important;
}
.h2-inicio h2 {
		font-size: 80px !important;
	}
.texto-footer p {
	font-size: 16px !important;
}
.texto-footer a {
	font-size: 16px !important;
}
.h1-paginas h1 {
	font-size: 85px !important;
}
.h2-grande-paginas h2 {
	font-size: 85px !important;
}
.imagen-horizontal img {
	height: 65vh !important;
}
.imagen-horizontal-historia img {
	height: 65vh !important;
}
.padding-general-contacto {
	padding: 100px 30px 30px 40px !important;
}
.padding-general {
	padding: 30px 30px 30px 30px !important;
}
	
.preloader__animation {
  width: 250px;
  height: 250px;
}
}

@media only screen and (min-width: 2400px) {
	.h2-inicio h2 {
		font-size: 90px !important;
	}
	.h3-inicio h3 {
		font-size: 100px !important;
	}
.textos p {
	font-size: 26px !important;
}
.textos-crema p {
	font-size: 24px !important;
}

.textos-b p {
	font-size: 28px !important;
}
.h1-paginas h1 {
	font-size: 120px !important;
}
.h2-grande-paginas h2 {
	font-size: 120px !important;
}
.imagen-horizontal img {
	height: 70vh !important;
}
.h2-paginas h2 {
	font-size: 36px !important;
}
.imagen-horizontal-historia img {
	height: 70vh !important;
}
.olleta-menu a {
  font-size: 60px !important;
}
.preloader__animation {
  width: 300px !important;
  height: 300px !important;
}
}

@media only screen and (min-width: 601px) and (max-width: 1200px){
.h2-inicio h2 {
	font-size: 60px !important;
}
.h1-paginas h1 {
	font-size: 55px !important;
}
.textos p {
	font-size: 18px !important;
}
.textos-b p {
	font-size: 20px !important;
}
.h2-paginas h2 {
	font-size: 26px !important;
}

}
@media only screen and (min-width: 601px) and (max-width: 1024px){
.altura-completa {
	height: auto !important;
}
	.imagen-horizontal img {
		height: 62vh !important;
	}
	.imagen-horizontal-historia img {
		height: auto !important;
	}
	.imagen-vertical img {
		height: 62vh !important;
	}
	.contenedor-inicial {
		height: auto !important;
	}
	.contenedor-inicial-b {
		height: auto !important;
	}
.evento-poster img {
  width: 250px;
}
	.padding-general-contacto {
	padding: 30px 30px 30px 30px !important;
}
}

