/* =========================
   HERO FINAL SANS BUG
========================= */
.hero-animated {
  background: url('../img/propriete.jpg') center center no-repeat !important;
  background-size: cover !important;
    height: 10vh; /* au lieu de 100vh */
}
/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* CONTENU */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 0 15px;
}
/* DÉCALER VERS LA GAUCHE */
.hero-content {
  margin-left: 5%;   /* ajuste ici */
  text-align: left;  /* aligne le texte à gauche */
  margin-left: -3%;   /* léger décalage */
margin-left: 8%;   /* plus à gauche */
margin-left: 10%;  /* style luxe immobilier */
}

.search-bar-pro {
  justify-content: flex-start;
}

/* TITRE */
.hero-title {
  font-size: 48px;
  font-weight: 700;
}

/* TEXTE */
.hero-subtitle {
  font-size: 18px;
  color: #ddd;
  margin-top: 10px;
}

/* =========================
   BARRE DE RECHERCHE PRO
========================= */
.search-bar-pro {
  background: #fff;
  padding: 20px;
  border-radius: 10px;

  display: flex;
  gap: 15px;
  align-items: flex-end;
  justify-content: center;

  max-width: 900px;
  margin: 40px auto 0;

  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.search-bar-pro:hover {
  transform: translateY(-3px);
}

/* ITEMS */
.search-item {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* LABEL */
.search-item label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #555;
}

/* SELECT */
.search-item select {
  height: 45px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

/* BOUTON */
.search-btn {
  display: flex;
}

.search-btn button {
  height: 45px;
  padding: 0 25px;
  background: #2eca6a;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
  transition: 0.3s;
}

.search-btn button:hover {
  background: #26b65c;
}

/* =========================
   CARTES PROPRIÉTÉS
========================= */
.card {
  transition: 0.3s;
  border: none;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-top {
  height: 230px;
  object-fit: cover;
}

/* =========================
   OFFRES
========================= */
.offer-card {
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 10px;
  transition: 0.3s;
  background: #fff;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.offer-icon {
  font-size: 30px;
  color: #2eca6a;
  margin-bottom: 15px;
}

.offer-title {
  font-weight: 600;
}

.offer-list {
  list-style: none;
  padding: 0;
}

.offer-list li {
  margin-bottom: 8px;
}

.offer-list i {
  color: #2eca6a;
}

/* =========================
   CTA
========================= */
.cta-card {
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 10px;
}

.cta-reserve {
  background: #2eca6a;
  border: none;
}

.cta-reserve:hover {
  background: #26b65c;
}

.cta-contact {
  border-color: #2eca6a;
  color: #2eca6a;
}

.cta-contact:hover {
  background: #2eca6a;
  color: #fff;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .hero-title {
    font-size: 28px;
  }

  .hero-content {
    margin-top: 120px;
  }

  .search-bar-pro {
    flex-direction: column;
    max-width: 100%;
  }

  .search-item {
    width: 100%;
  }

  .search-btn button {
    width: 100%;
  }

}

/* =========================
   HEADER TRANSPARENT
========================= */
#header {
  background: transparent !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

/* TEXTE MENU EN BLANC */
#header .navmenu a {
  color: #fff !important;
}

/* LOGO */
#header .sitename {
  color: #fff !important;
}

/* HOVER MENU */
#header .navmenu a:hover {
  color: #2eca6a !important;
}

/* =========================
   HEADER AU SCROLL (EFFET PREMIUM)
========================= */
#header.scrolled {
  background: #fff !important;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
}

/* TEXTE NOIR APRÈS SCROLL */
#header.scrolled .navmenu a {
  color: #333 !important;
}

#header.scrolled .sitename {
  color: #333 !important;
}

/* HERO CENTRAGE PARFAIT */
.hero-animated {
  position: relative;
  height: 100vh;

  display: flex;
  align-items: center;      /* centre vertical */
  justify-content: center;  /* centre horizontal */

  text-align: center;
}

/* CONTENU */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;

  max-width: 900px;
  width: 100%;
}

/* TITRE */
.hero-title {
  margin-bottom: 10px;
}

/* TEXTE */
.hero-subtitle {
  margin-bottom: 30px;
}

/* BARRE DE RECHERCHE CENTRÉE */
.search-bar-pro {
  margin: 0 auto;
}

/* DESKTOP */
.hero-title,
.hero-subtitle {
  white-space: nowrap;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-title,
  .hero-subtitle {
    white-space: normal;
  }
}
.hero-content {
  margin: 0 auto;      /* centre horizontal */
  text-align: center;  /* texte centré */
  max-width: 900px;    /* limite la largeur */
}

.hero-title,
.hero-subtitle {
  white-space: nowrap;
}

.hero-title {
  font-size: 42px;
}

.hero-subtitle {
  font-size: 18px;
}

@media (max-width: 768px) {

  .hero-title,
  .hero-subtitle {
    white-space: normal; /* autorise retour ligne */
  }

  .hero-title {
    font-size: 26px;
  }

}

/* =========================
   MENU STYLE BULLES BLANCHES
========================= */

#navmenu ul {
  display: flex;
  gap: 10px;
}

/* LIENS */
#navmenu ul li a {
  background: #fff;
  color: #333 !important;

  padding: 10px 18px;
  border-radius: 50px; /* effet cercle / pill */

  font-weight: 500;
  transition: 0.3s;
}

/* HOVER */
#navmenu ul li a:hover {
  background: #2eca6a;
  color: #fff !important;
}

/* LIEN ACTIF */
#navmenu ul li a.active {
  background: #2eca6a;
  color: #fff !important;
}

/* OPTION OMBRE (EFFET PREMIUM) */
#navmenu ul li a {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* =========================
   NAV PREMIUM FLOATING
========================= */

.navmenu-pro {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* MENU LISTE */
.navmenu-pro ul {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* BOUTONS MENU */
.navmenu-pro ul li a {
  background: rgba(255,255,255,0.2); /* effet glass */
  backdrop-filter: blur(10px);

  color: #fff;
  padding: 10px 18px;

  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;

  transition: 0.3s;
}

/* HOVER */
.navmenu-pro ul li a:hover {
  background: rgba(255,255,255,0.4);
}

/* ACTIF */
.navmenu-pro ul li a.active {
  background: #2eca6a;
  color: #fff;
}

/* BOUTON MENU VERT */
.menu-btn {
  background: #2eca6a;
  color: #fff;

  padding: 10px 20px;
  border-radius: 50px;

  font-weight: 600;
  cursor: pointer;

  transition: 0.3s;
}

.menu-btn:hover {
  background: #26b65c;
}