:root {
    --primary: #2D3436;
    --accent: #0984E3;
    --gradient: linear-gradient(45deg, #0984E3, #00CEC9);
    --text: #2D3436;
    --bg: #FFFFFF;
}

/* Styles de base */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    color: var(--text);
}

/* Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #2D3436 0%, #0984E3 100%);
}

/* Navbar Styles */
.navbar {
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

.cv-link {
    background: var(--gradient);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white !important;
}

.cv-link:hover {
    background: var(--gradient);
    opacity: 0.9;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 4rem;
    color: white;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.subtitle {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.subtitle-line {
    width: 50px;
    height: 2px;
    background: white;
    animation: expandWidth 1s ease forwards;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Skills Section */
.skills-section {
    position: relative;
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.skill-category {
    margin-bottom: 4rem;
}

.skill-category h2 {
    color: white;
    margin-bottom: 2rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.skill-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.skill-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.skill-details li {
    margin-bottom: 0.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-details li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
}

.skill-level {
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 1s ease;
}

.skill-level span {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

/* Animations */
@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 50px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .skill-card {
        margin-bottom: 2rem;
    }
}

/* Ajout des styles pour la section pratique */
.practical-skills {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.98);
}

.practical-skills h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.practical-list {
    margin-bottom: 2rem;
}

.practical-list h4 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(9, 132, 227, 0.1);
}

.practical-list h4 i {
    font-size: 1.1rem;
}

.practical-list ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.practical-list ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Animation pour les éléments pratiques */
.practical-skills:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

/* Styles pour les projets types */
.project-examples {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(9, 132, 227, 0.1);
}

.project-examples h4 {
    color: var(--primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-type {
    background: rgba(9, 132, 227, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.project-type:hover {
    transform: translateY(-5px);
    background: rgba(9, 132, 227, 0.1);
}

.project-type i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.project-type h5 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.project-type p {
    color: var(--text);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .practical-skills .row {
        margin-top: 1rem;
    }

    .practical-list {
        margin-bottom: 1.5rem;
    }

    .project-type {
        margin-bottom: 1rem;
    }
}