/*
Theme Name: Moli Estany
Description: Tema personalizado creado desde cero usando Tailwind CSS
Author: Moli Estany
Version: 1.0.0
Text Domain: mi-tema-tailwind
*/

@font-face {
    font-family: 'AthenaLight';
    src: url('https://elmolidelestany.com/wp-content/uploads/2025/08/athena_light.ttf') format('truetype');
    font-weight: normal;
font-style: normal;
}

@font-face {
    font-family: 'area_font';
    src: url('https://elmolidelestany.com/wp-content/uploads/2025/09/Area_Normal_Thin.otf') format("opentype");
    font-weight: 100;
	font-style: normal;
}

@font-face {
    font-family: 'area_font';
    src: url('https://elmolidelestany.com/wp-content/uploads/2025/09/Area_Normal_Regular.otf') format("opentype");
    font-weight: 400;
	font-style: normal;
}

@font-face {
    font-family: 'area_font';
    src: url('https://elmolidelestany.com/wp-content/uploads/2025/09/Area_Normal_ExtraBold.otf') format("opentype");
    font-weight: 800;
	font-style: normal;
}

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

.area_font, .area_font * {
	font-family: 'area_font', sans-serif;
	
}

/* Estilos personalizados adicionales */
.animate-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mejoras para el menú flotante */
#floating-menu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#floating-menu.translate-x-0 {
    transform: translateX(0);
}

#floating-menu.translate-x-full {
    transform: translateX(-100%);
}

/* Responsive para el menú flotante */
@media (max-width: 768px) {
    #floating-menu {
        width: 100%;
        right: 0;
    }
}

/* Mejoras para el header fijo */
.site-header {
    transition: all 0.3s ease-in-out;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Estilos para el logo personalizado */
.site-branding img {
    transition: all 0.3s ease-in-out;
}

.site-branding img:hover {
    transform: scale(1.05);
}

.site-branding .site-title a {
    transition: color 0.3s ease-in-out;
}

/* Responsive para el logo */
@media (max-width: 768px) {
    .site-branding img {
        max-width: 150px !important;
    }
    
    .site-branding .site-title {
        font-size: 1.5rem;
    }
}

/* Mejoras para la paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination .page-numbers {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
}

.pagination .page-numbers:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

.pagination .current {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.pagination .current:hover {
    background-color: #2563eb;
}

.scroll-indicator:hover {
	color: #28322E !important;
}

.scroll-indicator:hover .border-white {
	border-color: #28322E !important;
}

.swiper-button-prev::after, .swiper-button-next::after,
.swiper-button-prev::before, .swiper-button-next::before {
	content: none !important;
}

.swiper {
	border-radius: 0 !important;
}

.swiper-pagination-bullet {
	background: #fff !important;
}

.full-h-image {
	position: relative;	
}

.full-h-image, .full-h-image * {
	height: 100% !important;
}

.full-h-image * {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	object-fit: cover;
}

:where(.wp-block-columns) {
	margin-bottom: initial !important;	
}

.hero-section .max-w-2xl {
	margin: 0 auto;
}

.home-slider {
	height: 95vh;
}

.home-slider > div, .home-slider .swiper, .home-slider .swiper .swiper-slide > div {
	height: 100% !important;
}

#masthead:hover {
	background: #012453;
}


#masthead:hover #mobile-menu-button {
	color: #000;
}

#masthead:hover .contat-div * {
	color: #000;
}

.zoom-hover img, .gmg-lightbox-trigger img {
  transition: transform 0.6s ease; /* velocidad y suavidad */
  display: inline-block; /* importante para que funcione bien */
}

.zoom-hover:hover img, .gmg-lightbox-trigger:hover img {
  transform: scale(1.2); /* 1.2 = 120% del tamaño original */
}

.gmg-lightbox-trigger {
	display: block;
	height: 100%;
	width: 100%;
	margin-bottom: 1rem;
}

.wp-swiper__overlay-color {
	position: absolute;
    width: 100%;
    height: 100%;
}

.zoom-hover, .gmg-lightbox-trigger {
	overflow: hidden;	
}

.no-spaces-container {
	gap: initial;
}

.hover-width a {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: transparent !important;
	color: transparent !important;
}

.hover-width {
  transition: width 0.4s ease, flex-basis 0.4s ease;
}

.hover-width:hover {
	width: 250px;
	flex-basis: 250px !important;
}

