@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #0b0f19;
    --surface-color: #26304b;
    --surface-hover: #1e2538;
    --accent-color: #00d2ff;
    --text-light: #ffffff;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-light);
    line-height: 1.6;
}

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader img {
    width: 350px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* =========================================
   HEADER & NAVBAR
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo img {
    height: 50px;
    width: auto;
}

.menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
    text-transform: uppercase;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
}

/* =========================================
   GENEL BÖLÜM AYARLARI
   ========================================= */
.page-wrapper {
    padding-top: 150px;
    min-height: 80vh;
}

section {
    padding: 100px 1% 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* =========================================
   HERO (ANA EKRAN)
   ========================================= */
#hero {
    height: 100vh;
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--bg-color);
    background: linear-gradient(rgba(11, 15, 25, 0.6), rgba(11, 15, 25, 0.6)), url('images/araclar/araclar_bagli.png') center/contain no-repeat;
}

#hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -2px;
    text-shadow:
        0 0 5px rgba(0, 210, 255, 0.4),
        0 0 15px rgba(0, 210, 255, 0.2),
        0 5px 20px rgba(0, 0, 0, 0.9);
}

#hero p {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-shadow:
        0 0 5px rgba(0, 210, 255, 0.4),
        0 0 15px rgba(0, 210, 255, 0.2),
        0 5px 20px rgba(0, 0, 0, 0.9);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #000;
    padding: 15px 40px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
}

/* =========================================
   ANA EKRAN KAYAN YAZI (TICKER) BÖLÜMÜ
   ========================================= */
.news-ticker {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    overflow: hidden;
    background-color: rgba(11, 15, 25, 0.9);
    padding: 12px 0;
    z-index: 10;
    display: flex;
    white-space: nowrap;
}

/* Sonsuz akış animasyonu */
.ticker-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    animation: tickerScroll 30s linear infinite;
}
.ticker-logo {
    height: 45px; 
    width: auto; 
    object-fit:contain;
    margin-left: 30px; 
    margin-right: 5px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2)); /* Logoya hafif bir parlaklık katar */
}

/* Kayan yazının kendi stili */
.marque {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Yazılar arasına koyduğumuz "///" ayracının stili */
.marque-divider {
    color: var(--text-muted);
    margin: 0 40px;
    font-size: 1.2rem;
    opacity: 0.5;
}

/* Kaydırma Motoru (Animasyon) */
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* =========================================
   GENEL KART SİSTEMİ (PROJELER, BAŞARILAR)
   ========================================= */
.achievement-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 40px 0;
}

.achievement-card {
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, rgba(38, 48, 75, 0.4), rgba(11, 15, 25, 0.8));
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 16px;
    padding: 40px;
    max-width: 850px;
    width: 100%;
    gap: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Sol taraftaki neon mavi şerit efekti */
.achievement-card::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.5);
    box-shadow: 0 20px 45px rgba(0, 210, 255, 0.15);
}

/* Kupa İkonunun Kutusu */
.achievement-icon img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: border-color 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    border-color: rgba(0, 210, 255, 0.8);
}

.achievement-icon i {
    font-size: 3rem;
    color: var(--accent-color);
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.5));
}

.achievement-content {
    flex: 1;
}

.achievement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.achievement-header h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    letter-spacing: 1px;
    font-weight: 800;
    margin: 0;
}

/* Sarı Madalya Etiketi */
.achievement-badge {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    color: #ffd700;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.achievement-content h4 {
    font-size: 1.4rem;
    color: var(--text-light);
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 15px;
}

