/* Importation de polices */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Couleurs principales, charte graphique */
:root {
    --primary-color: #1E1E1E;
    --secondary-color: #F4F4F4;
    --accent-color: #FACC15;
    --text-color: #FFFFFF;
    --gray-color: #A0A0A0;
}

/* Style global */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    position: relative;
}

/* Image de fond */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1520615737697-8c2728b023ec?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center fixed;
    background-size: cover;
    z-index: -2;
}


body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

header {
    text-align: center;
    padding: 100px 0;
    position: relative;
    color: var(--text-color);
    z-index: 1;
}

/* Mise en place des titres */
h1 {
    font-size: 4rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gray-color);
}

h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

/*Styles de l'entête*/
.navigation {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background-color: var(--secondary-color);
}

.navigation ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.navigation a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: var(--accent-color);
}

/* Boîte de presentation, carte... */
.box {
    width: 80%;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

p {
    line-height: 1.8;
    font-size: 1.1rem;
}

.information {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Styles des boutons */
input, textarea, button {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

button {
    background-color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #EAB308;
}

/* Style pied de page */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: var(--gray-color);
}




/* Style du tableau de la page presentation */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.key-figures-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.key-figures-table th {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.key-figures-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    color: var(--primary-color);
}

.key-figures-table tr:nth-child(even) {
    background-color: #f2f8f5;
}

.key-figures-table tr:last-child td {
    border-bottom: none;
}

.key-figures-table tr:hover {
    background-color: #e6f2ee;
}

/* Tooltip */
.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 280px;
    z-index: 100;
    display: none;
}

.tooltip p {
    margin: 5px 0;
    font-size: 0.9em;
}

.tooltip .tip-title {
    font-weight: bold;
    color: #2c5a4c;
}

.tooltip .link a {
    color: #2c5a4c;
    text-decoration: none;
    font-weight: 500;
}

.tooltip .link a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-list li {
        flex: 1 1 250px;
    }
}

@media (max-width: 480px) {
    .gallery-list {
        flex-direction: column;
    }

    .gallery-list li {
        max-width: 100%;
    }
}