﻿/* ==========================================================================
   GENEL AYARLAR & EVRENSEL AÇIK RENK PREMIUM TEMEL
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    font-size: 16px;
    transition: font-size 0.2s ease;
    scroll-behavior: smooth;
}

body {
    background-color: #f4f7fc;
    /* Gözü yormayan, yavaşça yer değiştiren akışkan açık renk aurora parlamaları */
    background-image: radial-gradient(at 0% 0%, rgba(0, 242, 254, 0.15) 0px, transparent 40%), radial-gradient(at 100% 100%, rgba(121, 40, 202, 0.1) 0px, transparent 40%), radial-gradient(at 50% 50%, rgba(79, 172, 254, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    background-size: 200% 200%;
    animation: auroraBackground 15s ease infinite;
    color: #1e293b; /* Okunabilirliği yüksek koyu füme metinler */
    line-height: 1.6;
}

body, p, input, select, textarea {
    font-size: 1rem !important;
}

/* Arka planın canlı gibi hafifçe dalgalanma animasyonu */
@keyframes auroraBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ==========================================================================
   HEADER & NAVİGASYON (KRİSTAL BUZ CAMI EFFECT)
   ========================================================================== */
header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 8%;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(15, 44, 89, 0.08);
    box-shadow: 0 4px 20px rgba(15, 44, 89, 0.02);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #0f2c59;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s;
}

    .logo:hover {
        transform: scale(1.02);
    }

.logo-icon {
    font-size: 24px;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px #00f2fe);
    }

    100% {
        transform: scale(1);
    }
}

nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

    nav ul li a {
        text-decoration: none;
        color: #475569;
        font-weight: 600;
        font-size: 1rem !important;
        transition: all 0.3s ease;
        padding: 6px 12px;
        border-radius: 8px;
    }

        nav ul li a:hover,
        nav ul li a.active {
            color: #0f2c59;
            background: rgba(0, 242, 254, 0.12);
        }

/* ==========================================================================
   HERO BÖLÜMÜ
   ========================================================================== */
