/* --- TEMEL AYARLAR & DEĞİŞKENLER --- */
:root {
    --bg-dark: #0b0e14;
    --primary: #00FF41; /* Neon Yeşil */
    --secondary: #9D00FF; /* Neon Mor */
    --accent: #FF003C; /* Neon Kırmızı */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --glass: rgba(11, 14, 20, 0.95);
    --border: rgba(255, 255, 255, 0.1);
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 50%, #1a202c 0%, #0b0e14 100%);
    line-height: 1.6;
}

/* --- SCROLL TO TOP BUTONU --- */
#scrollTopBtn {
    display: none; position: fixed; bottom: 30px; right: 30px; z-index: 9999;
    border: none; outline: none; background-color: var(--secondary); color: white;
    cursor: pointer; padding: 15px; border-radius: 50%; font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.5); transition: 0.3s;
}
#scrollTopBtn:hover { background-color: var(--primary); transform: translateY(-5px); color: #000; }

/* --- MASTER NAVBAR (MENÜ) --- */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; position: fixed; width: 100%; top: 0; z-index: 1000;
    background: var(--glass); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); height: 90px;
}

.logo-link { text-decoration: none; display: flex; align-items: center; gap: 15px; }
.nav-logo { height: 60px; filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); }
.logo-text { display: flex; flex-direction: column; }
.team { font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; color: #fff; letter-spacing: 1px; }
.school { font-size: 0.75rem; color: var(--text-muted); }

.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: #fff; font-weight: 500; transition: 0.3s; position: relative; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); text-shadow: 0 0 10px rgba(0, 255, 65, 0.4); }

.btn-neon {
    padding: 8px 25px; border: 2px solid var(--secondary); color: var(--secondary);
    text-decoration: none; border-radius: 5px; font-weight: bold; transition: 0.3s;
}
.btn-neon:hover { background: var(--secondary); color: #fff; box-shadow: 0 0 15px var(--secondary); }

/* --- HERO & BAŞLIKLAR --- */
header#hero {
    height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), radial-gradient(circle at center, #1e293b 0%, #0b0e14 100%);
    padding-top: 80px;
}

.page-header {
    padding: 160px 10% 60px 10%; text-align: center;
    background: linear-gradient(to bottom, #0f172a, #0b0e14); border-bottom: 1px solid var(--border);
}
.page-header h1 { font-family: var(--font-head); font-size: 3rem; margin-bottom: 15px; }
.page-header p { color: var(--text-muted); font-size: 1.2rem; }

.badge {
    border: 1px solid var(--primary); color: var(--primary); padding: 5px 20px;
    border-radius: 20px; font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(0,255,65,0.2); display: inline-block; animation: pulse 2s infinite;
}
.hero-buttons { margin-top: 40px; }
.btn-primary {
    background: var(--primary); color: #000; padding: 15px 40px; border-radius: 5px;
    text-decoration: none; font-weight: bold; transition: 0.3s;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 0 30px rgba(0,255,65,0.5); }
.btn-secondary {
    border: 1px solid #fff; color: #fff; padding: 15px 40px; border-radius: 5px;
    text-decoration: none; transition: 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); }

/* --- BÖLÜMLER & KARTLAR --- */
.section-dark { padding: 80px 10%; background: var(--bg-dark); position: relative; }
.section-title { font-family: var(--font-head); font-size: 2.5rem; text-align: center; margin-bottom: 10px; }
.section-desc { text-align: center; color: var(--text-muted); margin-bottom: 50px; font-size: 1.1rem; }
.highlight { color: var(--primary); }
.text-gradient { background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; color: transparent; }

.layer-card, .spec-card, .value-box, .vm-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
    padding: 30px; border-radius: 15px; transition: 0.4s; backdrop-filter: blur(5px);
}
.layer-card:hover, .spec-card:hover, .value-box:hover {
    transform: translateY(-10px); border-color: var(--primary); background: rgba(255,255,255,0.07);
}

.anatomy-grid, .robot-layout {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px;
}

