/* =========================================
   1. DEĞİŞKENLER VE RENK AYARLARI
   ========================================= */
:root {
    /* --- AYDINLIK MOD (Varsayılan) --- */
    --primary: #2e7d32; /* Canlı Yeşil */
    --primary-dark: #1b5e20;
    --bg-color: #f8fafc; /* Açık gri/beyaz */
    --text-color: #1e293b; /* Koyu gri yazı */
    --card-bg: #ffffff; /* Beyaz kartlar */
    --header-bg: #ffffff; /* Beyaz header */
    --border-color: #e2e8f0; /* İnce gri çizgiler */
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.dark-mode {
    /* --- KARANLIK MOD (Senin Lacivert Tema) --- */
    --primary: #4ade80; /* Neon Yeşil */
    --primary-dark: #1b5e20;
    --bg-color: #0f172a; /* Koyu Lacivert */
    --text-color: #e2e8f0; /* Beyaz yazı */
    --card-bg: #1e293b; /* Koyu kartlar */
    --header-bg: #0f172a;
    --border-color: #334155; /* Koyu gri çizgiler */
    --card-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Yardımcı Sınıflar */
.section-padding {
    padding: 80px 0;
    background-color: var(--bg-color) !important;
}

.bg-dark {
    background-color: var(--bg-color) !important;
}

.white {
    color: white !important;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 40px;
    font-weight: 800;
}

/* =========================================
   2. HEADER & NAVİGASYON
   ========================================= */
header {
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-color);
}

    .logo span, .logo i {
        color: var(--primary);
    }

.nav-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

    nav a:hover {
        color: var(--primary);
        opacity: 1;
    }

.icon-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

    .icon-btn:hover {
        background: var(--card-bg);
        color: var(--primary);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

/* =========================================
   3. HERO SLIDER
   ========================================= */
.hero-slider {
    position: relative;
    height: 70vh;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

    .slide.active {
        opacity: 1;
        z-index: 1;
    }

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.2s;
}

    .btn:hover {
        transform: scale(1.05);
    }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    z-index: 2;
    transition: 0.3s;
}

    .slider-btn:hover {
        background: rgba(255,255,255,0.4);
    }

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* =========================================
   4. AKADEMİK ARAÇLAR (KARE KARTLAR)
   ========================================= */
#fast-access .lib-item {
    width: 250px;
    height: 180px;
    border-radius: 15px;
    border-width: 2px;
    border-style: solid;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    padding: 10px;
}

    #fast-access .lib-item h3 {
        margin-top: 10px;
        color: var(--text-color);
        font-size: 1rem;
    }

    #fast-access .lib-item i {
        font-size: 2.5rem;
        margin-bottom: 5px;
        transition: 0.3s;
    }

/* Renkler */
.tool-sozluk {
    border-color: #3498db !important;
}

    .tool-sozluk i, .tool-sozluk h3 {
        color: #3498db;
    }

    .tool-sozluk:hover {
        background: rgba(52, 152, 219, 0.1);
        transform: translateY(-5px);
    }

.tool-tarih {
    border-color: #e74c3c !important;
}

    .tool-tarih i, .tool-tarih h3 {
        color: #e74c3c;
    }

    .tool-tarih:hover {
        background: rgba(231, 76, 60, 0.1);
        transform: translateY(-5px);
    }

.tool-genetik {
    border-color: #9b59b6 !important;
}

    .tool-genetik i, .tool-genetik h3 {
        color: #9b59b6;
    }

    .tool-genetik:hover {
        background: rgba(155, 89, 182, 0.1);
        transform: translateY(-5px);
    }

.tool-vita {
    border-color: #2ecc71 !important;
}

    .tool-vita i, .tool-vita h3 {
        color: #2ecc71;
    }

    .tool-vita:hover {
        background: rgba(46, 204, 113, 0.1);
        transform: translateY(-5px);
    }

.tool-endemik {
    border-color: #e67e22 !important;
}

    .tool-endemik i, .tool-endemik h3 {
        color: #e67e22;
    }

    .tool-endemik:hover {
        background: rgba(230, 126, 34, 0.1);
        transform: translateY(-5px);
    }

/* =========================================
   5. SANAL BİYO-LABORATUVAR & KÜTÜPHANE
   ========================================= */
.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px;
}
/* Kütüphane 5'li Yan Yana */
#library .lab-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.lab-card {
    position: relative;
    height: 350px;
    border-radius: 25px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: transform 0.4s;
    display: flex;
    align-items: flex-end;
}
/* Kütüphane Kartları Basık */
#library .lab-card {
    height: 320px;
}

#library .lab-icon-bg {
    top: -120px;
    font-size: 8rem;
}

.lab-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255,255,255,0.2);
}

