/* --- Amélioration du calendrier FullCalendar --- */
#calendar .fc-daygrid-day.fc-day-reserved {
  background-color: rgba(255, 77, 77, 0.4); /* 🔴 rouge clair transparent */
}

#calendar .fc-daygrid-day.fc-day-reserved:hover {
  background-color: rgba(255, 77, 77, 0.7); /* 🔴 plus foncé au survol */
}

/* --- Galerie responsive --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  max-height: 220px;
  border-radius: 8px;
  object-fit: cover;
}

/* --- Boutons responsives --- */
.email-button, .airbnb-link {
  display: inline-block;
  padding: 14px 24px;
  margin: 10px 5px;
  font-size: 1rem;
  border-radius: 8px;
  text-align: center;
}

.email-button {
  background-color: var(--accent-color);
  color: white;
}

.email-button:hover {
  background-color: #1f6391;
}

.airbnb-link {
  color: #fff;
  background-color: #FF5A5F;
  border-radius: 8px;
  padding: 14px 24px;
}

.airbnb-link:hover {
  background-color: #e14d50;
  color: #fff;
}

/* --- Mobile friendly (<=600px) --- */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.4rem;
  }

  section {
    padding: 20px 10px;
  }

  .cta {
    flex-direction: column;
    gap: 10px;
  }

  .email-button, .airbnb-link {
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  #calendar {
    font-size: 12px; /* calendrier plus lisible sur petits écrans */
  }
}
/* Modal caché par défaut */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
}

/* Contenu de la modal */
.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 1000px;
  height: 80vh;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

/* Bouton de fermeture */
.modal .close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Contenu chargé dans un iframe */
.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}
