/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f6fa;
  color: #2c3e50;
  line-height: 1.6;
  padding-bottom: 5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  background: #2c3e50;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.navbar h1 {
  font-size: 1.5rem;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar ul li a {
  color: white;
  font-weight: 600;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: #18bc9c;
}

/* Header */
header p {
  text-align: center;
  background-color: #34495e;
  color: white;
  padding: 0.5rem;
  font-style: italic;
}

/* Intro */
.intro {
  padding: 2rem;
  text-align: center;
}

.intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro p {
  margin-bottom: 1rem;
}

.intro .cta {
  font-weight: 600;
  color: #6e8efb;
}

/* Filtres */
.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.filter-btn {
  background-color: #6e8efb;
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.filter-btn:hover {
  background-color: #4967d2;
}

/* Cartes */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin-bottom: 0.3rem;
}

.price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #27ae60;
  margin-top: 0.5rem;
}

/* Image des personnes */
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Bouton réserver */
.reserve-btn {
  margin-top: 1rem;
  padding: 0.7rem 1.2rem;
  background-color: #18bc9c;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.reserve-btn:hover {
  background-color: #128f76;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.hidden {
  display: none;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
}

#start-date,
#end-date {
  padding: 0.5rem;
  font-size: 1rem;
  width: 100%;
  max-width: 250px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

#confirm-btn {
  margin-top: 1.5rem;
  background-color: #6e8efb;
  color: white;
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

/* Portal de Connexion */
.login-container {
  background-color: white;
  padding: 2rem;
  max-width: 400px;
  margin: 3rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.login-container input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  color: #2c3e50;
}

.login-container input:focus {
  outline: none;
  border-color: #6e8efb;
}

.login-container .submit-btn {
  width: 100%;
  padding: 0.8rem;
  background-color: #6e8efb;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-container .submit-btn:hover {
  background-color: #4967d2;
}

.login-container .forgot-password {
  text-align: center;
  margin-top: 1rem;
}

.login-container .forgot-password a {
  color: #6e8efb;
  font-weight: 600;
  text-decoration: none;
}

.login-container .forgot-password a:hover {
  color: #4967d2;
}

.login-container .signup-link {
  text-align: center;
  margin-top: 1rem;
}

.login-container .signup-link a {
  color: #18bc9c;
  font-weight: 600;
  text-decoration: none;
}

.login-container .signup-link a:hover {
  color: #128f76;
}
/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f6fa;
  color: #2c3e50;
  line-height: 1.6;
  padding-bottom: 5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  background: #2c3e50;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.navbar h1 {
  font-size: 1.5rem;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar ul li a {
  color: white;
  font-weight: 600;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: #18bc9c;
}

/* Header */
header p {
  text-align: center;
  background-color: #34495e;
  color: white;
  padding: 0.5rem;
  font-style: italic;
}

/* Intro */
.intro {
  padding: 2rem;
  text-align: center;
}

.intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro p {
  margin-bottom: 1rem;
}

.intro .cta {
  font-weight: 600;
  color: #6e8efb;
}

/* Filtres */
.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.filter-btn {
  background-color: #6e8efb;
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.filter-btn:hover {
  background-color: #4967d2;
}

/* Cartes */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin-bottom: 0.3rem;
}

.price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #27ae60;
  margin-top: 0.5rem;
}

/* Image des personnes */
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Bouton réserver */
.reserve-btn {
  margin-top: 1rem;
  padding: 0.7rem 1.2rem;
  background-color: #18bc9c;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.reserve-btn:hover {
  background-color: #128f76;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.hidden {
  display: none;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
}

#start-date,
#end-date {
  padding: 0.5rem;
  font-size: 1rem;
  width: 100%;
  max-width: 250px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

#confirm-btn {
  margin-top: 1.5rem;
  background-color: #6e8efb;
  color: white;
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

#login {
  background-color: #f5f6fa;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  margin: 5rem auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#login h2 {
  text-align: center;
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

#login form {
  display: flex;
  flex-direction: column;
}

#login label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

#login input {
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#login button {
  padding: 0.8rem;
  background-color: #6e8efb;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

#login button:hover {
  background-color: #4967d2;
}

