/* --------------------------- STYLES GÉNÉRAUX --------------------------- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, p {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --------------------------- HEADER --------------------------- */
.header {
    background: linear-gradient(90deg, #ff007a, #8500ff);
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #fff;
    display: inline-block;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-buttons a {
    display: inline-block;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-buttons a:hover {
    background-color: #ff4dbf;
    transform: scale(1.1);
}

.contact-btn {
    display: inline-block;
    background-color: #ff007a;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.contact-btn:hover {
    background-color: #ff4dbf;
    transform: scale(1.1);
}


/* --------------------------- HERO SECTION --------------------------- */
.hero {
    height: 100vh;
    background: url('../image/background5.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    color: #ff007a;
    font-family: 'Orbitron', sans-serif;
    animation: fadeIn 2s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-top: 10px;
    animation: fadeIn 3s ease;
}


/* --------------------------- A PROPOS --------------------------- */
.section-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  color: #ddd;
  font-size: 1.1rem;
  line-height: 1.8;
  padding: 0 20px 60px;
}

.section-text strong {
  color: #ff007a;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #ff4dbf;
  font-family: 'Orbitron', sans-serif;
  margin: 80px 0 20px;
  /*text-shadow: 0 0 10px #8500ff;*/
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff007a, #8500ff);
  margin: 10px auto;
  border-radius: 5px;
  animation: pulseLine 2s infinite;
}


/* --------------------------- FOOTER --------------------------- */
footer {
    background: #222;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}


/* --------------------------- ANIMATIONS --------------------------- */
@keyframes pulseLine {
  0%, 100% { transform: scaleX(1); opacity: 0.8; }
  50% { transform: scaleX(1.2); opacity: 1; }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
}


/* --------------------------- RESPONSIVE --------------------------- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin: 0 auto;
    }

    .nav-buttons {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.9);
        padding: 20px;
        border-radius: 10px;
        text-align: center;
    }

    .nav-buttons.show {
        display: flex;
    }

    .nav-buttons a {
        margin: 10px 0;
        background-color: rgba(255, 255, 255, 0.1);
        padding: 10px 20px;
        border-radius: 30px;
        transition: background-color 0.3s ease;
    }

    .nav-buttons a:hover {
        background-color: #ff4dbf;
    }
}