body {
  font-family: 'Poppins', sans-serif;
}


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

/* ✅ NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  height: 60px;
  object-fit: contain;
}

/* Menu Desktop */
.nav-links ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  font-family: "Poppins", serif;
  text-decoration: none;
  color: rgb(50, 30, 210);
  padding: 10px;
}

.nav-links a:hover {
  color: rgba(50,30,210,0.5);
}

/* Sous-menu */
.has-submenu .submenu {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.has-submenu:hover .submenu {
  display: block;
}

/* ✅ MENU BURGER MOBILE */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* ✅ SECTION HERO */
.hero {
  background: url('../images/citefondrogne.jpg') center/cover fixed no-repeat;
  text-align: center;
  padding: 100px 20px;
  color: white;
}

.hero-logo {
  height: 200px;
}

h3 {
  font-family: "Poppins", serif;
  font-size: 1.6em;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.5em 1em;
}

/* ✅ PORTFOLIO */
.section-portfolio {
  background: rgba(243,225,195,1);        /* === couleur de fond section === */
  padding: 40px 20px;
  color: black;
}

.section-portfolio h2 {
  font-family: "Poppins", serif;
  font-size: 2em;
  margin-bottom: 20px;
  margin-left: 20px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.gallery li {
  width: 22%;
  position: relative;
}

.gallery img {
  width: 100%;
  display: block;
  border-radius: 5px;
}

.gallery span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

 /* pour supprimer les ::marker */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ✅ FOOTER */
footer {
  font-family: "Poppins", serif;
  background: rgb(70,35,220);
  text-align: center;
  color: white;
  padding: 50px 20px;
}

.footer-top {
  height: 3px;
  background: rgb(70,35,220);
  width: 100%;
}

.socials {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.socials img {
  width: 35px;
  transition: 0.3s;
}

.socials img:hover {
  opacity: 0.6;
}

 /* pour supprimer les ::marker */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mail {
color: white;
text-decoration: none;
}

.socials img:hover {
  opacity: 0.6;
}


/* ✅ RESPONSIVE - MOBILE */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  .nav-links ul {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 200px;
    flex-direction: column;
    display: none;
    padding: 10px;
  }
  .menu-toggle:checked + .menu-icon + .nav-links ul {
    display: flex;
  }
  .gallery li {
    width: 45%;
  }

}

@media (max-width: 480px) {
  .gallery li {
    width: 100%;
  }

}






/* === Effet au survol des images du portfolio === */

.section-portfolio img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}

/* Zoom + assombrissement au survol */
.section-portfolio img:hover {
  transform: scale(1.08);
  filter: brightness(65%);
}

/* Ajout d’un effet d’ombre pour plus de relief */
.section-portfolio figure {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

/* Légère mise en avant du bloc complet */
.section-portfolio figure:hover {
  transform: translateY(-5px);
}

/* Optionnel : petit texte ou effet overlay (si tu veux un titre au survol) */
.section-portfolio figure::after {
  content: attr(data-title);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.section-portfolio figure:hover::after {
  opacity: 1;
}





/* === PAGE IllUSTRATIONS PORTRAITS === */

/* HERO BANNIÈRE AVEC TEXTE CENTRÉ */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 35vh;     /* permet de respirer */
  padding: 60px 20px;   /* ajoute de l’espace interne */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-hero .hero-text {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.0);
  padding: 20px 40px;
  border-radius: 10px;
}

.page-hero h1 {
  font-size: 3em;
  font-weight: 600;
  letter-spacing: 2px;
}

/* Galerie portraits */
.section-portfolio .gallery img {
  border-radius: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.section-portfolio .gallery img:hover {
  transform: scale(1.05);
  filter: brightness(70%);
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero {
    height: 40vh;
  }
  .page-hero h1 {
    font-size: 2em;
  }
}









/* === PAGE PROJET WEB (ex: Kpogan Wifi Zone) === */

.project-content {
  text-align: center;
  padding: 50px 20px;
  background: rgba(243,225,195,1);
}

.project-description {
  max-width: 800px;
  margin: 30px auto;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.project-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  max-width: 1000px;
}

.project-image {
  width: 100%;
  height: auto;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}



/* ✅ MOBILE OPTIMISATION */
@media (max-width: 768px) {
  .project-image {
    width: 95%;
  }
}



/* === Navigation dans le header des projets web === */
.project-nav {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 35px;
}

.project-nav .nav-arrow {
  position: static;
  font-size: 2.5rem;
  color: rgba(50,30,210,0.8);
  text-decoration: none;
  font-weight: bold;
  padding: 5px 15px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.project-nav .nav-arrow:hover {
  background: rgba(50,30,210,0.9);
  color: white;
}

@media (max-width: 768px) {
  .project-nav .nav-arrow {
    font-size: 2rem;
    padding: 5px 10px;
  }
}

/* === VIDEO HTML5 RESPONSIVE POUR LES PAGES WEB === */

.project-video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  background: black;
}

/* Ratio 16/9 */
.project-video-container::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.project-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Optionnel : amélioration UI sur mobile */
.project-video-container video::-webkit-media-controls-panel {
  background: rgba(0, 0, 0, 0.4);
}



/* === PAGE CONTACT === */

.contact-section {
  background: rgba(243,225,195,1); 
  padding: 80px 20px;
  text-align: center;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-container h1 {
  font-size: 2.2em;
  margin-bottom: 10px;
  color: rgb(50, 30, 210);
}

.contact-container p {
  font-size: 1em;
  color: #555;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form .form-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-form input,
.contact-form textarea {
  font-family: "Poppins", sans-serif;
  font-size: 1em;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgb(50, 30, 210);
  outline: none;
}

.contact-form button {
  background: rgb(50, 30, 210);
  color: white;
  border: none;
  padding: 14px 25px;
  font-size: 1em;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: rgba(50, 30, 210, 0.8);
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .contact-container {
    padding: 30px 20px;
  }

  .contact-form .form-group {
    flex-direction: column;
    gap: 15px;
  }

  .contact-container h1 {
    font-size: 1.8em;
  }
}