/* ==========================================
   STORYTELLER AGENCY - CINEMATIC DESIGN
   ========================================== */

/* CSS Variables */
:root {
    --bg-dark: #0b0b0b;
    --primary: #d90329;
    --secondary: #2b2d41;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --text-light: #e0e0e0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    cursor: none;
}

/* Main Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5vw;
    transition: all 0.3s ease;
    
}

.main-header.scrolled {
    padding: 15px 5vw;
    backdrop-filter: blur(20px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
    margin-left:-100px;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 30px;
    color: var(--primary) !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--primary) !important;
    color: var(--text-white) !important;
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
}

.cursor.hover .cursor-circle {
    width: 60px;
    height: 60px;
    border-color: var(--primary);
    background: rgba(217, 3, 41, 0.1);
}

.cursor.hover .cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Canvas Background */
#hero-lightpass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 11, 11, 0.15) 0%,
        rgba(11, 11, 11, 0.35) 50%,
        rgba(11, 11, 11, 0.75) 100%
    );
}

/* Hero story — tek ekran, adım adım (scroll yok) */
.hero-story {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    z-index: 1;
}

.hero-story__scenes.scroll-container {
    position: relative;
    width: 100%;
    height: 100%;
    height: 100dvh;
}

/* Scene Styling */
.scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5vw;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.5s;
}

.scene.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s;
    z-index: 2;
}

.hero-story-advance {
    position: absolute;
    left: 50%;
    bottom: clamp(2rem, 6vh, 4.5rem);
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    accent-color: var(--primary);
    outline: none;
    box-shadow: none;
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
}

.hero-story-advance:focus,
.hero-story-advance:focus-visible {
    outline: none;
    box-shadow: none;
}

.hero-story-advance:active:not(:disabled) {
    background: transparent;
    color: #fff;
}

.hero-story-advance:disabled {
    opacity: 0.45;
    cursor: wait;
}

.hero-story-advance.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-story-advance__ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(11, 11, 11, 0.45);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.hero-story-advance__icon {
    animation: heroAdvanceBounce 2.2s ease-in-out infinite;
}

.hero-story-advance__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.85;
}

@media (hover: hover) and (pointer: fine) {
    .hero-story-advance:hover:not(:disabled) .hero-story-advance__ring {
        border-color: var(--primary);
        background: rgba(217, 3, 41, 0.2);
        transform: scale(1.06);
    }
}

@keyframes heroAdvanceBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

.scene-content {
    width: 50%;
    max-width: 600px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.scene-content.left {
    position: absolute;
    left: 8vw;
}

.scene-content.right {
    position: absolute;
    right: 8vw;
}

.scene.active .scene-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scene-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.scene-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scene-description {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-gray);
}

/* Scene Indicator Dots */
.scene-indicator {
    position: absolute;
    bottom: 3rem;
    display: flex;
    gap: 12px;
}

.scene-indicator .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.scene-indicator .dot.active {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(217, 3, 41, 0.5);
}

/* Scene Text Wrapper */
.scene-text-wrapper {
    margin-bottom: 40px;
}

/* Slide Items - 6 Item Carousel */
.slide-items {
    position: relative;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    z-index: 50;
    pointer-events: auto;
}

.slide-track {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slide-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    opacity: 0.5;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.scene.active .slide-item {
    opacity: 0.8;
    transform: translateX(0);
}

.slide-item:hover {
    opacity: 0.8;
    background: rgba(217, 3, 42, 0.192);
    border-color: rgba(217, 3, 42, 0.363);
}

.slide-item.active {
    opacity: 1 !important;
    transform: translateX(0);
    background: rgb(217 3 41 / 28%);
    border-color: rgb(217 3 41 / 56%);
    box-shadow: 0 10px 30px rgba(217, 3, 41, 0.1);
}

.slide-item.active:hover {
    background: rgba(217, 3, 42, 0.425);
    border-color: rgba(217, 3, 42, 0.521);
}

.slide-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 30px;
}

.slide-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.slide-item.active .slide-text {
    color: var(--text-white);
}

.slide-item:hover .slide-text {
    color: var(--text-white);
}

