body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Work Sans Font Bold';
    src: url('fonts/WorkSans-Bold.ttf') format('truetype');
}

#sedi-title {
    font-family: 'Work Sans Font Bold' !important;
    /* margin: 7vh 0px 0px 0px; */
    color: #CC0000 !important;
    text-align: center;
}

/* Sfondo immagine per il titolo e testo bianco */
.container h1 {
    text-align: center;
    color: #fff;
    background: url('https://via.placeholder.com/1200x300') no-repeat center center;
    background-size: cover;
    padding: 3rem 0;
    border-radius: 10px;
}

main {
    margin-top: 80px !important;
}

#contact-info-img {
    margin: 0;
    width: 100%;
}

.hero {
    position: relative;
    width: 100%;
    height: 400px;
    background: url('./../content/contatti.webp') no-repeat center 40%;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
}

.hero::before {
    content: ''; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.25); 
    backdrop-filter: blur(3px); 
    z-index: 1; 
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.151);
    z-index: 0; 
}

.hero h1 {
    color: white;
    font-size: 4rem;
    font-weight: bold;
    z-index: 2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.contact-info {
    margin-top: 50px;
}

/* FOOTER */
footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CONTATTI */
.container {
    padding: 2rem 0;
}

.contact-info h2 {
    text-align: center;
    color: #CC0000;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.contact-details {
    width: 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 2rem;
}

.map-container {
    width: 48%;
}

.details {
    text-align: left;
    border-left: 4px solid #CC0000;
    border-right: 4px solid #CC0000;
    box-shadow: #cc000056 0px 0px 5px 0px;
    border-radius: 6px;
    padding: 1.5rem;
    max-width: 900px;
    width: 35vw;
    margin: 0 auto;
}
.details, .map-container {
    margin: 0 auto;
}

.details p {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.details i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.details a {
    color: #CC0000;
    text-decoration: none;
}

.details a:hover {
    text-decoration: underline;
}

/* Sezione Mappa */
#map {
    width: 100%;
    height: 600px !important;
    border-radius: 10px;
    margin: 3rem 0;
}


@media (max-width: 1222px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-details,
    .map-container {
        width: 100%;
        margin-bottom: 2rem;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .details {
        width: 75vw;
    }
}
