/* ============================================================
   style.css — DocNow.it
   ============================================================ */

/* ── Reset base ─────────────────────────────────────────────── */
html, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #f4f8fc;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* ── Jumbotron (Bootstrap 4 legacy) ─────────────────────────── */
.jumbotron {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #e9ecef;
    border-radius: .3rem;
    text-align: center;
}

/* ── Tabella orari ───────────────────────────────────────────── */
.orario-row {
    background-color: #f8f9fa;
    border-radius: 5px;
}
.no-orari-msg {
    font-style: italic;
    padding: 10px;
}

/* ── GDPR banner ─────────────────────────────────────────────── */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    transform: translateY(0);
}
.gdpr-banner.hidden {
    transform: translateY(100%);
}
.gdpr-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.gdpr-content p {
    margin: 0 0 10px 0;
    font-size: 14px;
}
.gdpr-content button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.gdpr-content button:hover {
    background-color: #45a049;
}
@media (min-width: 600px) {
    .gdpr-banner {
        bottom: 20px;
        left: 50%;
        width: auto;
        max-width: 450px;
        border-radius: 10px;
        transform: translateX(-50%);
    }
    .gdpr-banner.hidden {
        display: none !important;
    }
    .gdpr-content {
        flex-direction: row;
        justify-content: space-between;
    }
    .gdpr-content p {
        margin: 0 15px 0 0;
        font-size: 15px;
        text-align: left;
    }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
footer {
    width: 100%;
    position: static;
    margin: 0;
    padding: 0;
}

.site-footer {
    background: linear-gradient(180deg, #0a84ff 0%, #0066cc 100%);
    color: rgba(255,255,255,.85);
    padding: 36px 20px 24px;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    font-size: .82rem;
    font-weight: 500;
    text-align: center;
}
.site-footer-inner {
    max-width: 640px;
    margin: 0 auto;
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.25);
}
.footer-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: .85;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}
.footer-brand {
    font-size: .95rem;
    font-weight: 800;
    color: rgba(255,255,255,.9);
    letter-spacing: -0.01em;
    text-align: left;
}
.footer-brand span {
    color: rgba(255,255,255,.7);
}
.footer-tagline {
    font-size: .75rem;
    color: rgba(255,255,255,.65);
    margin-top: 1px;
    text-align: left;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-bottom: 18px;
}
.footer-links a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.footer-links a:hover { color: #fff; }
.footer-links a svg { opacity: .6; }
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,.2);
    margin-bottom: 16px;
}
.footer-copy {
    font-size: .76rem;
    color: rgba(255,255,255,.65);
    line-height: 1.6;
}
.footer-copy strong {
    color: #fff;
    font-weight: 700;
}
@media (max-width: 400px) {
    .footer-links { flex-direction: column; align-items: center; }
}

/* ── Fix spazio sotto footer ─────────────────────────────────── */
html {
    height: 100%;
}
body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.site-footer {
    margin-top: auto;
}