/* Scene Progress Indicator */
.scene-progress {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.scene-progress-track {
    width: 3px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.scene-progress-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    height: 0%;
    transition: height 0.3s ease;
}

.scene-dots {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scene-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scene-dot.active {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(217, 3, 41, 0.5);
    transform: scale(1.2);
}

.scene-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Mobile Responsive for Scene Progress */
@media (max-width: 768px) {
    html.hero-scroll-locked,
    body.hero-scroll-locked {
        overflow: hidden;
        overscroll-behavior: none;
        height: 100%;
    }

    body.hero-scroll-locked {
        position: fixed;
        width: 100%;
        left: 0;
        right: 0;
    }

    body.hero-scroll-locked .hero-story-advance,
    body.hero-scroll-locked .slide-item,
    body.hero-scroll-locked .scene-dot {
        touch-action: manipulation;
    }

    .scene-progress {
        display: none;
    }

    /* Sabit alt çubuk yüksekliği — slide-items bunun üstünde hizalanır */
    .hero-story {
        --hero-advance-h: calc(2.75rem + env(safe-area-inset-bottom, 0px));
    }

    /* Sonraki / Devam — ekranın en altında sabit çubuk */
    .hero-story-advance {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        transform: none;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.35rem;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(8, 8, 10, 0.94);
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 0;
        box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.5);
        z-index: 120;
    }

    .hero-story-advance__ring {
        display: none !important;
    }

    .hero-story-advance__icon {
        width: 22px;
        height: 22px;
        animation: none;
        flex-shrink: 0;
    }

    .hero-story-advance__label {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }

    .hero-story-advance:hover:not(:disabled) .hero-story-advance__ring {
        transform: none;
    }

    .hero-story-advance:hover,
    .hero-story-advance:focus,
    .hero-story-advance:focus-visible,
    .hero-story-advance:active {
        background: rgba(8, 8, 10, 0.94);
        color: #fff;
        outline: none;
        box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.5);
    }

    .hero-story-advance:active:not(:disabled) {
        background: rgba(18, 18, 20, 0.98);
        border-top-color: rgba(217, 3, 41, 0.45);
    }

    .hero-story__scenes.scroll-container {
        padding-bottom: var(--hero-advance-h);
    }

    .scene.active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-end;
        padding: max(64px, 9vh) 10px var(--hero-advance-h);
        box-sizing: border-box;
    }

    .scene:not(.active) .slide-items {
        display: none;
    }

    .scene.active .scene-content {
        position: relative;
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        display: flex;
        flex-direction: column-reverse;
        align-items: stretch;
        justify-content: flex-end;
        gap: 0;
        left: auto !important;
        right: auto !important;
        text-align: left;
        pointer-events: auto;
    }

    /* Başlık metni — slide-items listesinin üzerinde (gradient ile okunaklı) */
    .scene-text-wrapper {
        position: relative;
        z-index: 20;
        margin: 0 0 -1.5rem;
        padding: 10px 8px 2rem;
        max-height: none;
        overflow: visible;
        pointer-events: none;
        background: linear-gradient(
            180deg,
            rgba(8, 8, 10, 0.92) 0%,
            rgba(8, 8, 10, 0.78) 55%,
            rgba(8, 8, 10, 0.2) 100%
        );
    }

    .scene-subtitle {
        margin-bottom: 0.35rem;
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    .scene-title {
        font-size: clamp(1.1rem, 4.2vw, 1.45rem);
        margin-bottom: 0.25rem;
        line-height: 1.2;
    }

    .scene-description {
        font-size: 0.78rem;
        line-height: 1.4;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        opacity: 0.95;
    }

    /* Hizmet butonları — altta, scroll yok */
    .scene.active .slide-items {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
        padding: 0 0 4px;
        overflow: visible;
        z-index: 10;
    }

    .slide-track {
        gap: 6px;
    }

    .slide-item {
        gap: 10px;
        padding: 10px 10px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.55);
        border-color: rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        transform: none;
    }

    .scene.active .slide-item {
        opacity: 0.92;
        transform: none;
    }

    .slide-item.active {
        background: rgba(217, 3, 41, 0.55);
    }

    .slide-number {
        min-width: 22px;
        font-size: 0.65rem;
    }

    .slide-text {
        font-size: 0.78rem;
        line-height: 1.25;
    }
}

/* Normal Scroll Sections */
.normal-scroll {
    position: relative;
    z-index: 1;
    background: var(--bg-dark);
}

/* Section Header */
.section-header {
    text-align: center;
    padding: 120px 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    padding: 8px 20px;
    border: 1px solid var(--primary);
    border-radius: 30px;
    margin-bottom: 2rem;
}

a.section-label {
    text-decoration: none;
    transition: all 0.3s ease;
}

a.section-label.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

a.section-label:hover {
    background: var(--primary);
    color: var(--text-white);
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Case Studies - Bento Grid */
.case-studies {
    padding: 0 5vw 120px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    column-gap: 20px;
    row-gap: 80px;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--secondary);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
}

.bento-card.portfolio-preview {
    -webkit-tap-highlight-color: transparent;
    overflow: visible;
    background: transparent;
}

.bento-card:not(.portfolio-preview):hover {
    transform: scale(1.02);
}

/* Splash mask kartları — scale/gölge mask illüzyonunu bozar */
.bento-card.portfolio-preview:hover {
    transform: scale(1.02);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(217, 3, 41, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.bento-card.portfolio-preview::before {
    display: none;
}

.bento-card:not(.portfolio-preview):hover::before {
    opacity: 1;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-wide {
    grid-column: span 2;
}

.bento-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 25px;
    z-index: 0;
}

/* Splash mask yalnızca görselde — içerik / etiketler maskelenmez */
.bento-card.portfolio-preview .bento-image {
    -webkit-mask-image: url(../assets/img/bento_mask.png);
    mask-image: url(../assets/img/bento_mask.png);
    -webkit-mask-size: 90% auto;
    mask-size: 90% auto;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
}

.bento-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.05) 0%, rgba(11, 11, 11, 0.55) 55%, rgba(11, 11, 11, 0.92) 100%);
    pointer-events: none;
    z-index: 1;
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.bento-card.portfolio-preview .bento-content {
    pointer-events: auto;
}

.bento-content > * {
    pointer-events: auto;
}

.bento-card:hover .bento-content {
    transform: translateY(0);
}

