/* ======================== ABOUT PAGE STYLES ======================== */

/* --- Page Load Animation --- */
body {
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

body.page-loaded {
    opacity: 1;
}

/* --- About Hero Section --- */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #000000;
    overflow: hidden;
    padding: 8rem 0;
}

.hero-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-left-content {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.about-hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    width: 300%;
    height: 150%;
    bottom: -75%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(
        ellipse at bottom,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.5) 15%,
        rgba(255, 255, 255, 0) 60%
    );
    filter: blur(60px);
    pointer-events: none;
}

#about-starfield-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

.about-hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    background-image: linear-gradient(180deg, #FFFFFF 20%, #BDBDBD 60%, #555 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-hero-subtitle {
    font-size: 1.15rem;
    color: #b3b3b3;
    line-height: 1.6;
    max-width: 90%;
    margin-bottom: 2rem;
    text-align: left;
}

/* --- Hero Kartları (4 Kart Yelpaze) --- */
.hero-right-cards {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: absolute;
    width: 170px;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform-origin: bottom center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
}

.hero-card-img {
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
}

.hero-card-img i {
    font-size: 3.5rem;
    color: #888;
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero-card:hover .hero-card-img i {
    color: #fff;
    transform: scale(1.1);
}

.hero-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-info h3 {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
}

.hero-card-info span {
    color: #999;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- 4 Kart Pozisyonları (Yelpaze) --- */
.card-1 {
    z-index: 1;
    transform: translateX(-130px) translateY(55px) rotate(-18deg);
}

.card-1:hover {
    z-index: 100;
    transform: translateX(-130px) translateY(35px) rotate(-18deg) scale(1.1);
    background: rgba(30, 30, 30, 1);
    border-color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,1);
}

.card-2 {
    z-index: 2;
    transform: translateX(-45px) translateY(5px) rotate(-6deg);
}

.card-2:hover {
    z-index: 100;
    transform: translateX(-45px) translateY(-15px) rotate(-6deg) scale(1.1);
    background: rgba(30, 30, 30, 1);
    border-color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,1);
}

.card-3 {
    z-index: 3;
    transform: translateX(45px) translateY(5px) rotate(6deg);
}

.card-3:hover {
    z-index: 100;
    transform: translateX(45px) translateY(-15px) rotate(6deg) scale(1.1);
    background: rgba(30, 30, 30, 1);
    border-color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,1);
}

.card-4 {
    z-index: 4;
    transform: translateX(130px) translateY(55px) rotate(18deg);
}

.card-4:hover {
    z-index: 100;
    transform: translateX(130px) translateY(35px) rotate(18deg) scale(1.1);
    background: rgba(30, 30, 30, 1);
    border-color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,1);
}

/* Hover'da diğer kartları blur yap */
.hero-right-cards:hover .hero-card:not(:hover) {
    opacity: 1;
    filter: blur(2px);
}

/* --- Modern Liquid / Glass Tech Button --- */
.scroll-indicator {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 12px 32px;
    
    /* Temel Yapı */
    background: rgba(255, 255, 255, 0.03); /* Çok şeffaf gri */
    border: 1px solid rgba(255, 255, 255, 0.1); /* İncecik sınır */
    border-radius: 100px; /* Tam yuvarlak */
    
    /* Glassmorphism (Buzlu Cam) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Geçişler */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    overflow: hidden; /* Işık taşmasın */
    box-shadow: 0 0 0px rgba(255, 255, 255, 0); /* Başlangıç gölgesi yok */
}

/* --- Metin ve İkon Stilleri --- */
.scroll-text {
    font-size: 0.85rem;
    color: #a0a0a0;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 2; /* Işığın önünde kalsın */
    transition: color 0.3s ease;
}

.scroll-arrow-icon {
    font-size: 1.2rem;
    color: #a0a0a0;
    z-index: 2;
    transition: transform 0.4s ease, color 0.3s ease;
}

/* --- HOVER EFEKTLERİ --- */

/* 1. Kutu Parlaması */
.scroll-indicator:hover {
    background: rgba(255, 255, 255, 0.08); /* Biraz daha belirginleşir */
    border-color: rgba(255, 255, 255, 0.3); /* Sınır parlar */
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); /* Dışa hafif beyaz glow */
    transform: translateY(0);
}

/* 2. Metin Parlaması */
.scroll-indicator:hover .scroll-text,
.scroll-indicator:hover .scroll-arrow-icon {
    color: #ffffff; /* Tam beyaz */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Yazı hafif ışıldar */
}

/* 3. İkon Hareketi */
.scroll-indicator:hover .scroll-arrow-icon {
    transform: translateY(0);
}

