/**
 * Skyline Retreat Ohio - Build Roadmap Styles
 * Earthy, organic, animated, modern
 */

/* ── Variables ─────────────────────────────── */
:root {
    --roadmap-green: #5A9F6E;
    --roadmap-green-light: rgba(90, 159, 110, 0.08);
    --roadmap-green-border: rgba(90, 159, 110, 0.25);
    --roadmap-amber: #D4A04A;
    --roadmap-amber-light: rgba(212, 160, 74, 0.08);
    --roadmap-amber-border: rgba(212, 160, 74, 0.25);
    --roadmap-gray: #8B9299;
    --roadmap-gray-light: rgba(139, 146, 153, 0.06);
    --roadmap-gray-border: rgba(139, 146, 153, 0.2);
    --roadmap-earth: #3D2E1F;
    --roadmap-earth-warm: #5C4A3A;
    --roadmap-sand: #F5F0E8;
    --roadmap-stone: #E8E2D8;
}

/* ── Container ────────────────────────────── */
.roadmap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Hero ──────────────────────────────────── */
.roadmap-hero {
    position: relative;
    padding: 8rem 2rem 6rem;
    overflow: hidden;
    text-align: center;
}

.roadmap-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        var(--roadmap-sand) 0%,
        #E6DFD3 30%,
        #D9D0C2 60%,
        var(--roadmap-stone) 100%
    );
    z-index: 0;
}

.roadmap-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(90, 159, 110, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(74, 111, 165, 0.05) 0%, transparent 50%);
}

.roadmap-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.roadmap-hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--roadmap-green);
    margin-bottom: 1.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(90, 159, 110, 0.1);
    border-radius: 30px;
}

.roadmap-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--roadmap-earth);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.roadmap-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--roadmap-earth-warm);
    max-width: 560px;
    margin: 0 auto;
}

/* ── Timeline Section ─────────────────────── */
.roadmap-timeline {
    padding: 5rem 0;
    background: #fff;
}

.roadmap-intro {
    text-align: center;
    margin-bottom: 3.5rem;
}

.roadmap-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--roadmap-earth);
    margin-bottom: 0.75rem;
}

.roadmap-section-subtitle {
    font-size: 1.05rem;
    color: var(--roadmap-earth-warm);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Swim Lanes ───────────────────────────── */
.roadmap-lanes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.roadmap-lane {
    border-radius: 16px;
    padding: 1.75rem;
    min-height: 300px;
}

.roadmap-lane-available {
    background: var(--roadmap-green-light);
    border: 1px solid var(--roadmap-green-border);
}

.roadmap-lane-coming {
    background: var(--roadmap-amber-light);
    border: 1px solid var(--roadmap-amber-border);
}

.roadmap-lane-future {
    background: var(--roadmap-gray-light);
    border: 1px solid var(--roadmap-gray-border);
}

/* ── Lane Headers ─────────────────────────── */
.roadmap-lane-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.roadmap-lane-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roadmap-badge-available {
    background: var(--roadmap-green);
    color: #fff;
}

.roadmap-badge-coming {
    background: var(--roadmap-amber);
    color: #fff;
}

.roadmap-badge-future {
    background: var(--roadmap-gray);
    color: #fff;
}

.roadmap-lane-description {
    font-size: 0.85rem;
    color: var(--roadmap-earth-warm);
    margin-top: 0.6rem;
    font-style: italic;
}

/* ── Cards ────────────────────────────────── */
.roadmap-lane-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.roadmap-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.roadmap-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.roadmap-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.roadmap-card:hover .roadmap-card-image img {
    transform: scale(1.05);
}

.roadmap-card-body {
    padding: 1.25rem;
}

.roadmap-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--roadmap-earth);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.roadmap-card-excerpt {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--roadmap-earth-warm);
    margin-bottom: 0.75rem;
}

.roadmap-card-date {
    display: block;
    font-size: 0.78rem;
    color: var(--roadmap-gray);
    margin-bottom: 0.5rem;
}

.roadmap-card-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--skyline-primary, #4A6FA5);
    transition: color 0.2s ease;
}

