/* BASE */
body {
  margin: 0;
  padding: 0;
  width:100%;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

p{
  line-height: 26px;
}

button{
  background-color: #c66439;
  color: #EEE;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button:hover{
  /*background-color: #954201;*/
  background-color: #9e502e;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.logo {
  font-weight: bold;
  font-size: 1.72rem;
}

.logo span {
  margin-left: 10px;
  font-size: 1.2rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

li{
  display: inline-flex;
  flex-direction: row;
  line-height: 24px;
  margin-right: 20px;
}

.icon{
  display: flex;
  margin-right: 6px;
}

.icon svg{
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: transparent;
}

nav a {
  text-decoration: none;
  color: #c66439;
  position: relative;
}

nav a:not(#resa-link)::after{
  content: '';
  position: absolute;
  height: 2px;
  left: 0;
  bottom: 0;
  width: 0%;
  background: #c66439;
  transition: width 0.7s;
}

nav a:not(#resa-link):hover:after{
  width: 100%;
}

nav button{
  padding: 5px 20px;
}

.burger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

h1{
  font-size: 2.52rem;
  margin-bottom: 5px;
}

.gazo-info{
  display: flex;
  font-size: 1.1rem;
  font-weight: normal;
  color: #888;
  margin-bottom: 40px;
}

h1 span {
  font-size: 1.2rem;
  font-weight: normal;
  color: #888;
}

.airbnb-logo{
  margin: -2px 5px 0 5px;
}

.stars{
  font-size: 1rem;
  color: #c66439;
  margin-top: -1px;
}

h2{
  font-size: 2rem;
}

h3{
  margin: 0;
}

ul{
  padding: 0;
}



/* HERO */
.hero{
  padding: 16px;
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px
}

.more_images{
  position: absolute;
  color: #000;
  right: 10%;
  bottom: 10%;
  z-index: 10;
  display: flex;
  padding: 5px 6px;
}

.icon_more_images{
  height: 32px;
}

.text_more_images{
  line-height: 32px;
  padding-left: 5px;
  border-left: 2px dotted;
  margin-left: 5px;
}

/* CONTAINER GLOBAL */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem; /* léger padding mobile */
  box-sizing: border-box;
}

/* SECTIONS UNIFIÉES */
.container > section {
  width: 100%;
  margin: 0 auto;
  padding: 1.6rem 0;
  box-sizing: border-box;
}

/* GALLERY */
.gallery .grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery .grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* AMENITIES */
.liste-equipements{
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(3, 1fr);
  -webkit-column-gap: 1em;
}

.equipements-cat-titre{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5em;
}

.equipements-cat-titre p{
  margin: 0;
  font-weight: bold;
}

.equipements-cat-titre .svg{
  width: 26px;
  height: 26px;
}

/* REGION */

.region {
    padding: 4rem 20px;
    background: white;
    text-align: center;
}

.region-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.region-attractions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.attraction-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.attraction-card:hover {
    transform: translateY(-5px);
}

.attraction-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.attraction-card h3 {
    padding: 1rem;
    background: #f9f9f9;
}

.attraction-card p {
    padding: 0 1rem 1rem;
}

/* MAP */
.map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 8px;
  display: block;
}

/* Réservation */
.platform_links{
  display: flex;
  margin-bottom: 30px;
}

.platform_links a{
  color: #000;
  text-decoration: none;
  margin-right: 40px;
  font-weight: bold;
}

.platform_links a:hover{
  color: #999;
}

.platform_links img{
  width: 150px;
}

.platform_links p{
  margin-top: 0;
  text-align: center;
}

.reservation {
    padding: 4rem 20px;
    background: white;
}

.reservation-form {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 1rem;
}

.form-group-full-width{
  grid-column-start: 1;
  grid-column-end: 3;
}

.form-group-extra-beds{
  grid-column-start: 2;
}

.form-group p{
  color: #777;
  font-size: 0.9rem;
  margin: 10px 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    -moz-appearance: textfield; /* Cache les flèches de spinner sur Firefox */
}

/* Check-in day: available but with visual indication */
.checkin-day {
    position: relative;
    background-color: #fff7e6 !important;
    border: 1px dashed #c66439;
}

/* Check-out day: available but with visual indication */
.checkout-day {
    position: relative;
    background-color: #e6f7ff !important;
    border: 1px dashed #c66439;
}

/* Blocked dates (middle of reservations) */
.flatpickr-day.disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none; /* Cache les flèches de spinner sur Chrome/Safari */
    margin: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 98%;
  padding: 10px 1% 10px 1%;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.phone-input-container{
  display: flex;
}

.phone-input-container select {
    width: 20%;
}

.phone-input-container input[type="tel"] {
    width: 79%;
}

.form-group textarea {
    resize: vertical;
}

.submit-resa{
  padding: 10px 30px;
}
.submit-resa:hover{
  padding: 10px 30px;
  background-color: #9e502e;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: #333;
    color: white;
    margin-top: 30px;
}

footer a {
    color: #c66439;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #6CB4EE;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    display: none;
    border: 1px solid #eee;
  }

 .gazo-info{
  flex-wrap: wrap;
 }

 .gazo-info-text{
  width:100%;
  margin-bottom: 10px;
  padding-left: 3px;
 }

.airbnb-logo{
  margin-left: 0;
}

  .liste-equipements{
    grid-template-columns: repeat(1, 1fr);
  }

  nav.active ul {
    display: flex;
    padding: 20px 0 20px 30px;
  }

  .burger {
    display: block;
  }

  .airbnb-embed-frame{
    width: 400px;
  }

  .form-group{
    grid-column: span 2;
  }

}

