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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #fafafa;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #1a1a2e;
}

.logo span {
    color: #e94560;
}

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

.nav-links a {
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #e94560;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 2rem;
}

.lang-link {
    text-decoration: none;
    font-weight: 500;
    color: #1a1a2e;
    transition: color 0.3s;
}

.lang-link.active {
    color: #e94560;
    font-weight: 700;
}

.lang-link:hover {
    color: #e94560;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1a1a2e;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content .badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-content .highlight {
    color: #ffd700;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.stack-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.stack-badges span {
    background: rgba(255,255,255,0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: #e94560;
    color: white;
}

.btn-primary:hover {
    background: #c73e56;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #e94560;
}

.btn-outline {
    border: 2px solid #e94560;
    color: #e94560;
}

.btn-outline:hover {
    background: #e94560;
    color: white;
}

.hero-image img {
    width: 40%;
    border-radius: 40%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a2e;
}

/* Skills */
.skills {
    padding: 80px 0;
    background: white;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card h3 {
    color: #e94560;
    margin-bottom: 1rem;
}

.skill-card ul {
    list-style: none;
}

.skill-card li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.skill-card li:before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #e94560;
}

/* Projets */
.featured-projects, .projects-section {
    padding: 80px 0;
}

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

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-stack span {
    background: #f0f0f0;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

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

.project-links a {
    color: #e94560;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.text-center {
    text-align: center;
}

/* Filtres */
.filter-section {
    padding: 40px 0 20px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #e94560;
    background: transparent;
    color: #e94560;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
    background: #e94560;
    color: white;
}

/* Contact */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item .emoji {
    font-size: 1.5rem;
}

.contact-item a {
    color: #1a1a2e;
    text-decoration: none;
}

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

.social-links img {
    width: 40px;
    transition: transform 0.3s;
}

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

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #e94560;
}

.hidden {
    display: none;
}

/* Page header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 2rem 60px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .burger {
        display: block;
    }
    
    .language-switcher {
        margin: 0;
    }
    
    .hero-container, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}










.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    display: block;
    margin-top: 4px;
    min-height: 18px;
}

.form-status {
    margin: 1rem 0;
}

.form-status .error {
    color: #ef4444;
    font-size: 0.9rem;
}

.form-status .success {
    color: #48bb78;
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

/* Form group with error */
.form-group.error input,
.form-group.error textarea {
    border-color: #ef4444;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group.error input:focus,
.form-group.error textarea:focus {
    border-color: #ef4444;
}