/* Conteneur principal des réparations et services */
.reparation-container {
    max-width: 900px;
    margin: 5px auto; /* Centre horizontalement */
    padding: 30px;
    background: linear-gradient(145deg, #2a2a2a, #3b3b3b);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    color: #f0f0f0;
    overflow: hidden; /* Empêche les débordements */
    display: flex; /* Active Flexbox */
    flex-direction: column; /* Alignement vertical */
    justify-content: flex-start; /* Alignement par défaut en haut */
    align-items: center; /* Centre horizontalement */
    min-height: auto; /* Peut être ajusté dynamiquement */
    position: relative; /* Garde une position relative pour des ajustements futurs */
}



.reparation-container h1:hover {
    transform: scale(1.05);
    letter-spacing: 0.2rem;
}

/* Groupes de prestations */
.service-group {
    margin: 30px 0;
    border: 2px solid #007bff;
    border-radius: 15px;
    padding: 20px;
    background: linear-gradient(145deg, #3a3a3a, #484848);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Conteneur des options de services */
.service-options {
    display: flex;
    flex-direction: column; /* Place chaque service sur une ligne */
    gap: 20px; /* Espace entre les services */
    width: 100%; /* Prend toute la largeur du parent */
    align-items: center; /* Centre les cartes horizontalement */
}
/* Carte d'une prestation */
.service-card {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center; /* Aligne les éléments (icône + texte) verticalement */
    justify-content: flex-start; /* Aligne le contenu horizontalement à gauche */
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 15px;
    background: linear-gradient(145deg, #383838, #4a4a4a);
    color: #e6e6e6;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    gap: 15px; /* Ajoute de l'espace entre l'icône et le texte */
}

/* Icône dans chaque service */
.service-card .icon {
    font-size: 2.5rem; /* Agrandit la taille des icônes */
    color: #007bff; /* Couleur des icônes */
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
}

/* Texte dans chaque service */
.service-card span {
    font-size: 1.5rem; /* Agrandit la taille du texte */
    text-align: center; /* Centre le texte horizontalement */
    flex: 1; /* Le texte prend toute la largeur restante */
}

.service-card:hover {
    transform: scale(1.1);
    background: linear-gradient(145deg, #4a4a4a, #5b5b5b);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.service-card.selected {
    border-color: #007bff;
    background: linear-gradient(145deg, #007bff, #0056b3);
    color: white;
}

/* Zone pour afficher l'image du téléphone */
.phone-image-container {
    margin-top: 20px;
    text-align: center;
    background: linear-gradient(145deg, #2a2a2a, #3a3a3a);
    padding: 20px;
    border: 2px dashed #007bff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.phone-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
