/* ==============================================
   YÖNETİCİ KILAVUZU - WIDE NARRATIVE
   Concept: Expansive Story-Driven Interface
   ============================================== */

:root {
    --yk-bg-dark: #0b0b0d;
    --yk-text-pri: #f0f0f0;
    --yk-text-sec: #a0a0a0;
    --yk-accent: #ff8c00;
    --yk-card-bg: rgba(255, 255, 255, 0.02);
    --yk-card-border: rgba(255, 255, 255, 0.06);
}

/* 1. Global Background (Full Screen via Fixed Div) */
.yk-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--yk-bg-dark);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -10;
}

.yk-bg-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 20%, #0b0b0d 100%);
}

/* Body Reset */
.yk-immersive {
    background: transparent;
}


/* 2. Main Container (Wide) */
.yk-narrative-container {
    max-width: 1400px;
    /* Wide format */
    margin: 0 auto;
    padding: 6rem 4rem;
    position: relative;
    z-index: 1;
}

/* Header Badge Fix */
.yk-badge {
    position: relative;
    background-color: var(--color-bg-alt);
    background-image: url('../../assets/images/executive_building_glass_dark.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: var(--space-xl) 0;
    z-index: 1;
    /* Match estetik-header to play nice with navbar */
    min-height: 350px;
    display: flex;
    align-items: center;
}

.yk-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.yk-badge-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 2;
}

.yk-badge h1 {
    font-size: 4rem;
    /* Massive Title */
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
    letter-spacing: -0.03em;
}

.yk-badge-sub {
    font-size: 1.5rem;
    color: #ccc;
    font-weight: 300;
    max-width: 600px;
}


/* 3. Intro Section (Centered Editorial) */
.yk-chapter.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 8rem auto;
    padding: 0;
    grid-column: 1 / -1;
    gap: 0;
    animation-delay: 0s;
}

.intent-line {
    display: block;
    width: 2px;
    height: 60px;
    background: var(--yk-accent);
    margin: 0 auto 2rem auto;
}

.intro .chapter-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.intro .chapter-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--yk-text-pri);
    max-width: 100%;
}

/* 4. Chapter Layout (Side-by-Side) */
.yk-chapter {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* Text | Visuals */
    gap: 6rem;
    margin-bottom: 10rem;
    align-items: start;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.yk-chapter:nth-child(even) {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Text Column */
.chapter-content {
    position: sticky;
    top: 150px;
    /* Sticky scroll effect */
}

.chapter-header {
    margin-bottom: 2rem;
    border-bottom: none;
}

.chapter-num {
    font-family: monospace;
    color: var(--yk-accent);
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.2;
    line-height: 0.8;
    display: block;
    margin-bottom: -1rem;
}

.yk-chapter h3 {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.chapter-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--yk-text-sec);
}

/* Visual Column (Cards) */
.yk-card-row {
    display: grid;
    grid-template-columns: 1fr;
    /* Stack cards inside the column for flow */
    gap: 2rem;
}

/* 5. Card Styling (Bigger, Bolder) */
.yk-hybrid-card {
    background: var(--yk-card-bg);
    border: 1px solid var(--yk-card-border);
    padding: 3rem;
    /* Spacious padding */
    display: flex;
    flex-direction: row;
    /* Horizontal layout inside card */
    align-items: center;
    gap: 2rem;
    text-decoration: none;
    transition: all 0.4s ease;
    border-radius: 8px;
}

.yk-hybrid-card.static {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.yk-hybrid-card.link {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.yk-hybrid-card.link:hover {
    border-color: var(--yk-accent);
    transform: translateX(10px);
    /* Side nudge */
    background: linear-gradient(145deg, rgba(255, 140, 0, 0.05), rgba(0, 0, 0, 0));
}

.card-icon {
    font-size: 2.5rem;
    /* Larger icons */
    color: var(--yk-accent);
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.card-content h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card-content p {
    font-size: 1rem;
    color: var(--yk-text-sec);
    margin: 0;
}

.card-arrow {
    margin-left: auto;
    font-size: 1.5rem;
    color: var(--yk-accent);
    opacity: 0.5;
    transition: all 0.3s;
}

.yk-hybrid-card.link:hover .card-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* 6. Deep Dive Grid */
.yk-chapter.deep-dive {
    display: block;
    /* Full width block */
    text-align: center;
}

.yk-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.mini-card {
    padding: 2rem;
    background: var(--yk-card-bg);
    border: 1px solid var(--yk-card-border);
    color: #fff;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: 0.3s;
}

.mini-card:hover {
    background: var(--yk-accent);
    border-color: var(--yk-accent);
    color: #000;
}

/* 7. Final CTA */
.yk-final-cta {
    margin-top: 5rem;
    padding: 4rem;
    background: linear-gradient(to right, rgba(255, 140, 0, 0.1), transparent);
    border-left: 4px solid var(--yk-accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yk-final-cta p {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.cta-button {
    background: #fff;
    color: #000;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .yk-narrative-container {
        padding: 4rem 2rem;
    }

    .yk-chapter {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .chapter-content {
        position: static;
    }

    .yk-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yk-final-cta {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .yk-badge h1 {
        font-size: 2.5rem;
    }

    .yk-badge-sub {
        font-size: 1.1rem;
    }

    .yk-hybrid-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
    }

    .yk-mini-grid {
        grid-template-columns: 1fr;
    }
}