.bento-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
    background-color: white;
    padding: 10px;
    border-radius: 25px;
    width: max-content;
    filter:opacity(0.8);
}

.bento-category:empty {
    display: none;
}

.bento-title {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.bento-desc {
    font-size: 0.875rem;
    color: var(--text-white);
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
}

.bento-card:hover .bento-desc {
    opacity: 1;
}

/* Portfolyo listesi — aynı bento + splash mask */
.bento-grid--portfolio {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    column-gap: 30px;
    row-gap: 80px;
}

.bento-grid--portfolio .bento-card.portfolio-preview {
    height: clamp(260px, 28vw, 320px);
    min-height: clamp(260px, 28vw, 320px);
}

/* Strategy Map Section */
.strategy-map {
    position: relative;
    z-index: 2;
    overflow: visible;
    padding: 100px 5vw 120px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(43, 45, 65, 0.3) 100%);
}

.strategy-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.strategy-avatar {
    position: absolute;
    bottom: 0;
    height: 90%;
    max-height: 550px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

.strategy-avatar.left {
    left: 8vw;
}

.strategy-avatar.right {
    right: 8vw;
}

.strategy-form {
    margin-top: 50px;
}

.form-group {
    margin-bottom: 30px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-light);
}

.form-select {
    width: 100%;
    padding: 18px 24px;
    font-size: 1rem;
    font-family: var(--font-family);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(217, 3, 41, 0.2);
}

.form-select option {
    background: var(--bg-dark);
    color: var(--text-white);
}

.strategy-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    background: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.strategy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(217, 3, 41, 0.4);
}

.strategy-btn svg {
    transition: transform 0.3s ease;
}

.strategy-btn:hover svg {
    transform: translateX(5px);
}

.strategy-result {
    margin-top: 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(217, 3, 41, 0.3);
    border-radius: 20px;
    text-align: left;
    display: none;
}

.strategy-result.show {
    display: block;
    animation: fadeInUp 0.6s ease;
}

.strategy-result h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.strategy-result ul {
    list-style: none;
    padding: 0;
}

.strategy-result li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.strategy-result li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Referanslar — yatay X akış (tam genişlik) */
.references-xflow {
    position: relative;
    z-index: 1;
    padding: 0px 0 0px;
    overflow: hidden;
    clear: both;
    background-color: #14151b;
}

.references-xflow.is-empty {
    display: none;
}

.references-xflow__header {
    padding: 0 5vw 40px;
    margin-bottom: 0;
}

.references-xflow__pin {
    position: relative;
    width: 100%;
}

.references-xflow__stage {
    position: relative;
    width: 100%;
    height: clamp(380px, 52vh, 600px);
    overflow: hidden;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.references-xflow__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.references-xflow__bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 48%, rgba(217, 3, 41, 0.14) 0%, transparent 62%),
        radial-gradient(ellipse 90% 70% at 85% 15%, rgba(43, 45, 65, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 10% 90%, rgba(20, 22, 38, 0.7) 0%, transparent 50%),
        linear-gradient(168deg, #06060c 0%, #101018 42%, #0a0a12 72%, #050508 100%);
}

.references-xflow__particles {
    position: absolute;
    inset: -15%;
    width: 130%;
    height: 130%;
    opacity: 0.7;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 0.6px, transparent 0.7px),
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 0 0.4px, transparent 0.5px);
    background-size: 56px 56px, 36px 36px;
    background-position: 0 0, 18px 22px;
    animation: referencesParticlesFloat 52s ease-in-out infinite alternate;
}

.references-xflow__particles--slow {
    opacity: 0.45;
    filter: blur(0.5px);
    background-image:
        radial-gradient(circle, rgba(217, 3, 41, 0.45) 0 1px, transparent 1.2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 0 0.5px, transparent 0.6px);
    background-size: 92px 92px, 64px 64px;
    background-position: 12px 8px, 40px 36px;
    animation: referencesParticlesFloatSlow 80s ease-in-out infinite alternate-reverse;
}

.references-xflow__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.35;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

@keyframes referencesParticlesFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-2.5%, -1.5%) scale(1.02);
    }
}

@keyframes referencesParticlesFloatSlow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(2%, 2.5%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .references-xflow__particles,
    .references-xflow__particles--slow {
        animation: none;
    }
}

.references-xflow__lane {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.references-xflow__track-outer {
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform;
    pointer-events: none;
    z-index: 2;
}

.references-xflow__track {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    will-change: transform;
}

.references-xflow__track-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: max-content;
    gap: clamp(1.25rem, 2.5vw, 2.75rem);
    pointer-events: auto;
}

.references-xflow__card {
    flex: 0 0 auto;
    width: clamp(110px, 13vw, 170px);
    height: clamp(68px, 9vw, 104px);
    padding: clamp(0.75rem, 1.2vw, 1.1rem) clamp(1rem, 1.6vw, 1.35rem);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.references-xflow__card:hover {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 26px 55px rgba(217, 3, 41, 0.28);
}

.references-xflow__card img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.82;
    transition: filter 0.35s ease, opacity 0.35s ease;
}

