/* GRID 4 colonne responsive */
.gallery-grid{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* responsive */
@media (max-width: 1200px){
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .gallery-grid{ grid-template-columns: 1fr; }
}

.gallery-item a{
  display:block;
  width:100%;
  border-radius: 0px;
  overflow:hidden;
  background: #f2f2f2;
  position: relative;
}

/* Foto tutte UGUALI: stessa "finestra" per ogni immagine */
.gallery-item img{
  width:100%;
  aspect-ratio: 4 / 3;     /* cambia qui se vuoi 1:1 o 3:2 */
  height:auto;             /* ok con aspect-ratio */
  object-fit: cover;       /* crop elegante */
  display:block;
  transition: transform .25s ease, filter .25s ease;
}

.gallery-item a:hover img{
  transform: scale(1.03);
  filter: brightness(0.95);
}




.search-box {
  background-color: #f3f2e1 !important;
}


.pt-md {
	padding-top: 115px !important;
}

.pb-s {
	padding-bottom: 115px !important;
}

.pb-xs {
	padding-bottom: 50px !important;
}

.no-padding { 
	padding: 0px !important;
}

.navbar .logo a img, .footer .logo a img {
	height: 100px;
}

.side-widget .logo img {
	height: 90px;
}

.navbar .custom-menu, .navbar .site-menu, .navbar .search {
	padding-top: 20px;
}

.navbar .hamburger {
	padding-top: 10px;
}

.menu-pack-box figure {
	padding-bottom: 0px !important;
}

.menu-pack-box figure img {
	opacity: 1;
}

.menu-pack-box:hover figure img {
	opacity: 0.6;
}

.menu-pack-box-nomargin figure {
	padding-bottom: 0px !important;
}

.menu-pack-box-nomargin figure img {
	opacity: 1;
}

.menu-pack-box-nomargin:hover figure img {
	opacity: 0.6;
}

.menu-pack-box-nomargin .content ul {
	margin-bottom: 0px !important;
}

ul.breadcrumb-nav li {
	list-style-type: square ;
    float:left; 
}

ul.breadcrumb-nav li a {
    color: #FFF;
    margin: 0px 30px 0 0; 
}


.instagram-feed:before {
	background-image: url("../images/fiore2.jpg") center #131313;
	background-position: center 0;
}

.footer {
	background: url("../images/fiore.jpg") center #131313;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center 0;
	padding-top: 40px;
/* 	margin-top: 60px; */
}

.testoro {
	color: #c58f59;
}

.tab-dishes .content {
	width: 100%;
}

.page-header {
	background-image: url("../images/05.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 45% 0px !important;
/*
	height: 650px;
	-webkit-filter: brightness(100%);
*/
}

.daterangepicker td.disabled, .daterangepicker option.disabled {
    background-color: rgba(255, 0, 0, 0.70) !important;
    color: #FFF !important;
}


/* FORM ELEMENTS */
input[type="text"], input[type="email"], input[type="search"], input[type="password"], input[type="date"], input[type="time"]   {
  width: 100%;
  max-width: 100%;
  height: 40px;
  border: 1px solid #e8e8e8;
  padding: 0px 10px;
  margin: 10px 0px;
}

input[type="submit"], input[type="button"], button[type="button"], button[type="submit"] {
  height: 58px;
  border: none;
  background: #c58f59;
  color: #131313;
  font-weight: 800;
  font-size: 15px;
  padding: 0 50px;
  letter-spacing: 1px; }

#phone {
  width: 100%;
  max-width: 100%;
  height: 40px;
  border: 1px solid #e8e8e8;
  padding: 0px 11px;
  margin: 10px 0px;    
}

textarea {
  width: 100%;
  height: 128px;
  border: 1px solid #e8e8e8;
  padding: 10px 11px; 
}

select {
  width: 420px;
  height: 40px;
  border: 1px solid #e8e8e8;
  padding: 0 25px;
  background: #fff; 
}

::placeholder {
	-webkit-text-security: none;
	color: #9d9d9d;
	pointer-events: none;
}


.reservation-form {
  padding: 50px;
}
  
.reservation-form h3{
    font-size: 50px;
    font-family: Architectural;
    margin-bottom: 20px; 
}

.page-header-piscina {
	width: 100%;
	height: 540px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	background-image: url("../images/piscina_background.jpg");
	background-color: #131313;
	background-size: cover; }
	
	.page-header-piscina .container {
   		 position: relative;
   		 color: #fff;
   		 padding-top: 90px; }
		
		.page-header-piscina .container h1 {
			font-size: 110px;
			font-family: Architectural; }
			
		.page-header-piscina .container h6 {
      width: 100%;
      display: block;
      margin: 0;
      font-size: 20px; }

.page-header-contatti {
	background-image: url("../images/05.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	height: 400px;
	-webkit-filter: brightness(100%);
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center; }
    .page-header-contatti .container {
   		 position: relative;
   		 color: #fff;
   		 padding-top: 90px; }
		
		.page-header-contatti .container h1 {
			font-size: 110px;
			font-family: Architectural; }
			
		.page-header-contatti .container h6 {
      width: 100%;
      display: block;
      margin: 0;
      font-size: 20px; }

.col-12:last-child .side-image-menu-list {
	margin-bottom: 400px;
}

input[type="submit"], input[type="button"], button[type="button"], button[type="submit"] {
	color: white;
	font-weight: 500;
}

.page-header .container {
	padding-top: 280px;
}

.recent-post {
	margin-bottom: 30px;}

.recent-post .content {
	padding: 40px;
}

.recent-post .content h3 {
	margin-bottom: 0px;
}

.delivery-form textarea {
	border: none;
	height: 200px;
}

.datepicker-panel>ul>li.highlighted {
	background-color: white;
}
.datepicker-panel>ul>li.picked {
	color: white;
	background-color: #c58f59;
}

.datepicker-panel>ul>li.picked:hover {
	color: $color-light;
}

.whitegold {
	color: #fff !important;
	transition: .3s;
}

.whitegold:hover {
	color: #c58f59 !important;
	transition: .2s;
}

/* RESERVATION FORM */

.reservation-form .form-group select {
      width:45% !important;
}
.content-section {
	padding: 40px 0px 20px 0px;
    margin-bottom: 30px !important;
}
.form-group {
  margin-bottom: 0.5rem;
}

.navbar,
.navbar.sticky {
	
	    background-image: linear-gradient(180deg, rgba(0,0,0, 0.1), rgba(0, 0, 0, .2)) !important;
/*
  filter: blur(8px);
  -webkit-filter: blur(8px);
*/

}
.navbar.sticky {
    background-color: #e3a977; 
}

.hide, .hidden {
	display: none !important;
}


.sottotitolo-stagione {font-size: 18px; }
.nome-appartamento {font-weight: 600;}
.descrizione-appartamento {font-size: 14px;	}
.importo {font-size: 15px;	}
.menu-list ul li p { font-size: 17px; }
	
	

/* ====== MENU-MOBILE ====== */
@media (max-width:575px) {
	
	.contact-box{ padding-top: 30px;}
	
	.sottotitolo-stagione {font-size: 16px; font-weight: 600;}
	.nome-appartamento {font-weight: 600; font-size: 18px;}
	.descrizione-appartamento {font-size: 12px;	}
	.importo {font-size: 13px;	}
	.menu-list ul li p { font-size: 16px; }
	
	.daterangepicker {
        width: 100% !important;
        height: 100% !important;
        position: fixed !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        top: 0 !important;
        left: 0 !important;
        overflow:scroll !important;
    }
    .daterangepicker .calendar-table th, 
    .daterangepicker .calendar-table td {
		font-size: 15px;
	}	
	.daterangepicker .drp-calendar {
		max-width: 100%  !important;
	}
	header .nav-container.breakpoint-on .nav-menu {
		width: 325px;
	}
	
}



/* per la gallery */



.gallery-grid{
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  gap: 12px;

  /* 2 col su mobile, 3 su tablet, 4 su desktop */
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 576px){
  .gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px){
  .gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* IMPORTANTISSIMO per Chrome: min-width:0 e overflow hidden */
.gallery-item{
  min-width: 0;
}

.gallery-link{
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;   /* opzionale */
}

/* Evita “buchi” e allineamenti strani tra browser */
.gallery-img{
  display: block;
  width: 100%;
  height: auto;

  /* Mantiene tutte le celle uniformi */
  aspect-ratio: 4 / 3;
  object-fit: cover;

  /* micro fix rendering */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Fallback per browser che non supportano aspect-ratio */
@supports not (aspect-ratio: 4 / 3){
  .gallery-link{
    position: relative;
  }
  .gallery-link::before{
    content: "";
    display: block;
    padding-top: 75%; /* 4:3 */
  }
  .gallery-img{
    position: absolute;
    inset: 0;
    height: 100%;
  }
}




/* Altezza certa: fondamentale per evitare calcoli strani su Firefox */
.swiper,
.swiper-wrapper,
.swiper-slide {
  height: 100vh;          /* oppure una tua altezza fissa */
}

.slide-inner {
  height: 100%;
  min-height: 100vh;      /* se preferisci, puoi usare solo min-height */
}

/* Background crossbrowser */
.bg-image {
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Se usi overlay o trasformazioni, evita “stretch” imprevisti */
.swiper-slide,
.slide-inner {
  overflow: hidden;
}
