body {
    margin: 0;
    font-family: Inter, sans-serif;
    background: #111;
    color: #fff;
}

.header {
    text-align: center;
    padding: 50px 20px;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

.project {
    background: #1b1b1b;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.project:hover {
    transform: translateY(-8px);
}

.project img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.project h3 {
    margin: 10px 0 5px;
}

.project p {
    font-size: 0.9rem;
    opacity: 0.8;
}
.mon-element {.header {
    text-align: center;
    padding: 80px 20px;
    background-image: url("images/sdb.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 3px solid rgba(255,255,255,0.2);
    position: relative;
}

}

.header h1,
.header p {
    position: relative;
    z-index: 2;
}
/* ----- MENU ----- */
.menu {
    width: 100%;
    padding: 20px 40px;
    background: #0d0d0d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
/* ----- MENU AVEC LOGO ----- */
.menu {
    width: 100%;
    padding: 15px 40px;
    background: #0d0d0d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;      /* 20px  
     */
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #fff;
    border-bottom: 2px solid #fff;
    padding-bottom: 3px;
}

.menu .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #fff;
    border-bottom: 2px solid #fff;
    padding-bottom: 3px;

/* ----- STYLE PREMIUM POUR LES PROJETS ----- */
.project.premium {
    background: #1a1a1a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project.premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* Image avec effet zoom */
.project-image {
    overflow: hidden;
    height: 220px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project.premium:hover .project-image img {
    transform: scale(1.15);
}

/* Texte du projet */
.project-info {
    padding: 20px;
    text-align: left;
}

.project-info h3 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    color: #fff;
}

.project-info p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
}




}


