/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #eee;
  position: relative;
}

/* Overlay global plus sombre */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.75); /* voile plus fort */
  z-index: -1;
}

/* Sidebar */
aside {
  width: 280px;
  background: rgba(0,0,0,0.26); /* semi-transparent, intégré */
  backdrop-filter: blur(6px);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  /* suppression de la bordure et de l’ombre */
  border-right: none;
  box-shadow: none;
}

aside ul {
  list-style: none;
  padding: 30px 0;
  text-align: center;
}

aside li {
  margin: 15px 0;
}

aside a {
  display: inline-block;
  width: 70%;
  color: #eee;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

aside a:hover {
  background: rgba(0,255,204,0.15);
  color: #00ffcc;
  box-shadow: 0 0 8px rgba(0,255,204,0.6);
}

/* Main content */
main {
  background: rgba(0,0,0,0.55);
  margin-left: 280px;
  padding: 60px;
  flex: 1;
  scroll-behavior: smooth;
}

section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
}

/* Cartes */
.card {
  max-width: 1480px;
  padding: 40px;
  background: rgba(0,0,0,0.8); /* plus sombre pour lisibilité */
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,255,204,0.25);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0,255,204,0.4);
}

h1 {
  margin-bottom: 20px;
  color: #00ffcc;
}