/* ============================================================
   Custom styles — Hotel Val d'Arno
   Stili specifici del sito, separati dal template (style.css)
   ============================================================ */


/* --- Logo header ingrandito (override del template) ---------- */
:root { --logo-width: 220px; }


/* --- Footer chiaro (override del template) ------------------- */
footer.section-dark,
footer.section-dark .subfooter {
    background: #eeeeee;
    color: #1a1a1a;
}

footer.section-dark,
footer.section-dark h1, footer.section-dark h2, footer.section-dark h3,
footer.section-dark h4, footer.section-dark h5, footer.section-dark h6,
footer.section-dark p,
footer.section-dark a {
    color: #1a1a1a;
}

footer.section-dark a:hover { color: var(--primary-color); }

footer.section-dark .social-icons i { color: #1a1a1a; }
footer.section-dark .social-icons a:hover i { color: var(--primary-color); }


/* --- Booking bar fissa in fondo ------------------------------ */
body { padding-bottom: 120px; }

.booking-bar-input { background-color: #EBEBEB; }
.booking-bar-input:focus { background-color: #EBEBEB; }

@media (max-width: 767.98px) {
    body { padding-bottom: 90px; }
    #booking-bar .form-control { font-size: 14px; padding: .4rem .6rem; }
    #booking-bar .btn-main { padding: .5rem .8rem; font-size: 14px; }
}


/* --- ul-check centrate (override del template) --------------- */
.text-center .ul-check li { padding-left: 0; }
.text-center .ul-check li:before { position: static; margin-right: 10px; }


/* --- Tabella tariffe camere ---------------------------------- */
.rates-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.rates-table th,
.rates-table td {
    padding: 18px 24px;
    border-bottom: 1px solid #eee;
}

.rates-table tbody tr:last-child td { border-bottom: 0; }

.rates-table thead th {
    background: #f5f3ef;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
}

.rates-table td.rate-name {
    font-weight: 500;
    color: #1a1a1a;
}

.rates-table td.rate-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    text-align: right;
}

.rates-table td.rate-price small {
    font-size: 13px;
    font-weight: 400;
    color: #999;
    margin-left: 4px;
}

.rates-table tbody tr:hover td { background: #fafaf8; }

@media (max-width: 575.98px) {
    .rates-table th,
    .rates-table td { padding: 14px 16px; }
    .rates-table td.rate-price { font-size: 18px; }
}


/* --- Tabella sale congressi ---------------------------------- */
.halls-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.halls-table th,
.halls-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.halls-table tbody tr:last-child td { border-bottom: 0; }

.halls-table thead th {
    background: #f5f3ef;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.halls-table td.hall-name {
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
}

.halls-table td.hall-num {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

.halls-table tbody tr:hover td { background: #fafaf8; }

/* mobile: ogni riga diventa una "card" con label inline */
@media (max-width: 767.98px) {
    .halls-table thead { display: none; }
    .halls-table,
    .halls-table tbody,
    .halls-table tr { display: block; width: 100%; }
    .halls-table tr {
        border-bottom: 8px solid #f5f3ef;
        padding: 6px 0;
    }
    .halls-table tr:last-child { border-bottom: 0; }
    .halls-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 18px;
        border-bottom: 0;
        text-align: right;
    }
    .halls-table td::before {
        content: attr(data-label);
        font-size: 12px;
        letter-spacing: .06em;
        text-transform: uppercase;
        font-weight: 600;
        color: #666;
        margin-right: 12px;
    }
    .halls-table td.hall-name {
        background: #f5f3ef;
        padding: 12px 18px;
        text-align: left;
        font-size: 16px;
    }
    .halls-table td.hall-name::before { display: none; }
}


/* --- Lista documenti scaricabili ----------------------------- */
.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-list li { margin-bottom: 8px; }

.doc-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid #e5e1d8;
    border-radius: 6px;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: all .2s ease;
}

.doc-list a:hover {
    border-color: var(--primary-color);
    background: #fafaf8;
    color: var(--primary-color);
    transform: translateX(4px);
}

.doc-list a i {
    color: var(--primary-color);
    font-size: 16px;
    width: 18px;
    text-align: center;
}
