/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
/* Container */
.container {
    width: 85%;
    margin: 0 auto;
}

.style {
    position: absolute;
    top: 57px;
    left: 0px;
    height: 150px;
    object-fit: contain;
}

/* Header */
header {
    background-color: #685850;
    color: white;
    padding: 15px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease-in-out;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #756d69;
}
/* Section Styles */
section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

section#accueil {
    background-color: #0f0f0f;
    color: white;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

section p {
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Services section */
section#services ul {
    list-style: none;
}

section#services li {
    margin-bottom: 30px;
}

section#services h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Contact form */
form {
    display: flex;
    flex-direction: column;
}

form label {
    font-size: 1rem;
    margin-bottom: 5px;
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px 20px;
    background-color: #0f0f0f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #0f0f0f;
}

/* Footer */
footer {
    background-color: #655850;
    color: white;
    text-align: center;
    padding: 15px 0;
}

footer p {
    font-size: 1rem;
}

/* Style spécifique à la page des chevaux */

/* Section chevaux */
section#chevaux {
    background-color: #ffffff;
    padding: 50px 0;
}

section#chevaux h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

section#chevaux p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
}

/* Liste des chevaux */
.chevaux-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

/* Carte cheval */
.cheval-card {
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    background-color: #f9f9f9;
}

.cheval-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cheval-info {
    padding: 20px;
}

.cheval-info h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.cheval-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.cheval-info .btn {
    background-color: #685850;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.cheval-info .btn:hover {
    background-color: #685850;
}

/* Style pour la navigation active */
nav ul li a.active {
    font-weight: bold;
    color: #E67E22;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-left: 50px;
    margin-right: 50px;
}

.gallery img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease; /* Animation douce */
    border-radius: 10px;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.6); /* Zoom de 10% */
}
