/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ================= VARIABLES ================= */
:root {
  --pink: #ff2f92;
  --pink-soft: #ff85c2;
  --white: #ffffff;
  --black: #000000;
  --gray: #666;
  --shadow: rgba(0, 0, 0, 0.08);
}

body {
  min-height: 100vh;
  /* tu peux ajuster pour chaque section si nécessaire */
  display: flex;
  flex-direction: column; /* pour que toutes les sections s'empilent correctement */
  gap: 60px;
 background: linear-gradient(
    135deg,
    #8a077b,   /* noir légèrement éclairci */
    #2b1826,   /* violet très sombre */
    #ee0887 );
  color: #fff;
  position: relative;
  font-family: 'Roboto', sans-serif; /* conserve ta police */
}


/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 25px var(--shadow);
  z-index: 1000;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pink);
  font-family: 'Montserrat', sans-serif;
}

.nav-links a {
  margin-left: 25px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--pink);
}

/* ================= BUTTON ================= */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--pink);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(255,47,146,0.9);
}


.hero::before {
  top: -120px;
  left: -120px;
}

.hero::after {
  bottom: -120px;
  right: -120px;
}

.hero-left,
.hero-right {
  position: relative;
  z-index: 2;
}

.hero-left h1 {
  font-size: 3.2rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
}

.hero-left span {
  color: var(--pink);
}

.hero-left p {
  max-width: 520px;
  margin-bottom: 35px;
  opacity: 0.9;
}

/* PHOTO HERO – CERCLE */
.hero-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 0 40px rgba(255,47,146,0.6),
    0 0 80px rgba(255,47,146,0.4);
}

/* ================= ABOUT ================= */


/* photo en haut, texte dessous */
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.about-photo {
  position: relative;
}

/* photo ronde */
.about-photo img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  position: relative;
  z-index: 2;
}

/* halo lumineux */
.about-photo::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255,47,146,0.9),
    rgba(255,47,146,0.4),
    transparent 70%
  );
  filter: blur(14px);
  z-index: 1;
}


/* ================= ABOUT – GLASS TEXT ================= */
.about-text {
    position: relative;
    padding: 35px 30px;
    border-radius: 26px; /* bords arrondis */
    background: rgba(255, 255, 255, 0.06); /* glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
    transition: 0.4s ease;
}

/* Hover optionnel pour un effet subtil */
.about-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 65px rgba(255, 47, 146, 0.35);
    border-color: rgba(255, 47, 146, 0.4);
}


/* Section vision */
.about-extra h3 {
    color: var(--pink);
    font-size: 1.3rem;
    margin-top: 25px;
}

.about-extra p {
    color: #e6e6e6;
    line-height: 1.6;
}

/* ================= SERVICES – GLASS CARDS ================= */

.services {
  padding: 100px 8%;
  background: transparent; /* on ne touche pas au fond */
}

.services h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 60px;
  color: #fff;
}

.services-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

/* FORME GLASS */
.service-card {
  position: relative;
  padding: 35px 30px;
  border-radius: 26px; /* bords arrondis */
  background: rgba(255, 255, 255, 0.06); /* glass */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
  transition: 0.4s ease;
  text-align: center;
}

/* EFFET AU SURVOL */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 65px rgba(255, 47, 146, 0.35);
  border-color: rgba(255, 47, 146, 0.4);
}

/* TEXTE */
.service-card h3 {
  color: var(--pink);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e6e6e6;
  margin-bottom: 25px;
}

/* BOUTON PLUS DISCRET */
.service-card .btn-primary {
  padding: 10px 22px;
  font-size: 0.85rem;
  border-radius: 25px;
}


/* ================= SKILLS ================= */


/* ================= CONTACT ================= */
.contact-section {
  padding: 100px 8%;
  text-align: center;
}



.section-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3); /* blanc semi-transparent */
    z-index: 1;
}



.contact-form {
  max-width: 500px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;

}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink);
}

/* ================= SOCIALS ================= */



.socials-section {
  padding: 80px 8%;
  background: #fff;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.social-icon img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: 0.3s;
  margin: 5px;
}

.social-icon img:hover {
  transform: scale(1.15);
}

/* ================= FOOTER ================= */
footer {
  padding: 20px;
  background: #000;
  color: #fff;
  text-align: center;
}

/* ================= ANIMATION SCROLL ================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all ease 0.3s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    display: none;
  }
}

/* SECTION COMPÉTENCES */
.skills-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
}

.skills-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ff4f9a;
}



.skill {
    margin-bottom: 18px;
}

.skill h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 600;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.skill .percent {
    font-weight: 500;
    color: #ff4f9a;
}

/* BARRES */
.skill-bar {
    width: 100%;      /* long */
    height: 6px;      /* fin */
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ff4f9a, #ff7abf);
    border-radius: 25px;
    transition: width 2s ease-in-out;
    box-shadow: 0 0 12px rgba(255, 79, 154, 0.4);
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
.skills-image {
        margin-top: 30px;
    }
}

/* ================= HERO SOCIAL ================= */

.hero.scroll-animate h1 {
  font-size: 2.8rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 15px;
}

.hero.scroll-animate p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: auto;
}