/* --- TAKIM SLIDER (KAYAN BANT) --- */
.team-slider-container {
    overflow: hidden; padding: 50px 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 10%, transparent 90%, var(--bg-dark) 100%);
    width: 100%; position: relative;
}
.team-track {
    display: flex; gap: 30px;
    width: max-content; /* İçeriğe göre uza */
    animation: scroll 40s linear infinite; /* Süreyi uzattık daha akıcı olsun */
}
.team-slide { width: 300px; flex-shrink: 0; cursor: pointer; transition: 0.3s; }
.team-slide:hover { transform: scale(1.05); }
.team-slide a { text-decoration: none; color: inherit; display: block; }

.slider-card {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    padding: 25px; border-radius: 15px; text-align: center; backdrop-filter: blur(5px);
}
.slider-card img {
    width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
    margin-bottom: 15px; border: 3px solid var(--secondary);
}
.slider-card h4 { font-family: var(--font-head); color: #fff; margin-bottom: 5px; }
.slider-card .role { color: var(--primary); font-size: 0.85rem; font-weight: bold; display: block; margin-bottom: 10px; }
.slider-card i { color: var(--text-muted); font-size: 1.2rem; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* --- ANA SAYFA DEĞERLER (CFLEGO) --- */
.values-mini-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px;
    margin-top: 30px;
}
.value-mini-card {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 20px;
    text-align: center; border-radius: 10px; transition: 0.3s;
}
.value-mini-card:hover { border-color: var(--secondary); box-shadow: 0 0 10px rgba(157,0,255,0.3); }
.acrostic-letter { font-size: 3rem; font-family: var(--font-head); color: var(--primary); font-weight: 900; display: block; margin-bottom: 5px; }
.value-title { font-weight: bold; letter-spacing: 1px; color: #fff; }

/* --- VIDEO BÖLÜMÜ --- */
.video-wrapper {
    position: relative; padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0; overflow: hidden; max-width: 1000px; margin: 0 auto;
    border: 2px solid var(--border); border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* --- AKROSTİŞ DETAY (VALUES SAYFASI) --- */
.acrostic-list { display: flex; flex-direction: column; gap: 30px; max-width: 900px; margin: 0 auto; }
.acrostic-item {
    display: flex; gap: 30px; align-items: flex-start;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    padding: 30px; border-radius: 20px; transition: 0.3s;
}
.acrostic-item:hover { transform: translateX(10px); border-color: var(--primary); background: rgba(255,255,255,0.05); }
.big-letter {
    font-size: 5rem; font-family: var(--font-head); font-weight: 900;
    color: transparent; -webkit-text-stroke: 2px var(--secondary);
    line-height: 0.8; width: 80px; text-align: center;
}
.acrostic-content h3 { font-size: 1.8rem; color: var(--primary); margin-bottom: 10px; font-family: var(--font-head); }
.acrostic-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* --- TAKIM SAYFASI DETAYLARI --- */
.team-grid-detailed {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 40px;
}
.member-detail-card {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    padding: 30px; border-radius: 20px; display: flex; flex-direction: column; align-items: center;
    transition: 0.3s;
}
.member-detail-card:hover { border-color: var(--secondary); background: rgba(255,255,255,0.04); }

.member-photo {
    width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--primary); margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.name-badge {
    background: var(--secondary); color: #fff; padding: 10px 30px;
    border-radius: 50px; font-family: var(--font-head); font-weight: bold; letter-spacing: 1px;
    margin-bottom: 10px; pointer-events: none;
    box-shadow: 0 5px 15px rgba(157, 0, 255, 0.3); display: inline-block;
}
.member-role-text { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; }

.member-bio-box {
    background: rgba(0,0,0,0.4); border-left: 3px solid var(--primary);
    padding: 15px; border-radius: 0 10px 10px 0; color: #ccc;
    font-size: 0.9rem; line-height: 1.5; width: 100%; text-align: left;
}

/* --- ANİMASYONLAR --- */
.reveal { opacity: 0; transform: translateY(50px); transition: 1s all ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }

/* Footer */
footer { background: #000; padding: 50px 10%; text-align: center; border-top: 1px solid #222; }

@media (max-width: 900px) {
    nav { flex-direction: column; height: auto; padding: 20px; }
    .nav-links { flex-direction: column; width: 100%; }
    .nav-links a { display: block; padding: 10px; background: rgba(255,255,255,0.05); }
    .btn-neon { width: 100%; margin-top: 10px; text-align: center; display: block; }
    header#hero { padding-top: 250px; }
    .acrostic-item { flex-direction: column; text-align: center; align-items: center; }
}
/* --- GALERİ STİLLERİ --- */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Varsayılan: Neon Mor Çerçeve */
    border: 2px solid var(--secondary);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.3);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(60%) contrast(1.2); /* Daha dramatik gri ton */
}

/* Hover (Üzerine Gelince) Efekti */
.gallery-card:hover {
    border-color: var(--primary); /* Yeşil'e dön */
    box-shadow: 0 0 30px var(--primary), inset 0 0 20px var(--primary);
    transform: scale(1.03);
    z-index: 10;
}

.gallery-card:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) contrast(1); /* Renkler canlansın */
}

