/* --- Style général --- */

body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #eef1f4;
}

/* --- Header --- */

header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

header h1 {
    margin: 0;
    font-size: 36px;
    letter-spacing: 1px;
}

header p subtitle {
    margin-top: 8px;
    opacity: 0.9;
    font-size: 18px;
    background-color: blue;
    color: white;
}

#photo1 { background-image: url('1.jpeg');}


/* --- Navigation --- */

nav {
    background: white;
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid #dcdcdc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

nav a {
    color: #2c3e50;
    margin: 0 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    transition: 0.3s;
}

nav a:hover {
    color: #2980b9;
}

/* --- Contenu --- */

.container {
    max-width: 900px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

h2 {
    color: #2c3e50;
    border-left: 5px solid #2980b9;
    padding-left: 10px;
    margin-top: 30px;
}

p, li {
    line-height: 1.7;
    font-size: 17px;
    color: #333;
}

/* --- Bouton (contact.html) --- */

button {
    background: #2980b9;
    color: white;
    font-size: 16px;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #1f6693;
}

/* --- Footer --- */

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: #2c3e50;
    color: white;
    font-size: 15px;
}

/* --- Image de couverture --- */

.hero {
    height: 260px;
    background: url('hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero .overlay {
    background: rgba(0,0,0,0.5);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 38px;
    margin: 0;
}

.hero p {
    color: #f0f0f0;
    margin-top: 10px;
    font-size: 18px;
}



/* --- CONTENU --- */
.container {
    max-width: 900px;
    margin: 40px auto; /* juste en dessous de la bannière */
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}


.publication {
    background: #f7f9fb;
    border-left: 5px solid #2980b9;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.publication h3 {
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.publication p {
    margin: 5px 0;
    color: #333;
}

/* --- Style des publications --- */
.publication {
    background: #f7f9fb;
    border-left: 5px solid #2980b9;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.publication h3 {
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.publication p {
    margin: 5px 0;
    color: #333;
}