.references-xflow__card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.references-xflow__hint {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-gray);
    margin: 1.25rem 5vw 0;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .references-xflow__stage {
        height: clamp(300px, 48vh, 440px);
    }

    .references-xflow__card {
        width: clamp(88px, 22vw, 118px);
        height: clamp(52px, 12vw, 72px);
    }

    .references-xflow__track-inner {
        gap: 1rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 150px 5vw;
    background: linear-gradient(180deg, rgba(43, 45, 65, 0.3) 0%, var(--bg-dark) 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2rem;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 18px 24px;
    font-size: 1rem;
    font-family: var(--font-family);
    background: #151720;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: var(--text-gray);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(217, 3, 41, 0.2);
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.zp-captcha-wrap {
    max-width: 600px;
    text-align: left;
}

.zp-captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.zp-captcha-row img {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.zp-captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #151720;
    color: var(--text-white);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.zp-captcha-refresh:hover {
    border-color: var(--primary);
    background: rgba(217, 3, 41, 0.15);
}

.contact-form .zp-captcha-input,
.contact-form-page .zp-captcha-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    background: #151720;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
}

.contact-form-page .zp-captcha-wrap {
    margin-bottom: 24px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    background: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 20px;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(217, 3, 41, 0.4);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(3px) translateY(-3px);
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    padding: 80px 5vw 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-logo-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 2px;
}

.footer-logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 1px;
}

.footer-tagline {
    color: var(--text-gray);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-content: flex-start;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.1s ease;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(217, 3, 41, 0.3);
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTopBtn:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-logo img {
        margin-left: 0;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-social {
        grid-column: span 2;
        justify-content: center;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .bento-card {
        height: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social {
        grid-column: span 1;
    }
    
    .section-header {
        padding: 80px 20px 50px;
    }
    
    .cta-section {
        padding: 100px 5vw;
    }
    
    .strategy-map {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .strategy-content {
        order: 1;
        width: 100%;
    }
    
    .strategy-avatar {
        position: relative;
        order: 2;
        width: 100%;
        max-width: 350px;
        height: auto;
        margin-top: 40px;
        left: auto !important;
        right: auto !important;
        bottom: auto;
    }
}

/* Sayfa yükleniyor — tüm sayfalarda (anasayfa + iç sayfalar) */
body.is-page-loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b0b0b;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-loader__label {
    color: #fff;
    font-family: var(--font-family, 'Inter', sans-serif);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.page-loader__bar-wrap {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.page-loader__bar {
    width: 0%;
    height: 100%;
    background: var(--primary, #d90329);
    border-radius: 3px;
    transition: width 0.25s ease;
}

.page-loader__percent {
    color: var(--primary, #d90329);
    font-family: var(--font-family, 'Inter', sans-serif);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

/* Smooth Scrolling Container Animation */
.scroll-snap-hint {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 100;
}

.scroll-snap-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-snap-hint svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* Scroll indicator for video section */
.video-scroll-progress {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.video-scroll-progress .progress-track {
    width: 3px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
}

.video-scroll-progress .progress-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: height 0.1s ease;
}

/* Footer Logo Image */
.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .nav-cta {
        margin-top: 20px;
    }
}

/* Inner Pages Common Styles */
.page-header {
    padding: 180px 5vw 100px;
    background: #151720;
    text-align: center;
    
    border-bottom: 2px solid var(--primary);
    border-bottom-right-radius: 25%;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.page-title-2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.page-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 5vw;
}

/* About Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-image {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.about-image__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

.about-image img
{max-width: 1200px;}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* About — scroll timeline */
.about-timeline {
    margin: 40px 0 120px;
    padding-top: 20px;
}

.about-timeline__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.about-timeline__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 12px 0 16px;
    letter-spacing: -0.02em;
}

.about-timeline__lead {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-timeline__track {
    position: relative;
 
    margin: 0 auto;
    padding: 0 2vw 40px;
}

.about-timeline__rail {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    z-index: 0;
}

.about-timeline__line-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.about-timeline__line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--primary) 0%, #ff4d6d 100%);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(217, 3, 41, 0.45);
    transition: height 0.08s linear;
}

.about-timeline__line-progress::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 11px;
    height: 11px;
    transform: translate(-50%, 50%);
    border-radius: 50%;
    background: #ff4d6d;
    box-shadow: 0 0 0 4px rgba(217, 3, 41, 0.25), 0 0 18px rgba(217, 3, 41, 0.65);
}

.about-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
    grid-template-rows: auto;
    column-gap: 36px;
    row-gap: 0;
    align-items: center;
    min-height: 300px;
    margin-bottom: 100px;
    z-index: 1;
}

.about-timeline__item:last-child {
    margin-bottom: 0;
}

.about-timeline__node {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    position: relative;
    z-index: 2;
}

.about-timeline__node time {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    height: 76px;
    padding: 0 14px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid rgba(255, 255, 255, 0.2);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text-white);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.about-timeline__content {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 460px;
    justify-self: end;
    text-align: right;
    opacity: 0.42;
    filter: saturate(0.85);
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.about-timeline__media {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    justify-self: start;
    opacity: 0.5;
    filter: saturate(0.8) brightness(0.88);
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 2;
    background: linear-gradient(135deg, var(--secondary), rgba(217, 3, 41, 0.35));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
}

.about-timeline__item--flip .about-timeline__content {
    grid-column: 3;
    justify-self: start;
    text-align: left;
    transform: translateX(-20px);
}

.about-timeline__item--flip .about-timeline__media {
    grid-column: 1;
    justify-self: end;
    transform: translateX(20px);
}

.about-timeline__item.is-reached .about-timeline__content,
.about-timeline__item.is-reached .about-timeline__media {
    opacity: 0.72;
    filter: none;
}

.about-timeline__item.is-active .about-timeline__content,
.about-timeline__item.is-active .about-timeline__media {
    opacity: 1 !important;
    filter: none !important;
    transform: translateX(0);
}

.about-timeline__item.is-active .about-timeline__content h3 {
    color: var(--text-white);
}

.about-timeline__item.is-active .about-timeline__content p {
    color: var(--text-light);
}

.about-timeline__item.is-active .about-timeline__media {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.about-timeline__item.is-active .about-timeline__node time {
    transform: scale(1.12);
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 0 10px rgba(217, 3, 41, 0.18), 0 0 32px rgba(217, 3, 41, 0.5);
}

.about-timeline__item.is-reached .about-timeline__node time {
    border-color: var(--primary);
}

.about-timeline__item--highlight {
    margin-bottom: 48px;
}

.about-timeline__item--highlight.is-active .about-timeline__node time {
    transform: scale(1.18);
}

.about-timeline__content h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
}

.about-timeline__content p {
    color: var(--text-gray);
    line-height: 1.75;
    font-size: 0.98rem;
    margin-bottom: 14px;
}

.about-timeline__content p:last-child {
    margin-bottom: 0;
}

.about-timeline__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.06);
    transition: transform 1.2s ease;
}

.about-timeline__item.is-active .about-timeline__media img {
    transform: scale(1);
}

@media (max-width: 1100px) {
    .about-timeline__item {
        column-gap: 24px;
        grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
    }

    .about-timeline__content,
    .about-timeline__media {
        max-width: none;
    }
}

@media (max-width: 992px) {
    .about-timeline__rail {
        left: 28px;
        transform: none;
    }

    .about-timeline__item {
        grid-template-columns: 56px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 20px;
        row-gap: 20px;
        min-height: 0;
        margin-bottom: 72px;
    }

    .about-timeline__node {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: start;
        margin-top: 8px;
    }

    .about-timeline__node time {
        min-width: 56px;
        height: 56px;
        font-size: 0.85rem;
        padding: 0 8px;
    }

    .about-timeline__content,
    .about-timeline__item--flip .about-timeline__content {
        grid-column: 2;
        grid-row: 1;
        justify-self: stretch;
        text-align: left;
        max-width: none;
        transform: translateY(16px);
    }

    .about-timeline__media,
    .about-timeline__item--flip .about-timeline__media {
        grid-column: 2;
        grid-row: 2;
        justify-self: stretch;
        max-width: none;
        transform: translateY(16px);
    }

    .about-timeline__item.is-active .about-timeline__content,
    .about-timeline__item.is-active .about-timeline__media {
        transform: translateY(0);
    }

    .about-timeline__finale {
        padding-bottom: 60px;
    }

    .about-timeline__burst {
        min-height: 400px;
    }

    .about-timeline__logo-stack {
        width: min(270px, 92vw);
        min-height: 80px;
        padding: 16px 14px 18px;
    }

    .about-timeline__logo-wrap {
        width: 148px;
        height: 148px;
    }

    .about-timeline__chip {
        font-size: 0.92rem;
        padding: 13px 22px;
    }
}

@media (max-width: 768px) {
    .about-timeline__finale {
        padding-bottom: 40px;
    }

    .about-timeline__burst {
        min-height: 0;
        padding: 0 16px 8px;
    }

    .about-timeline__logo-stack {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: min(280px, 94vw);
        margin: 0 auto;
        padding: 16px 12px 14px;
    }

    .about-timeline__burst-chips {
        width: 0;
        height: 0;
        margin: 0;
        display: none;
        overflow: visible;
    }

    .about-timeline__burst:not(.is-mobile-strip) .about-timeline__chip {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Logo solda, hizmetler sağda yatay kaydırma */
    .about-timeline__burst.is-mobile-strip .about-timeline__logo-stack {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 10px 0 10px 10px;
        gap: 0;
        overflow: hidden;
    }

    .about-timeline__burst.is-mobile-strip .about-timeline__logo-stack-bg {
        border-radius: 18px;
    }

    .about-timeline__burst.is-mobile-strip .about-timeline__logo-wrap {
        order: 0;
        flex: 0 0 108px;
        width: 108px;
        height: auto;
        min-height: 88px;
        z-index: 3;
        margin: 0;
    }

    .about-timeline__burst.is-mobile-strip .about-timeline__logo-img {
        width: 100%;
        height: auto;
        max-height: 88px;
    }

    .about-timeline__burst.is-mobile-strip .about-timeline__burst-chips {
        display: flex;
        flex: 1 1 0;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        order: 1;
        position: relative;
        z-index: 4;
        width: auto;
        height: auto;
        min-width: 0;
        margin: 0;
        padding: 8px 10px 8px 6px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scroll-padding-right: 12px;
        scrollbar-width: thin;
        scrollbar-color: rgba(217, 3, 41, 0.55) transparent;
        mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
    }

    .about-timeline__burst.is-mobile-strip .about-timeline__burst-chips::-webkit-scrollbar {
        height: 3px;
    }

    .about-timeline__burst.is-mobile-strip .about-timeline__burst-chips::-webkit-scrollbar-thumb {
        background: rgba(217, 3, 41, 0.5);
        border-radius: 4px;
    }

    .about-timeline__burst.is-mobile-strip .about-timeline__chip {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        flex: 0 0 auto;
        scroll-snap-align: start;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        font-size: 0.78rem;
        padding: 10px 14px;
        margin: 0 !important;
        -webkit-tap-highlight-color: transparent;
    }

    .about-timeline__burst.is-scattered:not(.is-mobile-strip) .about-timeline__chip {
        pointer-events: none;
    }
}

/* Timeline finale — logo burst & hizmetler */
.about-timeline__finale {
    position: relative;
    padding: 0 0 72px;
    margin-top: -20px;
}

.about-timeline__burst {
    position: relative;
    min-height: 400px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 5vw;
}

.about-timeline__logo-stack {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 3;
    width: min(300px, 88vw);
    min-height: 80px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 20px 22px;
}

.about-timeline__finale-anchor {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 4px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    visibility: hidden;
}

.about-timeline__logo-stack-bg {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(165deg, rgba(48, 50, 72, 0.97) 0%, rgba(18, 19, 28, 0.98) 55%, rgba(12, 12, 16, 0.99) 100%);
    border: 1px solid rgba(217, 3, 41, 0.42);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.about-timeline__burst-chips {
    position: relative;
    z-index: 4;
    width: 0;
    height: 0;
    margin-bottom: 8px;
    order: 1;
}

.about-timeline__chip {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    margin: 0;
    white-space: nowrap;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-white);
    text-decoration: none;
    background: rgba(21, 23, 32, 0.72);
    border: 1px solid rgba(217, 3, 41, 0.55);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translate(-50%, -50%);
    will-change: transform;
    pointer-events: none;
    user-select: none;
    backdrop-filter: blur(6px);
}

.about-timeline__burst.is-scattered .about-timeline__chip {
    pointer-events: auto;
    cursor: pointer;
}

.about-timeline__chip:hover {
    border-color: var(--primary);
    background: rgba(217, 3, 41, 0.28);
    box-shadow: 0 18px 44px rgba(217, 3, 41, 0.35);
}

.about-timeline__logo-wrap {
    position: relative;
    z-index: 6;
    width: 176px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.about-timeline__logo-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 28px rgba(217, 3, 41, 0.35));
    will-change: transform;
}

.about-timeline__logo-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    pointer-events: none;
}

.about-timeline__burst.is-shaking .about-timeline__logo-ring {
    animation: aboutTimelineRing 0.7s ease-out forwards;
}

.about-timeline__burst.is-shaking .about-timeline__logo-ring--delay {
    animation-delay: 0.08s;
}

@keyframes aboutTimelineRing {
    0% {
        opacity: 0.9;
        transform: scale(0.6);
    }
    100% {
        opacity: 0;
        transform: scale(2.2);
    }
}

.about-timeline__finale-hint {
    text-align: center;
    margin-top: 28px;
    font-size: 0.9rem;
    color: var(--text-gray);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-timeline__finale.is-hint-visible .about-timeline__finale-hint {
    opacity: 1;
    transform: translateY(0);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Services Page Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.services-grid .service-card:nth-child(odd) 
{
    transform: skew(5deg);
}


.services-grid .service-card:nth-child(even) 
{
    transform: skew(-5deg);
}

.service-card {
    background: #151720;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-left: 40px;
    margin-right: 40px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: rgba(217, 3, 41, 0.05);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
}

/* ==========================================
   SERVICE SCATTER EFFECT ITEMS
   ========================================== */
.scatter-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    color: var(--primary);
}

.scatter-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.scatter-image {
    width: 30px;
    height: 45px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 15px;
}

/* Portfolio Page Styles */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-gray);
    font-family: var(--font-family);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--secondary);
    cursor: pointer;
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 11, 11, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-item span {
    color: var(--primary);
    font-size: 0.85rem;
    filter: opacity(0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: white;
    width: max-content;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

/* Blog Page Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    background: #151720;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 220px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image span {
    font-size: 3rem;
    opacity: 0.5;
}

.blog-content {
    padding: 30px;
    margin-top:100px;
}

.blog-content h3 a
{color:#ffffff;text-decoration: none;}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Blog Single Styles */
.blog-single-header {
    padding-bottom: 60px;
}

.blog-single-page {
    padding-bottom: clamp(48px, 8vw, 100px);
}

.blog-single-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

.blog-single-layout .blog-single-main {
    min-width: 0;
}

.blog-single-main .blog-single-hero {
    max-width: none;
}

.blog-single-lead {
    max-width: 720px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--text-gray);
}

.blog-single-header-inner {
    text-align: center;
}

.blog-single-sidebar {
    position: sticky;
    top: calc(var(--header-h, 80px) + 16px);
}

.blog-sidebar-widget {
    padding: 1.25rem 1.125rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-sidebar-title {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-white);
}

.blog-sidebar-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.blog-sidebar-card:first-of-type {
    border-top: none;
    padding-top: 0;
}

.blog-sidebar-card:hover {
    opacity: 0.88;
}

.blog-sidebar-thumb-wrap {
    flex: 0 0 72px;
    width: 72px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.blog-sidebar-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-sidebar-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-sidebar-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-white);
}

.blog-sidebar-card-meta {
    font-size: 0.78rem;
    color: var(--text-gray);
}

@media (max-width: 991px) {
    .blog-single-layout {
        grid-template-columns: 1fr;
    }

    .blog-single-sidebar {
        position: static;
        order: -1;
    }

    .blog-single-header-inner {
        text-align: left;
    }

    .blog-single-lead {
        margin-left: 0;
        margin-right: 0;
    }
}

.blog-meta-single span:empty {
    display: none;
}

.blog-meta-single {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.blog-meta-single .category {
    color: var(--primary);
    font-weight: 600;
    padding: 5px 15px;
    border: 1px solid var(--primary);
    border-radius: 20px;
}

.blog-single-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-single-hero {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    overflow: hidden;
}

.blog-single-hero span {
    font-size: 6rem;
    opacity: 0.5;
}

.blog-single-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    padding: 1.25rem 1.125rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-single-content .lead {
    font-size: 1.25rem;
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 40px;
}

.blog-single-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 50px 0 20px;
}

.blog-single-content p {
    margin-bottom: 20px;
}

.blog-single-content blockquote {
    padding: 30px;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--primary);
    border-radius: 0 15px 15px 0;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-white);
}