/* "İleri Kategori" yazısının stili */
.achievement-content h4 span {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.achievement-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Telefonlar İçin Mobil Uyum (Responsive) */
@media (max-width: 768px) {
    .achievement-card {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
        gap: 25px;
    }
    .achievement-header {
        flex-direction: column;
        justify-content: center;
    }
    .achievement-card::before {
        width: 100%;
        height: 4px;
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    justify-content: center;
}

.card {
    background-color: var(--surface-color);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    overflow: hidden;
}

.card:hover {
    background-color: var(--surface-hover);
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1px;
    color: var(--text-light);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   HAKKIMIZDA & TAKIMIMIZ (İKİ SÜTUNLU TASARIM)
   ========================================= */
.split-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    overflow: hidden;
}

.split-image {
    flex: 1;
    min-height: 350px;
    margin-left: 20px;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split-content {
    flex: 1;
    padding: 40px 50px 40px 0;
    text-align: left;
}

.split-content h2 {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.split-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* =========================================
   SEÇİCİ TASARIMI (TAKIM VE ARAÇLAR İÇİN)
   ========================================= */
.choice-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.choice-btn {
    background-color: transparent;
    color: var(--text-muted);
    border: none;
    padding: 10px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.choice-btn:hover {
    color: var(--text-light);
}

.choice-btn.active {
    background-color: var(--accent-color);
    color: #000;
}

.team-choice-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.team-choice-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   ARAÇ İNFOGRAFİK TASARIMI
   ========================================= */
.vehicle-showcase {
    background-color: var(--surface-color);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
    color: var(--text-light);
}

.vehicle-header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 30px;
}

.vehicle-title-box {
    flex: 1;
}

.vehicle-main-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-light);
    letter-spacing: -1px;
}

.vehicle-sub-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 5px;
    margin: 10px 0 20px 0;
}

.vehicle-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 300px;
}

.vehicle-vision-list {
    list-style: none;
    padding: 0;
}

.vehicle-vision-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.vehicle-vision-list i {
    font-size: 24px;
    color: var(--accent-color);
    width: 30px;
    text-align: center;
}

.vehicle-vision-list h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.vehicle-vision-list p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.vehicle-image-box {
    flex: 1.5;
    text-align: center;
}

.vehicle-image-box img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.vehicle-right-vision {
    flex: 0.8;
    text-align: right;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.5;
}

.vehicle-right-vision p {
    margin-bottom: 15px;
}

.vehicle-right-vision .line-divider {
    height: 1px;
    width: 50px;
    background-color: var(--accent-color);
    margin: 20px 0 20px auto;
}

.vehicle-right-vision .small-vision {
    font-size: 0.9rem;
    letter-spacing: 4px;
}

.vehicle-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.spec-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spec-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-item i {
    font-size: 20px;
    color: var(--accent-color);
    margin-top: 3px;
}

.spec-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.spec-item ul {
    list-style: none;
    padding: 0;
}

.spec-item li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.spec-item li::before {
    content: "•";
    color: var(--text-light);
    font-weight: bold;
    margin-right: 8px;
}

.spec-item li span {
    display: inline-block;
    width: 80px;
}

.vehicle-footer-slogan {
    text-align: right;
    margin-top: 40px;
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--text-muted);
}

/* =========================================
   TAKIM KARTLARI BÖLÜMÜ
   ========================================= */
.team-member {
    width: 260px !important; /* Yüzdelik yerine sabit genişlik vererek esnemesini sağladık */
    max-width: 100%;
}

.team-member .card-content {
    text-align: center;
}

.team-member .card-content p {
    color: var(--accent-color);
    font-weight: 600;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 5%;
    margin: 25px auto 0;
    display: block;
    border: none;
}

.captain-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.captain-container .card {
    width: 240px;
    max-width: 100%;
}

.team-otomatik {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px; /* Varsayılan: yan yana 4 tane sığar */
    margin: 0 auto 60px auto;
}

/* 
   AKILLI DİZİLİM (SMART WRAPPING) MANTIĞI 
   Kapsayıcının içindeki eleman sayısını sayarak satır genişliğini otomatik ayarlar 
*/

/* Grupta tam 5 veya 6 kişi varsa -> 3 üstte, 2 veya 3 altta olacak şekilde daraltır */
.team-otomatik:has(> .team-member:nth-child(5):last-child),
.team-otomatik:has(> .team-member:nth-child(6):last-child),
.team-otomatik:has(> .team-member:nth-child(9):last-child){
    max-width: 900px; /* 3 kart + boşluklar kadar yer kaplar */
}

/* Grupta tam 7 veya 8 kişi varsa -> 4 üstte, 3 veya 4 altta olacak şekilde genişletir */
.team-otomatik:has(> .team-member:nth-child(7):last-child),
.team-otomatik:has(> .team-member:nth-child(8):last-child) {
    max-width: 1100px; /* 4 kart + boşluklar kadar yer kaplar */
}

.link {
    display: inline-block;
    margin-top: 15px;
    margin-right:5px;
}

.link i {
    font-size: 20px;
    color: #ffffff;
    transition: transform 0.3s, color 0.3s;
}

.link:hover .fa-linkedin {
    color: #0077b5;
    transform: scale(1.2);
}
.link:hover .fa-github {
    color: #333333;
    transform: scale(1.2);
}
.link:hover .fa-envelope {
    color: grey;
    transform: scale(1.2);
}