/* --- LIQUID SHEEN (Işık Akışı) EFEKTİ --- */
/* Butonun üzerinden geçen hayalet ışık */
.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Soldan başla */
    width: 100%;
    height: 100%;
    
    /* Işık gradyanı: Ortası parlak, kenarlar şeffaf */
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    
    /* Eğim ver ki daha dinamik dursun */
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    z-index: 1;
}

/* Hover olunca ışık soldan sağa kayar */
.scroll-indicator:hover::before {
    left: 100%;
    transition: left 0.7s ease; /* Yavaşça akıp gider */
}

/* --- Story Section --- */
.story-section {
    padding: 4rem 2rem;
    background-color: #000000;
    border-bottom: 1px solid #303030;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-visual {
    position: sticky;
    top: 120px;
}

.story-image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    aspect-ratio: 4 / 3;

    /* Ecosystem'daki viewport'a göre küçülme mantığı eklendi */
    /* Not: 120px, .story-visual'ın 'top' değeridir */
    max-height: calc(100vh - 120px - 10rem); 
    max-width: calc(100vh - 120px - 10rem);
    
    /* Görüntü yüksekliğe göre küçüldüğünde ortalanması için */
    margin-left: auto;
    margin-right: auto;
}

.story-image-container img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-image-container:hover img {
    transform: scale(1.05);
}

.story-inline-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    aspect-ratio: 16 / 9;
}

.story-inline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* auto-fit yerine 3'e sabitledik */
    gap: 1.5rem;
}
.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: transparent;
    border: 1px solid #333;
    border-radius: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    cursor: default;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #fff;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background-image: linear-gradient(180deg, #FFFFFF 30%, #BDBDBD 60%, #757575 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #888;
    letter-spacing: 0.5px;
}

.section-title-about {
    font-size: 42px;
    font-weight: 450;
    letter-spacing: -0.84px;
    line-height: 43.68px;
    color: #F1F3F4;
}

.story-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #b3b3b3;
    margin-top: 1.35rem;
}

/* --- Mission & Vision Section --- */
.mission-vision-section {
    padding: 4rem 2rem;
    background-color: #000000;
    border-bottom: 1px solid #303030;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 0 auto;
}

.mv-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

}

.mv-card {
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid #222;
    background: transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    cursor: default;
    height: 100%;
}

.mv-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mv-image-container img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    filter: invert(1);
}

.mv-group:hover .mv-card{
    border-color: #fff;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.mv-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fff;
    display: inline-block;
}

.mv-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #F1F3F4;
    margin-bottom: 1.5rem;
}

.mv-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #b3b3b3;
}

/* --- Values Section --- */
.values-section {
    padding: 4rem 2rem;
    background-color: #000000;
    border-bottom: 1px solid #303030;
}

.section-header-about {
    text-align: left;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #888;
    margin-top: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.value-card {
    padding: 2rem;
    border: 1px solid #222;
    border-radius: 12px;
    background: transparent;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: default;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    font-size: 3rem;
    color: #888;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.value-card:hover .value-icon {
    color: #fff;
}

.value-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #b3b3b3;
}

.values-image-container {
    width: 100%;
    margin-bottom: 4rem;
    overflow: hidden;
    line-height: 0;
}

.values-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Approach Section --- */
.approach-section {
    padding: 4rem 2rem;
    background-color: #000000;
    border-bottom: 1px solid #303030;
}

.approach-timeline {
    margin: 0 auto;
    position: relative;
}

.approach-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 12px;
    background: linear-gradient(to bottom, transparent, #333, transparent);
}

.timeline-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    align-items: center;
}

.timeline-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000000;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #888;
    transition: all 0.3s ease;
    cursor: default;
}