/* Resim üzerindeki yazı (Overlay) */
.overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 255, 65, 0.8) 0%, transparent 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 30px;
    transition: 0.4s;
    opacity: 0;
}

.gallery-card:hover .overlay {
    bottom: 0;
    opacity: 1;
}

.overlay i {
    font-size: 2rem;
    color: #000;
    background: #fff;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 15px #fff;
    margin-bottom: 10px;
}
.overlay span {
    font-family: var(--font-head);
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}

/* --- LIGHTBOX (HOLOGRAFİK EKRAN MODU) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 7, 10, 0.95); /* Çok koyu arka plan */
    backdrop-filter: blur(8px);
}

/* DÜZELTME: TARAMA ÇİZGİLERİ (SCANLINES) - ARTIK GÖRÜNECEK */
.lightbox::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    /* Çizgili TV Efekti */
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    ), linear-gradient(
        90deg, 
        rgba(255, 0, 0, 0.06), 
        rgba(0, 255, 0, 0.02), 
        rgba(0, 0, 255, 0.06)
    );
    background-size: 100% 4px, 6px 100%; /* Çizgi sıklığı */
    z-index: 100; /* Resmin ÜZERİNDE olacak */
    pointer-events: none; /* Tıklamayı engellemesin */
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 80vh;
    border: 2px solid var(--primary);
    box-shadow: 0 0 50px var(--primary); /* Güçlü Yeşil Glow */
    position: relative;
    z-index: 50; /* Çizgilerin (100) altında kalacak */
    
    /* Hologram Animasyonunu Tetikle */
    animation: holograph 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* GÜÇLENDİRİLMİŞ HOLOGRAM ANİMASYONU */
@keyframes holograph {
    0% { 
        transform: scale(0.1) rotateX(90deg); /* Küçücük başla */
        opacity: 0;
        filter: blur(20px) hue-rotate(180deg) brightness(200%); /* Renkler kaymış ve bulanık */
    }
    60% {
        transform: scale(1.1) rotateX(0deg); /* Hafif taşma yap */
        opacity: 0.8;
        filter: blur(2px) hue-rotate(0deg);
    }
    100% { 
        transform: scale(1) rotateX(0deg); 
        opacity: 1; 
        filter: blur(0) brightness(100%);
    }
}

/* Kapatma ve Yön Butonları */
.close-btn {
    position: absolute; top: 20px; right: 40px; color: var(--text-muted);
    font-size: 50px; cursor: pointer; transition: 0.3s; z-index: 200; /* Çizgilerin üstünde */
}
.close-btn:hover { color: var(--primary); text-shadow: 0 0 15px var(--primary); transform: rotate(90deg); }

.prev, .next {
    cursor: pointer; position: absolute; top: 50%;
    padding: 20px; margin-top: -50px;
    color: var(--text-muted); font-weight: bold; font-size: 40px;
    transition: 0.3s; user-select: none; z-index: 200; /* Çizgilerin üstünde */
}
.next { right: 20px; }
.prev { left: 20px; }
.prev:hover, .next:hover { color: #fff; transform: scale(1.2); text-shadow: 0 0 20px #fff; }