/* ==========================================================================
   Stili Sezione Servizi / Gruppo Emisfera
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
}

.linea {
    width: 100%;
    height: 500px;
    background: transparent;
    z-index: -2;
    position: relative;
}

.herosection {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    
}

.herosection1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.testosezione {
    font-size: 50px;
    color: #D4AF37;
    font-weight: bold;
    position: absolute;
    z-index: 2;
    text-align: center;
    margin: 0;
}

/* Inizio società card */
.sctsoc {
    width: 100%;
    background: rgba(212, 175, 55, 0.5);
    padding: 40px 20px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    
    position: relative;
    z-index: 3;
}

.soc1 {
    width: 1000px;
    min-height: 328px;
    display: flex;
    padding: 30px;
    gap: 5%;
    z-index: 1;
    border-bottom: solid 2px gold;
    flex-direction: row;
    background: black;
    border-radius: 30px;
    margin-bottom: 5%;
    transition: all 0.3s ease;
    align-items: center;
}

.soc1:hover {
    border-radius: 50px;
    border: solid 2px gold;
}

.soc2 {
    flex-direction: column;
    display: flex;
    width: 100%;
}

.imgsoc {
    width: 160px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.titlsoc {
    font-size: 24px;
    color: gold;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.psoc1 {
    font-size: 15px;
    color: white;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.psoc2 {
    font-size: 16px;
    color: white;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.psoc3 {
    font-size: 14px;
    color: #124197;
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
    margin: 0;
}

.divsoc {
    flex-direction: row;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    text-decoration: none;
}

.divsoc a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.imgsoc1 {
    font-size: 34px;
    color: #124197;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.imgsoc1:hover,
.psoc3:hover {
    color: #a0b3d5;
}

/* Responsive per dispositivi mobili */
@media (max-width: 1024px) {
    .soc1 {
        width: 90%;
        max-width: 1000px;
        flex-direction: column;
        text-align: center;
        height: auto;
    }
    .divsoc, .divsoc a {
        justify-content: center;
    }
}