/* 🌙 Style général assombri et moderne */
body {
    background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460);
    color: #eeeeee;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    animation: backgroundAnimation 10s infinite alternate;
}

@keyframes backgroundAnimation {
    0% {
        background-position: left;
    }

    100% {
        background-position: right;
    }
}

/* ✅ Barre de navigation */
#taskbar {
    background: linear-gradient(90deg, #222831, #393E46);
    padding: 12px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

#navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

#nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
}

#nav-links li a {
    color: #eeeeee;
    padding: 10px 16px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

#nav-links li a:hover {
    background-color: #00adb5;
    color: #222831;
    transform: scale(1.1);
    border-radius: 10px;
}

/* 📁 Section des documents E6 */
#documents-section {
    padding: 40px;
    max-width: 1000px;
    margin: auto;
}

.section-title {
    font-size: 2em;
    color: #eeeeee;
    padding: 15px;
    background: #222831;
    display: inline-block;
    border-radius: 15px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.document-card {
    background: #0f3460;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    font-size: 1em;
}

.document-card:hover {
    transform: scale(1.05);
    background: #1a1a2e;
}

.document-card a {
    color: #00adb5;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.document-card a:hover {
    color: #ffcc00;
}

/* ✨ Effet d'apparition fluide */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.container {
    animation: popIn 1s ease-in-out;
}

/* 📲 Réseaux sociaux */
#social-media {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* 🆕 Nouvelle version de carte document */
.document-card-alt {
    background: #16213e;
    border: 2px solid #00adb5;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 2px 2px 8px rgba(0, 173, 181, 0.3);
    transition: transform 0.3s ease-in-out;
    font-size: 1em;
}

.document-card-alt:hover {
    transform: scale(1.05);
    background: #1f4068;
}

.document-card-alt a {
    color: #ff9800;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.document-card-alt a:hover {
    color: #00adb5;
}


/* ⚡ Footer sombre et classe */
footer {
    background: linear-gradient(90deg, #222831, #0f3460);
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #eeeeee;
}

footer p a {
    color: #00adb5;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer p a:hover {
    color: #ffcc00;
}