/* ================= HERO SOCIAL ================= */
.hero.scroll-animate {
  padding: 90px 8% 40px;
  background: #ffffff;
  text-align: center;
}

.hero.scroll-animate h1 {
  font-size: 2.4rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 8px;
  color: #111;
}

.hero.scroll-animate p {
  font-size: 1rem;
  color: #666;
  max-width: 520px;
  margin: 0 auto;
}


/* ================= RESPONSIVE GLOBAL ================= */

/* TABLETTE */
@media (max-width: 900px) {

  .navbar {
    padding: 15px 5%;
  }

  .burger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    color: var(--pink);
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    box-shadow: 0 10px 30px var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    margin: 12px 0;
    font-size: 1.1rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 140px 5% 80px;
  }

  .hero-left h1 {
    font-size: 2.4rem;
  }

  .hero-image {
    width: 240px;
    height: 240px;
  }
}

/* MOBILE */
@media (max-width: 480px) {

  body {
    font-size: 15px;
  }

  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-left p {
    font-size: 0.95rem;
  }
    

  .skills-section h2,
  .services h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .service-card {
    padding: 20px;
  }

  .contact-form {
    width: 100%;
  }

  footer {
    font-size: 0.9rem;
  }
}



.skills-image {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    align-items: center; /* centre la photo verticalement */
}


/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  min-height: 100vh;
  padding: 160px 8% 100px;
  background: linear-gradient(
    135deg,
    #0b0b0f,
    #1c0f18,
    #3a162a
  );
  color: #fff;
  position: relative;
  overflow: hidden;
  flex-direction: row; /* alignement horizontal */
}

/* inverser les blocs pour desktop */
.hero-left {
  order: 1; /* texte à gauche */
}

.hero-right {
  order: 2; /* image à droite */
}

/* Pour responsive mobile, empiler verticalement */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-right {
    order: 1;
    margin-bottom: 25px;
  }

  .hero-left {
    order: 2;
  }
}

  .hero-image {
    width: 240px;
    height: 240px;
  }


.social-section {
  display: flex;
  flex-direction: column; /* empile verticalement */
  align-items: center;    /* centre horizontal */
  justify-content: center; /* centre vertical si nécessaire */
  text-align: center;
  gap: 30px;              /* espace entre photo, texte et icônes */
  padding: 80px 8%;
  width: 100%;
}

/* photo en haut */
.social-section .hero-right {
  margin-bottom: 20px;
}

.social-section .hero-image {
  max-width: 300px; /* ajuste selon ton besoin */
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* texte centré sous la photo */
.social-section .social-header h1,
.social-section .social-header p {
  margin: 0 auto;
}

/* icônes centrées sous le texte */
.social-section .social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* ================= CONTACT ================= */

.contact-section {
  padding: 100px 8%;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.contact-section p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 50px;
}

/* FORMULAIRE */
.contact-form {
  max-width: 520px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 35px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}

.contact-form textarea {
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

/* FOCUS */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--pink);
  background: rgba(255,255,255,0.12);
}

/* BOUTON */
.contact-form button {
  margin-top: 10px;
  align-self: center;
  padding: 12px 38px;
  border-radius: 30px;
}


.skill-fill {
  width: 0;
  transition: width 2s ease-in-out;
}

.skill-fill.active {
  width: var(--skill-percent); /* on définit le pourcentage via JS */
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03) rotateZ(1deg);
  box-shadow: 0 35px 65px rgba(255, 47, 146, 0.35);
  border-color: rgba(255, 47, 146, 0.4);
  transition: 0.4s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 40px rgba(255,47,146,0.9);
}

/* ================= ANIMATION SCROLL & FADE-IN ================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in + léger scale pour les cards */
.fade-up {
  opacity: 0;
  transform: translateY(20px) scale(1);
  transition: all 0.3s ease-out;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* Animation hover pour les cartes */
.service-card,
.about-text,
.contact-form {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.about-text:hover,
.contact-form:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 45px 75px rgba(255, 47, 146, 0.35);
  border-color: rgba(255, 47, 146, 0.4);
}

.hover-effect {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 45px 75px rgba(255, 47, 146, 0.35);
  border-color: rgba(255, 47, 146, 0.4);
}

body {
  cursor: pointer; /* ou default selon ton choix */
}

.service-card:hover::after,
.about-text:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  box-shadow: 0 0 40px rgba(255, 47, 146, 0.4);
  pointer-events: none;
}

/* Éléments interactifs : boutons, liens, certains textes */
.interactive {
  transition: transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
  cursor: pointer;
}

/* Hover pour desktop */
.interactive:hover {
  transform: translateY(-2px);
  text-shadow: 0 2px 6px rgba(255, 47, 146, 0.3);
  color: var(--pink-soft); /* optionnel pour un effet subtil */
}

/* Touch sur mobile : ajoute temporairement la même animation */
.hover-touch {
  transform: translateY(-2px) !important;
  text-shadow: 0 2px 6px rgba(255, 47, 146, 0.3) !important;
  color: var(--pink-soft) !important;
}

/* ================= ANIMATION AU CHARGEMENT ================= */

.on-load {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