/* =========================================
   İÇ SAYFALAR (Hakkımızda Detayları vb.)
   ========================================= */
.content-section {
    margin-bottom: 60px;
}

.content-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-title {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-left: 15px;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.info-card {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.3);
}

.info-card h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.custom-list {
    list-style: none;
    padding-left: 10px;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.custom-list li {
    color: var(--text-muted);
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.custom-list li::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.process-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.process-flow i {
    color: var(--accent-color);
    font-size: 1rem;
}

.visionary-ending {
    text-align: center;
    margin-top: 80px;
    padding: 50px;
    background: linear-gradient(rgba(11, 15, 25, 0.9), rgba(11, 15, 25, 0.9)), url('images/araclar/araclar_bagli.png') center/cover;
    border-radius: 8px;
}

.visionary-ending p {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.visionary-ending h3 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-top: 30px;
    letter-spacing: 1px;
}

/* =========================================
   RAPORLAR / YAYINLAR SAYFASI
   ========================================= */
.papers-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
}

.paper-card {
    background-color: transparent;
    padding: 0 0 50px 0;
    border-radius: 0;
    border-left: none;
    box-shadow: none;
}

.paper-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


.paper-card:hover {
    transform: none;
    box-shadow: none;
}

.paper-title {
    font-size: 2.2rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.paper-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.paper-btn {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    padding: 12px 30px;
}

/* =========================================
   SPONSORLUK & İLETİŞİM FORMU
   ========================================= */
#sponsorlar{
    max-width: 1500px; /* Genişliği artırarak kartların ekranın kenarlarına daha çok yayılmasını sağlar */
    padding-left: 2%;
    padding-right: 2%;
}
.sponsor-card {
    background-image: linear-gradient(#ffffff, #ffffff) !important;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
}

.sponsor-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 60px 0;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-left,
.form-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 4px;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
}

.contact-form select option {
    background-color: var(--surface-color);
    color: var(--text-light);
}

.contact-form textarea {
    height: 100%;
    min-height: 200px;
    resize: none;
}

.submit-btn {
    grid-column: 1 / -1;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 18px;
    text-transform: uppercase;
}

/* =========================================
   GALERİ & LIGHTBOX
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
    width: 100%;
}

.gallery-img,
.gallery-video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-img:hover,
.gallery-video:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.2);
    border-color: rgba(0, 210, 255, 0.4);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    margin-top: 5vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.2);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: var(--text-light);
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    margin-bottom: 15px;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.6rem;
    margin: 0 12px;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}

.footer-socials a:hover {
    transform: scale(1.2);
}

.footer-socials a:hover .fa-instagram {
    color: #E1306C;
}

.footer-socials a:hover .fa-linkedin {
    color: #0077b5;
}
.footer-socials a:hover .fa-envelope {
    color: grey;
}
.footer-ibrahim {
    opacity: 0; /* Yazıyı tamamen görünmez yapar ama kapladığı alanı korur */
    cursor:none; /* Üzerine gelindiğinde link imleci (el) çıkmaz, kimse şüphelenmez */
    user-select: none; /* Fareyle metin taraması yapıldığında kazara seçilip mavi olmasını engeller */
    transition: opacity 0.5s ease; /* Yavaşça, şık bir şekilde belirmesini sağlar */
    outline: none; /* Tıklandığında etrafında varsayılan tarayıcı çerçevesinin çıkmasını önler */
    display: inline-block;
}
/* =========================================
   ARAMA MOTORU (MODAL) TASARIMI - KÜÇÜLTÜLMÜŞ VERSİYON
   ========================================= */
.search-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.4);
    /* Arka plan karartmasını çok azalttık */
    backdrop-filter: blur(2px);
    /* Bulanıklığı yok denecek kadar azalttık */
    animation: fadeIn 0.2s ease;
}

.search-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 90px;
    /* Ekranın ortasına değil, menünün hemen altına hizalar */
}

.search-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--text-muted);
    font-size: 30px;
    /* Çarpı ikonunu küçülttük */
    cursor: pointer;
    transition: color 0.3s;
}

.search-close:hover {
    color: var(--accent-color);
}

.search-modal-content {
    width: 90%;
    max-width: 600px;
    /* Kutunun genişliğini daralttık */
    position: relative;
}

