/* Styles for the home page (index.html) */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  display: flex;
  flex-direction: column;
}

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

/* Main content container should take up available space */
.container:not(header .container):not(footer .container) {
  flex: 1;
}

header {
  background-color: #343a40;
  color: white;
  padding: 0.75rem 0;
  text-align: center;
}

.hero {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #e9ecef;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: #495057;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #6c757d;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 1.5rem;
}

.feature {
  flex: 1;
  min-width: 250px;
  background-color: white;
  margin: 0.75rem;
  padding: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #343a40;
}

/* Utilisation de l'espace flexible pour pousser le footer vers le bas */
.content-wrapper {
  flex: 1 0 auto;
  width: 100%;
}

footer {
  background-color: #343a40;
  color: white;
  padding: 1rem 0;
  flex-shrink: 0;
} 