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

body {
  background: linear-gradient(-45deg, #0f0f0f, #111111, #0d0d0d, #101010);
  background-size: 400% 400%;
  animation: gradientFlow 30s ease infinite;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  height: 100%;
   min-height: 100%;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(0, 183, 255, 0.05), transparent 30%),
              radial-gradient(circle at 80% 70%, rgba(255, 0, 85, 0.05), transparent 30%);
  z-index: -1;
   min-height: 100%;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}



html {
  scroll-behavior: smooth;
}


/* NAVBAR */
.navbar {
  position: static;
  top: 0;
  width: 100%;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
 
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}
/* --- NAVBAR FIXE ET RÉDUCTIBLE AU SCROLL --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  
}

.navbar.shrink {
  padding: 0.5rem 1rem;
  flex-direction: row;
  justify-content: space-between;
}

.navbar.shrink .logo {
  font-size: 1.2rem;
  text-shadow: none;
  animation: none;
}

.navbar.shrink .nav-links {
  margin-top: 0;
  gap: 0.5rem;
}

.navbar.shrink .nav-links a {
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00ccff;
  text-shadow: 0 0 10px #00ccff, 0 0 20px #ffffff;
  animation: colorShift 5s infinite linear;
}

@keyframes colorShift {
  0% { text-shadow: 0 0 10px #00ccff, 0 0 20px #ffffff; color: #00ccff; }
  50% { text-shadow: 0 0 15px #ffffff, 0 0 25px #00ccff; color: #ffffff; }
  100% { text-shadow: 0 0 10px #00ccff, 0 0 20px #ffffff; color: #00ccff; }
}

.nav-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  margin: 0;
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a:hover {

  border-color: #00ccff;
  color: #00ccff;
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding-top: 80px; /* Décale légèrement vers le bas pour compenser la navbar */
  box-sizing: border-box;
  scroll-margin-top: 120px; /* Pour les ancres, si besoin */
}



.hero-title {
  font-size: 2.8rem;
  color: #ffffff;
  text-shadow: 0 0 8px #00eaff, 0 0 15px #00eaff;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.hero-btn {
  padding: 0.8rem 1.5rem;
  border: 1px solid #00eaff;
  background: rgba(0, 100, 120, 0.2);
  color: #ffffff;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  text-decoration: none;
}

.hero-btn:hover {
  background: #00eaff;
  color: #121212;
  box-shadow: 0 0 12px #00eaff;
}

section {
  scroll-margin-top: 120px;
}
.card {

  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 0 10px #00d9ff44;
}



.btn-cta {
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  background: rgba(0, 204, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(6px);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 204, 255, 0.4);
}

