.animate-glow {
animation: pulseGlow 2s infinite alternate;
}
@keyframes pulseGlow {
from { text-shadow:0 0 10px rgba(255,255,0,0.6); }
to { text-shadow:0 0 20px rgba(255,255,0,1); }
}
.pulse { animation: pulse 1.5s infinite; }

/* Reset */
*, *::before, *::after {
box-sizing: border-box;
}

body {
margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: var(--bg);
color: var(--text);
line-height: 1.5;
scroll-behavior: smooth;
transition: background-color 0.3s, color 0.3s;
}

.settings-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(80%) sepia(75%) saturate(0%) hue-rotate(85deg); 
}

:root {
--bg: #1a1f1a;
--text: #c7c7c7;
--primary: #00ff88;
--secondary: #2e4231;
--accent: #9ebf90;

--bg: #415d3f;
--text: #f5f5f5;
--accent: #baffd5;
--card: #1a1a1a;
--radius: 16px;
--shadow: 0 8px 24px rgba(0, 255, 136, 0.15);
}

body.light {
  --bg: #a4ffc1;
  --text: #2e4231;
  --primary: #00b74c;
  --secondary: #37ff8e;
  --accent: rgb(1, 54, 28);
}

/* Navigation */
nav {
position: fixed;
top: 0; left: 0; right: 0;
background: var(--secondary);
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 1.5rem;
z-index: 10000;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), var(--shadow); /* ✅ Glow + ombre classique */
}
nav .logo {
/* font-family: 'Outfit', Tahoma, Geneva, Verdana, sans-serif; */
font-weight: 700;
font-size: 1.4rem;
color: var(--accent);
}
nav ul {
list-style: none;
display: flex;
gap: 2rem;
}
nav ul li a {
color: var(--text);
text-decoration: none;
font-weight: 600;
position: relative;
}
nav ul li a.active::after {
content: "";
position: absolute;
bottom: -5px;
left: 0;
right: 0;
height: 3px;
background: var(--accent);
border-radius: 2px;
}
nav ul li a:hover {
opacity: 0.8;
}

/* Toggle dark mode */
#dark-toggle {
background: transparent;
border: 2px solid var(--accent);
color: var(--accent);
font-weight: 600;
padding: 0.3rem 0.8rem;
border-radius: 25px;
cursor: pointer;
transition: background 0.3s, color 0.3s;
}
#dark-toggle:hover {
background: var(--accent);
color: var(--secondary);
}

/* Sections */
section {
min-height: 100vh;
padding: 5rem 2rem 3rem 2rem;
display: flex;
flex-direction: column;
justify-content: center;
max-width: 900px;
margin: 0 auto;
opacity: 0;
transform: translateY(30px);
transition: opacity 0.7s ease, transform 0.7s ease;
}
section.visible {
opacity: 1;
transform: translateY(0);
}

/* Headers */
section h2 {
font-size: 2.8rem;
margin-bottom: 1rem;
color: var(--accent);
text-align: center;
}
section p {
font-size: 1.2rem;
line-height: 1.6;
text-align: center;
margin-bottom: 2rem;
}

/* Accueil - Hero (fusion avec le deuxième fichier) */
#home {
text-align: center;
padding-top: 8rem;
display: flex;
flex-direction: row;
justify-content: center;
gap: 3rem;
align-items: center;
}
#home .text {
max-width: 450px;
text-align: left;
}
#home h1 {
font-size: 3rem;
margin-bottom: 0.5rem;
color: var(--accent);
}
#home h1 span {
color: var(--primary);
font-weight: 700;
}
#home p {
font-size: 1.2rem;
margin-bottom: 1.5rem;
color: var(--text);
}
#home .socials {
display: flex;
gap: 1.5rem;
}
#home .socials a {
color: var(--accent);
font-size: 2rem;
transition: color 0.3s ease;
}
#home .socials a:hover {
color: var(--primary);
}
#home .image img {
width: 180px;
height: 180px;
/* border-radius: 50%; */
border-radius: 16px;
border: 4px solid var(--accent); /* Anciennement 3px */
object-fit: cover;
}

/* Section compétences */
#skills {
padding-top: 6rem;
}
#skills ul {
list-style: disc inside;
max-width: 600px;
margin: 0 auto;
font-size: 1.2rem;
color: var(--text);
}
#skills ul li {
margin-bottom: 0.8rem;
}

/* Call to Action */
#cta {
text-align: center;
margin-top: 2rem;
}
#cta h2 {
margin-bottom: 1rem;
}
#cta .btn {
background: var(--accent);
color: var(--secondary);
font-weight: 700;
padding: 0.8rem 2rem;
border-radius: 30px;
text-decoration: none;
display: inline-block;
transition: background 0.3s ease;
}
#cta .btn:hover {
background: var(--primary);
color: #fff;
}

/* Projets */
#projects .project-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1.5rem;
}
#projects .project {
background: var(--secondary);
padding: 1.3rem;
border-radius: 10px;
flex: 1 1 280px;
box-shadow: 0 3px 10px rgba(0,0,0,0.25);
transition: transform 0.3s ease;
}
#projects .project:hover {
transform: translateY(-8px);
}
#projects .project h3 {
margin-top: 0;
color: var(--accent);
}
#projects .project p {
color: var(--text);
}