.featured-multi-box .wp-block-cover {
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.featured-multi-box .wp-block-cover__inner-container {
	height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
}

.featured-multi-box .hover-width {
	cursor: pointer;
}

.call-to-action-box .wp-block-cover {
	height: 100%;
}

.footer_slider .wp-swiper {
	height: 85vh;
}

.footer_slider .wp-swiper .wp-swiper__wrapper,
.footer_slider .wp-swiper .wp-swiper__wrapper .swiper-container {
	height: inherit;
}

.footer_slider .wp-swiper .wp-swiper__wrapper .wp-swiper__slide-content {
	position: absolute;
    bottom: 0;
    left: 5%;
    bottom: 5%;
}

.wpcf7-submit {
	background: #28322e;
	color: #FFF !important;
}

.boton_moli a:hover, .wpcf7-submit:hover {
	background: #FFF !important;
	color: #28322e !important;
	border: 1px solid #28322e;
}

.boton_moli a {
	padding: 10px 25px;
}

.wp-swiper {
	position: relative;
}

.swiper-button-next, .swiper-button-prev {
	color: #fff !important;	
}

.pll-switcher-select {
	background: transparent;
    color: white;
	text-transform: uppercase;
}

.call-to-action-box .wp-block-cover__inner-container {
	max-width: 80%;
}

.our-spaces img {
	height: 350px;
	object-fit: cover;
}

.sub-menu {
	padding-left: 20px;
}

.wpcf7 {
	max-width: 650px;
	margin: 0 auto;
}

.wpcf7-form-control {
	border: 1px solid #28322E;
	color: #28322E;
	width: 100%;
	border-radius: 10px;
	padding: 10px 15px;
	margin: 10px 0 15px 0;
}

.wpcf7-checkbox {
	border: none;
	margin: 10px 0 15px 0;
}

#selector-events input[type="checkbox"] {
	display: none;
}

.wpcf7-list-item, .wpcf7-checkbox {
	margin-left: 0;	
	padding-left: 0;
}

.wpcf7-form-control {
	display: grid;
	  grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
	  gap: 20px; /* espacio entre filas y columnas */
}

.wpcf7-list-item {
	border: 1px solid #28322E;
	color: #28322E;
	width: 100%;
	border-radius: 10px; 
	padding: 20px;
	display: flex;
    justify-content: center;
    align-items: center;
	text-align: center;
	cursor: pointer;
}

.wpcf7-list-item label {
	cursor: pointer;
}

.caja-seleccionada {
	background: #28322E;
	color: #FFF;
}

.gmg-modal-overlay::after {
    content: "X";
    color: white;
    font-size: 18px;
    border: 1px solid;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.gmg-masonry img {
	margin-bottom: initial !important;
}

.container {
	padding-left: 2.8rem;
	padding-right: 2.8rem;
}

#colophon img {
	max-width: 250px;
}

#colophon .sub-menu {
	display: none;
}

.social_footer {
	display: flex;
	justify-content: center;
	padding-top: 15px;
}

.social_footer img {
	width: 25px;
}

.social_footer .linkedin-img img {
	width: 35px;
}

.wpcf7-submit {
	margin-bottom: initial !important;	
}

.social_footer .wp-block-image {
	width: fit-content;
	display: flex;
    justify-content: center;
    align-items: center;
}

.wpcf7-spinner {
	display: none;
}

#floating-menu {
	width: 25%;
}

.container-text-custom {
	max-width: 650px !important;
}

.hero-section .scroll-indicator {
	transform: translateX(-50%) !important;
}

.contat-div svg {
	display: none;
}

.contat-div label {
	cursor: pointer;	
}

.footer-legal ul {
	display: flex;
    gap: 20px;
	align-items: center;
}

.leading-tight, p, em, h2, h1, h3 {
	line-height: 1.1;
}


@media (max-width: 781px) {
	.home-slider, .hero-section {
		height: 95dvh !important;
		min-height: 95dvh !important;
	}
	.full-h-image {
		height: 350px !important;
	}
	
	.wpcf7-form-control {
		display: grid;
		grid-template-columns: repeat(2, 1fr); /* 3 columnas iguales */
		gap: 20px; /* espacio entre filas y columnas */
	}
	
	.my-social-icon {
		display: none;
	}
	
	.my-contant {
		font-size: 15px;
	}

	.logo-header {
		width: 220px !important;
        left: 42% !important;
	}
	
	.container {
		padding-left: 7%;
		padding-right: 7%;
	}
	
	.wp_swiper__navigation, .contat-div label {
		display: none;
	}
	
	#floating-menu {
		width: 95%;
	}
	
	.contat-div svg {
		display: initial;
		width: 25px;	
	}
	
	.contat-div svg path {
		fill: white;
	}
	
	:where(.wp-block-columns.is-layout-flex) {
		gap: 0 !important;
	}
	
	.pb-initial, .pb-all-initial * {
		padding-bottom: 0 !important;
	}
	
	.pt-initial, .pt-all-initial * {
		padding-top: 0 !important;
	}
	
	.footer-legal {
		flex-direction: column;
	}
	
	.footer-legal > p {
		order: 1;
	}
}

.CybotCookiebotDialogBodyBottomWrapper {
	padding-top: initial !important;
    margin-top: 5px !important;
    border-top: initial !important;
}

#CybotCookiebotDialogBodyButtonsWrapper button {
	padding: 10px !important;
	border-radius: 9999px !important;
}
.custom-logo {
	width: 55px;
}
.menu-item a {
	color: #FFF;
}


