/* --- Styles spécifiques à la page Accès (fr-acces.php) --- */

/* Section Héro Accès */
.hero-acces {
    padding: 3rem 0;
    text-align: center;
}

.hero-acces h1 {
    font-size: 3em;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Picto Voiture et Lignes (jaune) */
.car-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-car {
    font-size: 2.5em;
    color: #FFD700; /* Jaune or pour l'icône voiture */
    margin: 0 15px;
    flex-shrink: 0;
}

.car-icon-wrapper .line {
    flex-grow: 1;
    height: 2px;
    background-color: #FFD700; /* Couleur de ligne assortie en jaune or */
    max-width: 50%;
}

/* Section Détails Accès */
.access-details-section {
    padding: 3rem 0;
}

.access-details-section .container {
    max-width: 1100px; /* Largeur max pour le contenu */
}

.access-content-grid {
    display: flex;
    flex-wrap: wrap; /* Permet l'empilement sur mobile */
    gap: 40px; /* Espacement entre les colonnes */
    align-items: flex-start; /* Aligne le contenu en haut des colonnes */
}

.access-text-column {
    flex: 2; /* Le texte prend plus de place */
    min-width: 350px; /* Largeur minimale pour le texte */
}

.access-text-column h2 {
    font-size: 2.2em;
    color: #444;
    margin-bottom: 1.5rem;
}

.access-text-column h3 {
    font-size: 1.4em;
    color: #555;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.access-text-column p {
    font-size: 1em;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1rem;
}

.access-images-column {
    flex: 1; /* Les images prennent moins de place */
    min-width: 250px; /* Largeur minimale pour les images */
    display: flex;
    flex-direction: column; /* Images empilées verticalement */
    gap: 20px; /* Espacement entre les images */
}

.access-image {
    width: 100%;
    height: 200px; /* Hauteur fixe pour chaque image */
    object-fit: cover; /* Assure que l'image couvre l'espace */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.google-maps-button-container {
    text-align: center; /* Centre le bouton */
    margin-top: 2rem;
}

/* Le style du bouton .btn-primary devrait déjà exister dans votre CSS. */
/* Si ce n'est pas le cas, ajoutez un style de base pour .btn-primary */
/* Exemple de style .btn-primary si non existant:
.btn-primary {
    display: inline-block;
    background-color: #FFD700; // Jaune or
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #FFC400; // Jaune légèrement plus foncé
}
*/
/* Ajout d'une icône pour le bouton Google Maps */
.btn-primary .fas {
    margin-right: 8px;
}


/* --- Media Queries pour la Responsivité --- */

/* Pour les tablettes et smartphones (largeur max 768px) */
@media (max-width: 768px) {
    .hero-acces h1 {
        font-size: 2.5em;
    }
    .hero-icon-car {
        font-size: 2em;
    }

    .access-content-grid {
        flex-direction: column; /* Empile les colonnes sur mobile */
        gap: 30px;
    }

    .access-text-column,
    .access-images-column {
        flex: auto; /* Reprend la taille automatique */
        min-width: unset; /* Supprime le min-width */
        width: 100%; /* Prend toute la largeur disponible */
    }

    .access-text-column h2 {
        font-size: 1.8em;
        text-align: center; /* Centre le titre sur mobile */
    }

    .access-text-column h3 {
        font-size: 1.2em;
        text-align: center; /* Centre les sous-titres */
    }

    .access-text-column p {
        font-size: 0.95em;
        text-align: justify; /* Justifie le texte pour une meilleure lecture */
    }

    .access-images-column {
        flex-direction: row; /* Images côte à côte sur mobile si l'espace le permet */
        flex-wrap: wrap; /* Empile si pas assez de place */
        justify-content: center;
        gap: 15px;
    }

    .access-image {
        width: 48%; /* Deux images par ligne si possible */
        height: 150px;
    }
}

/* Pour les smartphones (largeur max 480px) */
@media (max-width: 480px) {
    .hero-acces h1 {
        font-size: 2em;
    }
    .hero-icon-car {
        font-size: 1.8em;
    }

    .access-image {
        width: 100%; /* Une seule image par ligne sur très petit écran */
        height: 180px; /* Augmente un peu la hauteur pour la visibilité */
    }

    .access-text-column p {
        font-size: 0.9em;
    }
}

