/*
Theme Name: LaTulipe Child
Theme URI: https://matchthemes.com/premium/latulipe-elegant-restaurant-theme/
Description: Child theme for the LaTulipe theme 
Author: MatchThemes
Author URI:
Version: 1.0
Template: latulipe
*/

/* LOGO */
/*.logo img {
	width: 100%;
}*/

/* HEADER MENU */
.menu-nav li {
	font-weight: 400;
	font-size: 14px;
	/*font-family: 'PT Serif Caption';*/
}
.menu-nav li a:after {
	background: #b2a612;
}
.menu-nav ul li > a:before {
	background: #b2a612;
}

/* SLIDER OPACITY */
.slider-img:before {
	/*background: none;*/
	background: rgb(255 255 255 / 35%);
}
/* SLIDER TEXT */
.post-subtitle {
	color: #154734;
	/*font-size: 14px;*/
} 
.slider-text .display-2 {
	color: #154734;
}
.read-more.moltra-btn {
	color: #154734;
    border: 1px solid #154734;
	/*font-family: Lato;*/
}
.read-more.moltra-btn:hover {
	color: #b2a612;
	background: #154734c9;
}
.read-more.moltra-btn:after {
	background: #154734c9;
}

/* HOME BUTTON */
.el-btn .elementor-button.elementor-size-sm:hover {
	background: rgb(178 166 18 / 45%);
	color: #154734;
}
.el-btn .elementor-button.elementor-size-sm:after {
	background: rgb(178 166 18 / 45%);
	color: #154734;
}

/* HOME PARALLAX */
.elementor-background-overlay {
	/*background-color: rgb(227 234 243 / 30%) !important;*/
}

/* HOME MENÙ */
#tabs-center .menu-tabs li a {
    color: #154734;
	line-height: 1.2;
	font-family: Lato;
	font-size: 14px;
	/*font-weight: 500;*/
}
#tabs-center .menu-tabs li a.active {
    color: #b2a612;
}
#tabs-center .menu-tabs li a:hover {
    color: #b2a612;
}
.menu-title {
	font-size: 18px;
}

/* CAROUSEL HOME*/
.my-custom-carousel .swiper-slide {
    /* Assicurati che l'overlay sia posizionato correttamente */
    position: relative;
    /* Nasconde la parte dell'immagine che esce durante lo zoom */
    overflow: hidden;
}

.my-custom-carousel .swiper-slide img {
    /* Transizione fluida per lo zoom */
    transition: transform 0.3s ease-in-out;
}

.my-custom-carousel .swiper-slide::before {
    /* Crea l'overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Inizialmente trasparente */
    background-color: rgba(0, 0, 0, 0);
    /* Transizione fluida per il colore dell'overlay */
    transition: background-color 0.3s ease-in-out;
    /* Assicurati che l'overlay sia sopra l'immagine ma sotto altri elementi (se presenti) */
    z-index: 1;
}

.my-custom-carousel .swiper-slide:hover img {
    /* Zoom leggero dell'immagine */
    transform: scale(1.05); /* Puoi aumentare o diminuire questo valore */
}

.my-custom-carousel .swiper-slide:hover::before {
    /* L'overlay diventa scuro al passaggio del mouse */
    background-color: rgba(0, 0, 0, 0.3); /* Puoi cambiare l'opacità (0.3) */
	pointer-events: none;
}

/* SINGLE PAGE */
.top-single-bkg:before {
	/*background: none;*/
	background: rgb(227 234 243 / 45%);
}
.single-post-title {
	color: #154734;
}

/* GALLERY */
/* Questo è l'elemento in cui l'effetto hover e l'overlay devono rimanere confinati. */
.my-custom-gallery .gallery-item .gallery-icon {
    display: block;     
    position: relative; 
    overflow: hidden;   /* CRUCIALE: Contiene l'overlay e lo zoom all'interno dell'area visiva dell'immagine */
    height: 100%;       /* Assicura che riempia l'altezza disponibile */
    width: 100%;        /* Assicura che riempia la larghezza disponibile */
    box-sizing: border-box; /* Previene problemi di dimensioni */
}
/* --- 3. L'immagine vera e propria --- */
.my-custom-gallery .gallery-item .gallery-icon img {
    display: block;
    width: 449px;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}
/* --- 4. Creazione dell'Overlay semi-trasparente --- */
.my-custom-gallery .gallery-item .gallery-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.5s ease-in-out;
    z-index: 1;
    pointer-events: none;
}
/* --- 5. Effetti al passaggio del mouse (hover) --- */
.my-custom-gallery .gallery-item .gallery-icon:hover img {
    transform: scale(1.05);
}
.my-custom-gallery .gallery-item .gallery-icon:hover::before {
    background-color: rgba(0, 0, 0, 0.3);
}
/* Annullo il margine sull'ultimo elemento di ogni riga (se 4 colonne) */
.my-custom-gallery .gallery-item:nth-child(4n) { /* Se hai 4 colonne */
    margin-right: 0;
}

/* FORM */
.reserve-holder .comm-field {
	background: #fffbf1;
	color: #154734;
	border-bottom: 1px solid #154734;
}
:placeholder-shown, ::placeholder {
	color: #154734;
}
.comm-field, #msg-contact {
	background: #fffbf1;
	color: #154734;
	border-bottom: 1px solid #154734;
}
.submit:hover, .wpcf7-submit:hover {
	color: #154734;
} 

/* PAG MENÙ */
.elementor-divider {
	--divider-color: #b2a612;
}

/* BLOG */
.meta-date-all {
	color: #b2a612;
}
.wp-block-search .wp-block-search__button {
	background-color: #b2a612;
	color: #154734;
	font-family: 'PT Serif Caption';
}

/* SCROLLUP */
.scrollup {
	left: 20px;
}

/* MOBILE MENU */
.my-nav-mobile .nav-button {
	border-color: #154734;
}
.my-nav-mobile .nav-button:hover {
	border-color: #b2a612;
}
.my-nav-mobile .nav-button .menu-bar {
	background: #154734;
}
.my-nav-mobile .nav-button:hover .menu-bar {
	background: #b2a612;
}
.menu-mask {
	background-color: #fffbf1;
}
.menu-contact .social-media li a {
	color: #b2a612;
}
.nav-button, .exit-mobile {
	border-color: #154734;
}
.exit-mobile .menu-bar {
	background: #154734;
}