/* --- OTOMOTIV LAB PREMIUM UI --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@800;900&family=Rajdhani:wght@500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #050505;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    padding-top: 100px;
}

/* --- NAVİGASYON (Siyah Arka Plan - Beyaz Hover) --- */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(225, 29, 72, 0.3);
    backdrop-filter: blur(10px);
}
.navbar {
    max-width: 1200px; margin: 0 auto; display: flex;
    justify-content: space-between; align-items: center; padding: 15px 40px;
}
.logo { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; color: white; }
.logo span { color: #e11d48; margin-left: 5px; }
.nav-links { display: flex; list-style: none; gap: 10px; }
.nav-links a {
    text-decoration: none; color: #999; font-weight: 700;
    padding: 10px 20px; border-radius: 4px; transition: 0.3s;
}
/* İSTEDİĞİN EFEKT */
.nav-links a:hover { background-color: white; color: black; }
.nav-links a.active { color: white; border-bottom: 2px solid #e11d48; }
.nav-apply { border: 1px solid #e11d48; color: #e11d48 !important; }

/* --- SLİDER TASARIMI --- */
.slider-container {
    max-width: 1000px; margin: 0 auto 50px;
    height: 400px; border-radius: 15px; overflow: hidden;
    position: relative; border: 1px solid #333;
}
.slide {
    position: absolute; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-content {
    position: absolute; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,0.9));
    width: 100%; padding: 40px;
}

/* --- KARTLAR VE GRID --- */
.grid-container {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 40px 0;
}
.card {
    width: 280px; height: 160px; background: rgba(20,20,20,0.8);
    border: 1px solid #333; border-radius: 10px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: 0.4s; position: relative; overflow: hidden;
}
.card:hover { border-color: #e11d48; transform: translateY(-10px); background: #e11d48; }
.card span { font-family: 'Orbitron', sans-serif; font-size: 0.9rem; transition: 0.3s; }
.card:hover span { color: white; }

/* --- GARAJ TASARIMI (BAŞVURU) --- */
.garage-card {
    background: #111; border: 1px solid #e11d48; border-radius: 10px;
    max-width: 800px; margin: 0 auto; overflow: hidden;
}
.racing-stripe { height: 10px; background: repeating-linear-gradient(45deg, #e11d48, #e11d48 10px, #fff 10px, #fff 20px); }
.engine-btn {
    display: inline-block; background: #e11d48; color: white; padding: 15px 40px;
    text-decoration: none; font-weight: bold; border-radius: 5px; transition: 0.3s;
}
.engine-btn:hover { background: white; color: #e11d48; }

/* --- MODAL --- */
.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 2000; align-items: center; justify-content: center;
}
.modal-content {
    background: #111; padding: 40px; border-radius: 15px; border: 1px solid #e11d48;
    max-width: 500px; text-align: center;
}
/* Hakkımızda Sayfası Detayları */
.about-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    padding: 50px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-text .tag { color: #e11d48; font-weight: bold; letter-spacing: 2px; font-size: 0.8rem; }
.about-text h2 { font-family: 'Orbitron', sans-serif; margin: 10px 0 20px; font-size: 2rem; }
.about-stats { display: flex; gap: 30px; margin-top: 30px; }
.stat span { display: block; font-size: 1.8rem; font-weight: bold; color: #e11d48; }

.about-img { position: relative; flex-shrink: 0; }
.about-img img { width: 450px; border-radius: 10px; border: 2px solid #e11d48; }

/* Başvuru Kartı Detayları */
.apply-content { padding: 40px; text-align: center; }
.sub-title { color: #e11d48; font-weight: bold; letter-spacing: 3px; }
.apply-content h1 { font-family: 'Orbitron', sans-serif; font-size: 3rem; margin: 15px 0; font-style: italic; }

.stats-grid { 
    display: flex; justify-content: center; gap: 40px; 
    margin: 40px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; padding: 25px 0;
}
.stat-box .val { display: block; font-size: 1.5rem; font-weight: bold; color: #e11d48; }
.stat-box .lbl { font-size: 0.7rem; text-transform: uppercase; opacity: 0.6; }

.form-section { margin-top: 30px; }
.card-footer { background: #000; padding: 15px; font-size: 11px; color: #444; font-family: monospace; }
/* --- YÖNETİM SAYFASI STİLLERİ --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* 15-20 kişiyi otomatik dizer */
    gap: 30px;
    margin-top: 40px;
}

.member-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #333;
    border-radius: 4px; /* Keskin, profesyonel hatlar */
    overflow: hidden;
    transition: 0.4s;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.member-card:hover {
    transform: translateY(-10px);
    border-color: #e11d48;
    background: rgba(20, 20, 20, 1);
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.2);
}

.member-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #222; /* Fotoğraf yoksa boş kalmasın */
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fotoğrafı yamultmadan sığdırır */
    filter: grayscale(100%); /* Başlangıçta siyah-beyaz (Opsiyonel) */
    transition: 0.5s;
}

.member-card:hover img {
    filter: grayscale(0%); /* Üstüne gelince renklenir */
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: white;
    margin-bottom: 5px;
}

.member-info .role {
    display: block;
    color: #e11d48;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.member-info .quote {
    font-style: italic;
    font-size: 0.85rem;
    color: #999;
    line-height: 1.4;
    border-top: 1px solid #333;
    padding-top: 10px;
}
/* --- SPONSORLUK SAYFASI EKSTRALARI --- */
.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.s-logo {
    width: 150px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.s-logo:hover {
    border-color: #e11d48;
    background: rgba(255, 255, 255, 0.1);
}

.s-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.s-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
/* --- PREMİUM SPONSORLUK SAYFASI --- */
.sponsor-page {
    display: flex;
    flex-direction: column;
}

/* 1. KISIM: Mevcut Sponsorlar (Tier Sistemi) */
.current-sponsors {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 50px 0;
}

.sponsor-tier {
    text-align: left;
}

.sponsor-tier h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.sponsor-tier h3 span { color: #e11d48; margin-right: 10px; }

/* Elmas Sponsor Parıltısı */
.sponsor-tier.diamond h3 { color: #e11d48; }

.tier-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.p-logo {
    width: 220px;
    height: 110px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    transition: 0.3s ease;
}

.p-logo:hover {
    border-color: #e11d48;
    background: rgba(225, 29, 72, 0.05);
    transform: translateY(-5px);
}

.p-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}

.p-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* 2. KISIM: Başvuru Formu (Modern Cam Efekti) */
.glass-panel {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 0;
    text-align: left;
    gap: 30px;
}

.call-text h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
}

.call-text p {
    opacity: 0.7;
    font-size: 1rem;
    line-height: 1.7;
}

/* Cyber Buton */
.cyber-btn {
    display: flex;
    align-items: center;
    background: transparent;
    color: #e11d48;
    border: 2px solid #e11d48;
    padding: 18px 30px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: 0.3s;
    flex-shrink: 0;
}

.cyber-btn:hover {
    background: #e11d48;
    color: white;
    box-shadow: 0 0 25px rgba(225, 29, 72, 0.5);
}

.cyber-btn i { font-style: normal; margin-left: 10px; font-size: 12px; }

/* Mobilde cam panelin şeklini düzelt */
@media (max-width: 768px) {
    .glass-panel { flex-direction: column; padding: 30px; text-align: center; }
    .p-logo { width: 100%; max-width: 300px; }
    .call-text h2 { font-size: 1.5rem; }
}
/* --- SPONSOR SAYFASI ÖZEL STİLLERİ (Premium UI) --- */

/* ============================================================
   SPONSORLUK SAYFASI ÖZEL STİLLERİ (YUM-CAR LAB PREMİUM)
   ============================================================ */

/* 1. Üst Orta Teşekkür Paneli */
.thanks-panel {
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid #e11d48;
    padding: 40px;
    border-radius: 12px;
    max-width: 850px;
    margin: 0 auto 60px;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 30px rgba(225, 29, 72, 0.1);
}

.thanks-panel h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.thanks-panel .sub-title {
    color: #e11d48;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

/* 2. Sponsor Kart Izgarası (Grid) */
.sponsor-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Logolar büyüdüğü için genişlik arttı */
    gap: 30px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

/* 3. Sponsor Kartları Ortak Yapı */
.sponsor-card {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 50px 30px; /* İç boşlukları artırarak logoya alan açtık */
    min-height: 300px;  /* Kart yüksekliğini artırdık */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none; /* Link alt çizgisini kaldırır */
    cursor: default;
}

/* 4. LOGO BOYUTLANDIRMA (Devasa Logolar) */
.sponsor-logo {
    width: 100%;
    max-width: 280px; /* Logoları ciddi oranda büyüttük */
    height: 140px;    /* Yükseklik alanı genişletildi */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Logonun şeklini bozmadan sığdırır */
    filter: grayscale(100%); /* Başlangıçta siyah-beyaz */
    opacity: 0.7;
    transition: 0.5s ease;
}

/* Logo Hover Efekti */
.sponsor-card:hover .sponsor-logo img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1); /* Logo hafifçe öne çıkar */
}

/* Kart Hover Efekti */
.sponsor-card:not(.join-us):hover {
    border-color: #e11d48;
    background: rgba(15, 15, 15, 1);
    box-shadow: 0 10px 40px rgba(225, 29, 72, 0.3);
    transform: translateY(-10px);
}

/* 5. BOŞLUK (GOOGLE FORMS) KART EFEKTİ */
.sponsor-card.join-us {
    border: 2px dashed #444; /* Sponsor yokken kesikli çizgi */
    cursor: pointer;
    background: rgba(20, 20, 20, 0.4);
}

.join-content {
    text-align: center;
}

.join-content i {
    display: block;
    font-size: 3rem;
    color: #e11d48;
    margin-bottom: 20px;
    font-style: normal;
}

.join-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #e11d48;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.join-content p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 25px;
}

.fake-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #e11d48;
    color: #e11d48;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

/* 6. İSTEDİĞİN SİYAH-BEYAZ HOVER (3. KART İÇİN) */
.sponsor-card.join-us:hover {
    background: #ffffff; /* Üstüne gelince bembeyaz olur */
    border-style: solid;
    border-color: #ffffff;
}

.sponsor-card.join-us:hover h3, 
.sponsor-card.join-us:hover p,
.sponsor-card.join-us:hover i {
    color: #000000; /* Yazılar simsiyah olur */
}

.sponsor-card.join-us:hover .fake-btn {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Mobil Ayarı */
@media (max-width: 768px) {
    .sponsor-track { grid-template-columns: 1fr; }
    .thanks-panel h1 { font-size: 1.5rem; }
    .sponsor-logo { max-width: 220px; }
}
/* --- SPONSORLUK PAKETLERİ TASARIMI --- */
.packages-section { margin: 60px auto; max-width: 1200px; padding: 0 20px; }
.section-title { font-family: 'Orbitron', sans-serif; color: #e11d48; text-align: center; margin-bottom: 40px; letter-spacing: 2px; }

.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }

.package-card { 
    background: rgba(15, 15, 15, 0.9); border: 1px solid #333; padding: 25px 15px; 
    border-radius: 8px; text-align: center; transition: 0.3s;
}
.package-card:hover { border-color: #e11d48; transform: translateY(-5px); }
.package-card.highlighted { border-color: #e11d48; background: rgba(225, 29, 72, 0.05); }
.package-card.diamond-border { border: 2px solid #38bdf8; }

.p-header { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; margin-bottom: 10px; color: #fff; }
.p-price { color: #e11d48; font-weight: bold; font-size: 0.9rem; margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 10px; }

.package-card ul { list-style: none; padding: 0; }
.package-card ul li { font-size: 0.8rem; color: #bbb; margin-bottom: 8px; font-weight: 500; }

/* Katkı Türleri */
.support-types { margin: 40px auto; padding: 40px; border-radius: 12px; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 20px; }
.type-item h3 { color: #e11d48; font-family: 'Orbitron', sans-serif; font-size: 1rem; margin-bottom: 10px; }
.type-item p { font-size: 0.85rem; color: #999; line-height: 1.4; }
/* Kart linklerinin stilini temizleyelim */
.card-link {
    text-decoration: none; /* Alt çizgiyi kaldırır */
    color: inherit; /* Kartın içindeki rengi korur */
    display: block; /* Kartın tüm alanını tıklanabilir yapar */
}

.card-link:hover .card {
    transform: translateY(-10px);
    border-color: #e11d48; /* Hover efektini koruyoruz */
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.3);
}
.hidden-section {
    padding: 40px;
    border: 1px solid #333;
    animation: fadeInDown 0.6s ease;
}

.wiki-container-inline {
    display: flex;
    gap: 20px;
}

.wiki-sidebar-inline { flex: 1; border-right: 1px solid #333; padding-right: 20px; }
.wiki-content-inline { flex: 3; padding-left: 20px; }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.dynamic-panel { margin-top: 40px; padding: 30px; border: 1px solid #333; animation: slideUp 0.5s ease; position: relative; }
.panel-header { display: flex; justify-content: space-between; border-bottom: 1px solid #333; padding-bottom: 15px; margin-bottom: 20px; }
.panel-title { font-family: 'Orbitron', sans-serif; color: #e11d48; letter-spacing: 2px; }
.close-panel { cursor: pointer; font-size: 1.5rem; color: #888; transition: 0.3s; }
.close-panel:hover { color: white; }

.panel-body { display: flex; gap: 30px; }
.panel-sidebar { flex: 1; border-right: 1px solid #222; }
.sidebar-item { padding: 15px; color: #666; cursor: pointer; transition: 0.3s; font-family: 'Rajdhani', sans-serif; font-weight: bold; border-radius: 4px; margin-bottom: 5px; }
.sidebar-item:hover, .sidebar-item.active { background: #e11d48; color: white; }

.panel-content { flex: 3; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.4s; }
.badge { display: inline-block; background: #e11d48; padding: 4px 12px; font-size: 0.7rem; border-radius: 3px; margin-bottom: 15px; font-weight: bold; }

@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
/* Tıklanabilir Butonların Alanı */
.sidebar-item {
    padding: 15px;
    color: #888;
    cursor: pointer !important; /* Tıklanabilir olduğunu tarayıcıya zorla öğretir */
    transition: 0.3s all ease;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    user-select: none; /* Yazının yanlışlıkla seçilmesini engeller, tıklamayı kolaylaştırır */
    position: relative;
    z-index: 10; /* Diğer katmanların altında kalmasın */
}

.sidebar-item:hover {
    background: rgba(225, 29, 72, 0.2);
    color: white;
}

.sidebar-item.active {
    background: #e11d48 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

/* İçerik Panelleri */
.tab-pane {
    display: none; /* Başlangıçta gizli */
}

.tab-pane.active {
    display: block !important;
    animation: fadeIn 0.4s ease-in-out;
}
/* Fotoğraf Konteynırı */
.image-container {
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.expandable-img {
    width: 100%;
    max-width: 400px; /* Küçük önizleme boyutu */
    border-radius: 8px;
    cursor: zoom-in;
    transition: 0.3s;
    border: 1px solid #444;
}

.expandable-img:hover {
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.4);
    border-color: #e11d48;
}

/* Tam Ekran Modalı (Lightbox) */
.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}

.fullscreen-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    animation: zoomIn 0.3s;
    border: 2px solid #e11d48;
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity: 0;} 
    to {transform:scale(1); opacity: 1;}
}

.close-fs {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
/* Teknofest İçerik Izgarası */
.teknofest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.t-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: 0.3s;
}

.t-item:hover {
    border-color: #e11d48;
    background: rgba(225, 29, 72, 0.05);
}

.t-item h4 {
    font-size: 0.85rem;
    color: #e11d48;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    height: 35px; /* Başlıkları hizalar */
}

.t-item img {
    width: 100%;
    height: 120px;
    object-fit: cover; /* Resimleri bozmadan doldurur */
    border-radius: 4px;
    cursor: zoom-in;
}
/* --- TEKNİK GEZİ BELGE TASARIMI (CSS DOKUNUŞU) --- */

/* --- TEKNİK GEZİ PANELİ: ANA SAYFA FORMATI --- */

/* Dış kutuyu karanlık ve transparan yapıyoruz */
.gezi-doc-card {
    background: rgba(20, 20, 20, 0.6); /* Hafif transparan koyuluk */
    border: 1px solid rgba(225, 29, 72, 0.2); /* Çok hafif kırmızı sınır */
    border-radius: 12px;
    padding: 25px;
    width: 100%;
    margin-top: 10px;
    backdrop-filter: blur(10px); /* Cam efekti */
}

/* İçerideki beyazlığı tamamen öldürdük, TEKNOFEST kartı formatına çektik */
.gezi-doc-white {
    background: transparent !important;
    border: none !important;
    padding: 0;
    color: #ffffff; /* Yazılar artık jilet gibi beyaz */
    font-family: 'Rajdhani', sans-serif;
}

/* "Event Details" gibi etiketleri TEKNOFEST başlıkları gibi kırmızı yaptık */
.doc-label {
    display: block;
    font-weight: bold;
    color: #e11d48; /* Marka kırmızısı */
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(225, 29, 72, 0.4); /* Kırmızı alt çizgi */
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

/* Medya ızgarası hizalaması */
.media-mixed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* Medya öğelerini TEKNOFEST itemleri gibi hizalıyoruz */
.media-item {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #333; /* Siyah/Gri çerçeve */
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000;
}

.media-item:hover {
    border-color: #e11d48; /* Hoverda kırmızı parlama */
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(225, 29, 72, 0.2);
}

/* Lightbox video ayarı */
.lightbox-content {
    max-width: 95%;
    max-height: 85vh;
    border: 2px solid #e11d48;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}
/* --- GEZİ PANELİ KARANLIK FORMAT --- */
.gezi-doc-card {
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.gezi-doc-white {
    background: transparent !important; /* Beyazlığı sildik */
    border: none !important;
    padding: 0;
    color: #fff; /* Yazıları beyaz yaptık */
}

.doc-label {
    display: block;
    color: #e11d48; /* Başlıklar kırmızı */
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(225, 29, 72, 0.3);
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

.media-mixed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.media-item {
    width: 100%; height: 120px;
    object-fit: cover; border-radius: 6px; border: 1px solid #444;
    cursor: pointer; transition: 0.3s;
}

.media-item:hover { border-color: #e11d48; transform: translateY(-5px); }
/* --- TIMELINE CSS --- */
.timeline-wrapper {
    position: relative;
    padding-bottom: 100px;
}

.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Merkez Kırmızı Çizgi */
.timeline-line {
    position: absolute;
    width: 2px;
    background: #e11d48;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.4);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.left { left: 0; text-align: right; }
.right { left: 50%; text-align: left; }

/* Timeline Kartı */
.timeline-box {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #333;
    padding: 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.4s;
    position: relative;
}

.timeline-box:hover {
    border-color: #e11d48;
    background: rgba(225, 29, 72, 0.05);
}

.phase {
    color: #e11d48;
    font-family: 'Orbitron';
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.timeline-box h3 {
    font-family: 'Orbitron';
    font-size: 1.1rem;
    margin: 10px 0;
}

.summary {
    font-size: 0.9rem;
    color: #888;
}

/* Tıklayınca Açılan Detaylar */
.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    text-align: left;
}

.timeline-box.active .timeline-details {
    max-height: 300px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.timeline-details ul {
    list-style: none;
    padding-left: 0;
}

.timeline-details ul li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #ccc;
    position: relative;
    padding-left: 15px;
}

.timeline-details ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #e11d48;
}

/* Nokta Efekti */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #e11d48;
    border: 3px solid #000;
    border-radius: 50%;
    top: 50%;
    z-index: 10;
}

.left::after { right: -9px; transform: translateY(-50%); }
.right::after { left: -9px; transform: translateY(-50%); }

/* Mobil Uyumluluk */
@media screen and (max-width: 768px) {
    .timeline-line { left: 20px; }
    .timeline-item { width: 100%; left: 0; padding-left: 50px; text-align: left; }
    .timeline-item::after { left: 11px; }
}
.slider-container {
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Yumuşak geçiş süresi */
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}
/* --- FULL MOBİL UYUMLULUK PAKETİ --- */

@media screen and (max-width: 768px) {
    
    /* 1. Navigasyon Ayarı: Linkler çok sıkışmasın */
    .nav-links {
        gap: 10px;
        font-size: 0.8rem;
    }
    .logo { font-size: 1.2rem; }

    /* 2. Projeler Grid: Kartları alt alta al */
    .grid-container {
        grid-template-columns: 1fr !important; /* 2 sütun yerine tek sütun */
        padding: 0 20px;
    }

    /* 3. Yarışma Paneli Sidebar: Mobilde yan menü yerine üst menü yapıyoruz */
    .panel-body {
        flex-direction: column; /* Yan yana yerine alt alta */
    }

    .panel-sidebar {
        width: 100% !important;
        flex-direction: row; /* Menü öğelerini yan yana diz */
        display: flex;
        overflow-x: auto; /* Çok öğe varsa sağa kaysın */
        border-right: none !important;
        border-bottom: 1px solid #333;
        margin-bottom: 20px;
    }

    .sidebar-item {
        padding: 10px 15px !important;
        white-space: nowrap; /* Yazılar aşağı kaymasın */
        font-size: 0.85rem;
    }

    /* 4. Teknik Gezi Kartları: İç boşlukları daralt */
    .gezi-doc-card {
        padding: 15px;
    }

    .gezi-doc-white h2 {
        font-size: 1.2rem; /* Başlık mobilde dev gibi durmasın */
    }

    /* 5. Fotoğraf ve Video Grid: Mobilde 2'li dizilim */
    .media-mixed-grid, .teknofest-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Mobilde her zaman 2 tane yan yana */
        gap: 10px;
    }

    .media-item, .t-item img {
        height: 100px; /* Mobilde biraz daha küçük ve derli toplu */
    }

    /* 6. Lightbox: Mobilde videonun veya resmin ekranı kaplaması */
    .lightbox-img {
        width: 95%;
        max-height: 70vh;
    }

    /* 7. Slider: Mobilde yazıları biraz küçült */
    .slide-content h2 { font-size: 1.5rem; }
    .slide-content p { font-size: 0.9rem; }
}
/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */

@media screen and (max-width: 768px) {
    /* 1. Timeline Çizgisini Sola Çek */
    .timeline-line {
        left: 20px; /* Merkezden sola aldık */
        transform: none;
    }

    /* 2. Kartları Tam Genişlik Yap */
    .timeline-item {
        width: 100%;
        padding-left: 50px; /* Çizgiyle yazı arasına mesafe */
        padding-right: 20px;
        text-align: left !important; /* Sol-sağ farkını mobilde bitir */
    }

    .right {
        left: 0; /* Sağdaki kartı sola çektik */
    }

    /* 3. Noktaları Çizginin Üstüne Hizala */
    .timeline-item::after {
        left: 14px !important;
        right: auto !important;
    }

    /* 4. Gridleri Tek Kolon Yap (Fotoğraflar çok küçülmesin) */
    .media-mixed-grid, .teknofest-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    /* 5. Slider Yüksekliğini Azalt */
    .slider-container {
        height: 250px; /* Mobilde devasa durmasın */
    }

    /* 6. Hakkımızda Gridini Tek Sıraya Düşür */
    .about-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
}
/* --- HAMBURGER MENU CSS --- */

/* --- MOBİL NAVİGASYON VE HAMBURGER SİSTEMİ --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    position: relative;
    z-index: 10002;
}

/* Hamburger İkonu */
.hamburger {
    display: none; /* Masaüstünde gizli */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #e11d48; /* YUM-CAR Kırmızısı */
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex; /* Mobilde logonun yanında belirir */
    }

    .nav-links {
        display: none; /* Başlangıçta kapalı */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98); /* Karanlık tema */
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 10000;
        margin: 0;
        padding: 0;
    }

    /* Menü Açıldığında Devreye Giren Sınıf */
    .nav-links.mobile-active {
        display: flex !important;
    }

    .nav-links li {
        margin: 25px 0;
    }

    .nav-links a {
        font-size: 1.6rem !important;
        font-family: 'Orbitron', sans-serif;
        color: white !important;
    }
}

/* --- PROFESSIONAL POLISH PASS --- */
:root {
    --yc-bg: #050505;
    --yc-panel: rgba(14, 14, 16, 0.86);
    --yc-panel-strong: rgba(20, 20, 24, 0.94);
    --yc-border: rgba(255, 255, 255, 0.12);
    --yc-muted: #a8a8ad;
    --yc-text: #f5f5f7;
    --yc-red: #e11d48;
    --yc-red-soft: rgba(225, 29, 72, 0.16);
    --yc-line: rgba(225, 29, 72, 0.34);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--yc-text);
    background:
        radial-gradient(circle at 18% 0%, rgba(225, 29, 72, 0.14), transparent 28rem),
        linear-gradient(180deg, #070707 0%, #050505 48%, #09090a 100%);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 75%);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.main-header {
    background: rgba(3, 3, 4, 0.84);
    border-bottom: 1px solid var(--yc-border);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
}

.navbar {
    width: min(1180px, 100%);
    max-width: 1180px;
    min-height: 74px;
    padding: 0 24px;
}

.logo {
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo span {
    color: var(--yc-red);
}

.nav-links {
    align-items: center;
    gap: 6px;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #c7c7ca;
    border: 1px solid transparent;
    letter-spacing: 0.4px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--yc-border);
}

.nav-links a.active {
    border-bottom-color: var(--yc-red);
}

.nav-apply {
    color: #fff !important;
    border-color: var(--yc-red) !important;
    background: var(--yc-red-soft);
}

.nav-apply:hover,
.nav-apply.active {
    background: var(--yc-red) !important;
    color: #fff !important;
}

.hero-section {
    width: min(920px, 100%);
    margin: 46px auto 34px;
    text-align: center;
}

.hero-section h1,
.section-title,
.thanks-panel h1,
.apply-content h1 {
    text-wrap: balance;
}

.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.hero-section p,
.call-text p,
.apply-content p,
.about-text p {
    color: #d0d0d4;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.slider-container {
    width: min(1080px, 100%);
    height: clamp(300px, 46vw, 520px) !important;
    border-radius: 8px !important;
    border: 1px solid var(--yc-border) !important;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.slide-content {
    z-index: 3;
}

.slide-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.45rem, 3vw, 2.5rem);
    letter-spacing: 0.5px;
}

.grid-container {
    width: min(820px, 100%) !important;
    gap: 18px !important;
}

.card,
.garage-card,
.member-card,
.sponsor-card,
.package-card,
.timeline-box,
.gezi-doc-card,
.glass-panel,
.thanks-panel {
    border-radius: 8px !important;
    border-color: var(--yc-border) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.card,
.member-card,
.sponsor-card,
.package-card,
.timeline-box,
.gezi-doc-card,
.glass-panel,
.garage-card {
    background: var(--yc-panel);
}

.card {
    width: auto;
    min-height: 168px;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--yc-red-soft), transparent 54%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    background: var(--yc-panel-strong);
    box-shadow: 0 24px 70px rgba(225, 29, 72, 0.2);
}

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

.card span {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    letter-spacing: 1px;
}

.dynamic-panel {
    padding: clamp(22px, 4vw, 42px) !important;
}

.panel-header {
    align-items: center;
}

.close-panel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--yc-border);
    border-radius: 50%;
}

.media-item,
.t-item img,
.member-img img {
    display: block;
}

.media-item,
.t-item img {
    aspect-ratio: 16 / 10;
    height: auto !important;
}

.member-card {
    border-bottom-color: rgba(225, 29, 72, 0.42) !important;
}

.member-img {
    height: 280px;
}

.member-info h3,
.type-item h3,
.join-content h3,
.p-header {
    letter-spacing: 0.4px;
}

.member-info .role,
.package-card ul li,
.type-item p,
.summary {
    color: var(--yc-muted);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    background: rgba(8, 8, 10, 0.78);
    backdrop-filter: blur(14px);
}

.about-img img {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-stats {
    flex-wrap: wrap;
}

.stat {
    min-width: 130px;
    padding: 16px 18px;
    border: 1px solid var(--yc-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.timeline-box {
    backdrop-filter: blur(12px);
}

.timeline-line {
    background: linear-gradient(to bottom, transparent, var(--yc-red), transparent);
}

.sponsor-track {
    align-items: stretch;
}

.sponsor-card {
    min-height: 250px;
}

.package-card ul li::before,
.type-item p::before {
    color: var(--yc-red);
}

.support-types {
    display: block !important;
}

.thanks-panel.glass-panel {
    display: block !important;
    text-align: center;
}

.type-grid {
    width: 100%;
}

.engine-btn,
.cyber-btn,
.fake-btn {
    border-radius: 6px;
}

.site-footer {
    margin-top: 70px;
    padding: 42px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.78);
    border-top: 1px solid var(--yc-border);
}

.site-footer .footer-content {
    max-width: 1180px;
    margin: 0 auto;
}

.site-footer img {
    width: 62px;
    height: auto;
    margin-bottom: 16px;
    filter: grayscale(1) brightness(1.45);
}

.site-footer p {
    margin: 5px 0;
    color: #8d8d92;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
}

.site-footer .credit {
    color: var(--yc-red);
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
}

.lightbox {
    padding: 20px;
}

.lightbox-img {
    border-radius: 8px;
}

img {
    max-width: 100%;
}

a:focus-visible,
.hamburger:focus-visible,
.card:focus-visible,
.sidebar-item:focus-visible,
.close-panel:focus-visible {
    outline: 2px solid var(--yc-red);
    outline-offset: 4px;
}

@media screen and (max-width: 920px) {
    body {
        padding-top: 82px;
    }

    .navbar {
        min-height: 70px;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .about-grid {
        grid-template-columns: 1fr;
        padding: 28px !important;
    }

    .about-img {
        width: 100%;
    }

    .about-img img {
        max-width: 100%;
    }

    .stats-grid {
        flex-wrap: wrap;
        gap: 14px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links a {
        width: min(86vw, 340px);
        justify-content: center;
        min-height: 52px;
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.04);
    }

    .nav-links li {
        margin: 9px 0;
    }

    .logo {
        font-size: 1.02rem;
    }

    .hero-section {
        margin-top: 28px;
    }

    .grid-container {
        padding: 0 !important;
    }

    .card {
        min-height: 130px;
    }

    .garage-card,
    .thanks-panel,
    .glass-panel {
        padding: 24px !important;
    }

    .apply-content {
        padding: 26px 18px;
    }

    .apply-content h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .panel-body {
        gap: 18px;
    }

    .media-mixed-grid,
    .teknofest-grid,
    .team-grid,
    .package-grid,
    .type-grid {
        grid-template-columns: 1fr !important;
    }

    .media-item,
    .t-item img {
        aspect-ratio: 16 / 9;
    }

    .timeline-item {
        padding-right: 0;
    }

    .timeline-box h3 {
        font-size: 1rem;
    }
}
