/* Container per layout desktop */
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Immagine desktop */
.profile-image-desktop {
    width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    display: block;
}

/* Immagine mobile - nascosta su desktop */
.profile-image-mobile {
    display: none;
}

/* Aggiusta la sezione about per il layout flexbox */
.about-section {
    flex: 1;
    padding: 50px 20px;
}

/* MEDIA QUERY PER MOBILE */
@media (max-width: 768px) {
    /* Cambia layout da flex a block per mobile */
    .about-container {
        display: block;
    }
    
    /* Nascondi immagine desktop su mobile */
    .profile-image-desktop {
        display: none;
    }
    
    /* Mostra e stilizza immagine mobile */
    .profile-image-mobile {
        display: block;
        width: 250px;
        height: auto;
        margin: 20px auto;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        object-fit: cover;
    }
    
    /* Aggiusta padding per mobile */
    .about-section {
        padding: 30px 20px;
    }
}

/* Sezione About */
.about-section {
    padding: 50px;
    text-align: justify;
    background-color: #f9f9f9;
}

.about-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-section p {
    margin-bottom: 15px;
}

/* Sezione Galleria */
.gallery-section {
    padding: 50px;
    text-align: center;
    background-color: #fff;
}

.gallery-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.gallery-section p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery img {
    width: 300px;
    height: 200px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}
