/* ==============================================
   KARAR NASIL ALINIR - Vertical Decision Flow
   Scroll-driven timeline with step highlights
   ============================================== */

/* Main Content */
.karar-main {
    background: linear-gradient(180deg, #0a0a0c 0%, #0d0d10 100%);
    position: relative;
    overflow: hidden;
}

.karar-main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   INTRO SECTION
   ======================================== */

.karar-intro {
    padding: 6rem 0 4rem;
    position: relative;
    z-index: 1;
}

.karar-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4rem;
}

.intro-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.intro-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-content p {
    font-size: 1.3rem;
    color: var(--yk-text-secondary);
    line-height: 1.8;
}

.law-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--yk-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   TIMELINE SECTION
   ======================================== */

.timeline-section {
    padding: 4rem 0 8rem;
    position: relative;
    z-index: 1;
}

.timeline-header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.timeline-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-header h2 {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-header p {
    color: var(--yk-text-secondary);
    font-size: 1.1rem;
}

/* Vertical Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Timeline center line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(212, 168, 83, 0.3) 10%,
            rgba(212, 168, 83, 0.3) 90%,
            transparent 100%);
}

/* Timeline Step */
.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 5rem;
    position: relative;
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-step:last-child {
    margin-bottom: 0;
}

/* Step Number Marker */
.step-marker {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--yk-dark);
    border: 2px solid rgba(212, 168, 83, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--yk-text-secondary);
    transition: all 0.4s ease;
}

.timeline-step.active .step-number {
    background: var(--yk-gold);
    border-color: var(--yk-gold);
    color: #000;
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.4);
}

/* Step Content */
.step-content {
    flex: 1;
    padding: 0.5rem 0 0;
}

.step-content h3 {
    font-size: 1.6rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.timeline-step.active .step-content h3 {
    color: var(--yk-gold);
}

.step-content p {
    font-size: 1.05rem;
    color: var(--yk-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Step Highlight Box */
.step-highlight {
    background: rgba(212, 168, 83, 0.08);
    border-left: 3px solid var(--yk-gold);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.step-highlight p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--yk-text-primary);
}

.step-highlight strong {
    color: var(--yk-gold);
}

/* ========================================
   RESULT SECTION
   ======================================== */

.result-section {
    padding: 5rem 0;
    background: rgba(212, 168, 83, 0.03);
    position: relative;
    z-index: 1;
}

.result-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.result-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.result-box h3 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.result-box p {
    color: var(--yk-text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.result-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--yk-gold);
    color: var(--yk-gold);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.result-cta:hover {
    background: var(--yk-gold);
    color: #000;
}

/* Back Link */
.back-section {
    padding: 3rem 0 5rem;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--yk-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--yk-gold);
}

.back-link::before {
    content: '←';
    transition: transform 0.3s ease;
}

.back-link:hover::before {
    transform: translateX(-5px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .karar-container {
        padding: 0 1.5rem;
    }

    .timeline::before {
        left: 24px;
    }

    .timeline-step {
        gap: 1.5rem;
    }

    .step-marker {
        width: 50px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    .result-box {
        padding: 2.5rem 1.5rem;
    }
}