/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0px;
    text-align: center;
}

h1 {
    color: #1B5E20;
    margin-bottom: 20px;
}

.biomes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.biome-button, .back-button, .carousel-controls button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #1B5E20;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.biome-button:hover, .back-button:hover, .carousel-controls button:hover {
    background-color: #2E7D32;
}

.hidden {
    display: none;
}

/* Carousel Styles */
.enclos-carousel {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.carousel-container {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; /* Important pour éviter le chevauchement */
}

.carousel-item {
    flex: 0 0 100%; /* Chaque slide occupe 100% de la largeur */
    box-sizing: border-box;
    text-align: center;
    padding: 20px;
}

.carousel-item img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-item h3 {
    color: #1B5E20;
    margin-bottom: 10px;
}

.carousel-item p {
    font-size: 14px;
    color: #666;
}

/* Carousel Navigation Buttons */
.carousel-controls {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.carousel-controls button {
    width: 50px;
    height: 50px;
    background-color: #1B5E20;
    color: white;
    font-size: 24px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.carousel-controls button:hover {
    background-color: #2E7D32;
}
