:root {
    --bleu-nuit: #0a1929;
    --noir: #000000;
    --texte: #ffffff;
    --accent: #4a8cff;
    --gris-fonce: #121212;
    --gris-clair: #333333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bleu-nuit);
    color: var(--texte);
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

section {
    padding: 100px 5%;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    z-index: 10;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--texte);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 15;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--texte);
    margin: 3px 0;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10;
    padding-top: 80px;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.mobile-menu a {
    color: var(--texte);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    transition: var(--transition);
}

.mobile-menu a:hover {
    background-color: rgba(74, 140, 255, 0.2);
    color: var(--accent);
}

.mobile-menu.active {
    right: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s forwards 0.5s;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: 5px;
    left: 0;
    background-color: rgba(74, 140, 255, 0.2);
    z-index: -1;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 1rem;
}

.secondary-button:hover {
    border-color: white;
}

/* Background Animation */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, rgba(74, 140, 255, 0) 70%);
    opacity: 0.1;
}:root {
     --bleu-nuit: #0a1929;
     --noir: #000000;
     --texte: #ffffff;
     --accent: #4a8cff;
 }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bleu-nuit);
    color: var(--texte);
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    z-index: 10;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--texte);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s forwards 0.5s;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: 5px;
    left: 0;
    background-color: rgba(74, 140, 255, 0.2);
    z-index: -1;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 1rem;
}

.secondary-button:hover {
    border-color: white;
}

/* Background Animation */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, rgba(74, 140, 255, 0) 70%);
    opacity: 0.1;
}

.circle1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation: float 20s infinite alternate;
}

.circle2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
    animation: float 15s infinite alternate-reverse;
}

.circle3 {
    width: 300px;
    height: 300px;
    top: 40%;
    right: 20%;
    animation: float 25s infinite alternate;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--bleu-nuit) 1px, transparent 1px),
    linear-gradient(90deg, var(--bleu-nuit) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    opacity: 0.05;
    z-index: 1;
}

/* Animated Dots */
.dots {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s forwards 1.5s;
}

.scroll-indicator p {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about {
    background-color: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background-color: var(--accent);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.experience-badge .number {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    white-space: nowrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.about-text .intro {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 500;
}

.about-buttons {
    margin-top: 30px;
}

/* Skills Section */
.skills {
    padding: 100px 5%;
    background-color: var(--bleu-nuit);
    position: relative;
    overflow: hidden;
}

.skills-content {
    max-width: 800px;
    margin: 0 auto;
}

.skills-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-category {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--texte);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-category.active, .skill-category:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

.skills-container {
    display: none;
}

.skills-container.active {
    display: block;
    animation: fadeIn 0.5s forwards;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-info h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    position: absolute;
    height: 100%;
    width: 0;
    background-color: var(--accent);
    border-radius: 10px;
    transition: width 1.5s ease;
}

/* Projects Section */
.projects {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 100px 5%;
}

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--texte);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.project-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 250px;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-10px);
}

.project-img {
    width: 100%;
    height: 100%;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-info {
    text-align: center;
    width: 100%;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.project-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--accent);
    padding: 5px 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.project-link:hover {
    background-color: var(--accent);
    color: white;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 5%;
    background-color: var(--bleu-nuit);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    position: relative;
}

.testimonial-item {
    min-width: 100%;
    padding: 0 10px;
    transition: transform 0.5s ease;
}

.testimonial-quote {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    margin-bottom: 30px;
}

.testimonial-quote:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    transform: rotate(45deg);
}

.quote-icon {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 3rem;
    color: rgba(74, 140, 255, 0.2);
}

.testimonial-quote p {
    line-height: 1.6;
    font-size: 1.1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--accent);
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.testimonial-btn {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.testimonial-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent);
}

/* Contact Section */
.contact {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 100px 5%;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.contact-info p {
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(74, 140, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
    color: var(--texte);
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    color: var(--texte);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    background-color: var(--noir);
    padding: 30px 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(20px, 20px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 1;
        top: 25px;
    }
    80% {
        opacity: 0;
        top: 25px;
    }
    100% {
        opacity: 0;
        top: 8px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-content, .contact-container {
        flex-direction: column;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button, .secondary-button {
        display: block;
        margin: 1rem 0;
        text-align: center;
    }

    .secondary-button {
        margin-left: 0;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .about-text h3 {
        font-size: 1.6rem;
    }

    .experience-badge {
        right: 0;
        bottom: 0;
    }
}
/* Styles spécifiques pour les projets contenant des vidéos */
.project-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Ajustement pour les contrôles vidéo */
.project-item:hover video {
    transform: scale(1.02); /* Effet plus léger pour les vidéos */
}

/* S'assurer que la vidéo est bien visible */
.project-item .project-img {
    overflow: hidden;
    height: 100%;
    background-color: #000; /* Fond noir pour les vidéos */
}

/* Empêcher les contrôles vidéo d'être obscurcis par l'overlay */
.project-item:hover .project-overlay {
    opacity: 1;
    z-index: 3;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

/* S'assurer que les contrôles vidéo sont cliquables même avec l'overlay */
.project-item video:focus {
    outline: none;
}

/* Et utilisez cette approche à la place */
.project-item {
    position: relative;
}

/* Styles spécifiques pour les projets contenant des vidéos */
.project-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Ajout d'un effet de superposition pour améliorer la visibilité des contrôles */
.project-item video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Effet au survol */
.project-item:hover video {
    transform: scale(1.02); /* Effet plus léger pour les vidéos */
}

.project-item:hover video::after {
    opacity: 1;
}

/* Amélioration des contrôles natifs */
.project-item video:focus {
    outline: none;
}

/* S'assurer que la vidéo est bien visible */
.project-item .project-img {
    overflow: hidden;
    height: 100%;
    background-color: #000; /* Fond noir pour les vidéos */
}

/* Empêcher les contrôles vidéo d'être obscurcis par l'overlay */
.project-item:hover .project-overlay {
    opacity: 1;
    z-index: 3;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

/* Icône pour les projets vidéo */
.project-item[data-category="web"] .project-info h3::before {
    content: "🎬";
    margin-right: 8px;
    font-size: 0.8em;
}

/* Spécifier le style du lien pour la vidéo */
.project-link[href$=".mp4"] {
    background-color: rgba(74, 140, 255, 0.2);
    border-color: var(--accent);
}

.project-link[href$=".mp4"]:hover {
    background-color: var(--accent);
}
/* Personnalisation pour les projets de la catégorie Créations */
.project-item[data-category="creation"] .project-img {
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.project-item[data-category="creation"]:hover .project-img {
    border-color: var(--accent);
}

/* Icône spécifique pour les projets de type création */
.project-item[data-category="creation"] .project-info h3::before {
    content: "🎨";
    margin-right: 8px;
    font-size: 0.9em;
}

/* Ajustement pour l'affichage des images dans cette catégorie */
.project-item[data-category="creation"] img {
    object-fit: contain;
    background-color: #111;
}

/* Style spécifique pour le lien de la catégorie création */
.project-item[data-category="creation"] .project-link {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

.project-item[data-category="creation"] .project-link:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}