#search-input {
    width: 100%;
    padding: 15px 25px;
    /* Kutu içi boşlukları daralttık */
    font-size: 1.1rem;
    /* Yazı boyutunu normalleştirdik */
    background-color: rgba(38, 48, 75, 0.95);
    /* Kutuyu hafif saydam yaptık */
    border: 1px solid rgba(0, 210, 255, 0.3);
    /* Kenarlığı incelttik */
    color: var(--text-light);
    border-radius: 30px;
    outline: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Havada duruyormuş hissi (gölge) */
    transition: border-color 0.3s, box-shadow 0.3s;
}

#search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.search-results {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Sonuçlar arası boşluğu daralttık */
    max-height: 45vh;
    /* Liste çok uzarsa aşağı kaydırma çubuğu çıkarır */
    overflow-y: auto;
}

/* Kaydırma Çubuğu Tasarımı */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
}

.search-result-item {
    background-color: rgba(38, 48, 75, 0.95);
    padding: 15px 20px;
    /* Kart iç boşluğunu küçülttük */
    border-radius: 8px;
    text-decoration: none;
    border-left: 3px solid var(--accent-color);
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-result-item:hover {
    transform: translateX(5px);
    background-color: var(--surface-hover);
}

.search-result-item h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.search-result-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    /* Açıklama yazılarını küçülttük */
}


/* =========================================
   ORTA BOY EKRAN (TABLET & LAPTOP) UYUMU
   ========================================= */
@media (max-width: 992px) {

    /* Galeri */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Takım 2'li düzen */
    .team-member {
        width: calc((100% - 20px) / 2) !important;
        max-width: 280px;
    }

    /* Bölünmüş Düzeni Alt Alta Al */
    .split-section {
        flex-direction: column;
        gap: 0;
    }

    .split-image {
        width: 100%;
        min-height: 250px;
    }

    .split-content {
        padding: 30px;
        text-align: center;
    }

    /* Araç İnfografik 992px Uyumu */
    .vehicle-header-grid {
        flex-direction: column;
        text-align: center;
    }

    .vehicle-title-box,
    .vehicle-image-box,
    .vehicle-right-vision {
        flex: none;
        width: 100%;
    }

    .vehicle-desc {
        max-width: 100%;
        margin: 0 auto 30px;
    }

    .vehicle-vision-list {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .vehicle-vision-list li {
        flex-direction: column;
        text-align: center;
    }

    .vehicle-right-vision {
        text-align: center;
        margin-top: 30px;
    }

    .vehicle-right-vision .line-divider {
        margin: 20px auto;
    }

    .vehicle-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   MOBİL (TELEFON) UYUMU (RESPONSIVE)
   ========================================= */
@media (max-width: 768px) {
    #sponsorlar .grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 20px !important;
        grid-template-columns: none !important;
        padding: 0 20px !important;
    }

    #sponsorlar .sponsor-card {
        width: 100% !important;
        max-width: 280px !important;
        gap: 20px !important;
        height: 120px !important;
        margin: 0 auto !important;
    }

    #preloader img {
        width: 80%;
    }

    /* Menü Ayarları */
    header {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 15px 5%;
    }

    .menu-toggle {
        display: block;
    }

    nav#nav-menu {
        display: none !important;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background-color: rgba(11, 15, 25, 0.98);
        padding: 20px 0;
        margin-top: 15px;
        gap: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav#nav-menu.active {
        display: flex !important;
    }

    nav a {
        margin-left: 0 !important;
        font-size: 1.2rem !important;
    }

    /* Hero Ayarları */
    #hero {
        height: 80vh !important;
        background-position: center center !important;
        background-size: cover !important;
        background-attachment: scroll !important;
    }

    #hero h1 {
        font-size: 2.8rem !important;
        letter-spacing: -1px !important;
    }

    #hero p {
        font-size: 1.1rem !important;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .award-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 25px !important;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form textarea {
        height: 150px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Araç İnfografik 768px Uyumu */
    .vehicle-specs-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-main-title {
        font-size: 2.2rem;
    }

    /* Raporlar 768px Uyumu */
    .paper-card {
        padding: 30px 20px;
    }

    .paper-title {
        font-size: 1.5rem;
    }

    .paper-desc {
        font-size: 1rem;
    }
}

/* =========================================
   DAR EKRAN MOBİL (KÜÇÜK TELEFONLAR)
   ========================================= */