/* Kart Görselleri */
.viral-sim {
    background: linear-gradient(to top, #0f172a 10%, rgba(192, 57, 43, 0.4) 100%), url('https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/H1N1_nav.jpg/1280px-H1N1_nav.jpg');
    background-size: cover;
    border-bottom: 5px solid #e74c3c;
}

.eco-sim {
    background: linear-gradient(to top, #0f172a 10%, rgba(46, 204, 113, 0.4) 100%), url('https://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Altja_j%C3%B5gi_Lahemaal.jpg/1280px-Altja_j%C3%B5gi_Lahemaal.jpg');
    background-size: cover;
    border-bottom: 5px solid #2ecc71;
}

.kingdom-monera {
    background: linear-gradient(to top, #0f172a 20%, rgba(0, 150, 136, 0.5) 100%), url('https://images.unsplash.com/photo-1584036561566-b93a901eb31e?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    border-bottom: 4px solid #009688;
}

.kingdom-protista {
    background: linear-gradient(to top, #0f172a 20%, rgba(63, 81, 181, 0.5) 100%), url('https://images.unsplash.com/photo-1576086213369-97a306d36557?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    border-bottom: 4px solid #3f51b5;
}

.kingdom-fungi {
    background: linear-gradient(to top, #0f172a 20%, rgba(211, 84, 0, 0.5) 100%), url('https://images.unsplash.com/photo-1588392382834-a891154bca4d?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    border-bottom: 4px solid #d35400;
}

.kingdom-plantae {
    background: linear-gradient(to top, #0f172a 20%, rgba(46, 125, 50, 0.5) 100%), url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    border-bottom: 4px solid #2e7d32;
}

.kingdom-animalia {
    background: linear-gradient(to top, #0f172a 20%, rgba(198, 40, 40, 0.5) 100%), url('https://images.unsplash.com/photo-1546182990-dffeafbe841d?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    border-bottom: 4px solid #c62828;
}

.lab-content {
    padding: 25px;
    width: 100%;
    z-index: 2;
    position: relative;
    background: linear-gradient(to top, #0f172a 0%, transparent 100%);
}

.lab-icon-bg {
    position: absolute;
    top: -150px;
    right: 20px;
    font-size: 10rem;
    opacity: 0.15;
    transform: rotate(-20deg);
    transition: 0.4s;
}

.lab-card:hover .lab-icon-bg {
    transform: rotate(0deg) scale(1.2);
    opacity: 0.3;
}

.kingdom-monera:hover .lab-icon-bg {
    color: #009688;
}

.kingdom-protista:hover .lab-icon-bg {
    color: #3f51b5;
}

.kingdom-fungi:hover .lab-icon-bg {
    color: #d35400;
}

.kingdom-plantae:hover .lab-icon-bg {
    color: #2e7d32;
}

.kingdom-animalia:hover .lab-icon-bg {
    color: #c62828;
}

.lab-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    color: #fff;
}

.lab-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 300;
    color: #cbd5e1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lab-btn {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.3s;
    color: white;
}

.lab-card:hover .lab-btn {
    background: white;
    color: #333;
    padding-left: 30px;
}

/* =========================================
   6. SÖZLÜK & TARİHÇE & DİĞERLERİ
   ========================================= */

/* --- SÖZLÜK --- */
.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.letter-btn {
    padding: 10px 15px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    border-radius: 8px;
    color: var(--text-color);
    font-weight: bold;
    transition: 0.2s;
}

    .letter-btn:hover, .letter-btn.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

.dictionary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.term-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s;
}

    .term-card:hover {
        transform: translateY(-5px);
    }

    .term-card h3 {
        color: var(--primary);
        margin-bottom: 10px;
        font-size: 1.4rem;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 5px;
    }

    .term-card p {
        font-size: 1rem;
        color: var(--text-color);
        line-height: 1.6;
    }

/* --- TARİHÇE (Timeline) --- */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}
    /* Çizgi */
    .timeline-container::after {
        content: '';
        position: absolute;
        width: 4px;
        background-color: var(--primary);
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -2px;
        z-index: 0;
    }
/* Kutu */
.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

    .timeline-item.left {
        left: 0;
        text-align: right;
    }

    .timeline-item.right {
        left: 50%;
        text-align: left;
    }

    /* Noktalar */
    .timeline-item::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        right: -10px;
        background-color: var(--card-bg);
        border: 4px solid var(--primary);
        top: 30px;
        border-radius: 50%;
        z-index: 2;
    }

    .timeline-item.right::after {
        left: -10px;
    }

/* İçerik Kutusu */
.timeline-content {
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
}

    .timeline-content:hover {
        transform: scale(1.03);
        border-color: var(--primary);
    }

.timeline-year {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-color);
    font-size: 1rem;
}

/* --- DİĞER (Punnett, Modal, Footer) --- */
.punnett-config-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
}

.input-flex input {
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

#punnettTable {
    background: var(--card-bg);
}

    #punnettTable th {
        background: var(--primary);
        color: white;
    }

    #punnettTable td {
        border: 1px solid var(--border-color);
    }

