@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
  --primary: #553c9a;     /* Dark purple */
  --secondary: #805ad5;   /* Medium purple */
  --accent: #d6bcfa;      /* Light purple */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.ban {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(rgba(85, 60, 154, 0.9), rgba(85, 60, 154, 0.9)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23805ad5" opacity="0.1"/></svg>');
  color: white;
  margin-bottom: 3rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

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

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

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

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

.destination-info {
  padding: 1.5rem;
  text-align: center;
}

.destination-info h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.destination-info p {
  margin-bottom: 1.5rem;
}

.price {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.btn:hover {
  background: var(--secondary);
}

/* Styles pour les écrans de taille moyenne (tablettes) */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .ban {
    padding: 2rem 0;
  }

  .container {
    padding: 1rem;
  }

  .destination-image {
    max-height: 200px;
  }
}

/* Styles pour les petits écrans (téléphones) */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .destination-info h2 {
    font-size: 1.5rem;
  }

  .price {
    font-size: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .destination-image {
    max-height: 150px;
  }

  .destination-info {
    padding: 1rem;
  }

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