:root {
    --fuchsia: #9c0a4b;
    --orange: #f48120;
}

/* Général */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    box-sizing: border-box;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--fuchsia);
    color: white;
    padding: 20px;
    height: 80px;
    position: relative;
    z-index: 1000;
}

.header-left span {
    font-weight: bold;
    font-size: 1.6em;
}

.header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.header-center .logo {
    max-height: 80%;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    position: relative;
}

.menu-toggle {
    font-size: 5em;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.dropdown-container {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    background: rgba(150, 10, 75, 0.85);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 900;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 30px;
    text-decoration: none;
    color: #fff;
    font-size: 1.5em;
}

.dropdown-menu a:hover {
    background-color: rgba(150, 10, 75, 0.7);
    color: white;
}

/* Contenu principal */
main {
    flex: 1;
    padding: 20px;
}

/* Footer */
.footer {
    background-color: var(--fuchsia);
    color: white;
    padding: 20px 0;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    text-align: center; /* centrage du texte dans chaque colonne */
}

.footer-column h4 {
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 10px;
    color: white;
}

.footer-column a {
    color: white;
    text-decoration: none;
}

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

.footer-column p {
    margin: 5px 0;
    color: white;
}

/* Supprime le petit trait blanc éventuel sous le footer */
html, body {
    background-color: var(--fuchsia);
}

main {
    background-color: #f4f4f4;
}

/* Responsive */
@media (max-width: 1000px) {
    .dropdown-menu a {
        font-size: 2.5em;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
