/* CONTAINER */
.container {
  max-width:1100px;
  margin:auto;
  padding:20px;
  font-family:Arial;
}

/* HERO */
.hero {
  height:300px;
  background-size:cover;
  background-position:center;
  border-radius:12px;
  position:relative;
  margin-bottom:25px;
}

.hero-overlay {
  background:rgba(0,0,0,0.45);
  height:100%;
  width:100%;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:white;
  padding:20px;
}

.hero h1 { font-size:42px; margin:0 0 10px; }

/* SEARCH */
.ville-search {
  margin-top:15px;
  position:relative;
  width:300px;
}

#villeSearchInput {
  width:100%;
  padding:10px;
  border-radius:5px;
  border:none;
}

#villeSearchResults {
  position:absolute;
  top:45px;
  left:0;
  right:0;
  background:white;
  border:1px solid #ddd;
  border-radius:5px;
  display:none;
  z-index:50;
}

#villeSearchResults div {
  padding:10px;
  cursor:pointer;
}

#villeSearchResults div:hover {
  background:#f5f5f5;
}

/* GRID */
.grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.card {
  border:1px solid #ddd;
  padding:15px;
  border-radius:8px;
  background:white;
}

.price {
  color:#27ae60;
  font-weight:bold;
}

.btn {
  background:#0073aa;
  color:white;
  padding:8px 12px;
  text-decoration:none;
  border-radius:5px;
  display:inline-block;
}

/* CAROUSEL */
.carousel img {
  width:100%;
  display:none;
  border-radius:10px;
}

/* FILTRES */
.filters button {
  margin:5px;
  padding:8px 12px;
  border:none;
  background:#eee;
  border-radius:5px;
}

.filters button:hover {
  background:#ddd;
}

/* FORM CENTER */
.form-center {
  margin-top:40px;
  text-align:center;
}

.form-center form {
  display:inline-block !important;
  width:100% !important;
  max-width:600px;
}
