@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #1a1a1a;
    --primary-color: #ffffff;
    --accent-color: #4ade80; /* Vert */
    --card-bg-color: #2d2d2d;
    --text-color-secondary: #a3a3a3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    max-width: 400px;
    position: sticky;
    top: 2rem;
}

/* Style pour l'affichage de l'IP du curseur (désactivé) */
#cursor-ip {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Curseur personnalisé */
* {
    cursor: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 6L26 16L14 17L10 26L6 6Z' fill='%234ade80'/%3E%3Cpath d='M6 6L26 16L14 17L10 26L6 6Z' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 5 5, auto;
}

/* Animation d'apparition du curseur IP */
body:hover #cursor-ip {
    opacity: 1;
}

a, button, .btn, [role="button"], [onclick],
input[type="submit"],
input[type="button"],
input[type="reset"],
select {
    cursor: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 6L26 16L14 17L10 26L6 6Z' fill='white'/%3E%3Cpath d='M6 6L26 16L14 17L10 26L6 6Z' stroke='%234ade80' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 5 5, pointer !important;
}

body {
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Arrière-plan uni */
body {
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Conteneur principal */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}



a, button, .btn, [role="button"], [onclick] {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

/* Effet de soulignement pour les liens de navigation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Animation de flottement pour les icônes sociales */
.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Effet de survol pour les cartes de services */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

/* Séparateur moderne */
.custom-separator {
    position: relative;
    height: 80px;
    margin: 5rem 0;
    overflow: hidden;
}

.separator-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-color), 
        var(--accent-color), 
        transparent);
    transform: translateY(-50%);
}

.separator-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.separator-icon:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: translate(-50%, -50%) scale(1.1) rotate(90deg);
}

/* Éditeur de code */
.code-editor-container {
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    height: 350px; /* Hauteur fixe augmentée */
    overflow: hidden; /* Empêche le contenu de déborder */
    display: flex;
    flex-direction: column;
    margin: 5rem 0 2rem 0; /* Augmentation de la marge supérieure */
    max-width: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--accent-color);
    width: 100%;
    transition: all 0.3s ease;
    padding: 0;
}

.code-editor-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.25);
}

.code-editor-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 1;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-editor-container::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #ff5f56;
    border-radius: 50%;
    box-shadow: 20px 0 #ffbd2e, 40px 0 #27c93f;
    z-index: 2;
}

/* Style pour le nom du fichier */
.code-filename {
    position: absolute;
    top: 10px;
    left: 80px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.8rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-editor-container pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    overflow-y: auto;
    flex-grow: 1;
    height: calc(100% - 40px); /* Ajuste la hauteur en fonction du header */
    background: transparent !important;
    border-radius: 0 0 12px 12px;
    text-align: left;
}

.code-editor-container code {
    font-family: 'Fira Code', 'Consolas', monospace !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #e0e0e0;
    position: relative;
    margin-top: 20px;
    display: block;
}