.blog-single-content ul {
    margin: 20px 0 30px;
    padding-left: 20px;
}

.blog-single-content li {
    margin-bottom: 12px;
    position: relative;
    list-style-type: none;
}

.blog-single-content li::before {
    content: '→';
    position: absolute;
    left: -25px;
    color: var(--primary);
}

.blog-single-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-tags span {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-tags span:hover {
    background: var(--primary);
    color: var(--text-white);
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    color: var(--primary);
    gap: 15px;
}

/* ==========================================
   SERVICE SINGLE PAGE (Z-PATTERN LAYOUT)
   ========================================== */
.service-steps-container {
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
}

/* S-kıvrım kesik çizgi — scroll ile çizilir */
.service-steps-path__track {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.service-steps-path__svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.service-steps-path__line-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.14);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 10 14;
}

.service-steps-path__line-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(217, 3, 41, 0.45));
}

.service-steps-path__dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.service-steps-path__dot {
    position: absolute;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: border-color 0.45s ease, background 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
}

.service-steps-path__dot.is-reached {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(217, 3, 41, 0.2);
}

.service-steps-path__dot.is-active {
    transform: scale(1.35);
    box-shadow: 0 0 0 10px rgba(217, 3, 41, 0.15), 0 0 24px rgba(217, 3, 41, 0.55);
}

