/* Variables globales */
:root {
    --primary-color: #2c3e50;
    --accent-color: #8e44ad;
    --light-color: #ecf0f1;
    --dark-color: #34495e;
    --green-color: #4CAF50;
    --font-main: 'Libre Baskerville', Georgia, serif;
    --font-headings: 'Playfair Display', serif;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--light-color);
}

/* En-tête */
header {
    background: linear-gradient(to right, var(--primary-color), var(--dark-color));
    color: white;
    padding: 2rem 0;
    text-align: center;
}

h1 {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    font-style: italic;
    font-size: 1.2rem;
}

/* Navigation */
nav {
    background-color: var(--dark-color);
    padding: 1rem 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

nav li {
    margin: 0 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #9b59b6;
}

/* Section principale pour la page À propos */
.about-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 70vh;
}

.about-title {
    color: var(--green-color);
    font-family: var(--font-headings);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.about-content {
    width: 100%;
    max-width: 800px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease;
}

/* Styles spécifiques pour le contenu "À propos" */
.about-content h3 {
    color: var(--accent-color);
    font-family: var(--font-headings);
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.about-content h3:first-child {
    margin-top: 0;
}

.about-content h4 {
    color: var(--primary-color);
    font-family: var(--font-headings);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.about-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.about-content li {
    margin-bottom: 0.5rem;
}

/* Pied de page */
footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-links {
    margin: 1rem 0;
}

.footer-links a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 0.5rem 0;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-content h3 {
        font-size: 1.4rem;
    }
    
    .about-content h4 {
        font-size: 1.1rem;
    }
}
