/* RÈGLES DE BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 0;
}

/* EN-TÊTE */
.header-text {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.header-text h1 {
    font-size: 28px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-text p {
    color: #666;
    font-size: 16px;
    text-transform: uppercase;
}

/* SYSTÈME DE GRILLE */
.container {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CARTES ET ANIMATIONS */
.service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #ddd;
}

.card-content {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
}

.card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.service-logo {
    width: 80px; /* Légèrement agrandi pour mieux ressortir comme sur votre image */
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%;
    background-color: #fff; 
}

.service-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* DETAILS : ITINERAIRE ET TELEPHONE */
.service-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.detail-link {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.detail-link:hover {
    color: #000;
    text-decoration: underline;
}

/* BOUTONS */
.btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.btn:hover {
    background-color: #333;
}