.service-step {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-step.is-reached .service-step-content {
    border-color: rgba(217, 3, 41, 0.22);
}

.service-step.is-active {
    transform: translateY(-4px);
}

.service-step.is-active .service-step-content {
    border-color: rgba(217, 3, 41, 0.45);
    box-shadow: 0 30px 70px rgba(217, 3, 41, 0.12), 0 30px 60px rgba(0, 0, 0, 0.6);
}

.service-step.is-active .step-number {
    -webkit-text-stroke-color: rgba(217, 3, 41, 0.35);
}

.service-step:last-child {
    margin-bottom: 0;
}

.service-step.reverse {
    flex-direction: row-reverse;
}

.service-step-img {
    width: 55%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    -webkit-mask-image: url(../assets/img/bento_mask.png);
    mask-image: url(../assets/img/bento_mask.png);
    -webkit-mask-size: 90% auto;
    mask-size: 90% auto;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
}

.service-step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-step-content {
    width: 55%;
    background: rgba(26, 28, 41, 0.7); /* Dark Glassmorphism */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 60px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    margin-left: -10%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.service-step.reverse .service-step-content {
    margin-left: 0;
    margin-right: -10%;
}

.step-number {
    position: absolute;
    top: -45px;
    right: 30px;
    font-size: 8rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.05);
    line-height: 1;
    z-index: -1;
    pointer-events: none;
}

.service-step.reverse .step-number {
    right: auto;
    left: 30px;
}

.service-step-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-white);
}

