/* SECCIÓ 3: contenidor principal */
#seccio3 {
    display: flex;
    justify-content: center;
    margin: 80px auto;     /* Centrat horitzontalment */
    padding: 0 20px;       /* Evitar marges laterals excessius */
}

/* Fons i estructura interior */
.mesinfo {
    background: #ECECEC;
    border-radius: 40px; /* més arrodonit */
    padding: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 100px;
    flex-wrap: wrap;
}

/* Cada columna de contingut */
.container2 {
    max-width: 500px;
    flex: 1 1 400px;
}

/* Títol principal */
.titol2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Descripció central */
.descripciomig {
    font-size: 16px;
    color: black;
    margin-bottom: 50px;
}

/* Imatge animada del logo */
.giflogo {
    width: 100%;
    max-width: 200px;
    border-radius: 30px; /* rodona per a pantalles petites */
}

/* Zona de botons de descàrrega */
.zonabotons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

/* Estils comuns per a botons */
.boto-apple, .boto-play {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background-color: #000;
    color: white;
    border: 2px solid #000;
    padding: 25px 30px;
    border-radius: 70px; /* més rodó */
    font-family: Regular;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1 1 200px;
}

/* Efectes hover per canviar colors */
.boto-apple:hover, .boto-play:hover {
    background-color: white;
    color: black;
}

/* Icones dins dels botons */
.boto-apple img.logo {
    width: 40px;
    content: url('img/logoappleblanco.png');
}

.boto-apple:hover img.logo {
    content: url('img/logoapplenegro.png');
}

.boto-play img.logo {
    width: 40px;
    height: auto;
    content: url('img/googleplaylogowhite.png');
}

.boto-play:hover img.logo {
    content: url('img/googleplaylogoblack.png');
}

/* Text dins dels botons */
.text-boto {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.text-boto span:first-child {
    font-size: 15px;
}

.text-boto span:last-child {
    font-size: 24px;
    font-weight: bold;
}

/* ========================= */
/* 🔁 MEDIA QUERY RESPONSIVE */
/* ========================= */
@media (max-width: 768px) {
    #seccio3 {
        margin: 40px auto;     /* Menys marge vertical en mòbil */
        padding: 0 10px;       /* Menys marge lateral */
    }

    .mesinfo {
        flex-direction: column;
        padding: 40px 20px;
        gap: 50px;
        border-radius: 30px;
    }

    .zonabotons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .boto-apple, .boto-play {
        justify-content: center;
        padding: 14px 20px;
        font-size: 13px;
        border-radius: 50px;
    }

    .boto-apple img.logo,
    .boto-play img.logo {
        width: 30px;
    }

    .text-boto {
        font-size: 11px;
    }

    .text-boto span:first-child {
        font-size: 12px;
    }

    .text-boto span:last-child {
        font-size: 18px;
        font-weight: bold;
    }

    .giflogo {
        margin-top: 30px;
        align-self: center;
        max-width: 200px;
        border-radius: 20px;
    }
}
