/* mobile.css – Stili per dispositivi mobili (fino a 767px) */
@media only screen and (max-width: 1250px) {

  p{
    font-size: 85%;
  }

  .title{
    font-size: 200%;
  }

  .BookingButton2:hover{
    transform: scale(0.8);
  }

  /* nav */
  nav {
    position: fixed;
    top: 10px;
    right: 10px;
    left: 10px;
    justify-content: space-between;
  }

  nav > a img{
    max-height: 50px;
    margin-right: 0;
  }

  nav ul{
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px;
    border-radius: 15px;
    background-color: rgb(245, 245, 245, 0.96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  nav ul.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav ul li {
    margin: 0;
    padding: 13px 10px;
  }

  nav ul li::before {
    bottom: 4px;
  }

  /* hamburger menu */
  .hamburger {
    display: flex;
  }

  .language-dropdown {
    margin-left: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .findMore{
    margin-bottom: 10%;
  }

  .findMore h2{
    margin-top: 25%;
    font-size: 300%;
    transform: scale(0.8);
    margin-bottom: 1%;
  }

  .findMore p{
    transform: scale(0.5);
  }

  .findMore span{
    transform: scale(0.5);
  }

  /* chi siamo */
  .chiSiamo {
    flex-direction: column;
    align-items: center;
    padding: 5%;
  }
  
  .chiSiamo img {
    height: auto;
    max-width: 80%;
    max-height: 50%;
    margin: 24px 0;
    border-radius: 15px;
  }
  
  .chiSiamo div {
    margin: 0;
    text-align: center;
  }
  
  .chiSiamo h2 {
    margin-bottom: 20px;
  }
  
  .chiSiamo a {
    transform: scale(0.7);
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .chiSiamo p{
    text-align: justify;
    margin-left: 2%;
    margin-right: 2%;
  }
  
  /* spiaggia */
  .spiaggia {
    flex-direction: column;
    padding: 10% 5%;
    background-attachment: scroll;
    text-align: center;
  }
  
  .spiaggia img {
    max-width: 50%;
    height: auto;
    margin-bottom: 20px;
  }
  
  .spiaggia h2 {
    margin-left: 0;
    color: white;
  }

  .spiaggia p{
    margin-left: 0;
    color: white;
    text-align: justify;
  }

  .servizi .title{
    margin-bottom: 8%;
  }

  /* main */
  
  .main-content {
    display: block;
  }

  /* Servizi */
  .servizi{
    padding-left: 5%;
    padding-right: 5%;
  }

  /* stanze */
  .stanze {
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 10%;
    
  }

  .flip-card {
    width: 300px;
    height: 150px;
  }

  /* Galleria */
  .galleria{
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 10%;
  }

  /* Video */
  .video{
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 10%;
  }

  /* punti di interesse */
  .puntiDiInteresse{
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 10%;
  }

  /* contattaci */
  .contattaci{
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 10%;
  }

  /*footer-logo*/
  .footer-logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5% 10%;
  }

  .footer-logo img.logoFooter {
    max-width: 60%;
    margin-bottom: 20px;
  }

  .collegamentiSocial {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .collegamentoSocial img {
    width: 30px;
    height: 30px;
  }

}

@media only screen and (min-width: 768px) and (max-width: 1250px) {
  nav ul li {
    font-size: 18px;
  }
}