/* Définition des polices personnalisées */
@font-face {
    font-family: 'CollectoRegular';
    src: url('../collecto.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CollectoSemibold';
    src: url('../collects.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CollecroRegular';
    src: url('../collecro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CollecroSemibold';
    src: url('../collecrs.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Variables de couleurs */
:root {
    --rose: #FF35C7;
    --bleu: #3585FF;
    --or: #FAB142;
    --noir: #231F20;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'CollectoRegular', sans-serif;
    line-height: 1.6;
    color: var(--noir);
    background-color: #000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h3 {
    font-family: 'CollecroSemibold', sans-serif;
    margin-bottom: 1.5rem;
    font-weight: normal;
    color: var(--rose);
}

h1 {
    font-size: 5rem;
}

h2 {
    font-size: 4rem;
    color: var(--bleu);
}

p {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #fff;
}

ul {
    list-style: none;
    color: #fff;
}

a {
    text-decoration: none;
    color: var(--or);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--rose);
}

/* Vidéo de fond */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* Contrôle audio */
.audio-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

#audio-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--rose);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 53, 199, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 53, 199, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 53, 199, 0);
    }
}

#audio-toggle:hover {
    background-color: var(--rose);
    animation: none;
}

.audio-icon {
    font-size: 2rem;
    color: #fff;
}

.audio-on {
    display: none;
}

body.sound-on .audio-on {
    display: block;
}

body.sound-on .audio-off {
    display: none;
}

#audio-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 53, 199, 0.5);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    margin-left: 2rem;
   
}

.logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

header nav {
    margin-right: 2rem;
}

header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 2rem;
}

header nav ul li a {
    color: #fff;
    transition: color 0.3s ease;
    font-family: 'CollectoSemibold', sans-serif;
}

header nav ul li a:hover {
    color: var(--or);
}

header nav ul li a.active {
    color: var(--rose);
}

header::after {
    content: '';
    display: table;
    clear: both;
}

/* Sections */
section {
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

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

.hero-logo {
    margin-bottom: -1rem;
}

.hero-logo-img {
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#hero h2 {
    font-size: 6rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--rose);
}

.tagline {
    font-family: 'CollecroRegular', sans-serif;
    font-size: 1.8rem;
    color: var(--or);
}

.tagline.text-card {
    display: inline-block;
    margin-top: 1rem;
    font-size: 3rem;
    transform: skew(-5deg);
    padding: 1rem 2rem;
    background-color: rgba(53, 133, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.tagline.text-card:hover {
    transform: skew(-5deg) scale(1.05);
}

.about-content, .experience-content {
    max-width: 800px;
    margin: 0 auto;
}

.experience-content ul {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

/* Style original des listes */
.experience-content ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.experience-content ul li::before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--rose);
    border-radius: 50%;
}

/* Cartes texte avec encarts colorés */
.text-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: skew(-2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.text-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: inherit;
    opacity: 0.8;
}

.text-card:hover {
    transform: skew(-2deg) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Variantes de couleurs */
.text-card.rose {
    background-color: rgba(255, 53, 199, 0.15);
    border-left: 5px solid var(--rose);
}

.text-card.bleu {
    background-color: rgba(53, 133, 255, 0.15);
    border-left: 5px solid var(--bleu);
}

.text-card.or {
    background-color: rgba(250, 177, 66, 0.15);
    border-left: 5px solid var(--or);
}

.text-card.noir {
    background-color: rgba(35, 31, 32, 0.25);
    border-left: 5px solid var(--noir);
}

/* Ajustements pour le texte dans les cartes */
.text-card p {
    margin-bottom: 0;
}

.text-card.rose, .text-card.bleu, .text-card.or, .text-card.noir {
    color: #fff;
}

/* Ajustement pour la liste dans une carte */
.text-card ul {
    margin: 0;
    padding-left: 0;
}

.text-card ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.text-card ul li::before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #fff;
    border-radius: 50%;
}

/* Bouton */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    border: 2px solid var(--or);
    color: var(--or);
    border-radius: 50px;
    font-family: 'CollectoSemibold', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    background-color: var(--or);
    color: var(--noir);
}

/* Formulaire */
form {
    max-width: 600px;
    margin: 2rem auto;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'CollectoSemibold', sans-serif;
    color: var(--bleu);
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-family: 'CollectoRegular', sans-serif;
    font-size: 3rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--rose);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 2rem 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
        flex-direction: column;
    }
    
    .logo-container {
        margin: 0 0 1rem 0;
        text-align: center;
    }
    
    .logo {
        height: 50px;
    }
    
    header nav {
        margin-right: 0;
    }
    
    header nav ul {
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    header nav ul li {
        margin: 0 1rem;
    }
    
    .hero-logo-img {
        max-width: 180px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    #hero h2 {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.4rem;
    }
    
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    header nav ul li {
        margin: 0 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    #hero h2 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
}
