/* ==========================================================================
   COMPONENT: STEPPER
   Çok adımlı formlar için ilerleme göstergesi (checkout, reservation).
   ========================================================================== */

.stepper {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: var(--space-4) 0;
}

.stepper__step {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
    cursor: default;
    transition: opacity var(--duration-fast);
}

.stepper__step.is-clickable {
    cursor: pointer;
}

.stepper__step.is-future {
    opacity: 0.4;
}

.stepper__circle {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    font-family: var(--font-sans);
    transition: all var(--duration-normal);
    flex-shrink: 0;
}

/* Completed step */
.stepper__step.is-completed .stepper__circle {
    background: var(--color-brand-bg);
    color: var(--color-text-on-brand);
}

/* Current step */
.stepper__step.is-current .stepper__circle {
    background: var(--color-text);
    color: var(--color-bg);
}

/* Future step */
.stepper__step.is-future .stepper__circle {
    background: var(--color-border);
    color: var(--color-muted);
}

.stepper__label {
    font-size: var(--text-sm);
    font-family: var(--font-sans);
    color: var(--color-text);
}

.stepper__step.is-current .stepper__label {
    font-weight: var(--fw-semibold);
}

.stepper__step.is-future .stepper__label {
    color: var(--color-muted);
}

/* Connector line */
.stepper__line {
    flex: 1;
    height: 1px;
    margin: 0 var(--space-3);
    background: var(--color-border);
    transition: background var(--duration-normal);
}

.stepper__line.is-completed {
    background: var(--color-brand-bg);
}

/* Mobile: hide labels except current */
@media (max-width: 640px) {
    .stepper__step.is-future .stepper__label,
    .stepper__step.is-completed .stepper__label {
        display: none;
    }
}

/* ==========================================================================
   COMPONENT: BREADCRUMB
   Sayfa yolu navigasyonu.
   ========================================================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    padding: var(--space-4) 0;
}

.breadcrumb__item {
    font-size: var(--text-sm);
    color: var(--color-muted);
    font-family: var(--font-sans);
}

.breadcrumb__item a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color var(--duration-fast);
}

.breadcrumb__item a:hover {
    color: var(--color-brand);
}

.breadcrumb__item:last-child {
    color: var(--color-text);
    font-weight: var(--fw-medium);
}

.breadcrumb__separator {
    color: var(--color-border);
    font-size: var(--text-xs);
    user-select: none;
}
