/* ================================
   RESET ET CONFIGURATION GÉNÉRALE
   ================================ */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    height: 100%;
    scroll-behavior: smooth;
  }
  
  body {
    height: 100%;
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: white;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  /* Animation optionnelle si JavaScript est présent */
  body.page-loading {
    opacity: 0;
    transform: translateY(20px);
  }
  
  body.page-loaded {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Empêcher le scroll quand le menu est ouvert */
  body.menu-open {
    overflow: hidden;
  }
  
  /* ================================
     TYPOGRAPHIE
     ================================ */
  
  h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    letter-spacing: 3px;
    text-align: center;
    margin: 2rem 0 1rem;
    font-weight: bold;
  }
  
  h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: 1rem;
    color: #f2f2f2;
    text-align: center;
  }
  
  h3 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    margin-bottom: 1rem;
    text-align: center;
  }
  
  h4 {
    font-size: clamp(2rem, 4vw, 4rem);
    text-align: center;
    margin: 40px 0;
  }
  
  h5 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
  }
  
  p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    font-weight: 300;
    line-height: 1.6;
  }
  
  /* ================================
     NAVIGATION - DESKTOP
     ================================ */
  
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid #fff;
  }
  
  .navbar nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .logoheader img {
    width: 60px;
    height: auto;
  }
  
  .main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  
  .main-menu li {
    position: relative;
  }
  
  .main-menu a,
  .dropdown-toggle {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    transition: color 0.3s ease;
  }
  
  .main-menu a:hover,
  .dropdown-toggle:hover {
    color: #ccc;
  }
  
  /* Sous-menu */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #111;
    top: 100%;
    left: 0;
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
    border: 1px solid #fff;
    border-radius: 8px;
  }
  
  .dropdown-content li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: background-color 0.2s ease;
  }
  
  .dropdown-content li a:hover {
    background-color: #222;
  }
  
  .dropdown.open .dropdown-content {
    display: block;
  }
  
  /* ================================
     NAVIGATION - MOBILE
     ================================ */
  
  .burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 15px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
  }
  
  .burger-menu:hover {
    background: rgba(255, 255, 255, 0.15);
  }
  
  .burger-menu span {
    height: 3px;
    width: 30px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
  }
  
  /* Animation croix quand actif */
  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
  }
  
  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  /* Menu mobile slide */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    padding-top: 80px;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
  }
  
  .mobile-menu.active {
    left: 0;
  }
  
  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mobile-menu li {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  /* Animation des liens quand le menu s'ouvre */
  .mobile-menu.active li {
    transform: translateX(0);
    opacity: 1;
  }
  
  .mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
  .mobile-menu.active li:nth-child(2) { transition-delay: 0.15s; }
  .mobile-menu.active li:nth-child(3) { transition-delay: 0.2s; }
  .mobile-menu.active li:nth-child(4) { transition-delay: 0.25s; }
  .mobile-menu.active li:nth-child(5) { transition-delay: 0.3s; }
  
  .mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
  }
  
  .mobile-menu a:hover {
    color: #667eea;
    padding-left: 10px;
  }
  
  /* Overlay fond sombre */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(2px);
  }
  
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* ================================
     HERO SECTION
     ================================ */
  
  .hero {
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d, #1a1a1a);
    background: url('../photos/background.jpg') center center/cover no-repeat;
');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 100px;
  }
  
  /* Overlay pour améliorer la lisibilité du texte */
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
  }
  
  .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    z-index: 1;
  }
  
  .content h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin: 0.5rem 0;
  }
  
  .content h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: 1rem;
  }
  
  #getv {
    font-size: 1.4rem;
    margin-top: 1rem;
  }
  
  /* ================================
     SECTION ABOUT
     ================================ */
  
  .about {
    background-color: #000;
    color: white;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
  }
  
  .about-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    gap: 40px;
  }
  
  .about-text {
    flex: 1;
    min-width: 300px;
    text-align: center;
  }
  
  .about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: bold;
  }
  
  .about-image {
    flex: 1;
    min-width: 200px;
    text-align: center;
  }
  
  .about-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
  }
  
  /* ================================
     SECTION PASSIONS
     ================================ */
  
  #passions {
    background-color: #000;
    color: white;
    padding: 80px 20px;
    text-align: center;
  }
  
  #passions h2 {
    margin-bottom: 50px;
  }
  
  .passions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .passion-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #333, #555);
  }
  
  .passion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  }
  
  .passion-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .passion-card:hover img {
    transform: scale(1.1);
  }
  
  .passion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
    text-align: center;
  }
  
  .passion-card:hover .passion-overlay {
    opacity: 1;
  }
  
  .passion-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  
  .passion-text {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    max-width: 90%;
  }
  
  /* Style alternatif avec icône visible en permanence */
  .passion-icon-permanent {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    z-index: 2;
    transition: transform 0.3s ease;
  }
  
  .passion-card:hover .passion-icon-permanent {
    transform: scale(1.1);
  }
  
  /* ================================
     SECTION VIDÉO
     ================================ */
  
  .video-section {
    background-color: #000;
    color: white;
    padding: 80px 20px;
    text-align: center;
  }
  
  .video-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .video-section hr {
    width: 80%;
    max-width: 700px;
    margin: 0 auto 40px auto;
    border: 1px solid #aaa;
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
  }
  
  /* ================================
     CARTES ET GALERIES
     ================================ */
  
  .cartephoto {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem 2rem;
    margin-bottom: 20px;
  }
  
  .card,
  .carte {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 90%;
    max-width: 350px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: #333;
  }
  
  .card:hover,
  .carte:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  }
  
  .card img,
  .carte img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
  }
  
  .card:hover img,
  .carte:hover img {
    transform: scale(1.1);
  }
  
  /* ================================
     INSPIRATIONS
     ================================ */
  
  .inspirations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 0 1rem 3rem;
  }
  
  .inspirationcarte {
    max-width: 320px;
    background-color: #111;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
  }
  
  .inspirationcarte:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
  }
  
  .inspirationcarte img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
  }
  
  .inspirationcarte:hover img {
    transform: scale(1.08);
  }
  
  .inspirationcarte p {
    font-size: 0.95rem;
    padding: 1rem;
    line-height: 1.5;
    color: #ccc;
  }
  
  /* ================================
     COMPÉTENCES
     ================================ */
  
  .competences {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    padding: 40px 0;
    background-color: #0a0a0a;
  }
  
  .competence {
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .competences img {
    width: 80px;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  .competence:hover {
    transform: scale(1.1);
  }
  
  .competence:hover img {
    transform: scale(1.15);
  }
  
  .competence-mmi {
    margin-top: 15px;
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  /* ================================
     CRÉATIONS
     ================================ */
  
  .creations {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 60px;
  }
  
  .creation {
    width: 300px;
    height: 450px;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: #333;
  }
  
  .creation:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  }
  
  .creation img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .creation:hover img {
    transform: scale(1.1);
  }
  
  /* ================================
     CARROUSEL
     ================================ */
  
  #carrousel {
    max-width: 400px;
    position: relative;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  
  .slide {
    display: none;
    animation: fade 1.5s ease-in-out;
  }
  
  .slide.active {
    display: block;
  }
  
  .slide img {
    width: 100%;
    border-radius: 20px;
  }
  
  #prev, #next {
    cursor: pointer;
    position: absolute;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  #next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  #prev:hover, #next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  #dots {
    display: flex;
    position: absolute;
    bottom: -40px;
    width: 100%;
    justify-content: center;
    list-style: none;
    column-gap: 8px;
    padding: 0;
  }
  
  .dot {
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border-radius: 20px;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s ease;
  }
  
  .dot:hover {
    opacity: 0.6;
  }
  
  .dot.active {
    opacity: 0.8;
    transform: scale(1.2);
  }
  
  /* ================================
     SECTION CONTACT
     ================================ */
  
  .contact-section {
    background-color: #000;
    color: white;
    padding: 80px 20px;
    text-align: center;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    gap: 20px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 15px;
    border: 2px solid #333;
    border-radius: 8px;
    background-color: #222;
    color: white;
    font-size: 1rem;
    resize: none;
    transition: border-color 0.3s ease;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #555;
  }
  
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: #888;
  }
  
  .contact-form button {
    background-color: white;
    color: black;
    border: none;
    padding: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
  }
  
  .contact-form button:hover {
    background-color: #ddd;
    transform: translateY(-2px);
  }
  
  /* ================================
     FOOTER
     ================================ */
  
  .footer {
    background-color: #111;
    color: white;
    padding: 80px 20px 40px;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 80px;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-column {
    min-width: 150px;
  }
  
  .footer-column p {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.1rem;
  }
  
  .footer-column a {
    color: #4ea9ff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .footer-column a:hover {
    color: #8cc8ff;
    text-decoration: underline;
  }
  
  .footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-bottom a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-bottom a:hover {
    color: #ccc;
  }
  
  /* ================================
     BOUTONS ET LIENS
     ================================ */
  
  .cv-download {
    margin-top: 20px;
    text-align: center;
  }
  
  .cv-button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .cv-button:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
  }
  
  .voir-plus-de-creations {
    text-align: center;
    margin-top: 20px;
  }
  
  .voir-plus-de-creations-bouton {
    display: inline-block;
    background-color: #000;
    color: white;
    padding: 12px 24px;
    border: 2px solid #fff;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .voir-plus-de-creations-bouton:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
  }
  
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    color: white;
    background-color: #333;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
  }
  
  .back-to-top:hover {
    background-color: #555;
    transform: translateY(-3px);
  }
  
  /* ================================
     SÉPARATEURS
     ================================ */
  
  .separateur {
    border-top: 1px solid #666;
    width: 90%;
    height: 1px;
    background-color: white;
    margin: 20px auto 50px;
  }
  
  .education hr {
    width: 80%;
    max-width: 700px;
    margin: 0 auto 40px auto;
    border: 1px solid #aaa;
  }
  
  /* ================================
     ANIMATIONS
     ================================ */
  
  @keyframes fade {
    from { opacity: 0.4 }
    to { opacity: 1 }
  }
  
  @keyframes slideInDown {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ================================
     RESPONSIVE - TABLETTE
     ================================ */
  
  @media (min-width: 768px) {
    .cartephoto {
      flex-direction: row;
      justify-content: center;
    }
  }
  
  /* ================================
     RESPONSIVE - MOBILE
     ================================ */
  
  @media screen and (max-width: 768px) {
    /* Navigation mobile */
    .burger-menu {
      display: flex !important;
    }
  
    .main-menu {
      display: none;
    }
  
    .main-menu.show {
      display: flex;
      position: absolute;
      top: 70px;
      right: 0;
      background-color: rgba(0, 0, 0, 0.95);
      backdrop-filter: blur(20px);
      flex-direction: column;
      width: 100%;
      text-align: center;
      padding: 20px 0;
      z-index: 998;
      border-top: 1px solid #333;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
  
    .main-menu.show li {
      margin: 10px 0;
      opacity: 0;
      transform: translateY(-20px);
      animation: slideInDown 0.3s ease forwards;
    }
  
    .main-menu.show li:nth-child(1) { animation-delay: 0.1s; }
    .main-menu.show li:nth-child(2) { animation-delay: 0.15s; }
    .main-menu.show li:nth-child(3) { animation-delay: 0.2s; }
    .main-menu.show li:nth-child(4) { animation-delay: 0.25s; }
    .main-menu.show li:nth-child(5) { animation-delay: 0.3s; }
  
    /* Sections */
    .hero {
      padding-top: 80px;
    }
  
    .about-container {
      flex-direction: column;
      gap: 20px;
    }
  
    .passions-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  
    .passion-card {
      height: 250px;
    }
  
    .passion-title {
      font-size: 1.5rem;
    }
  
    .passion-text {
      font-size: 1rem;
    }
  
    .cartephoto {
      flex-direction: column;
    }
  
    .inspirations {
      gap: 1rem;
    }
  
    .competences {
      gap: 40px;
    }
  }