.hero {
    min-height: 70vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 8%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 50px;
    background: transparent;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #0f2c59;
    background: rgba(0, 242, 254, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 2.2rem !important;
    font-weight: 800;
    color: #0f2c59;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 16px;
    color: #475569;
    max-width: 480px;
    margin-bottom: 30px;
}

/* ==========================================================================
   BUTONLAR (CANLI DALGA VE HOVER ANİMASYONLU)
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0f2c59 0%, #1e4985 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(15, 44, 89, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(15, 44, 89, 0.25);
        filter: brightness(1.1);
    }

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

    .hero-image img {
        width: 100%;
        max-width: 420px;
        height: 500px;
        object-fit: cover;
        border-radius: 24px;
        border: 4px solid white;
        box-shadow: 0 20px 40px rgba(15, 44, 89, 0.08);
        transition: transform 0.5s ease;
    }

        .hero-image img:hover {
            transform: scale(1.02) rotate(1deg);
        }

/* ==========================================================================
   SECTİONS & KRİSTAL KARTLAR (KRİSTAL CAM ETKİSİ)
   ========================================================================== */
.section {
    padding: 60px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem !important;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #0f2c59;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(15, 44, 89, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .card:hover {
        transform: translateY(-6px);
        border-color: #00f2fe;
        box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
        background: rgba(255, 255, 255, 0.9);
    }

.card-icon {
    font-size: 22px;
    background: rgba(0, 242, 254, 0.15);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 0 auto 20px auto;
    color: #0f2c59;
    font-weight: bold;
    border: 1px solid rgba(0, 242, 254, 0.3);
    transition: transform 0.3s;
}

.card:hover .card-icon {
    transform: rotate(360deg);
    background: #00f2fe;
    color: #0f2c59;
}

.card-content h3 {
    font-size: 1.4rem !important;
    color: #0f2c59;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

/* ==========================================================================
   KAYNAKÇA ALANI
   ========================================================================== */
.bibliography-section {
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(15, 44, 89, 0.08);
    padding: 30px 0;
    margin-top: 60px;
}

.bibliography-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

    .bibliography-container h4 {
        color: #0f2c59;
        font-size: 1.1rem;
        margin-bottom: 15px;
        font-weight: 700;
    }

.bibliography-list {
    list-style: none;
    padding: 0;
}

    .bibliography-list li {
        color: #475569;
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 10px;
        display: flex;
        align-items: flex-start;
    }

.ref-num {
    color: #0f2c59;
    font-weight: bold;
    margin-right: 10px;
    min-width: 25px;
}

/* ==========================================================================
   SERTİFİKA VE TEST ALANI (NET VE PREMIUM OKUNABİLİRLİK)
   ========================================================================== */
.certificate-section {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    margin: 40px auto;
    padding: 40px 5% !important;
}

.quiz-container {
    background: white;
    border: 1px solid rgba(15, 44, 89, 0.08);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 44, 89, 0.05);
    max-width: 700px;
    margin: 0 auto;
}

.quiz-info {
    color: #475569;
    margin-bottom: 25px;
    font-size: 14px;
}

.input-group label {
    font-weight: 600;
    color: #0f2c59;
}

.input-group input {
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    color: #0f2c59;
    transition: all 0.3s;
}

    .input-group input:focus {
        border-color: #0f2c59;
        background: white;
        box-shadow: 0 0 10px rgba(15, 44, 89, 0.1);
    }

.quiz-question {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: border-color 0.2s;
}

    .quiz-question:hover {
        border-color: #4facfe;
    }

    .quiz-question p {
        margin-bottom: 12px;
        color: #0f2c59;
        font-weight: 700;
    }

    .quiz-question label {
        display: inline-block;
        margin-bottom: 8px;
        cursor: pointer;
        font-size: 14px;
        color: #334155;
    }

.certificate-border {
    background: #ffffff;
    border: 6px double #0f2c59;
    outline: 2px solid rgba(15, 44, 89, 0.1);
    padding: 60px 40px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 20px 50px rgba(15, 44, 89, 0.1);
    margin-bottom: 20px;
}

.cert-title {
    color: #0f2c59;
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 700;
}

/* ==========================================================================
   AI SES MODÜLÜ & CANLI DESTEK (YUMUŞAK ETKİLEŞİMLER)
   ========================================================================== */
.ai-tool-section {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    margin: 40px auto;
    padding: 45px;
    box-shadow: 0 15px 35px rgba(15, 44, 89, 0.04);
    max-width: 750px;
}

.ai-box {
    background-color: #0f2c59;
    border-radius: 14px;
    padding: 30px 20px;
    margin-bottom: 25px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 4px 12px rgba(0,0,0,0.15);
}

.ai-output {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
}

.btn-ai-mic {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-ai-mic:hover {
        background-color: #dc2626;
        transform: scale(1.04);
        box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    }

/* CANLI DESTEK CHAT MODÜLÜ */
.chat-wrapper {
    position: fixed;
    bottom: 20px;
    right: 85px;
    z-index: 9998;
}

.chat-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
    transition: all 0.2s;
}

.chat-box {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 340px;
    height: 430px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(15, 44, 89, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.chat-header {
    background-color: #0f2c59;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-logs {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: #f8fafc;
}

.chat-footer {
    display: flex;
    padding: 12px;
    background-color: white;
    border-top: 1px solid #e2e8f0;
    gap: 8px;
}

    .chat-footer input {
        flex: 1;
        padding: 10px 14px;
        background: #f1f5f9;
        border: 1px solid #cbd5e1;
        color: #0f2c59;
        border-radius: 8px;
        outline: none;
    }

    .chat-footer button {
        background: #0f2c59;
        color: white;
        border: none;
        padding: 10px 16px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
    }

/* ==========================================================================
   YENİ HAKKIMIZDA & EKİP DÜZENİ
   ========================================================================== */
.project-about-container {
    max-width: 1140px;
    margin: 50px auto;
    padding: 0 20px;
}

.hero-project-section {
    display: flex;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 50px;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(15, 44, 89, 0.02);
}

.project-badge {
    background-color: #0f2c59;
    color: white;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 15px;
}

.hero-project-section h1 {
    font-size: 32px;
    font-weight: 800;
    color: #0f2c59 !important;
}

.project-description {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: #0f2c59;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

    .btn-primary:hover {
        background-color: #1e4985;
        transform: translateY(-2px);
    }

.btn-secondary {
    color: #0f2c59;
    padding: 12px 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.team-photo-placeholder {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
    border: 2px dashed #4facfe;
    color: #0f2c59;
    height: 250px;
    border-radius: 40px 100px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.team-section-layout {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(15, 44, 89, 0.08);
}

.team-left-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f2c59 !important;
}

.team-left-title p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #0f2c59;
    color: #0f2c59;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

    .btn-outline:hover {
        background: rgba(15, 44, 89, 0.05);
        transform: translateX(4px);
    }

/* EKİP SATIR HOVER ANİMASYONLARI */
.team-member-row {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

    .team-member-row:hover {
        background: rgba(255, 255, 255, 0.8);
        transform: translateX(10px);
        border-left-color: #00f2fe;
        box-shadow: 0 5px 15px rgba(15, 44, 89, 0.04);
    }

.member-avatar img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(15, 44, 89, 0.1);
}

.member-details h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f2c59 !important;
}

.member-role {
    font-size: 13px;
    color: #4facfe;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.member-bio {
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.member-socials a {
    color: #475569;
    transition: color 0.2s;
}

    .member-socials a:hover {
        color: #0f2c59;
    }

/* ==========================================================================
   İSTATİSTİKLER & FON DESTEK KARTLARI (CANLI PROGRESS ANİMASYONLU)
   ========================================================================== */
.stat-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 44, 89, 0.02);
    transition: all 0.3s ease;
}

    .stat-box:hover {
        transform: translateY(-5px);
        border-color: #4facfe;
        box-shadow: 0 15px 35px rgba(79, 172, 254, 0.15);
    }

.stat-icon {
    font-size: 2.5rem;
    color: #0f2c59;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f2c59;
    margin-bottom: 10px;
}

.support-project-card {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(15, 44, 89, 0.02);
    transition: all 0.3s;
}

    .support-project-card:hover {
        background: white;
        border-color: #00f2fe;
        transform: scale(1.01);
    }

.sp-icon {
    width: 60px;
    height: 60px;
    background: rgba(15, 44, 89, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0f2c59;
}

.sp-details h4 {
    color: #0f2c59;
}

.progress-bar-wrap {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

    /* Çubuğun içinden geçen hareketli parlak ışık dalgası */
    .progress-bar-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        animation: progressShine 2s infinite;
    }

@keyframes progressShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* DİL DEĞİŞTİRME BUTONLARI */
.lang-switcher {
    display: inline-flex;
    gap: 5px;
    margin-left: 20px;
}

.lang-btn {
    background: white;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 5px 12px;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
}

    .lang-btn.active, .lang-btn:hover {
        background: #0f2c59;
        border-color: #0f2c59;
        color: white;
    }

/* SIFIRLANAMAZ ERİŞİLEBİLİRLİK PANEL BUTONLARI (FLOATING) */
.tools {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

    .tools button {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: #0f2c59;
        color: white;
        border: none;
        cursor: pointer;
        font-weight: bold;
        font-size: 14px;
        box-shadow: 0 4px 15px rgba(15, 44, 89, 0.2);
        transition: transform 0.2s;
    }

        .tools button:hover {
            transform: scale(1.1);
        }

footer {
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(15, 44, 89, 0.08);
    text-align: center;
    padding: 30px;
    margin-top: 60px;
    font-size: 14px;
    color: #64748b;
}

/* ==========================================================================
   YÜKSEK KONTRAST MODU (ZORUNLU WCAG ERİŞİLEBİLİRLİK ALANI)
   ========================================================================== */
body.high-contrast {
    background-color: #121212 !important;
    background-image: none !important;
    color: #ffffff !important;
}

    body.high-contrast header {
        background-color: #000000 !important;
        border-bottom: 2px solid #f59e0b !important;
    }

        body.high-contrast header nav a {
            color: #f59e0b !important;
        }

    body.high-contrast .section,
    body.high-contrast .quiz-container,
    body.high-contrast .certificate-border,
    body.high-contrast .hero-project-section,
    body.high-contrast .ai-tool-section,
    body.high-contrast .chat-box {
        background-color: #1e1e1e !important;
        color: #ffffff !important;
        border: 2px solid #f59e0b !important;
    }

    body.high-contrast h1,
    body.high-contrast h2,
    body.high-contrast h3,
    body.high-contrast h4,
    body.high-contrast strong,
    body.high-contrast .hero-project-content h1,
    body.high-contrast .team-left-title h2,
    body.high-contrast .member-details h3 {
        color: #f59e0b !important;
    }

    body.high-contrast p,
    body.high-contrast label,
    body.high-contrast .project-description,
    body.high-contrast .team-left-title p,
    body.high-contrast .member-bio,
    body.high-contrast .member-role {
        color: #e2e8f0 !important;
    }

    body.high-contrast .btn-primary,
    body.high-contrast .btn-outline,
    body.high-contrast .btn-ai-mic {
        border-color: #f59e0b !important;
        background-color: #000000 !important;
        color: #f59e0b !important;
    }

/* ==========================================================================
   RESPONSIVE (MOBİL UYUMLULUK)
   ========================================================================== */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 30px;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

        .hero-content p {
            margin: 0 auto 30px auto;
        }

    .hero-image {
        order: 1;
        justify-content: center;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-project-section, .team-section-layout {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    nav ul {
        display: none;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 32px;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}