footer {
    background: var(--header-bg);
    color: var(--text-color);
    padding: 50px 0 20px;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-bg);
    width: 90%;
    max-width: 900px;
    height: 80%;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

#previewFrame {
    width: 100%;
    height: 100%;
    border: none;
    margin-top: 10px;
}

#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary);
    z-index: 9999;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
}

    #backToTop.show {
        opacity: 1;
        visibility: visible;
    }

    #backToTop:hover {
        transform: translateY(-5px);
    }

/* MOBİL UYUMLULUK */
@media (max-width: 1200px) {
    #library .lab-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }

    .nav-group {
        flex-direction: column;
        width: 100%;
    }

    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

        .timeline-item.left, .timeline-item.right {
            left: 0;
            text-align: left;
        }

            .timeline-item.left::after, .timeline-item.right::after {
                left: 21px;
            }

    .result-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SÖZLÜK SAYFASI İÇİN ÖZEL ARAMA ÇUBUĞU --- */
.big-search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
}

    .big-search-box input {
        width: 100%;
        padding: 15px 50px 15px 25px;
        font-size: 1.1rem;
        border-radius: 50px;
        border: 2px solid var(--border-color);
        background: var(--card-bg);
        color: var(--text-color);
        outline: none;
        transition: all 0.3s ease;
        box-shadow: var(--card-shadow);
    }

        .big-search-box input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 15px rgba(46, 204, 113, 0.3);
        }

    .big-search-box i {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2rem;
        color: var(--primary);
        pointer-events: none;
    }

/* --- OTOMATİK RENK AYARLI AÇIKLAMA METNİ --- */
.section-desc {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

/* =========================================
   ANSİKLOPEDİ (FACTS) ÖZEL STİLLERİ
   ========================================= */
.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.fact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}

    .fact-card:hover {
        transform: translateY(-8px);
        border-color: var(--primary);
        box-shadow: 0 10px 25px rgba(46, 204, 113, 0.2);
    }

    .fact-card i {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .fact-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: var(--text-color);
    }

    .fact-card p {
        font-size: 0.95rem;
        opacity: 0.8;
        color: var(--text-color);
    }

/* Sayfalama Butonları */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

    .page-btn.active, .page-btn:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

/* Ansiklopedi Modalı */
.fact-modal-content {
    background-color: var(--card-bg);
    width: 90%;
    max-width: 750px;
    border-radius: 25px;
    padding: 40px;
    position: relative;
    color: var(--text-color);
}

.fact-modal-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.fact-modal-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

/* --- ATATÜRK ANIT DUVARI: FİNAL & TEK GÖRSEL --- */
.ata-monument-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.monument-wrapper {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 60px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 500px;
    min-height: 500px;
}

/* Arka plandaki Silüet (ataturk.png) */
.monument-bg-overlay {
    position: absolute;
    right: -15%;
    bottom: -25%;
    width: 90%;
    height: 90%;
    background-image: url('ataturk.png'); /* Yerel dosya */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
    transition: 0.3s;
}

.monument-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.quote-text-main {
    font-size: 1.85rem;
    line-height: 1.6;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease;
}

.monument-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    text-align: center;
}

.author-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
}

/* Mobil Uyumluluk (Atatürk) */
@media (max-width: 768px) {
    .monument-wrapper {
        height: auto;
        min-height: 550px;
        padding: 30px;
    }

    .quote-text-main {
        font-size: 1.4rem;
        min-height: 200px;
    }

    .monument-bg-overlay {
        width: 70%;
        opacity: 0.15;
    }
}

