* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Styles par défaut pour le thème clair */
body {
    background-color: #f4f4f4;
    color: #333;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    border: 1px solid #ddd;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.left-column {
    flex: 1;
    padding-right: 40px;
    text-align: right;
}

.right-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-column img {
    max-width: 500px;
    height: auto;
}

h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

p {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

/* Styles du bouton Contact */
.contact-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FF0000; /* Rouge */
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #cc0000; /* Rouge plus foncé */
}

/* Mode sombre */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #e0e0e0;
    }

    .container {
        background-color: #1e1e1e;
        border-color: #333;
    }

    h1 {
        color: #ffffff;
    }

    p {
        color: #bbbbbb;
    }

    .contact-button {
        background-color: #FF4500; /* Rouge orangé */
    }

    .contact-button:hover {
        background-color: #FF6347; /* Rouge tomate */
    }
}

/* Responsiveness for smaller screens (mobile) */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Les colonnes deviennent des lignes */
        align-items: flex-start; /* Aligner les éléments à gauche */
        width: 90%; /* Prendre plus de largeur */
    }

    .left-column, .right-column {
        padding-right: 0;
        padding-bottom: 20px;
        width: 100%; /* Les colonnes prennent toute la largeur */
        text-align: center; /* Centrer le texte */
    }

    .right-column img {
        max-width: 150px; /* Image plus petite sur mobile */
    }
}

/* Responsiveness for extra small screens (like smartphones) */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem; /* Taille de la police réduite pour le mobile */
    }

    p {
        font-size: 1rem;
    }

    .contact-button {
        padding: 8px 16px; /* Réduire la taille du bouton sur mobile */
        font-size: 0.9rem;
    }
}
