/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.6;
}

/* Header & Navigation */
header {
    padding: 60px 40px;
    text-align: center;
}

.logo {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav ul li a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main Grid Layout */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 100px 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes comme sur le site */
    gap: 60px 40px;
}

.project-item {
    display: flex;
    flex-direction: column;
}

.image-wrapper {
    overflow: hidden;
    background-color: #f7f7f7; /* Couleur de fond avant chargement */
    margin-bottom: 15px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.project-info h3 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.project-info p {
    font-size: 13px;
    color: #888;
    font-weight: 300;
}

/* Footer */
footer {
    padding: 60px 40px;
    text-align: center;
    border-top: 1px solid #eee;
}

.social-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    font-size: 13px;
    font-weight: 400;
}

footer p {
    font-size: 11px;
    color: #aaa;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 40px 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .grid-container {
        grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
        gap: 40px;
    }

    main {
        padding: 0 20px 60px 20px;
    }
}