/* Reset et styles de base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Hero section */
.hero {
  background-image: url("../images/header2.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 1rem;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
}

.search-input-map {
  border: solid 2px #000000;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
}

.search-map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  padding: 0.8rem 1.5rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Search form */
.search-container {
  display: flex;
  justify-content: center;
}

.search-form {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.search-input {
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.search-button {
  padding: 0.8rem 1.5rem;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.search-button:hover {
  background-color: #45a049;
}

/* Content section */
.content {
  padding: 2rem 1rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Map section */
.map-container {
  margin-bottom: 2rem;
}

.map-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1rem;
  width: 100%;
  height: 60px;
}

.map-section {
  margin-top: 150px;
}

#map {
  height: 300px;
  width: 100%;
}

/* Venue list */
.venue-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

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

.venue-image {
  height: 200px;
  overflow: hidden;
}

.venue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-info {
  padding: 1.5rem;
}

.venue-name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.venue-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.venue-feature {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

.feature-icon {
  width: 20px;
  margin-right: 5px;
}

.venue-address {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.address-icon {
  width: 15px;
  margin-right: 5px;
}

.venue-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.venue-price {
  font-weight: bold;
  color: #4caf50;
  font-size: 1.1rem;
}

.action-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn-details,
.btn-book {
  padding: 0.8rem;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-size: 0.9rem;
  color: white;
}

.localisation-btn {
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-size: 0.9rem;
  color: white;
  background-color: #007bff;
}

.btn-details {
  background-color: #007bff;
}

.btn-details:hover {
  background-color: #0056b3;
}

.btn-book {
  background-color: #4caf50;
}

.btn-book:hover {
  background-color: #45a049;
}

/* CTA section */
.cta {
  background-color: #f8f9fa;
  padding: 3rem 1rem;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #4caf50;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-cta:hover {
  background-color: #45a049;
}

/* Responsive design */
@media (min-width: 768px) {
  .hero-content {
    padding: 3rem;
  }

  .search-form {
    flex-direction: row;
  }

  .content {
    padding: 4rem 2rem;
  }

  .map-actions {
    flex-direction: row;
  }

  #map {
    height: 400px;
  }

  .venue-card {
    display: flex;
  }

  .venue-image {
    flex: 0 0 300px;
    height: auto;
  }

  .venue-info {
    flex: 1;
  }

  .venue-actions {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .action-buttons {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .content {
    max-width: 1200px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .hero-content {
    padding: 1rem;
  }

  #map {
    margin-top: 150px;
  }

  .search-map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0px;
    padding: 0.8rem 1.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .localisation-btn {
    padding: 0.8rem;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 0.9rem;
    color: white;
    background-color: #007bff;
  }

  .search-input-map {
    padding: 10px;
  }

  .fa-map-marker-alt,
  .fa-sun,
  .fa-warehouse,
  .fa-futbol {
    display: inline;
    padding-right: 5px;
  }

  .fa-solid {
    display: flex !important;
  }
}

.fa-map-marker-alt,
.fa-sun,
.fa-warehouse,
.fa-futbol {
  display: inline;
  padding-right: 5px;
}

.fa-solid {
  display: flex !important;
}