.btn-cta:hover {
  background: rgba(0, 204, 255, 0.4);
  transform: scale(1.05);
}
.tech-stack {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.tech-stack img {
  width: 40px;
  transition: transform 0.3s;
}
.tech-stack img:hover {
  transform: scale(1.2);
  opacity: 1;
}
.scroll-down {
  font-size: 2rem;
  color: #00eaff;
  margin-top: 3rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
#hero {
  position: relative;
  text-align: center;
  padding: 8rem 2rem 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.hero-content {
  max-width: 800px;
  margin: auto;
}

#hero {
  position: relative;
  text-align: center;
  padding: 8rem 2rem 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.hero-content {
  max-width: 800px;
  margin: auto;
}

.tech-icons {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 2rem;
  color: #00eaff;
  transition: transform 0.3s ease;
}

.tech-icons i:hover {
  transform: scale(1.3);
  color: white;
}

.scroll-down {
  margin-top: 3rem;
  font-size: 2.5rem;
  color: #00eaff;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}


/* COMPETENCES */
.competences {
  padding: 5rem 2rem;
  
  color: #fff;
  text-align: center;
}

.competences h2 {
  background: linear-gradient(45deg, #00ffff, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  text-align: center;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.skill-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 204, 255, 0.3);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: neonPulse 2.5s infinite ease-in-out;
}

.skill-card h3 {
  background: linear-gradient(45deg, #00ffff, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.skill-card p {
  font-size: 0.95rem;
  color: #ccc;
}

@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes neonPulse {
  0% { text-shadow: 0 0 5px #00ccff, 0 0 10px #00ccff; color: #00ccff; }
  50% { text-shadow: 0 0 5px #ff0055, 0 0 15px #ff0055; color: #ff0055; }
  100% { text-shadow: 0 0 5px #00ccff, 0 0 10px #00ccff; color: #00ccff; }
}

/* ETAPES DE CREATION */
.etapes {
  padding: 5rem 2rem;
  
  color: #fff;
  text-align: center;
}

.etapes h2 {
  background: linear-gradient(45deg, #00ffff, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.etape-liste {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  position: relative;
}



.etape {
  display: flex;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
  z-index: 1;
}

.etape.show {
  opacity: 1;
  transform: translateY(0);
}

.etape-content {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 204, 255, 0.08);
}

.etape h3 {
  background: linear-gradient(45deg, #00ffff, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.etape h3 i {
  margin-right: 0.5rem;
  color: #00ccff;
}

.etape p {
  color: #ccc;
  font-size: 0.95rem;
}

.etape-num {
  position: absolute;
  top: -25px;
  left: -30px;
  background: linear-gradient(45deg, #00ccff, #ff0055);
  color: #000;
  width: 50px;
  height: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px #00ccff, 0 0 12px #ff0055;
  z-index: 10;
}

.etape-gauche .etape-content {
  margin-left: auto;
}

.etape-droite .etape-content {
  margin-right: auto;
}

@media (max-width: 768px) {
  .etape {
    flex-direction: column;
    align-items: flex-start;
  }

  .etape-content {
    width: 100%;
  }

  .etape-num {
    position: static;
    margin-bottom: 1rem;
  }
}



#contact {
  padding: 8rem 2rem;

  color: #fff;
  text-align: center;
}

#contact h2 {
  background: linear-gradient(45deg, #00ffff, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

#contact p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #ccc;
}

.contact-form {
  max-width: 600px;
  margin: auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* --- SECTION CONTACT --- */
.contact-section {
  padding: 80px 20px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff, 0 0 16px #ff0055;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 1.2s ease both;
}

.form-group {
  position: relative;
}

.form-group i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #888;
}

input, textarea {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: white;
  transition: 0.3s;
}

input:focus, textarea:focus {
  outline: none;
  border: 2px solid #ff0055;
  box-shadow: 0 0 8px #00c8ff, 0 0 16px #ff0055;
  background: rgba(255, 255, 255, 0.05);
}

.contact-button {
  background: linear-gradient(45deg, #00ffff, #ff0055);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: bold;
}

.contact-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #00ffff, 0 0 20px #ff0055;
}

.form-feedback {
  color: #00ff88;
  margin-top: 20px;
}

/* Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .contact-section {
    padding: 60px 10px;
  }

  .contact-form {
    gap: 16px;
  }
}

.separator {
  height: 2px;
  width: 80%;
  margin: 4rem auto;
  background: linear-gradient(to right, transparent, #00d9ff88, transparent);
  box-shadow: 0 0 12px #00d9ff44;
  border-radius: 1px;
}

h1 {
  background: linear-gradient(45deg, #00ffff, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #00ffff, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #00ffff, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

h4 {
  background: linear-gradient(45deg, #00ffff, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

h5 {
  background: linear-gradient(45deg, #00ffff, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

h6 {
  background: linear-gradient(45deg, #025e5e, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ffff, #ff0055);
 

}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00ccff, #ff3366);
}
.site-footer {
  background: #0b0b0b;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  color: #ccc;
  text-shadow: 0 0 5px rgba(0, 240, 255, 0.07);
  font-size: 0.95rem;
}

.footer-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 0, 87, 0.4);
}

.footer-status i {
  color: limegreen;
  margin-right: 5px;
  font-size: 0.75rem;
}

.footer-status {
  margin-bottom: 0.8rem;
}

.footer-quote {
  font-style: italic;
  margin-bottom: 1rem;
  color: #bbb;
}

.footer-links {
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links a:hover {
  color: #00f0ff;
  text-shadow: 0 0 8px #00f0ff;
}

.footer-socials a {
  margin: 0 0.6rem;
  font-size: 1.5rem;
  color: #ff0057;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 10px rgba(255, 0, 87, 0.4);
}

.footer-socials a:hover {
  transform: scale(1.2);
  color: #00f0ff;
  text-shadow: 0 0 12px #00f0ff;
}

.footer-location {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #999;
}

.footer-location i {
  color: #ff0057;
  margin-right: 5px;
}

.tech-used {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #777;
}
.footer-socials a .fa-whatsapp {
  color: #25D366;
  text-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

.footer-socials a:hover .fa-whatsapp {
  color: #00f0ff;
  text-shadow: 0 0 12px #00f0ff;
}
.form-feedback {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
  color: #00ffcc;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.4);
  transition: all 0.3s ease;
}
/* Logo version normale */
.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.7);
  transition: all 0.4s ease-in-out;
}

/* Logo version minimal (SA) avec fondu */
.navbar.shrink .logo::before {
  content: "SA";
  display: block;
  font-size: 1.4rem;
  color: #00f7ff;
  text-shadow: 0 0 5px rgba(255, 0, 120, 0.6);
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

/* Masquer l'ancien texte quand réduit */
.navbar.shrink .logo {
  color: transparent;
  text-shadow: none;
}

/* Liens avec transition fluide */
.navbar .nav-links a {
  transition: all 0.3s ease-in-out;
}
/* Sticky navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  z-index: 999;
  transition: all 0.4s ease-in-out;
}

/* Centered nav links */
.nav-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: 30px;
  background-color: #111;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.nav-links a:hover {
  background: linear-gradient(to right, #ff0055, #00ffff);
  color: #000;
}

/* Logo effet glow */
.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
  transition: all 0.4s ease-in-out;
}

/* --- SHRINK VERSION --- */
.navbar.shrink {
  padding: 10px 30px;
  backdrop-filter: blur(10px);
  background-color: rgba(10, 10, 10, 0.95);
}

/* Logo devient SA en dégradé */
.navbar.shrink .logo::before {
  content: "SA";
  font-size: 1.2rem;
  font-weight: bold;
  background: linear-gradient(45deg, #ff0055, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.navbar.shrink .logo {
  color: transparent;
  text-shadow: none;
}
