@CHARSET "UTF-8";

.contact-container {
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 40px;
    margin-left: auto;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: black;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ----- Nuova griglia per i blocchi di contatto (coppia title/subtitle) ----- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonne uguali */
    gap: 30px;
    width: 100%;
    max-width: 800px;  /* Regola in base alle tue necessità */
    margin: 20px auto;
    text-align: left;  /* Testo allineato a sinistra per una lettura più agevole */
}


/* Stili per i testi interni al blocco (potresti voler sovrascrivere alcuni stili già definiti) */
.contact-grid-item p {
    margin: 0;
    padding: 6px 0;
}

/* Titolo: utilizza lo stile già definito per contact-title */
.contact-grid-item p.contact-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
}

/* Sottotitolo: stile per il testo normale */
.contact-grid-item p.contact-subtitle {
    font-size: 18px;
}


.contact-page-title{
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    width: fit-content;
    border-radius: 8px;
    height: auto;
    padding: 10px;
}

.contact-container h3 {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.contact-container p {
    font-size: 18px;
    display: inline-block;
    width: 80%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.contact-container p.contact-title {
    z-index: 1000;
    font-weight: bold;
    padding: 12px 18px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width:100%;
}

.contact-container p.contact-final-title {
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 12px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);

    margin-top: 10px;
}

.contact-container p.contact-subtitle {
    font-size: 18px;
    width:100%;
    margin-top:-2px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.5); /* Bianco trasparente leggermente più opaco */
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

#contact-street{
    color: blue;
    font-weight: bold;
}


.contact-container a {
    color: blue;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.contact-container a:hover {
    text-decoration: underline;
    color: #003d80;
    transform: scale(1.05);
}

/* Telefono su una sola riga */
.contact-container .phone {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 18px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);

    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.contact-container iframe {
    width: 90%;
    height: 550px;
    border-radius: 25px;
    margin-top: 20px;
    border:5px solid white;
    margin-bottom: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.reach-us-title,
.where-title{
    width: fit-content;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);

}

.reach-us-title,
.where-title{
    margin-top:30px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        width: 95%;
        padding: 30px;
    }
    .contact-container iframe {
        height: 450px;
    }
    .contact-container p {
        width: 90%;
    }
}

@media (max-width: 480px) {

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap:20px;
    }
    
    
    .contact-container h3 {
        font-size: 30px;
    }

    .contact-container p.contact-title{
        font-size: 20px;
    }

    .contact-container{
        padding-top: 40px;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
    }
    .contact-container p {
        font-size: 20px;
        padding: 12px;
    }
    .contact-container a {
        font-size: 20px;
    }
    .contact-container iframe {
        height: 550px;
        width: 100%;
    }

    

    .contact-container p.contact-subtitle{
        font-size: 20px;

    }
}
