
.page-hero {
    background: #ffffff;
    padding: 48px 24px;
    text-align: center;
    border-bottom: 1px solid #e5e7e9;
    margin-top: 80px;
}

.page-hero h1 {
    font-size: 2.2rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Filtres */
.filters {
  background: white;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.filter-item select, .filter-item input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Grille des destinations */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.destination-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.destination-card:hover {
  transform: translateY(-3px);
}

.destination-image {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.destination-info {
  padding: 1.5rem;
}

.destination-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.destination-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.destination-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.destination-rating {
  color: #f1c40f;
}

.destination-price {
  color: var(--primary-color);
  font-weight: bold;
}

/* Cities container */
.cities-container {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.city-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.city-card:hover {
  transform: translateY(-10px);
}

.city-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.city-info {
  padding: 1.5rem;
}

.city-info h2 {
  color: #006644;
  margin-bottom: 0.5rem;
}

.city-description {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.city-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.city-highlights span {
  background: #f0f7f4;
  color: #006644;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem 0;
}

.pagination button {
  padding: 0.5rem 1rem;
  border: none;
  background: white;
  border-radius: 5px;
  cursor: pointer;
}

.pagination button.active {
  background: var(--primary-color);
  color: white;
}

/* ── Stats ─────────────────────────────────────────────────── */
.city-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
    padding: 14px;
    background: #f8faf9;
    border-radius: 10px;
    border: 1px solid #e0ede8;
}

.city-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #444;
    font-weight: 500;
}

.city-stat svg {
    color: #007B5A;
    flex-shrink: 0;
}

/* ── Liens ──────────────────────────────────────────────────── */
.city-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.city-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
}

.city-btn--hotel {
    background: #e8f4f0;
    color: #005f45;
    border-color: #b6ddd0;
}

.city-btn--hotel:hover {
    background: #007B5A;
    color: white;
    border-color: #007B5A;
}

.city-btn--restaurant {
    background: #fff4e8;
    color: #8a4500;
    border-color: #ffd4a8;
}

.city-btn--restaurant:hover {
    background: #e07800;
    color: white;
    border-color: #e07800;
}

.city-btn--activite {
    background: #e8f0ff;
    color: #1a3a8a;
    border-color: #b0c4f5;
}

.city-btn--activite:hover {
    background: #2952cc;
    color: white;
    border-color: #2952cc;
}

.city-btn svg {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .city-links { flex-direction: column; }
    .city-btn   { justify-content: center; }
}

/* Responsive Design */
@media (max-width: 1024px) {
  

  .destinations-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    padding: 1.5rem;
  }

  .filters {
    max-width: 95%;
    margin: 1.5rem auto;
  }
}

@media (max-width: 768px) {
 

  .filters {
    padding: 1.5rem;
    margin: 1.5rem 1rem;
  }

  .filter-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .destination-card {
    margin: 0;
  }

  .destination-image {
    height: 220px;
  }

  .destination-info {
    padding: 1.2rem;
  }

  .destination-title {
    font-size: 1.2rem;
  }

  .city-card {
    margin: 0;
  }

  .city-card img {
    height: 220px;
  }

  .city-info {
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  

  .filters {
    padding: 1rem;
    margin: 1rem 0.5rem;
  }

  .filter-item select,
  .filter-item input {
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .destinations-grid {
    padding: 1rem 0.5rem;
  }

  .destination-image {
    height: 200px;
  }

  .destination-info {
    padding: 1rem;
  }

  .destination-title {
    font-size: 1.1rem;
  }

  .destination-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .destination-category {
    position: static;
    margin-bottom: 0.5rem;
  }

  .city-card img {
    height: 200px;
  }

  .city-info {
    padding: 1rem;
  }

  .city-info h2 {
    font-size: 1.2rem;
  }

  .city-description {
    font-size: 0.9rem;
  }

  .city-highlights span {
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  .pagination button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}