.service-step-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.step-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.step-features li {
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.step-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
}

/* Mobile Responsive for Service Steps */
@media (max-width: 992px) {
    .service-steps-path__track {
        display: none;
    }

    .service-step,
    .service-step.reverse {
        flex-direction: column;
        margin-bottom: 90px;
    }

    .service-step.is-active {
        transform: none;
    }
    
    .service-step-img {
        width: 100%;
        aspect-ratio: 16/9;
    }
    
    .service-step-content {
        width: 95%;
        margin-left: 0;
        margin-right: 0;
        margin-top: -60px;
        padding: 40px 30px;
    }
    
    .service-step.reverse .service-step-content {
        margin-right: 0;
    }
    
    .step-number {
        top: -30px;
        right: 20px;
        font-size: 6rem;
    }
    
    .service-step.reverse .step-number {
        left: auto;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .step-features {
        grid-template-columns: 1fr;
    }
    .service-step-content h3 {
        font-size: 1.6rem;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    background: #151720;
    border-radius: 20px;
    padding: 50px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-text p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.info-text a
{color:var(--primary);text-decoration: none;transition: all 0.3s ease;}

.info-text a:hover
{color:var(--text-light);text-decoration: none;}

.contact-form-page {
    background: #151720;
    border-radius: 20px;
    padding: 50px;
}

.contact-form-page h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.form-row-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-page {
    margin-bottom: 25px;
}

.form-group-page label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-group-page input,
.form-group-page textarea,
.form-group-page select {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font-family);
    background: #2c2f3e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.form-group-page input:focus,
.form-group-page textarea:focus,
.form-group-page select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group-page textarea {
    resize: vertical;
    min-height: 150px;
}

/* Responsive for Inner Pages */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid,
    .bento-grid--portfolio {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 150px 5vw 80px;
    }
    
    .portfolio-grid,
    .bento-grid--portfolio {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row-page {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form-page {
        padding: 30px;
    }
    
    .blog-single-hero {
        height: 250px;
    }
    .blog-single-content h2 {
        font-size: 1.5rem;
    }
    .blog-meta-single {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================
   HOLOGRAM POPUP
   ========================================== */
.hologram-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.4s ease;
}

.hologram-popup.active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.hologram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hologram-popup.active .hologram-overlay {
    opacity: 1;
}

.hologram-light {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to top, rgba(0, 255, 204, 0.6) 0%, rgba(0, 255, 204, 0.1) 40%, transparent 100%);
    background: linear-gradient(to top, rgba(217, 3, 41, 0.6) 0%, rgba(217, 3, 41, 0.1) 40%, transparent 100%);
    clip-path: polygon(45% 100%, 55% 100%, 85% 15%, 15% 15%);
    filter: blur(25px);
    transform-origin: bottom center;
    pointer-events: none;
    opacity: 0;
    z-index: 10001;
    mix-blend-mode: screen;
}

.hologram-content-wrapper {
    position: relative;
    z-index: 10002;
    width: 90%;
    max-width: 1000px;
    height: 70vh;
    background: rgba(0, 20, 15, 0.8);
    border: 1px solid rgba(0, 255, 204, 0.5);
    box-shadow: 0 0 40px rgba(0, 255, 204, 0.3), inset 0 0 20px rgba(0, 255, 204, 0.15);
    background: rgba(11, 11, 11, 0.9);
    border: 1px solid rgba(217, 3, 41, 0.5);
    box-shadow: 0 0 40px rgba(217, 3, 41, 0.3), inset 0 0 20px rgba(217, 3, 41, 0.15);
    border-radius: 16px;
    padding: 3px;
    opacity: 0;
    transform: translateY(50px);
}

.hologram-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 255, 204, 0) 50%, rgba(0, 255, 204, 0.05) 50%);
    background: linear-gradient(rgba(217, 3, 41, 0) 50%, rgba(217, 3, 41, 0.05) 50%);
    background-size: 100% 6px;
    pointer-events: none;
    z-index: 10;
    border-radius: 14px;
}

.hologram-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 45px;
    height: 45px;
    background: #0b0b0b;
    border: 2px solid #00ffcc;
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: #00ffcc;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10003;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
    box-shadow: 0 0 15px rgba(217, 3, 41, 0.4);
}

