/* Style CSS pour FBF Informatique */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #f7f7f7;
  color: #333;
  transition: background 0.3s, color 0.3s;
}

.dark-mode {
  background: #121212;
  color: #eee;
}

header {
  background: #004080;
  color: white;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

header nav {
  margin-top: 0.5rem;
}

header nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
}

header nav a:hover {
  text-decoration: underline;
}

.dark-toggle {
  background: white;
  color: #004080;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

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

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.service-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1rem;
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.contact a {
  color: #004080;
}

.tarif-section {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tarif-section h3 {
  color: #004080;
}

footer {
  text-align: center;
  background: #004080;
  color: white;
  padding: 1rem;
  margin-top: 2rem;
}

.page {
  display: none;
}

.page.active {
  display: block;
}