/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* STYLE GLOBAL */
body {
  font-family: 'Neue Power Ultra', sans-serif;
  background: radial-gradient(circle at center,
    rgba(243, 146, 50, 0.6) 0%,
    rgba(247, 191, 217, 0.8) 60%,
    rgba(247, 191, 217, 1) 100%);
  color: #000;
  overflow-x: hidden;
}

/* --- BANDEAU HEADER --- */
.header-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px; /* augmente la hauteur pour couvrir logo et menu */
  background: rgba(255, 255, 255, 0.85); /* plus opaque pour meilleure visibilité */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000; /* sous logo et menu */
  pointer-events: none; /* clics passent à travers */
}

/* LOGO */
.logo-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 2000; /* au-dessus du bandeau */
}

.logo img {
  height: 1.5rem;
  width: auto;
}

/* MENU */
.menu {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 25px;
  z-index: 2000; /* au-dessus du bandeau */
}

.menu-link {
  font-size: 1.1rem;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.3s ease;
}

.menu-link:hover {
  color: #f39232;
}

/* SECTION PROJETS */
.projects {
  background-color: #fff;
  padding: 140px 5% 100px; /* padding-top augmenté pour laisser de la place au header fixe */
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  min-height: 100vh;
}

.project {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 350px;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project:hover img {
  transform: scale(1.05);
}

/* OVERLAY */
.project .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 2;
}

.project:hover .overlay {
  opacity: 1;
}

.project .overlay span {
  color: #000;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-align: center;
  padding: 0 10px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
}

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