@media (max-width: 576px) {

    /* Takım Tekli Düzen */
    .team-member {
        width: 100% !important;
        max-width: 280px;
    }

    .team-grid-3,
    .team-otomatik {
        max-width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   VİDEO BÖLÜMÜ
   ========================================= */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   DEVELOPMENT BLOG
   ========================================= */
.devblog-page {
    overflow: hidden;
}

.devblog-hero {
    max-width: 1000px;
    padding: 35px 24px 65px;
    text-align: center;
}

.devblog-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent-color);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.devblog-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -3px;
    margin-bottom: 18px;
}

.devblog-hero>p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.devblog-phase-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.devblog-phase-nav a {
    min-width: 105px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .10);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .7px;
    transition: .25s ease;
}

.devblog-phase-nav a:hover {
    color: #001018;
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.devblog-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px 90px;
}

.devblog-phase {
    scroll-margin-top: 120px;
    padding: 42px 0 35px;
}

.devblog-phase+.devblog-phase {
    margin-top: 35px;
}

.devblog-phase-heading {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 22px;
    align-items: start;
    padding-bottom: 24px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.devblog-phase-heading>span {
    color: rgba(255, 255, 255, .19);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.devblog-phase-heading p {
    color: var(--accent-color);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2.4px;
    margin-bottom: 5px;
}

.devblog-phase-heading h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.12;
    margin-bottom: 10px;
}

.devblog-phase-heading small {
    display: block;
    max-width: 850px;
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.7;
}

.devblog-entry {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
    gap: 52px;
    align-items: center;
    padding: 54px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.devblog-entry.reverse .devblog-copy {
    order: 2;
}

.devblog-entry.reverse .devblog-media {
    order: 1;
}

.devblog-tag {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.devblog-copy h3 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.17;
    margin-bottom: 8px;
}

.devblog-meta {
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: .78rem;
    font-weight: 600;
}

.devblog-copy p {
    color: var(--text-muted);
    line-height: 1.82;
    font-size: .94rem;
}

.devblog-media {
    min-height: 285px;
    border-radius: 10px; 
    overflow: hidden;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.devblog-media img {
    width: 100%;
    height: 100%;
    min-height: 285px;
    object-fit: cover;
    display: block;
}

/* =========================================
   GELİŞTİRME GÜNLÜĞÜ - SLIDER (SLAYT) TASARIMI
   ========================================= */
.slider-container {
    position: relative;
}

.slider-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

/* Sadece aktif olan slayt görünür */
.slider-container .slide.active {
    opacity: 1;
    z-index: 2;
}

/* Yön Butonları (Sağ - Sol) */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 15, 25, 0.7);
    color: #ffffff;
    border: 1px solid rgba(0, 210, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* Alt Sayfa Noktaları (Dots) */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dots .dot.active {
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    transform: scale(1.2);
}

.devblog-media.media-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background:
        radial-gradient(circle at 25% 20%, rgba(0, 210, 255, .11), transparent 35%),
        linear-gradient(145deg, rgba(38, 48, 75, .72), rgba(15, 21, 35, .96));
    color: var(--text-muted);
    text-align: center;
    padding: 25px;
}

.devblog-media.media-placeholder i {
    color: var(--accent-color);
    font-size: 2.5rem;
    opacity: .9;
}

.devblog-media.media-placeholder span {
    font-size: .78rem;
    letter-spacing: .5px;
}

.devblog-bottom {
    margin-top: 40px;
    padding: 35px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.devblog-bottom p {
    max-width: 670px;
    color: var(--text-muted);
}

.devblog-bottom>div {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.devblog-bottom .btn {
    padding: 12px 22px;
    font-size: .76rem;
}

.devblog-text-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .7px;
}

.devblog-text-link i {
    color: var(--accent-color);
    margin-left: 7px;
}

@media (max-width: 820px) {
    .devblog-hero {
        padding-top: 5px;
    }

    .devblog-hero h1 {
        letter-spacing: -2px;
    }

    .devblog-phase-heading {
        grid-template-columns: 48px 1fr;
        gap: 14px;
    }

    .devblog-phase-heading>span {
        font-size: 1.6rem;
    }

    .devblog-entry,
    .devblog-entry.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 38px 0;
    }

    .devblog-entry.reverse .devblog-copy,
    .devblog-entry.reverse .devblog-media {
        order: initial;
    }

    .devblog-media,
    .devblog-media img {
        min-height: 220px;
    }

    .devblog-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .devblog-bottom>div {
        flex-wrap: wrap;
    }
}