/* --- SANAL MİKROSKOP KARTI (ONLINE HD GÖRSEL) --- */
.microscope-sim {
    /* Unsplash'tan sağlam, yeşil tonlu sanatsal hücre görseli (Asla kırılmaz) */
    background: linear-gradient(to top, #0f172a 20%, rgba(46, 204, 113, 0.3) 100%), url('https://images.unsplash.com/photo-1530026405186-ed1f139313f8?auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    border-bottom: 5px solid #2ecc71;
    transition: all 0.4s ease;
}

    .microscope-sim:hover {
        background: linear-gradient(to top, #0f172a 10%, rgba(46, 204, 113, 0.1) 100%), url('https://images.unsplash.com/photo-1530026405186-ed1f139313f8?auto=format&fit=crop&w=1000&q=80');
        background-size: cover;
        background-position: center;
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 30px rgba(46, 204, 113, 0.2);
    }


/* =========================================
   YENİ KART STİLLERİ (DNA OPERASYON MERKEZİ)
   ========================================= */
.dna-ops {
    /* Unsplash'tan soyut, siber-biyo DNA görseli */
    /* Üzerine koyu mor/lacivert bir filtre ekledik ki yazılar net okunsun */
    background: linear-gradient(to top, #0f172a 30%, rgba(189, 0, 255, 0.3) 100%), url('https://images.unsplash.com/photo-1614935151651-0bea6508db6b?auto=format&fit=crop&w=1000&q=80');
    background-size: cover; /* Resmi kutuya sığdır */
    background-position: center; /* Resmi ortala */
    border-bottom: 5px solid #bd00ff; /* Altına Mor Neon Çizgi */
    transition: all 0.4s ease;
}

    .dna-ops:hover {
        /* Hover durumunda görseli biraz büyüt ve gölge ver */
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 30px rgba(189, 0, 255, 0.3);
        /* Hover'da arka plan filtresini biraz açalım, daha parlak olsun */
        background: linear-gradient(to top, #0f172a 10%, rgba(189, 0, 255, 0.1) 100%), url('https://images.unsplash.com/photo-1614935151651-0bea6508db6b?auto=format&fit=crop&w=1000&q=80');
        background-size: cover;
        background-position: center;
    }

    .dna-ops i {
        color: #bd00ff; /* İkon rengi mor */
    }

    .dna-ops:hover .lab-icon-bg {
        color: #00ff88; /* Hover'da arkadaki dev ikon neon yeşile döner */
        transform: rotate(45deg) scale(1.2);
        opacity: 0.3;
    }

    /* Buton Rengi */
    .dna-ops .lab-btn {
        border-color: #bd00ff;
    }

    .dna-ops:hover .lab-btn {
        background: #bd00ff;
        color: white;
    }

/* --- CYBER-DNA PRELOADER (V1.0) --- */
#bio-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020617; /* Sitenin arka planıyla aynı */
    z-index: 99999; /* Her şeyin üstünde */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

    /* Sayfa yüklendikten sonra gizleme sınıfı */
    #bio-preloader.loaded {
        opacity: 0;
        visibility: hidden;
    }

/* DNA Sarmalı Konteyner */
.dna-structure {
    position: relative;
    width: 100px;
    height: 200px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Nükleobazlar (Dönen Çubuklar) */
.nucleobase {
    position: absolute;
    left: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #00ff88, #00d2ff); /* Neon Yeşil - Mavi */
    transform-origin: 0 50%;
    animation: rotateDNA 3s infinite linear;
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    border-radius: 2px;
}

    /* Uçlardaki Toplar */
    .nucleobase::before, .nucleobase::after {
        content: '';
        position: absolute;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        top: -3px;
        background: #fff;
        box-shadow: 0 0 10px #fff;
    }

    .nucleobase::before {
        left: -4px;
        background: #00ff88;
    }

    .nucleobase::after {
        right: -4px;
        background: #00d2ff;
    }

    /* 10 Tane Çubuğun Sıralanması (Gecikme Ayarları) */
    .nucleobase:nth-child(1) {
        top: 10%;
        animation-delay: -0.0s;
    }

    .nucleobase:nth-child(2) {
        top: 18%;
        animation-delay: -0.3s;
    }

    .nucleobase:nth-child(3) {
        top: 26%;
        animation-delay: -0.6s;
    }

    .nucleobase:nth-child(4) {
        top: 34%;
        animation-delay: -0.9s;
    }

    .nucleobase:nth-child(5) {
        top: 42%;
        animation-delay: -1.2s;
    }

    .nucleobase:nth-child(6) {
        top: 50%;
        animation-delay: -1.5s;
    }

    .nucleobase:nth-child(7) {
        top: 58%;
        animation-delay: -1.8s;
    }

    .nucleobase:nth-child(8) {
        top: 66%;
        animation-delay: -2.1s;
    }

    .nucleobase:nth-child(9) {
        top: 74%;
        animation-delay: -2.4s;
    }

    .nucleobase:nth-child(10) {
        top: 82%;
        animation-delay: -2.7s;
    }

@keyframes rotateDNA {
    0% {
        transform: translateX(-50%) rotateY(0deg);
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
    /* Arkaya geçince sönükleşsin */
    100% {
        transform: translateX(-50%) rotateY(360deg);
        opacity: 1;
    }
}

/* Yükleniyor Yazısı */
.loader-text {
    margin-top: 30px;
    font-family: 'Courier New', monospace;
    color: #00ff88;
    font-size: 1rem;
    letter-spacing: 3px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

/* Yazının üzerindeki tarama efekti */
.scan-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: scanText 2s infinite;
}

@keyframes scanText {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}