/* ============================
   GLOBAL
============================ */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* ============================
   BURGER BUTTON
============================ */

.burger {
  display: none;
  font-size: 2rem;
  padding: 15px 20px;
  cursor: pointer;
  background: #1565c0;
  color: white;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1100;
  border-radius: 6px;
}

/* ============================
   HEADER
============================ */

header {
  background: #1e88e5;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

/* ============================
   MENU LATÉRAL COULISSANT
============================ */

.side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #1565c0;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: left 0.35s ease;
  z-index: 1000;
}

.side-menu.show {
  left: 0;
}

/* Overlay sombre */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 900;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ============================
   NAVIGATION LINKS
============================ */

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
}

/* ============================
   LANG SWITCHER STYLÉ
============================ */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.lang-switch a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.lang-switch a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
  border-color: white;
}

.lang-switch a.active-lang {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.25);
}

.flag {
  width: 22px;
  transition: 0.25s ease;
}

.flag:hover {
  transform: scale(1.25);
}

/* ============================
   HERO SECTION
============================ */

.hero {
  padding: 40px 20px;
  text-align: center;
  background: white;
}

.hero h2 {
  font-size: 2rem;
}

/* ============================
   SERVICES GRID
============================ */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  padding: 30px;
  max-width: 1400px;
  margin: auto;
}

/* ============================
   CARD
============================ */

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-top: 0;
  color: #1e88e5;
  font-size: 1.6rem;
}

/* ============================
   SERVICE LIST
============================ */

.service-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.service-list li {
  background: #e3f2fd;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 6px;
  font-size: 1rem;
  border-left: 4px solid #1e88e5;
}

/* ============================
   FOOTER
============================ */

footer {
  background: #1e88e5;
  color: white;
  text-align: center;
  padding: 25px;
  margin-top: 40px;
  font-size: 1rem;
}

/* ============================
   MEDIA QUERIES
============================ */

@media (max-width: 700px) {
  .burger {
    display: block;
  }
  nav {
    display: none;
  }
  .lang-switch {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.7rem;
  }
  .hero h2 {
    font-size: 1.4rem;
  }
  .card img {
    height: 180px;
  }
  .service-list li {
    font-size: 0.9rem;
  }
}