.timeline-item:hover .timeline-number {
    background: linear-gradient(135deg, #fff, #ccc);
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.timeline-content {
    flex-grow: 1;
    padding: 2rem;
    padding-left: 3rem;
    background: transparent;
    border: 1px solid #333;
    border-radius: 4rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.timeline-item:hover .timeline-content {
    border-color: #fff;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.timeline-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #b3b3b3;
}

.cta-section-about {
    padding: 4rem 2rem;
    background-color: #000000;
    border-bottom: 1px solid #303030;
}

.cta-content-about {
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;

    border-left: 0.5rem solid #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
}

.cta-content-about h2 {
    font-size: 42px;
    font-weight: 450;
    letter-spacing: -0.84px;
    line-height: 43.68px;
    color: #F1F3F4;
    margin-bottom: 1.5rem;
}

.cta-content-about p {
    font-size: 1.1rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 0;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    border: 1px solid #303030;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.15s ease;
    font-weight: 600;
    font-size: 14px;
    color: #F1F3F4;
}

.cta-button-large:hover {
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
    color: #000;
    background-color: #fff;
}

.cta-button-large i {
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.cta-button-large:hover i {
    transform: translateX(5px);
}

.section-nav {
    position: sticky;
    top: 0;
    background-color: #000000;
    padding: 0.55rem 0;
    z-index: 99;
    border-bottom: 1px solid #303030;
    transition: top 0.3s ease-in-out;
}

.story-section {
    flex: 1;
    min-width: 0;
}

.main-header.scrolled ~ main .section-nav {
    top: 56px;
}

.section-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.section-nav-link {
    background: transparent;
    color: #b3b3b3;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 2rem;
    transition: color 0.2s ease, background-color 0.2s ease;
    border: 1px solid transparent;
    font-weight: 600;
}

.section-nav-link:hover {
    color: #ffffff;
    border-color: #444;
}

.section-nav-link.active {
    color: #000000;
    background-color: #ffffff;
}

@media (max-width: 1024px) {
    .about-hero-title {
        font-size: 3rem;
    }

    .hero-split-layout {
        gap: 0;
    }

    .hero-right-cards {
        transform: scale(0.85);
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobil */
    .about-hero {
        padding: 6rem 0 4rem 0;
        overflow: hidden;
    }

    .hero-split-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-left-content {
        padding-right: 0;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .about-hero-title {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .about-hero-subtitle {
        text-align: center;
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-right-cards {
        width: 100%;
        height: 300px;
        transform: scale(1);
    }

    .hero-card {
        width: 140px;
        padding: 10px;
    }

    .hero-card-img {
        height: 90px;
    }

    .hero-card-img i {
        font-size: 2.5rem;
    }

    .hero-card-info h3 {
        font-size: 0.8rem;
    }

    .hero-card-info span {
        font-size: 0.65rem;
    }

    /* Mobil Kart Pozisyonları */
    .card-1 {
        transform: translateX(-95px) translateY(35px) rotate(-12deg);
    }
    .card-1:hover {
        transform: translateX(-95px) translateY(25px) rotate(-12deg) scale(1.05);
    }

    .card-2 {
        transform: translateX(-32px) translateY(0px) rotate(-4deg);
        z-index: 10;
    }
    .card-2:hover {
        transform: translateX(-32px) translateY(-10px) rotate(-4deg) scale(1.05);
    }

    .card-3 {
        transform: translateX(32px) translateY(0px) rotate(4deg);
        z-index: 11;
    }
    .card-3:hover {
        transform: translateX(32px) translateY(-10px) rotate(4deg) scale(1.05);
    }

    .card-4 {
        transform: translateX(95px) translateY(35px) rotate(12deg);
    }
    .card-4:hover {
        transform: translateX(95px) translateY(25px) rotate(12deg) scale(1.05);
    }

    .section-nav {
        top: 49px !important;
    }
    .section-nav .container {
        gap: 0.5rem;
        justify-content: space-around;
    }
    .section-nav-link {
        font-size: 0.8rem;
        padding: 0.5rem;
        text-align: center;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .story-visual {
        display: none;
    }
    
    .mv-grid, .mv-group {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mv-grid .section-header-about {
        margin-bottom: 0;
    }
    
    .vision-card { order: 2; }
    .vision-image { order: 1; margin-bottom: 0; }
    .mission-card { order: 4; }
    .mission-image { order: 3; }

    .mv-image-container img {
        width: 60%;
        height: 60%;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title-about {
        font-size: 2.2rem;
    }
    
    .mv-card {
        padding: 2.5rem 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .approach-timeline::before {
        left: 16px;
    }
    
    .timeline-item {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .timeline-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 1rem 1.5rem;
        padding-left: 2rem;
    }
    
    .timeline-content h4 {
        font-size: 1.25rem;
    }
    
    .cta-content-about h2 {
        font-size: 2rem;
    }
    
    .cta-content-about p {
        font-size: 1rem;
    }

    .cta-content-about {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .cta-content-about h2 {
        font-size: 2rem;
        text-align: left;
    }

    .cta-content-about p {
        font-size: 1rem;
        text-align: left;
    }
}

/* --- Small Mobile (max-width: 380px) --- */
@media (max-width: 380px) {
    .hero-right-cards {
        transform: scale(0.75);
    }
    
    .about-hero-title {
        font-size: 2rem;
    }

    .hero-card {
        width: 130px;
    }

    .hero-card-img {
        height: 80px;
    }
}