/* Prestations page */

h1 {
    padding: 8rem;
    font-size: 4rem;
    text-align: center;
    background-image: url('../img/prestations_background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.6);
    background-blend-mode: lighten;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Grid layout */
#prestations-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 5rem 6vw;
    max-width: 100%;
    margin: 0 auto 2rem; 
    align-items: stretch;
}

.prestation {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.prestation:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.prestation h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    text-align: center;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.prestation h2 i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.prestation ul {
    padding-left: 1.25rem;
    color: var(--muted-text-color);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.prestation li {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    h1 {
        padding: 3rem 0;
        font-size: 2.5rem;
    }
}