﻿/* ==========================================================================
   How It Works walkthrough page
   Add this file at: wwwroot/dirto/css/howitworks.css
   ========================================================================== */

.walk-hero {
    background-color: #f8f9fa;
    padding: 60px 0 30px;
    border-bottom: 1px solid #e6e6e6;
    text-align: center;
}

    .walk-hero h1 {
        font-family: "Work Sans", sans-serif;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .walk-hero p {
        color: #6b6b6b;
        margin-bottom: 28px;
    }

.walk-tabs {
    display: inline-flex;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 30px;
    padding: 4px;
    gap: 4px;
}

.walk-tab {
    border: none;
    background: transparent;
    padding: 10px 24px;
    border-radius: 26px;
    font-weight: 600;
    font-size: 14.5px;
    color: #555;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

    .walk-tab:hover {
        color: #1f8a3f;
    }

    .walk-tab.active {
        background-color: #1f8a3f;
        color: #fff;
    }

.walk-area {
    padding-top: 45px;
}

.walk-track {
    display: none;
}

    .walk-track.active {
        display: block;
    }

.walk-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ---- step list (left) ---- */
.walk-nav {
    flex: 0 0 260px;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    overflow: hidden;
}

.walk-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    background: #fff;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 14px 16px;
    cursor: pointer;
    transition: background-color .15s ease;
}

.walk-nav li:last-child .walk-nav-item {
    border-bottom: none;
}

.walk-nav-item:hover {
    background-color: #f7f9f7;
}

.walk-nav-item.active {
    background-color: #eaf5ec;
}

.walk-nav-num {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #e2e2e2;
    color: #555;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .15s ease, color .15s ease;
}

.walk-nav-item.active .walk-nav-num,
.walk-nav-item.done .walk-nav-num {
    background-color: #1f8a3f;
    color: #fff;
}

.walk-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #333f57;
}

.walk-nav-item.active .walk-nav-title {
    color: #1f8a3f;
}

/* ---- stage (right) ---- */
.walk-stage {
    flex: 1;
    min-width: 0;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 32px;
    background-color: #fff;
}

.walk-progress {
    height: 6px;
    border-radius: 6px;
    background-color: #eee;
    margin-bottom: 28px;
    overflow: hidden;
}

.walk-progress-bar {
    height: 100%;
    width: 0%;
    background-color: #1f8a3f;
    border-radius: 6px;
    transition: width .25s ease;
}

.walk-panel {
    display: none;
}

    .walk-panel.active {
        display: block;
    }

.walk-panel-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #eaf5ec;
    color: #1f8a3f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.walk-step-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
}

.walk-panel h3 {
    font-family: "Work Sans", sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
}

.walk-panel p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
}

.walk-points {
    margin: 0 0 16px;
    padding-left: 20px;
    color: #444;
}

    .walk-points li {
        margin-bottom: 8px;
        line-height: 1.55;
    }

.walk-tip {
    background-color: #fff8e6;
    border: 1px solid #ffe2a8;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: #6b5300;
    margin-bottom: 18px;
}

.walk-cta {
    display: inline-block;
}

/* ---- screenshots ---- */
.walk-shots {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.walk-shots-multi {
    grid-template-columns: repeat(2, 1fr);
}

.walk-shot {
    margin: 0;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fafafa;
}

    .walk-shot img {
        display: block;
        width: 100%;
        height: auto;
        cursor: zoom-in;
        transition: opacity .15s ease;
    }

        .walk-shot img:hover {
            opacity: .92;
        }

    .walk-shot figcaption {
        padding: 10px 14px;
        font-size: 12.5px;
        color: #666;
        line-height: 1.5;
        border-top: 1px solid #eee;
    }

.walk-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(20, 20, 20, .82);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 30px;
    cursor: zoom-out;
}

    .walk-lightbox.open {
        display: flex;
    }

    .walk-lightbox img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 6px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
    }

@media (max-width: 640px) {
    .walk-shots-multi {
        grid-template-columns: 1fr;
    }
}

.walk-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.walk-btn {
    border: 1px solid #d8d8d8;
    background-color: #fff;
    color: #333f57;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .15s ease, opacity .15s ease;
}

.walk-btn-next {
    background-color: #1f8a3f;
    border-color: #1f8a3f;
    color: #fff;
}

    .walk-btn-next:hover {
        background-color: #197033;
    }

.walk-btn-prev:hover {
    background-color: #f5f5f5;
}

.walk-btn:disabled {
    opacity: .4;
    cursor: default;
}

.walk-counter {
    font-size: 13px;
    color: #999;
    font-weight: 600;
}

@media (max-width: 860px) {
    .walk-layout {
        flex-direction: column;
    }

    .walk-nav {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        overflow-x: auto;
        border-radius: 10px;
    }

        .walk-nav li {
            flex: 0 0 auto;
        }

    .walk-nav-item {
        border-bottom: none;
        border-right: 1px solid #eee;
        white-space: nowrap;
    }

    .walk-nav-title {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .walk-stage {
        padding: 24px;
    }
}
