/*
 * rapybus-layout.css
 * Shared page chrome: header, footer, scroll-to-top.
 * Include on every web page alongside rapybus-tokens.css.
 */

/* ── Header ──────────────────────────────────────────────── */

#header {
    background: transparent;
    transition: background 0.35s, box-shadow 0.35s;
}

#header.scrolled {
    background: var(--rb-dark) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ── Footer ──────────────────────────────────────────────── */

#footer {
    background: var(--rb-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

#footer .footer-brand .sitename {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--heading-font, 'Jost', sans-serif);
}

#footer .footer-brand p {
    font-size: 0.9rem;
    margin-top: 10px;
    max-width: 280px;
    line-height: 1.6;
}

#footer .footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 4px;
}

#footer .footer-contact strong {
    color: rgba(255, 255, 255, 0.9);
}

#footer h5 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

#footer .social-links {
    display: flex;
    gap: 10px;
}

#footer .social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.25s;
}

#footer .social-links a:hover {
    background: var(--rb-green);
    border-color: var(--rb-green);
    color: #fff;
    transform: translateY(-2px);
}

#footer .footer-app-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#footer .footer-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-size: 0.82rem;
    transition: all 0.25s;
}

#footer .footer-app-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
}

#footer .footer-app-btn i {
    font-size: 1.3rem;
}

#footer .footer-bottom {
    margin-top: 48px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* ── Scroll-to-top button ────────────────────────────────── */

.scroll-top {
    background: var(--rb-green) !important;
    border-radius: 12px !important;
}
