.navbar-wrappers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
}

.navbars {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    background-color: #fff;
}

.menus {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 20px;
    justify-content: end;
    position: absolute;
    top: 10px;
    width: 100%;
    z-index: 3;
}

.menus a,
.menus ul li a {
    color: #f6d287;
    text-decoration: none;
    font-weight: 700;
}

.logos {
    padding: 0 1rem;
    z-index: 1;
    width: 100%;
}

.logos img {
    width: 100%;
    height: auto;
    display: block;
}

.phones {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phones i {
    font-style: normal;
}

.hamburgers {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0px;
    padding: 0 1rem;
    align-items: flex-end;
    flex: 0 1 auto;
}
.hamburgers span {
    width: 25px;
    height: 3px;
    background-color: #f6d287;
}

.mobile-menus {
    display: none;
    flex-direction: column;
    border-top: 1px solid #f6d287;
    padding: 2rem;
    gap: 1rem;
    width: 100%;
    background-color: #fff;
}

.mobile-menus a {
    color: #f6d287;
    text-decoration: none;
    margin: 0.5rem 0;
    font-weight: 700;
    font-size: 3rem;
    padding: 1rem 0;
}

.hide-mobile {
    display: block;
}

.desktop-only {
    display: flex;
}
.mobile-only {
	display: none;
}

.contatti-form {
	flex: 1 1 350px;
	min-width: 320px;
	background-color: rgba(255, 255, 255, 0.05);
	padding: 1.5rem;
	border-radius: 8px;
	backdrop-filter: blur(3px);
}
.contatti-form h3 {
	color: #f5c948;
	margin-bottom: 1rem;
}
.contatti-form label {
	display: block;
	margin-top: 1rem;
	font-weight: bold;
}
.contatti-form input,
.contatti-form textarea {
	width: 100%;
	padding: 0.5rem;
	margin-top: 0.3rem;
	border: none;
	border-radius: 4px;
	font-family: inherit;
}
.contatti-form button {
	margin-top: 1.2rem;
	padding: 0.6rem 1.2rem;
	background-color: #f5c948;
	border: none;
	color: #000;
	font-weight: bold;
	cursor: pointer;
	border-radius: 4px;
	/*transition: background 0.3s ease;*/
}
.contatti-form button:hover {
	background-color: #e0b937;
}

.cookie-consent-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.cookie-box {
	background: #fff;
	padding: 2rem;
	border-radius: 10px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 0 20px rgba(0,0,0,0.3);
	font-family: 'Barlow', sans-serif;
	font-size: 20px;
}

.cookie-box h3 {
	margin-top: 0;
	font-size: 20px;
}

.cookie-options {
	margin: 1rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.cookie-options label {
	font-size: 20px;
}

.cookie-buttons {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.cookie-buttons button {
	padding: 0.5rem 1rem;
	border: none;
	background-color: #f6d287;
	color: #000;
	font-weight: bold;
	font-size: 20px;
	cursor: pointer;
	border-radius: 5px;
	flex: 1;
}

.cookie-buttons button:hover {
	background-color: #eac06d;
}

@media (max-width: 768px) {
  	.desktop-only,
  	.menus,
  	.phones,
  	.navbar-button {
		display: none;
  	}

  	.hamburgers {
		display: flex;
		margin-left: auto;
  	}

  	.mobile-menus.open {
		display: flex;
  	}
  	.mobile-only {
	    display: flex;
  	}

 	.logos {
   	    padding: 0 1rem;
   		flex: 1 1 auto;
		z-index: 999;
		height: 80px;
 		align-items: center;
 	}
 	.logos img {
   	    max-height: 60px;
 		height: auto;
 		width: auto;
 	}
}

#whatsapp-icon {
    position: fixed;
    bottom: 90px;
    left: 10px;
    z-index: 1000;
    background-color: #25D366;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Cookie Button - Compatibile con il tuo CSS esistente */
#reopen-cookie-banner {
    display: none !important; /* Mantiene il controllo del tuo JavaScript */
    position: fixed !important;
    bottom: 10px !important; /* Usa la tua posizione originale */
    left: 10px !important; /* Usa la tua posizione originale */
    z-index: 1000 !important;
    background-color: #f5c948 !important; /* Mantiene il tuo colore originale */
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-size: 20px !important;
    width: 40px !important;
    height: 40px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#reopen-cookie-banner:hover {
    background-color: #f4d03f !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(245, 201, 72, 0.4) !important;
}

/* Supporto per entrambi i tipi di contenuto (emoji e immagine) */
#reopen-cookie-banner img {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover !important;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sliderCookie {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}
.sliderCookie:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .sliderCookie {
    background-color: #f5c948;
}

input:checked + .sliderCookie:before {
    transform: translateX(26px);
}

.cookie-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
    font-weight: bold;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #000;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-size: 18px;
}

.cookie-banner a {
    color: #f5c948;
    text-decoration: underline;
}

.cookie-banner button {
    margin-left: 0.5rem;
    padding: 0.4rem 1rem;
    background: #f5c948;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    font-size: 18px;
}

.cookie-modal-box {
    background: #fff;
    color: #000;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
}

.cookie-modal-buttons {
    margin-top: 1rem;
    text-align: right;
}

.cookie-modal-buttons button {
    margin-left: 0.5rem;
    padding: 0.4rem 1rem;
    background: #f5c948;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.hidden {
    display: none;
}

.map-container {
    position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	max-width: 100%;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.2);
	margin: 2rem auto;
	width: 100%; max-width: 800px; height: 300px; margin: auto;
}
.map-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Aggiungi questo CSS al tuo file mystyle.css o nella sezione <style> */

