/* --- Styles spécifiques à la page À Table (a_table.php) --- */

/* Section Héro À Table */
.hero-atable {
    padding: 3rem 0;
    text-align: center;
}

.hero-atable h1 {
    font-size: 3em;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Picto Couverts et Lignes */
.utensils-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-icon-utensils {
    font-size: 2.5em;
    color: #5d9a5d; /* Le vert thématique de ton site */
    margin: 0 15px;
    flex-shrink: 0;
}

.utensils-icon-wrapper .line {
    flex-grow: 1;
    height: 2px;
    background-color: #5d9a5d; 
    max-width: 50%;
}

.hero-atable .intro-text {
    max-width: 800px;
    margin: 1.5rem auto 0 auto;
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
}

/* Sections de Catégories (Restaurants) */
.atable-category {
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.atable-category:last-of-type {
    border-bottom: none;
}

.atable-category .container {
    max-width: 1100px;
}

.atable-category .section-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.atable-category .section-image {
    flex: 1;
    min-width: 300px;
}

.atable-category .section-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.atable-category .section-text {
    flex: 2;
    min-width: 300px;
}

.atable-category h2 {
    font-size: 2.2em;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: left;
}

.atable-category .section-text p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
}

/* Alternance des images (layout-left-image / layout-right-image) */
.atable-category.layout-left-image .section-content {
    flex-direction: row-reverse;
}

/* --- Media Queries pour la Responsivité --- */

/* Pour les tablettes et smartphones (largeur max 768px) */
@media (max-width: 768px) {
    .hero-atable h1 {
        font-size: 2.5em;
    }
    .hero-icon-utensils {
        font-size: 2em;
    }
    .hero-atable .intro-text {
        font-size: 1em;
    }

    .atable-category .section-content {
        flex-direction: column;
        text-align: center;
    }

    .atable-category .section-image,
    .atable-category .section-text {
        flex: auto;
        min-width: unset;
        width: 100%;
    }

    .atable-category .section-image img {
        height: 250px;
    }

    .atable-category h2 {
        text-align: center;
        font-size: 1.8em;
    }

    .atable-category .section-text p {
        font-size: 0.95em;
    }
}

/* Pour les smartphones (largeur max 480px) */
@media (max-width: 480px) {
    .hero-atable h1 {
        font-size: 2em;
    }
    .hero-icon-utensils {
        font-size: 1.8em;
    }
    .hero-atable .intro-text {
        font-size: 0.9em;
    }

    .atable-category .section-image img {
        height: 200px;
    }

    .atable-category h2 {
        font-size: 1.5em;
    }

    .atable-category .section-text p {
        font-size: 0.9em;
    }
}