/* Supprime le scroll et remplit l'écran */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Manrope', sans-serif; 
}

/* Conteneur général qui fait 100% de la hauteur/largeur */
.container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Partie gauche (texte) avec le dégradé animé */
.left-side {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-45deg, #f4f4f4, #e0effa, #faf0da);
    background-size: 400% 400%;
    -webkit-animation: Gradient 15s ease infinite;
    -moz-animation: Gradient 15s ease infinite;
    animation: Gradient 15s ease infinite;
}

/* Animation du dégradé */
@-webkit-keyframes Gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@-moz-keyframes Gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes Gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Contenu de texte centré */
.content {
    text-align: left;
    color: white;
    padding-left: 100px;
    padding-right: 100px;
    line-height: 2em;
}

/* Style du logo */
.logo {
    width: 30%;
}

h1 {
    font-size: 45px;
    margin-bottom: 16px;
    color: #444;
    margin-top: 20px;
    line-height: normal;
}

p {
    font-size: 20px;
    color: #444;
    line-height: 1.6em;
}

.button {
    display: inline-block;
    padding: 5px 20px;
    font-size: 1rem;
    color: white;
    border-color: #444;
    border: 2px solid;
    background-color: #444; /* Couleur du bouton */
    text-decoration: none;
    border-radius: 5px; /* Coins arrondis */
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #fff;
    border-color: #444;
    border: 2px solid;
    color: #444;
}

/* Partie droite (carrousel) */
.right-side {
    width: 50%;
    position: relative;
}

.carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenburns 10s infinite;
}

/* Effet Ken Burns */
@keyframes kenburns {
    0% { transform: scale(1.1) translateY(0); }
    50% { transform: scale(1.2) translateY(-5%); }
    100% { transform: scale(1.1) translateY(0); }
}

/* Transition entre les images du carrousel */
.carousel-item:nth-child(1) {
    animation-delay: 0s;
}

.carousel-item:nth-child(2) {
    animation-delay: 10s;
}

.carousel-item:nth-child(3) {
    animation-delay: 20s;
}

/* Fade transition */
@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}

.carousel-item {
    animation: kenburns 30s infinite, fadeInOut 30s infinite;
}

/* --- Responsive pour mobile --- */
@media screen and (max-width: 768px) {
    /* La section gauche prend toute la largeur */
    .left-side {
        width: 100%;
    }
    
    /* Cache la section droite sur mobile */
    .right-side {
        display: none;
    }

    /* Contenu de texte centré */
.content {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

/* Style du logo */
.logo {
    width: 75%;
}

h1 {
    font-size: 2rem;
}

p {
    font-size: 1.2rem;
}

.button {
    display: inline-block;
    padding: 5px 20px;
    font-size: 1rem;
    color: white;
    border-color: #444;
    border: 2px solid;
    background-color: #444; /* Couleur du bouton */
    text-decoration: none;
    border-radius: 5px; /* Coins arrondis */
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #fff;
    border-color: #444;
    border: 2px solid;
    color: #444;
}
}