/* Fix per caroselli mobile - Gallery e Testimonials */
@media (max-width: 768px) {

    /* GALLERY CAROUSEL - Una slide alla volta */
    .projeler .carousel-classes .swiper-wrapper {
        display: flex;
    }

    .projeler .carousel-classes .swiper-slide {
        width: 100% !important;
        min-width: 100% !important;
        flex-shrink: 0;
    }

    /* Se hai impostazioni specifiche per slides per view, sovrascrivile */
    .projeler .carousel-classes .swiper {
        --swiper-slides-per-view: 1 !important;
    }

    /* TESTIMONIALS CAROUSEL - Una slide alla volta */
    .yorumlar-alani-sayfa .carousel-classes .swiper-wrapper {
        display: flex;
    }

    .yorumlar-alani-sayfa .carousel-classes .swiper-slide {
        width: 100% !important;
        min-width: 100% !important;
        flex-shrink: 0;
    }

    .yorumlar-alani-sayfa .carousel-classes .swiper {
        --swiper-slides-per-view: 1 !important;
    }

    /* Assicurati che le immagini si adattino bene */
    .card img,
    .testimonial-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Migliora la navigazione su mobile */
    .swiper-button-next,
    .swiper-button-prev {
        display: block !important;
        width: 35px !important;
        height: 35px !important;
        margin-top: -17px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px !important;
    }

    /* Assicurati che la paginazione sia visibile */
    .swiper-pagination {
        display: block !important;
        position: relative !important;
        margin-top: 20px !important;
    }

    .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
        margin: 0 4px !important;
    }
}

/* Fix aggiuntivo se usi Swiper con JavaScript */
@media (max-width: 768px) {
    /* Forza una slide alla volta anche via CSS */
    .carousel-classes .swiper-wrapper {
        transform: translateX(0) !important;
    }

    /* Nascondi overflow per evitare di vedere slides multiple */
    .carousel-classes .swiper {
        overflow: hidden !important;
    }

    /* Dimensiona correttamente il container */
    .carousel-classes {
        width: 100% !important;
        max-width: 100% !important;
    }
}