.hologram-close:hover {
    background: rgba(0, 255, 204, 0.2);
    background: rgba(217, 3, 41, 0.2);
    transform: scale(1.1);
}

.hologram-content {
    width: 100%;
    height: 100%;
    border-radius: 13px;
    overflow: hidden;
    background: #0b0b0b;
    position: relative;
}

/* Video / site / PDF — alanı doldur */
.hologram-content.is-video iframe,
.hologram-content.is-video video,
.hologram-content.is-iframe iframe,
.hologram-content.is-pdf iframe,
.hologram-content:not(.is-image) iframe,
.hologram-content:not(.is-image) video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    display: block;
}

.hologram-content.is-iframe iframe,
.hologram-content:not(.is-image) iframe {
    background: #fff;
}

.hologram-content.is-pdf iframe,
.hologram-content iframe.hologram-pdf {
    object-fit: contain;
    background: #1a1a1a;
}

/* Görsel — kırpma yok; çerçeve görsele göre daralır */
.hologram-popup.active .hologram-content-wrapper:has(.hologram-content.is-image) {
    width: auto;
    max-width: min(92vw, 1100px);
    height: auto;
    max-height: 85vh;
}

.hologram-content.is-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    max-width: min(92vw, 1100px);
    max-height: 85vh;
    padding: 0;
    line-height: 0;
}

.hologram-content.is-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(92vw, 1100px);
    max-height: 85vh;
    object-fit: contain;
    object-position: center;
    border: none;
}

pre.language-markup {
    background: #0f172a;
    color: #e2e8f0;
    padding: 18px 22px;
    border-radius: 14px;
    border: 1px solid #334155;
    overflow-x: auto;
    font-family: "Fira Code", Consolas, monospace;
    font-size: 14px;
    line-height: 1.7;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    position: relative;
}

pre.language-markup code {
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Scrollbar */
pre.language-markup::-webkit-scrollbar {
    height: 8px;
}

pre.language-markup::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 10px;
}

pre.language-markup::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 10px;
}

pre.language-markup::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

pre.language-markup a
{color:var(--primary);}

a.more-link
{color:var(--primary);text-decoration: none;}
