* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  color: #111;
}

/* HEADER */

.header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  color: #fff;
}

.logo {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.nav a {
  margin-left: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

#lang-switch {
  margin-left: 30px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}





/* PAGE ACCUEIL — VERROUILLÉ */

.hero-home {
  min-height: 70vh;
  background: url("../images/hero.jpg") center / cover no-repeat;
  position: relative;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-left: 5%;
  padding-top: 25vh;
  color: #fff;
}

.hero-text h1 {
  font-size: 2.2rem;
  font-weight: 300;
}

.hero-text p {
  margin-top: 12px;
  font-size: 0.9rem;
}

/* HERO HACIENDA — CORRIGÉ */

.hero-villa {
  height: 75vh;
  width: 100%;
  background-color: #000;
  background-image: url("../images/hacienda/villa-hacienda-piscine-nuit-terrasse.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* CONTENU VILLA */

.villa-content {
  max-width: 900px;
  padding: 80px 20px;
  margin: auto;
}

.villa-content h1 {
  font-size: 2rem;
  font-weight: 300;
}

.subtitle {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #777;
}

.description {
  margin-top: 30px;
  line-height: 1.6;
  font-size: 0.9rem;
}

.description.collapsed {
  max-height: 8.5em;
  overflow: hidden;
}

.read-more {
  margin-top: 20px;
  background: none;
  border: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

/* CARTES VILLAS ACCUEIL — VERROUILLÉ */

.villas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding: 40px 50px;
}

.villa-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.villa-card h2 {
  margin-top: 14px;
  font-weight: 300;
}

.villa-card a {
  font-size: 0.65rem;
  border-bottom: 1px solid #111;
}


/* FOOTER */

.footer {
  text-align: center;
  padding: 60px 20px;
  font-size: 0.65rem;
  color: #666;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-villa {
    height: 60vh;
    background-size: cover;
  }

  .villas {
    grid-template-columns: 1fr;
    padding: 80px 30px;
  }
}

.hidden {
  display: none;
}

/* LANGUAGE BUTTON */

.lang-btn {
  border: 1px solid #fff;
  padding: 6px 12px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: #fff;
  color: #111;
}

/* ===== MENU MOBILE SUR 2 LIGNES ===== */
@media (max-width: 768px) {

  .header {
    flex-direction: column;
    align-items: center;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;        /* autorise le retour à la ligne */
    justify-content: center;
    gap: 10px 16px;
    max-width: 100%;
  }

  .nav a,
  .lang-btn {
    font-size: 13px;        /* légèrement réduit pour mobile */
  }

}

/* ===== Ajustement menu mobile ===== */
@media (max-width: 860px){

  .header .nav{
    display:flex;
    flex-direction:column;
    align-items:center;   /* centre horizontalement */
    gap:12px;             /* espace régulier entre les liens */
  }

  .header .nav a{
    display:block;
    text-align:center;
    width:100%;
  }

}

/* ===== BOUTON RESERVATION HACIENDA ===== */

.villa-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.villa-title-row h1 {
  margin: 0;
}

.villa-title-row .rv2j-open {
  padding: 12px 20px;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
  transition: 0.2s ease;
}

.villa-title-row .rv2j-open:hover {
  background: #333;
}

/* ===== BOUTON RESERVATION HACIENDA ===== */

.villa-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.villa-title-row h1 {
  margin: 0;
}

.villa-title-row .rv2j-open {
  padding: 12px 20px;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
  transition: 0.2s ease;
}

.villa-title-row .rv2j-open:hover {
  background: #333;
}

/* ===== BLOCS COMPLEMENTAIRES SOUS LES PHOTOS ===== */

.villa-extra-info{
  max-width: 720px;
  margin-top: 70px;
}

.villa-info-card,
.villa-info-block{
  border-top: 1px solid #e5e5e5;
  padding-top: 34px;
  margin-top: 34px;
}

.villa-info-card h2,
.villa-info-block h2{
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.villa-contact-card{
  background: #f5f5f5;
  padding: 28px 32px;
  border: 1px solid #e5e5e5;
}





.villa-contact-text p{
  margin: 0 0 14px 0;
  color: #333;
  line-height: 1.7;
  font-size: 15px;
}

.villa-checkin-row{
  display: flex;
  gap: 70px;
  flex-wrap: wrap;
}

.villa-checkin-item{
  min-width: 140px;
}

.villa-checkin-label{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.villa-checkin-value{
  font-size: 16px;
  color: #111;
  font-weight: 500;
}

.villa-map-wrap{
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.villa-map-caption{
  margin-top:10px;
  font-size:13px;
  color:#666;
}



@media (max-width: 900px){
  .villa-checkin-row{
    gap: 24px;
  }

  .villa-map-wrap{
    max-width: 100%;
  }
}

@media (max-width: 900px){
  .villa-checkin-row{
    gap: 24px;
  }

  .villa-map-wrap{
    max-width: 100%;
  }
}


/* ===== SERVICES ACCORDION ===== */

.villa-services{
  max-width:720px;
  margin-top:50px;
}

.service-accordion{
  border-top:1px solid #e5e5e5;
}

.service-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
  cursor:pointer;
  font-size:14px;
  letter-spacing:1.5px;
}

.service-icon{
  font-size:18px;
}

.service-content{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.35s ease;
  padding-bottom:0;
}
.service-content.open{
  max-height:500px;
  padding-bottom:20px;
}



.service-content ul{
  padding-left:18px;
}

.service-content li{
  margin-bottom:10px;
  font-size:14px;
  line-height:1.6;
  color:#333;
}


/* ===== AVIS VOYAGEURS ===== */

.reviews-band{
  margin-top: 80px;
  background:
    linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.42)),
    url("../images/hero.jpg") center center / cover no-repeat;
  color: #fff;
}

.reviews-band__overlay{
  width: 100%;
}

.reviews-band__inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 40px 46px;
}

.reviews-band__title{
  text-align: center;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 26px;
  color: #fff;
}

.reviews-carousel{
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.reviews-arrow{
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, opacity .15s ease;
}

.reviews-arrow:hover{
  transform: scale(1.04);
}

.reviews-arrow:disabled{
  opacity: .45;
  cursor: default;
  transform: none;
}

.reviews-viewport{
  overflow: hidden;
  width: 100%;
}

.reviews-track{
  display: flex;
  gap: 18px;
  transition: transform .35s ease;
  will-change: transform;
}

.review-card{
  background: rgba(255,255,255,.94);
  color: #111;
  min-height: 210px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 calc((100% - 36px) / 3);
}

.review-card__name{
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 14px;
  line-height: 1.2;
}

.review-card__text{
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__date{
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #666;
}

.reviews-empty{
  width: 100%;
  text-align: center;
  padding: 28px 0;
  color: rgba(255,255,255,.9);
  font-size: 15px;
}

@media (max-width: 980px){
  .reviews-band__inner{
    padding: 24px 24px 38px;
  }

  .review-card{
    flex: 0 0 calc((100% - 18px) / 2);
  }
}

@media (max-width: 700px){
  .reviews-band{
    margin-top: 60px;
  }

  .reviews-band__title{
    font-size: 22px;
    margin-bottom: 20px;
  }

  .reviews-carousel{
    gap: 10px;
  }

  .reviews-arrow{
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 24px;
  }

  .review-card{
    flex: 0 0 100%;
    min-height: 190px;
    padding: 18px 18px 16px;
  }

  .review-card__name{
    font-size: 20px;
  }
}


