html, body {
    margin: 0;
    padding: 0;
}

html, body  {
    font-family: "Gill Sans MT", "Gill Sans", "Gill Sans Std", "Gill Sans Nova", Calibri, "Trebuchet MS", sans-serif;
}

*:not(i):not([class*="fa-"]) {
    font-family: "Gill Sans MT", "Gill Sans", "Gill Sans Std", "Gill Sans Nova", Calibri, "Trebuchet MS", sans-serif;
}

.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands,
[class^="fa-"], [class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}


/* index.css – Contatti */
/* Stile ispirato al tema gold/jazz del sito, coerente con la pagina contatti */

/* ===== Reset & Base ===== */
html,
body {
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: "Gill Sans MT", "Gill Sans", "Gill Sans Std", "Gill Sans Nova", Calibri, "Trebuchet MS", sans-serif;
    background-color: white;
    color: #1a1a1a;
}

*:not(i):not([class*="fa-"]) {
    font-family: "Gill Sans MT", "Gill Sans", "Gill Sans Std", "Gill Sans Nova", Calibri, "Trebuchet MS", sans-serif;
}

.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* ===== Contenitore principale contatti ===== */
.contact-c {
    margin: 3rem 4rem 2rem 4rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* ===== Titolo ===== */
.contact-t {
    font-size: 4rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.contact-t .sp {
    font-size: 4rem;
    font-weight: bold;
    color: gold;
    /* gold */
    transition: color 0.3s ease;
}

.contact-t .sp:hover {
    color: gold;
}

/* ===== Singola riga contatto (Email / Telefono) ===== */
.contact-s {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 2.5rem;
    border-bottom: 2px dashed rgba(212, 175, 55, 0.25);
    padding-bottom: 1.2rem;
    flex-wrap: wrap;
}

/* etichetta */
.contact-label {
    font-size: 2rem;
    font-weight: 600;
    color: #2a2a2a;
    margin: 0;
    min-width: 9rem;
    letter-spacing: 0.5px;
}

/* valore (link) */
.contact-value {
    font-size: 2rem;
    font-weight: 400;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
    padding-bottom: 2px;
    word-break: break-all;
}

.contact-value:hover {
    color: gold;
    border-bottom-color: gold;
}

.contact-value .sp2 {
    color: gold;
    font-weight: 600;
}

/* ===== Sezione orari ===== */
.contact-time {
    margin: 2.5rem 4rem 4rem 4rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-p {
    font-size: 2.8rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0;
}



/* ===== Tabella orari ===== */
.time-table {
    width: 100%;
    max-width: 750px;
    border-collapse: collapse;
    font-size: 1.15rem;
    box-shadow: 4px 4px 0 gold;
    border: 1.5px solid gold;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
}

.time-table thead {
    background-color: #1a1a1a;
    color: #fcf9f2;
}

.time-table thead th {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    text-align: left;
}

.time-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.time-table tbody tr:last-child {
    border-bottom: none;
}

.time-table tbody tr:hover {
    background-color: #fcf6e8;
}

.time-table tbody th {
    font-weight: 600;
    padding: 0.9rem 1.8rem;
    text-align: left;
    color: #1a1a1a;
}

.time-table tbody th:last-child {
    font-weight: 400;
    color: #333;
}

/* riga Domenica – evidenziazione gold */
.time-table tbody tr:last-child th:first-child {
    color: gold;
    font-weight: 700;
}

.time-table tbody tr:last-child th:last-child {
    font-style: italic;
    color: #888;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .contact-c {
        margin-left: 2.5rem;
        margin-right: 2.5rem;
    }

    .contact-time {
        margin-left: 2.5rem;
        margin-right: 2.5rem;
    }

    .contact-t {
        font-size: 3.2rem;
    }

    .contact-t .sp {
        font-size: 3.2rem;
    }

    .contact-label {
        font-size: 1.6rem;
        min-width: 7rem;
    }

    .contact-value {
        font-size: 1.6rem;
    }

    .contact-p {
        font-size: 2.2rem;
    }

    .time-table {
        font-size: 1rem;
    }

    .time-table thead th,
    .time-table tbody th {
        padding: 0.7rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .contact-c {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        gap: 1.8rem;
    }

    .contact-time {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        gap: 1.2rem;
    }

    .contact-t {
        font-size: 2.4rem;
    }

    .contact-t .sp {
        font-size: 2.4rem;
    }

    .contact-s {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding-bottom: 0.9rem;
    }

    .contact-label {
        font-size: 1.3rem;
        min-width: auto;
    }

    .contact-value {
        font-size: 1.3rem;
        word-break: break-word;
    }

    .contact-p {
        font-size: 1.8rem;
    }

    .time-table {
        font-size: 0.9rem;
        box-shadow: 3px 3px 0 gold;
    }

    .time-table thead th,
    .time-table tbody th {
        padding: 0.6rem 0.9rem;
    }

    .time-table tbody th:last-child {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .contact-c {
        margin-left: 1rem;
        margin-right: 1rem;
        gap: 1.4rem;
    }

    .contact-time {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .contact-t {
        font-size: 1.8rem;
    }

    .contact-t .sp {
        font-size: 1.8rem;
    }

    .contact-label {
        font-size: 1.1rem;
    }

    .contact-value {
        font-size: 1.1rem;
    }

    .contact-p {
        font-size: 1.4rem;
    }

    .time-table {
        font-size: 0.75rem;
        box-shadow: 2px 2px 0 gold;
    }

    .time-table thead th,
    .time-table tbody th {
        padding: 0.4rem 0.6rem;
    }

    .time-table tbody th:last-child {
        font-size: 0.7rem;
    }
}

/* ===== Tema scuro (opzionale, coerente con meta color-scheme) ===== */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #181818;
        color: white;
    }

    .contact-t {
        color: white;
    }

    .contact-t .sp {
        color: gold;
    }

    .contact-label {
        color: #ccc;
    }

    .contact-value {
        color: white;
    }

    .contact-value:hover {
        color: gold;
        border-bottom-color: gold;
    }

    .contact-p {
        color: white;
    }

    .time-table {
        background-color: #242424;
        border-color: gold;
        box-shadow: 4px 4px 0 gold;
    }

    .time-table thead {
        background-color: #0d0d0d;
        color: white;
    }

    .time-table tbody tr {
        border-bottom-color: #3a3a3a;
    }

    .time-table tbody tr:hover {
        background-color: #2e2a1f;
    }

    .time-table tbody th {
        color: white;
    }

    .time-table tbody th:last-child {
        color: #bbb;
    }

    .time-table tbody tr:last-child th:first-child {
        color: gold;
    }

    .contact-s {
        border-bottom-color: rgba(212, 175, 55, 0.2);
    }

    @media (max-width: 768px) {
        .time-table {
            box-shadow: 3px 3px 0 gold;
        }
    }

    @media (max-width: 480px) {
        .time-table {
            box-shadow: 2px 2px 0 gold;
        }
    }

    @media (max-width: 380px) {
        .time-table {
            font-size: 0.65rem;
        }
        .time-table thead th,
        .time-table tbody th {
            padding: 0.3rem 0.4rem;
        }
        .time-table tbody th:last-child {
            font-size: 0.6rem;
        }
    }
}

@media (max-width: 380px) {
    .contact-c {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        gap: 1rem;
    }

    .contact-time {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .contact-t {
        font-size: 1.4rem;
    }

    .contact-t .sp {
        font-size: 1.4rem;
    }

    .contact-label {
        font-size: 0.95rem;
    }

    .contact-value {
        font-size: 0.95rem;
    }

    .contact-p {
        font-size: 1.2rem;
    }

    .time-table {
        font-size: 0.65rem;
        box-shadow: 1px 1px 0 gold;
    }

    .time-table thead th,
    .time-table tbody th {
        padding: 0.3rem 0.4rem;
    }

    .time-table tbody th:last-child {
        font-size: 0.6rem;
    }
}