/* Musique - carrousel simple */
#music {
text-align: center;
}
#music .carousel {
position: relative;
max-width: 600px;
margin: 0 auto;
overflow: hidden;
border-radius: 15px;
box-shadow: 0 3px 15px rgba(0,0,0,0.35);
}
#music .carousel-track {
display: flex;
transition: transform 0.4s ease-in-out;
}
#music .carousel-item {
min-width: 100%;
background: var(--secondary);
padding: 2rem;
color: var(--text);
}
#music .carousel-controls {
margin-top: 1rem;
}
#music button {
background: var(--accent);
border: none;
color: var(--secondary);
padding: 0.5rem 1.2rem;
font-weight: 700;
border-radius: 20px;
cursor: pointer;
margin: 0 0.5rem;
transition: background 0.3s ease;
}
#music button:hover {
background: var(--primary);
color: #fff;
}

/* Contact */
#contact form {
max-width: 400px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 1rem;
}
#contact label {
font-weight: 600;
color: var(--accent);
}
#contact input, #contact textarea {
padding: 0.8rem;
border-radius: 8px;
border: 1px solid var(--secondary);
background: var(--secondary);
color: var(--text);
font-size: 1rem;
}
#contact textarea {
resize: vertical;
min-height: 100px;
}
#contact button {
background: var(--accent);
border: none;
padding: 0.8rem;
font-weight: 700;
border-radius: 20px;
cursor: pointer;
color: var(--secondary);
transition: background 0.3s ease;
}
#contact button:hover {
background: var(--primary);
color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
#home {
    flex-direction: column;
    padding-top: 6rem;
}
#home .text {
    max-width: 100%;
    text-align: center;
}
#home .image img {
    margin-top: 1rem;
}
}







/* ===== SLIDER MODE SOMBRE ===== */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  margin-left: 1rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Le slider visuel */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--accent);
  transition: 0.4s;
  border-radius: 30px;
}

/* Le rond qui glisse */
.slider::before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: var(--secondary);
  transition: 0.4s;
  border-radius: 50%;
}

/* Quand activé (mode sombre) */
input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider::before {
  transform: translateX(30px);
}




section.align-left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

section.align-right {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}







/* Bouton hamburger de base */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
}

.hamburger span {
  display: block;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile : afficher le bouton */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--secondary);
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    display: none;
  }

  nav ul.open {
    display: flex;
  }
}




html {
  scroll-behavior: smooth;
}

.scroll-down {
  text-align: center;
  margin-top: -3rem;
  animation: bounce 2s infinite;
}

.arrow-link i {
  font-size: 2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.arrow-link:hover i {
  transform: translateY(5px);
  color: var(--primary);
}

/* Animation rebond */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(10px);}
  60% {transform: translateY(5px);}
}


/* Retour en haut */
#scroll-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  background: var(--accent);
  color: var(--secondary);
  padding: 0.7rem 1rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10000;
}
#scroll-top.visible {
  opacity: 0.85;
  pointer-events: auto;
}







/* SECTION VIDÉOS */
#videos .latest-video p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

#videos a {
  color: #3b82f6;
  text-decoration: underline;
}

/* SECTION MUSIQUE */
#music .carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
}

#music .carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  min-width: 250px;
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* SECTION T-SHIRTS */
#tshirts {
  /* background: #3a5033; */
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}



/* SECTION INFOS */
#infos {
  background-color: #3a5033;
  border-left: 6px solid #60a5fa;
  padding: 2rem;
  border-radius: 1rem;
}








/* Footer */
footer {
  text-align: center;
  padding: 1.5rem 0;
  background: #2e4231;
  color: #9ebf90;
  font-weight: 600;
}


/* Footer Links */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* équivaut à gap-6 en Tailwind */
  margin-bottom: 1rem; /* équivaut à mb-4 */
  text-align: center;
  color: #c7c7c7;
  font-weight: 600;
}

/* Retour en haut */
/* #members button {
  background: var(--accent);
  color: var(--secondary);
  padding: 0.7rem 1rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10000;
  margin-top: 0.5rem;
} */


#members .members-description {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}


#members .member button {
  background-color: #10b981;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s;
}

#members .member button:hover {
  background-color: #059669;
}

/* #members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: center;
} */

.members-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

#members h2,
#members a {
  display: block; /* comportement normal */
  text-align: center;
  margin-bottom: 1rem;
}













#members .members-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

#members .member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

#members .member {
  display: flex;
  align-items: center;
  background: var(--secondary);
  padding: 1rem 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  max-width: 600px;
  width: 100%;
  gap: 1.5rem;
  text-align: left;
  flex-direction: column;
  text-align: center;
}

#members .member-info {
  flex-grow: 1;
  align-items: center;
}

#members .member-info h3 {
  margin: 0;
  color: var(--accent);
  font-size: 1.3rem;
}

#members .member-info p {
  margin: 0.3rem 0;
  color: var(--text);
}








.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between; /* espace entre logo et menu */
  padding: 1rem;
  flex-wrap: wrap; /* autorise le retour à la ligne */
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  flex-shrink: 0; /* empêche le logo de se réduire ou bouger */
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.logo-text {
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Responsive : hamburger visible sur petit écran */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start; /* aligne tout à gauche */
  }

  .nav-menu {
    width: 100%;
    justify-content: flex-start; /* menu aussi à gauche */
    margin-top: 0.5rem;
  }
}










.animate-glow {
  animation: pulseGlow 2s infinite alternate;
}
@keyframes pulseGlow {
  from { text-shadow:0 0 10px rgba(255,255,0,0.6); }
  to { text-shadow:0 0 20px rgba(255,255,0,1); }
}
.pulse { animation: pulse 1.5s infinite; }





.button-link {
  display: inline-block;
  background-color: #10b981;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  /* margin-top: 0.5rem; */
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  /* transition: background 0.3s; */
  transition: background 0.3s ease;
}

.button-link:hover {
  background-color: #059669;
}