* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #121212;
    color: #e0e0e0;
    scroll-behavior: smooth;
}

.header {
    background: #1e1e1e;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    color: #66d9ef;
    font-weight: bold;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s;
}

nav a:hover {
    color: #66d9ef;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url(coucheredesoleil.JPG) center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #66d9ef;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.email {
    color: #66d9ef;
    font-weight: bold;
    margin-top: 10px;
}

.footer {
    text-align: center;
    padding: 30px;
    background: #1a1a1a;
    color: #aaa;
    margin-top: 60px;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.btn-download {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #66d9ef;
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-download:hover {
    background-color: #3db6cf;
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a img {
    width: 40px;
    height: 40px;
    filter: grayscale(100%);
    transition: transform 0.3s, filter 0.3s;
}

.social-icons a:hover img {
    transform: scale(1.2);
    filter: none;
}

.btn-secondary {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 22px;
    background-color: transparent;
    border: 2px solid #66d9ef;
    color: #66d9ef;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.btn-secondary:hover {
    background-color: #66d9ef;
    color: #121212;
    transform: translateY(-2px);
}

.project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.project-item {
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
}

.project-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 400px;
    object-fit: cover;
}

.project-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.project-item h4 {
    margin-top: 12px;
    font-size: 18px;
    color: #007acc;
}