/* Curseur clignotant */
.code-editor-container code::after {
    content: '|';
    position: absolute;
    color: #50fa7b;
    font-weight: bold;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Style pour la numérotation des lignes */
.line-numbers .line-numbers-rows {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 1rem 2rem 0.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.line-numbers-rows > span:before {
    color: rgba(255, 255, 255, 0.3);
}

/* Style pour la syntaxe */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #6a9955;
}

.token.punctuation {
    color: #d4d4d4;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
    color: #569cd6;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #ce9178;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #d4d4d4;
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #c586c0;
}

.token.function,
.token.class-name {
    color: #dcdcaa;
}

/* Désactivation de la barre de défilement */
.code-editor-container pre::-webkit-scrollbar {
    display: none; /* Cache la barre de défilement */
}

/* Pour Firefox */
.code-editor-container pre {
    scrollbar-width: none;
}

/* Section Services */
.services-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Carrousel des services */
.features-carousel {
    position: relative;
    max-width: 600px;
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.features-container {
    flex: 1;
    position: relative;
    min-height: 300px;
}

.feature-box {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--card-bg-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-box.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.carousel-arrow {
    background: var(--card-bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    outline: none;
}

.carousel-arrow:hover {
    background: var(--accent-color);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--card-bg-color);
    color: var(--text-color);
    transform: none;
    box-shadow: none;
}

.feature-box {
    background: var(--card-bg-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(74, 222, 128, 0.2);
}

.feature-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-number {
    color: rgba(74, 222, 128, 0.1);
    transform: scale(1.1);
}

.feature-content {
    margin-top: 1.5rem;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.feature-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.feature-box:hover .feature-content h3::after {
    width: 60px;
}

.feature-content p {
    color: var(--text-color-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background: var(--accent-color);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .visitor-counter {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 1.5rem;
        display: inline-flex;
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .services-section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 2rem auto 0;
    }
    
    .feature-box {
        padding: 2rem 1.5rem;
    }
}

/* Style pour la sélection de texte */
.code-editor-container ::selection {
    background: rgba(100, 150, 255, 0.2);
    color: inherit;
}



/* Effet de fondu pour les sections */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation pour les éléments de la grille de projets */
.project-grid {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-grid.visible {
    opacity: 1;
    transform: scale(1);
}

/* Effet de survol pour les boutons */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    z-index: -2;
}

.btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0.8rem 0;
    display: flex;
    justify-content: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem; /* Augmentation du padding latéral */
    margin: 0;
    width: 100%;
    max-width: 1400px; /* Augmentation de la largeur maximale */
}

.nav-links {
    display: flex;
    gap: 4.5rem; /* Augmentation significative de l'espacement entre les liens */
    list-style: none;
    margin: 0;
    padding: 0 4rem 0 0; /* Augmentation du padding à droite */
    align-items: center;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0 6rem 0 3rem; /* Augmentation significative du padding */
    transition: color 0.3s ease;
    white-space: nowrap;
    letter-spacing: 1px; /* Légère augmentation de l'espacement des lettres */
}

.logo:hover {
    color: var(--accent-color);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar ul li a {
    font-weight: 500;
}

main {
    padding: 0 5%;
}

.hero {
    margin-top: 4rem;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    max-width: 800px;
    margin: 90px 0 1.5rem 0; /* Augmentation de la marge supérieure à 120px */
    font-weight: 700;
}

.hero-text .intro-subtitle {
    font-size: 1.25rem;
    color: var(--text-color-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 2rem;
    font-weight: 400;
}

.highlight {
    color: var(--accent-color);
    font-weight: 500;
}

.hero-text h1 span {
    color: var(--accent-color);
}

.hero-details {
    display: flex;
    gap: 5rem;
    margin-top: 4rem;
    align-items: center;
}

.bio {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.bio-text h2, .connect h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.bio-text p, .connect p {
    color: var(--text-color-secondary);
    max-width: 300px;
}

.bio-text .tech, .what-i-do-text .tech {
    color: var(--accent-color);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a i {
    font-size: 2.2rem; /* Taille des icônes */
    color: var(--text-color-secondary);
    transition: color 0.3s ease;
}

.social-links a:hover i {
    color: var(--primary-color);
}


.what-i-do {
    margin-top: 8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.what-i-do-text {
    max-width: 400px;
    flex-shrink: 0;
}

.what-i-do-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.what-i-do-text p {
    color: var(--text-color-secondary);
}

.hero-text h1 {
    position: relative;
    display: inline-block;
    width: 100%;
}

.visitor-counter {
    position: absolute;
    top: -50px;
    left: 0;
    display: inline-flex;
    align-items: center;
    background: rgba(74, 222, 128, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(74, 222, 128, 0.2);
    backdrop-filter: blur(5px);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    transform: translateX(0);
    margin-bottom: 1rem;
}

/* Animation de mise à jour du compteur */
#visitor-count.updated {
    display: inline-block;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.visitor-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.services-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1rem 0;
}

.services {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
}

.service-card {
    background-color: var(--card-bg-color);
    padding: 1.5rem;
    border-radius: 12px;
    width: 220px;
    text-align: left;
    flex-shrink: 0;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(74, 222, 128, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
opacity: 1;
}

.service-card h3 {
margin-top: 0.5rem;
margin-bottom: 0.75rem;
font-size: 1.1rem;
color: var(--primary-color);
}

.service-card p {
color: var(--text-color-secondary);
font-size: 0.9rem;
line-height: 1.5;
margin: 0;
}

.service-icon {
font-size: 3rem;
color: var(--accent-color);
margin-bottom: 1rem;
display: block;
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
}


.arrow-btn {
    background: rgba(74, 222, 128, 0.1);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.arrow-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.left-arrow {
    left: -20px;
}

.right-arrow {
    right: -20px;
}

.arrow-btn i {
    font-size: 24px;
}

.arrow-btn:hover {
    background-color: #444;
}

.services-carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    position: relative;
    padding: 0 40px; /* Espace pour les flèches */
}

.featured-projects {
    margin-top: 8rem;
    margin-bottom: 6rem;
}

/* Styles pour l'en-tête des sections */
h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-align: center;
}

.project-card {
    background: var(--card-bg-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-image-container {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.project-link:hover {
    transform: translateY(-2px);
    background: #fff;
}

.project-details {
    padding: 1.8rem;
}

.project-category {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.8rem;
    margin: 0.5rem 0 1rem;
    color: var(--primary-color);
}

.project-description {
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color-secondary);
    font-size: 0.9rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(74, 222, 128, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}


/* Style pour le défilement fluide */
html {
    scroll-behavior: smooth;
}

/* Décale le contenu sous la navbar fixe */
#accueil,
#projets,
#contact {
    scroll-margin-top: 80px; /* Hauteur de la navbar */
}

/* Style pour les liens actifs dans la navbar */
.nav-links a.active {
    color: var(--accent-color);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}


/* Styles pour la section projets */
.projects-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
    position: relative;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-subtitle span {
    display: inline-block;
    padding: 0 1.5rem;
    background: var(--bg-color);
    color: var(--text-color-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.section-subtitle .divider {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--card-bg-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Style spécifique pour l'image du deuxième projet */
.project-card:nth-child(2) .project-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
}

.project-card:nth-child(2) .project-image img {
    width: 50%;
    height: auto;
    object-fit: contain;
    padding: 1.5rem 0;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-subtitle {
    font-size: 0.8rem;
    color: var(--text-color-secondary);
    font-weight: 400;
    opacity: 0.8;
}

.project-info p {
    color: var(--text-color-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tag {
    background: rgba(74, 222, 128, 0.1);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent-color);
    background: rgba(74, 222, 128, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 222, 128, 0.2);
    width: 100%;
    text-align: center;
}

.project-link:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

.project-link i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(3px);
}

.more-projects {
    text-align: center;
    margin-top: 2rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

/* Styles pour la section Contact */
.contact-section {
    padding: 6rem 0;
    position: relative;
    background-color: transparent;
}

.contact-section .container {
    max-width: 1200px; /* Largeur maximale augmentée */
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem; /* Ajout de padding sur les côtés */
}

.contact-content {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-info p {
    color: var(--text-color-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color-secondary);
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.contact-form {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 800px;
    padding: 2.5rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem; /* Padding augmenté pour plus d'espace */
    border: 1px solid #444;
    border-radius: 8px; /* Coins légèrement plus arrondis */
    background-color: #2d2d2d;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; /* Taille de police légèrement augmentée */
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
border-color: var(--accent-color);
}

.btn-primary {
    background: var(--accent-color);
    color: #1a1a1a;
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #3dd76d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Effet de vague pour le footer */
.wave-container {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    margin-top: 4rem;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(0);
    animation: wave-animation 6s ease-in-out infinite;
}

.wave-fill {
    fill: var(--accent-color);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.wave-container:hover .wave-fill {
    opacity: 0.5;
}

@keyframes wave-animation {
    0%, 100% {
        transform: translateY(0) scaleY(1);
    }
    25% {
        transform: translateY(-5px) scaleY(1.1);
    }
    50% {
        transform: translateY(0) scaleY(1);
    }
    75% {
        transform: translateY(5px) scaleY(0.9);
    }
}

/* Styles pour le pied de page */
.site-footer {
    background-color: rgba(26, 26, 26, 0.9);
    padding: 4rem 0 2rem;
    color: var(--text-color-secondary);
    position: relative;
    margin-top: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.footer-content:hover {
    opacity: 1;
}

.footer-logo .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 1rem;
    display: block;
}

.footer-logo p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links h3,
.footer-social h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-color-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-social .social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-social .social-links a {
    color: var(--text-color-secondary);
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.1);
    overflow: hidden;
}

.footer-social .social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), #36b37e);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.footer-social .social-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

.footer-social .social-links a:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(74, 222, 128, 0.2);
}

.footer-social .social-links a:hover::before {
    transform: scale(1);
}

.footer-social .social-links a:hover::after {
    width: 60%;
    background: #fff;
}

/* Animation spécifique pour chaque icône */
.footer-social .social-links a i {
    transition: transform 0.3s ease;
}

.footer-social .social-links a:hover i {
    transform: rotate(10deg) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Styles responsifs */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social .social-links {
        justify-content: center;
    }
}

/* Style pour le texte en surbrillance avec diagonale */
.highlight {
    position: relative;
    color: var(--accent-color);
    z-index: 1;
}

.highlight.diagonal-bg {
    position: relative;
    z-index: 1;
}

.highlight.diagonal-bg::before {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    top: 20%;
    bottom: 20%;
    background: linear-gradient(120deg, rgba(74, 222, 128, 0.35) 0%, rgba(74, 222, 128, 0.15) 100%);
    z-index: 0;
    transform: rotate(-1.5deg) skewX(-10deg);
    border-radius: 6px;
    padding: 0 8px;
    mix-blend-mode: multiply;
}
