
/* CONTAINER PRINCIPAL */

.home-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding-bottom: 40px;
}

/* LOGO  */

.logo-container{
    padding: 16px 16px 0 16px; /* garde l'espace du logo si tu en veux */
    text-align: center;
  }

.logo-container img{
    width: 50%;
}


/* IMAGE DE PRESENTATION DU CHATEAU  */

.hero img{
  width:100%;
  height: auto;
  object-fit: cover;         /* recadre sans déformer */
  display:block;
  padding-top: 60px;

}

/* PARTIE DE PRESENTATION DU CHATEAU EN 2 COLONNES */

.home-intro {
  background-color: #fffaf4;
  padding: 60px 20px;
  font-family: 'Cinzel', serif;
  color: #3a2e1d;
}
@media (max-width: 767px) {
    .home-container {
        flex-direction: row; /* 2 colonnes */
        text-align: left;
    }
}
.home-text {
  flex: 1 1 500px;
}

.home-text h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 20px;
  color:#6c5233;
}

.home-text p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 15px;
}

.home-image {
  flex: 1 1 400px;
  text-align: center;
}

.home-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  aspect-ratio: 4/3;        /* garde une proportion stable */
  object-fit: cover;
}

/* CHAMBRES */

.ban{
  position: relative;
  text-align: center;
  font-size: 50px;
}
.txt-titre_section{
  color:#6c5233;
  text-align: left;
  font-family: 'Cinzel', serif;
  padding-bottom: 50px;
}
.container-3colonnes{
    display: flex;
}

.chbr-img{
  width:70%;
  height:40vh;          /* hauteur du bandeau */
  object-fit:cover;     /* recadre proprement */
}
.txt-pres-chbr{
    line-height: 1.5;
    font-family: 'Cinzel', serif;
}
.txt-chbr-nb-pers{
    font-size: 15px;
    color:#6c5233;
}
.ligne-fine {
    border: none;
    height: 1px;
    width: 60%; /* à ajuster */
    margin: 15px auto;
    background: linear-gradient(to right, #a8864b, #d4b46a, #a8864b);
    border-radius: 2px;
}
.nom-chambre{
    font-size: 30px;
    font-weight: bold;
    color: #D4B46A;

}
.prix_chbre{
    font-size: 17px;
    color:#6c5233;
}

.picto_cbre{
    width: 100%;
}

.txt-transi{
    font-size: 45px;
    text-align: center;
    font-family: "Great Vibes";
    color: #A8864B;
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;

}

.titre_section{
    color:#6c5233;
    font-size: 50px;
    font-family: 'Cinzel', serif;
    margin-bottom: 30px;
}

.txt_section{
    font-size: 20px;
    font-family: 'Cinzel', serif;
    color: #3a2e1d;
}

.img_domaine{
    width: 50%;
    margin-top: 50px;
}


.form-reservation {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 12px;
}

.form-reservation label {
  font-weight: 600;
  color: #3b2e1a;
}

.form-reservation input,
.form-reservation textarea {
  border: 1px solid #c9a86a;
  border-radius: 6px;
  padding: 10px;
  font-size: 1em;
  background: #fffdf9;
}

.form-reservation button {
  background: linear-gradient(90deg, #c9a86a, #e8d8a8);
  color: #3b2e1a;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.form-reservation button:hover {
  background: linear-gradient(90deg, #b9975b, #d4b46a);
}

.place_form{
    width: 100%;
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup.visible {
    display: flex;
}

.popup-content {
    background: #fffaf2;
    border: 2px solid #d4b46a;
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    max-width: 400px;
}

.popup-content h2 {
    color: #d4b46a;
    font-family: "Great Vibes", cursive;
    font-size: 2.2em;
}

.popup-content button {
    margin-top: 20px;
    background: linear-gradient(90deg, #c9a86a, #e8d8a8);
    color: #3b2e1a;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}
.hidden {
    display: none;
}

.visible {
    display: block; /* ou flex selon ton popup */
}