.roadmap-card:hover .roadmap-card-link {
    color: var(--skyline-dark, #2C3E50);
}

/* Empty lane placeholder */
.roadmap-card-empty {
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px dashed rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.roadmap-card-empty p {
    font-size: 0.9rem;
    color: var(--roadmap-gray);
    font-style: italic;
}

/* ── Scroll Reveal Animation ──────────────── */
.roadmap-card-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.roadmap-card-reveal.roadmap-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Values Section ───────────────────────── */
.roadmap-values {
    padding: 5rem 0;
    background: var(--roadmap-sand);
}

.roadmap-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.roadmap-values-content {
    padding-right: 1rem;
}

.roadmap-values-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--roadmap-earth);
    margin-bottom: 1.5rem;
}

.roadmap-values-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--roadmap-earth-warm);
    margin-bottom: 1.25rem;
}

.roadmap-values-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.roadmap-pillar {
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid var(--roadmap-green);
}

.roadmap-pillar-icon {
    display: inline-block;
    color: var(--roadmap-green);
    font-size: 0.6rem;
    margin-bottom: 0.4rem;
}

.roadmap-pillar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--roadmap-earth);
    margin-bottom: 0.4rem;
}

.roadmap-pillar p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--roadmap-earth-warm);
}

/* ── Subscribe Section ────────────────────── */
.roadmap-subscribe {
    padding: 5rem 0;
    background: linear-gradient(
        160deg,
        var(--roadmap-earth) 0%,
        var(--roadmap-earth-warm) 100%
    );
}

.roadmap-subscribe-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.roadmap-subscribe-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.roadmap-subscribe-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.roadmap-subscribe-form {
    max-width: 460px;
    margin: 0 auto;
}

.roadmap-subscribe-input-group {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.35rem;
}

.roadmap-subscribe-input {
    flex: 1;
    padding: 0.85rem 1.15rem;
    border: none;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
    color: var(--roadmap-earth);
    font-family: 'Inter', sans-serif;
}

.roadmap-subscribe-input::placeholder {
    color: #aaa;
}

.roadmap-subscribe-input:focus {
    outline: 2px solid var(--roadmap-green);
    outline-offset: -2px;
}

.roadmap-subscribe-btn {
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: var(--roadmap-green);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.roadmap-subscribe-btn:hover {
    background: #4E8E60;
    transform: translateY(-1px);
}

.roadmap-subscribe-success {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(90, 159, 110, 0.2);
    border-radius: 6px;
    color: #A8D8B9;
    font-size: 0.9rem;
    font-weight: 500;
}

.roadmap-subscribe-error {
    margin-top: 0.75rem;
    color: #F5A5A5;
    font-size: 0.85rem;
}

/* Active nav link */
.nav-active {
    color: var(--skyline-primary, #4A6FA5) !important;
    font-weight: 600 !important;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
    .roadmap-lanes {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .roadmap-lane {
        min-height: auto;
    }

    .roadmap-values-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .roadmap-values-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .roadmap-hero {
        padding: 5rem 1.5rem 4rem;
    }

    .roadmap-hero-title {
        font-size: 2.5rem;
    }

    .roadmap-hero-subtitle {
        font-size: 1rem;
    }

    .roadmap-timeline {
        padding: 3rem 0;
    }

    .roadmap-section-title {
        font-size: 1.8rem;
    }

    .roadmap-lane {
        padding: 1.25rem;
    }

    .roadmap-values {
        padding: 3rem 0;
    }

    .roadmap-values-title {
        font-size: 1.6rem;
    }

    .roadmap-subscribe {
        padding: 3rem 0;
    }

    .roadmap-subscribe-title {
        font-size: 1.6rem;
    }

    .roadmap-subscribe-input-group {
        flex-direction: column;
    }

    .roadmap-subscribe-btn {
        width: 100%;
    }

    .roadmap-container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .roadmap-hero-title {
        font-size: 2rem;
    }

    .roadmap-hero-label {
        font-size: 0.7rem;
    }
}
