/* style.css (Updated for T-life white theme) */

:root {
  --primary-color: #2c3e50;
  --secondary-color: #2980b9;
  --accent-color: #e74c3c;
  --text-color: #333;
  --bg-color: #f7f7f7;
}

/* 1. Reset / base styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 2. Corps de la page */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* 3. Container principal */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 4. Barre de navigation */
.navbar {
  background-color: var(--bg-color);
  border-bottom: 1px solid #ddd;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* 4.1 Marque (logo / nom du site) */
.brand a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  text-decoration: none;
}

/* 4.2 Menu de navigation */
.menu a {
  margin-left: 2rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.menu a:hover,
.menu a.active {
  color: var(--secondary-color);
}

/* 5. Section principale */
main.container {
  padding: 2rem 0;
}

/* 6. Pied de page */
.footer {
  background-color: var(--bg-color);
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

.footer p {
  color: #666;
  font-size: 0.9rem;
}

.footer a {
  color: var(--secondary-color);
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer a:hover {
  color: var(--accent-color);
}

/* 7. Images responsives */
.img-fluid {
  max-width: 100%;
  height: auto;
}
