* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

h2 {
  padding-left: 50px;
}

body {
  background-color: #141414;
  color: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #fff;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 25px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.navbar a {
  font-size: 18px;
  color: #ffffff;
  text-decoration: none;
  margin-left: 35px;
  transition: .3s;
}

.navbar a:hover,
.navbar a.active {
  color: #00abf0;
}

/* Boutons de filtrage */
.btn-box {
  height: 60px;
  width: 30px;
  margin-top: 20px;
  margin-left: 42%;
  display: flex;
  gap: 20px;
}

.filter-btn {
  padding: 10px 20px;
  border: none;
  background-color: #ff6a00;
  color: #fff;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #00abf0;
}

/* Hero Section */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('images/background-realisation.jpg') no-repeat center center/cover;
  padding: 80px 50px;
  min-height: 100vh;
  padding-left: 400px;
}

.hero-content {
  text-align: center;
  max-width: 600px;
  margin-left: 50px; 
}

.hero-content h1 {
  font-size: 70px;
  font-weight: 700;
  color: #ffffff;
  margin-right: 100px;
}

.hero-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #000000;
  margin-right: 100px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  margin-left: 10px;
}

.hero-image img {
  max-width: 250px;
  border-radius: 15px;
}

/* Grille des réalisations : 3 colonnes max */
.realisation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

/* Adaptatif : 1 colonne sur mobile, 2 colonnes sur tablette */
@media (max-width: 768px) {
  .realisation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .realisation-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: #222;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.card img {
  max-width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.card span {
  display: block;
  font-size: 18px;
  font-weight: 500;
}

.card:hover {
  transform: scale(1.05);
}

.footer {
  padding: 20px;
  text-align: center;
  background-color: #1b1b1b;
  color: #fff;
  font-size: 14px;
}

.footer p {
  margin-bottom: 0;
}
.footer a {
  color: #ff6a00;
  font-weight: bold;
}