/* site.css — Ward 10 Residents */

html {
    scroll-behavior: smooth;
}

/* ── Hero Section ─────────────────────────────────────────────────────── */
.hero-section {
    background-image: url('https://images.unsplash.com/photo-1472214103451-9374bd1c798e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-color: #1e4a18;
    min-height: 88vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.step-eyebrow {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hero-how-card {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    max-width: 560px;
}

/* ── Step Navigation Bar ──────────────────────────────────────────────── */
#step-nav {
    background: #fff;
    position: sticky;
    top: 56px;
    z-index: 1025;
}

.step-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.step-nav-list::-webkit-scrollbar {
    display: none;
}

.step-nav-link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #6c757d;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .15s, border-color .15s;
}

.step-nav-link:hover {
    color: #212529;
    border-bottom-color: #adb5bd;
}

.step-nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    font-weight: 600;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dee2e6;
    color: #495057;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background .15s, color .15s;
}

.step-nav-link.active .step-num {
    background: #0d6efd;
    color: #fff;
}

/* ── Section Step Labels ──────────────────────────────────────────────── */
.step-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #0d6efd;
    margin-bottom: 0.35rem;
}

/* ── Scroll offset for sticky headers ────────────────────────────────── */
[id^="step-"] {
    scroll-margin-top: 7.5rem;
}

/* ── Context section icons ────────────────────────────────────────────── */
.context-icon {
    font-size: 2rem;
    line-height: 1;
}

/* ── Process Timeline ─────────────────────────────────────────────────── */
.process-timeline {
    position: relative;
    padding-left: 3rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 0.9rem;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 2px;
    background: #dee2e6;
}

.process-step {
    position: relative;
    padding-bottom: 2rem;
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-step-marker {
    position: absolute;
    left: -3rem;
    top: 0.1rem;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    z-index: 1;
}

.process-step-content {
    padding-top: 0.1rem;
}

.process-step-highlight .process-step-content {
    background: #f0f4ff;
    border: 1px solid #c5d3f8;
    border-radius: 0.5rem;
    padding: 1rem 1.1rem;
}

/* ── Discussion forum icons ───────────────────────────────────────────── */
.forum-icon {
    font-size: 1.4rem;
    line-height: 1.4;
}

