/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; /* Typographie plus moderne */
    background-color: #edf2f7; /* Fond bleu très clair et doux */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: url('caci_back.jpeg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* Conteneur principal */
.container {
    max-width: 800px;
    background-color: #ffffff;
    opacity: 0.8;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Ombre plus diffuse */
    text-align: center;
    animation: fadeIn 1.2s ease-out; /* Animation de fade-in au chargement */
}

/* Logo */
.logo img {
    max-width: 300px;
    margin-bottom: 20px;
    transition: transform 0.4s ease; /* Animation de zoom */
}

.logo img:hover {
    transform: scale(1.05); /* Zoom léger au survol */
}

/* Titres */
h1 {
    color: #1f4e79; /* Bleu nué pour le titre */
    font-size: 2.4em;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px; /* Espacement des lettres pour aérer */
}

/* Texte */
p {
    font-size: 1.15em;
    color: #5a6b7a;
    line-height: 1.8;
    margin-bottom: 25px;
    word-spacing: 2px; /* Espacement pour plus de lisibilité */
}

/* Liste de contacts */
ul {
    list-style: none;
    margin-bottom: 35px;
}

ul li {
    font-size: 1.2em;
    color: #1f4e79;
    font-weight: 600;
    margin: 8px 0;
    transition: color 0.3s ease;
}

ul li:hover {
    color: #3a84c4; /* Changement subtil au survol */
}

/* Liens */
a {
    color: #3a84c4;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
    color: #1f4e79;
}

/* Ajout de transitions pour effet plus doux */
h1, p, ul li, a {
    transition: color 0.3s ease, transform 0.3s ease;
}

h1:hover {
    color: #3a84c4;
}

/* Bouton de contact */
.contact-button {
    display: inline-block;
    background-color: #3a84c4;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button:hover {
    background-color: #1f4e79;
    transform: translateY(-3px); /* Effet de levée au survol */
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3); /* Ombre plus forte */
}

/* Animation fade-in */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Amélioration des médias pour mobile */
@media (max-width: 768px) {
    .container {
        padding: 30px;
    }

    h1 {
        font-size: 2em;
    }

    p {
        font-size: 1em;
    }

    .contact-button {
        padding: 12px 20px;
    }
}
