/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: #000; /* Fond noir */
    color: #fff; /* Texte blanc */
    overflow-x: hidden;
}
.cv-pdf {
    margin: 50px auto;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cv-pdf .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.pdf-container {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 27, 27, 0); /* Navbar sombre */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar .logo {
    color: rgb(255, 255, 255); /* Texte blanc sur la navbar */
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.navbar .nav-links a {
    text-decoration: none;
    color: rgb(255, 255, 255); /* Lien blanc */
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: #f39c12; /* Couleur d'accent hover */
    transform: scale(1.1);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger .line {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: transform 0.3s;
}

/* Media Queries pour le menu mobile */
@media (max-width: 768px) {
    .navbar .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 100%;
        background-color: rgb(0, 0, 0);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
    }

    .navbar .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }
}

/* Animation hamburger */
.hamburger .line.rotate-first {
    transform: rotate(45deg);
    transform-origin: top left;
}

.hamburger .line.rotate-second {
    transform: rotate(-45deg);
    transform-origin: bottom left;
}

.hamburger .line.fade {
    opacity: 0;
}


/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Filtre sombre */
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    animation: fadeIn 2s;
}
.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 2s;
}
.hero-subtitle {
    font-size: 1.7rem;
    font-weight: 300;
    animation: fadeIn 2s 0.5s;
}
.hero-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    color: #fff;
    background: #f39c12;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s, transform 0.3s;
}
.hero-button:hover {
    background: #d35400;
    transform: scale(1.05);
}

/* CV Video Section */
.cv-video {
    background: #000;
    padding: 3rem 1rem;
    text-align: center;
    animation: fadeInUp 1.5s;
}
.cv-video .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
}
.video-container {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
.video-container iframe {
    width: 90%;
    max-width: 800px;
    height: 450px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    background: #000;
    animation: fadeIn 2s;
}
.about-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}
.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ccc; /* Texte légèrement gris */
}

/* Footer */
.footer {
    color: rgb(255, 255, 255); /* Texte noir */
    padding: 2rem;
    text-align: center;
}
.footer .social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}
.footer .social-links a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 1rem;
    transition: color 0.3s;
}
.footer .social-links a:hover {
    color: #f39c12;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .about {
        flex-direction: column;
        text-align: center;
    }
    .about-image {
        margin-bottom: 1.5rem;
    }
}


/* Productions Video Section */
.productions-video {
    padding: 3rem 1rem;
    background: #111; /* Fond sombre élégant */
    color: #fff;
    text-align: center;
}

.productions-video .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.productions-video .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}
h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Vidéo sans carte autour */
.video-item {
    position: relative;
    margin-bottom: 1rem;
}

.video-item video {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

/* Titre de la vidéo */
.video-title {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #ccc;
    text-align: center;
    font-weight: bold;
}

/* Réduction des animations de hover */
.video-item video:hover {
    transform: scale(1.02); /* Effet très léger */
}

/* Plein écran et agrandissement */
.video-item video:focus {
    outline: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-item iframe {
        height: 220px;
    }

    .productions-video .section-title {
        font-size: 2rem;
    }
}

/*PHOTOS*/ 
/* Reset des styles par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles de la galerie */
#photo-gallery {
    padding: 20px;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center; /* Centrage vertical et horizontal */
    z-index: 1000; /* S'assurer qu'elle est au-dessus des autres éléments */
}

/* Centrage parfait de l'image dans la lightbox */
.lightbox-img {
    display: block; /* Éviter les comportements de ligne */
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; /* Conserver les proportions */
    margin: auto; /* Centrer l'image horizontalement et verticalement */
    transition: opacity 0.3s ease;
    padding-top: 20px; /* Ajout de l'espace au dessus de l'image */
}

/* Contrôles de navigation dans la lightbox */
.lightbox-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

button {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    font-size: 30px;
    color: white;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

button:focus {
    outline: none;
}

/* Style du bouton close */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff6347;
}

/* Styles du footer */
.footer {
    color: white;
    padding: 20px;
    text-align: center;
}

.social-links {
    list-style: none;
    padding: 0;
}

.social-links li {
    display: inline-block;
    margin-right: 10px;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff6347;
}

