body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;

    /* NOUVEAU: Ajout de l'image de fond */
    background-image: url('image_fb3483.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* NOUVEAU: Pseudo-élément pour créer l'effet de flou sur le fond sans affecter le contenu */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit; /* Hérite du fond du body */
    filter: blur(8px); /* Applique le flou */
    z-index: -1; /* Place le flou derrière tout le contenu */
}

.main-container, .weather-container {
    margin: 1rem;
    border-radius: 16px;
    padding: 1rem;
    
    /* MODIFIÉ: Effet "Glassmorphism" */
    background-color: rgba(30, 30, 30, 0.6); /* Fond semi-transparent */
    backdrop-filter: blur(15px); /* Floute ce qui est derrière l'élément */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Bordure subtile pour l'effet de verre */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.main-container {
    width: 66.66%;
    overflow-y: auto;
}

.weather-container {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.weather-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

.weather-info {
    font-size: 1.2rem;
    text-align: center;
}

.category {
    margin: 1rem auto;
    width: 90%;
    border-radius: 8px;
    padding: 1rem;
    overflow: hidden;
    
    /* NOUVEAU: Dégradé avec des couleurs plus "néon" */
    background: linear-gradient(135deg, rgba(240, 0, 255, 0.8), rgba(0, 242, 255, 0.8));
    
    /* NOUVEAU: Ombre pour un effet lumineux néon */
    box-shadow: 0 0 10px rgba(240, 0, 255, 0.5), 0 0 20px rgba(0, 242, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 5px rgba(0,0,0,0.5); /* Ombre portée sur le titre pour une meilleure lisibilité */
}

.services {
    display: flex; 
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.service {
    flex: 1 1 calc(20% - 1rem);
    text-align: center;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* MODIFIÉ: Fond semi-transparent pour les boutons de service */
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
    height: 100%;
    width: 100%;
}

.service:hover {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0px 8px 15px rgba(0, 242, 255, 0.3); 
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
        height: auto; /* Permet le défilement sur mobile */
        overflow: visible;
    }

    .main-container, .weather-container {
        width: auto; /* Prend la largeur disponible */
        margin: 0.5rem;
    }

    .service {
        flex: 1 1 calc(40% - 1rem);
    }
}

@media (max-width: 480px) {
    .service {
        flex: 1 1 100%;
    }
}