:root {
    --primary-color: #00d4ff;
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --text-light: #f8fafc;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    padding: 80px 10%;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(15, 23, 42, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span { color: var(--primary-color); }

nav ul { display: flex; list-style: none; }

nav ul li { margin-left: 20px; }

nav ul li a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 400;
    transition: 0.3s;
}

nav ul li a:hover { color: var(--primary-color); }

/* Header */
header {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
}

header h1 { font-size: 3.5rem; margin-bottom: 20px; }

header h1 span { color: var(--primary-color); }

.btn {
    margin-top: 30px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3); }

/* Projets */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.project-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.project-card:hover { transform: scale(1.02); }

.project-img {
    height: 180px;
    background: #334155;
    border-radius: 5px;
    margin-bottom: 15px;
}

footer {
    text-align: center;
    padding: 40px;
    background: #020617;
}