* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #e0e0e0;
    background: #0d0d0d;
    line-height: 1.6;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header ve Navbar - Mobil ve PC İçin Optimize */
header {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 12px 15px; /* Telefonda ve PC'de ince */
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 191, 255, 0.3);
    box-sizing: border-box;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    flex-wrap: nowrap;
}

.logo {
    flex-shrink: 0;
    margin-right: 25px; /* Logo ile diğer öğeler arası boşluk */
}

.logo img {
    height: 45px; /* PC'de 45px, mobilde küçülecek */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1em;
}

.nav-links a:hover {
    color: #00d4ff;
}

/* Dil Butonu */
.language-switcher {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.lang-btn {
    background: #00d4ff;
    color: #000;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    min-width: 80px;
    font-size: 0.9em;
}

/* Hamburger Menü */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    margin-left: 15px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section - Slogan ve Stats Görünür */
/* style.css dosyasındaki .hero sınıfını bul ve şöyle değiştir */
.hero {
    min-height: 100dvh;
    /* Eski fotoğraf arkaplanını internet yavaşsa veya video yüklenemezse diye yedek olarak bıraktım */
    /* background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
                url('images/spectracargo.png') center/cover no-repeat fixed; */
    
    /* YENİ: Düz, çok koyu gri bir arkaplan */
    background-color: #0d0d0d; /* Tüm sitenin arkaplan rengiyle aynı */
    
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px; /* Header yüksekliği kadar boşluk */
    position: relative;
    overflow: hidden; /* VİDEONUN SAYFA DIŞINA TAŞMASINI ENGELLER - EKLENDİ */
}

/* YENİ EKLENEN VİDEO CSS KODLARI */
.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Videoyu ekranın enine ve boyuna oranlayarak yayar */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Üzerine binen karartma oranı (0.6 iyi bir değer) */
    z-index: 1;
}
/* YENİ KODLAR BİTİŞ */

.hero-content {
    max-width: 900px;
    padding: 20px;
    position: relative;
    z-index: 2; /* İÇERİĞİ VİDEONUN ÜSTÜNE ÇIKARIR */
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    color: #00d4ff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0,212,255,0.7);
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 40px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: #00d4ff;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: #00d4ff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0,212,255,0.5);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0,212,255,0.8);
}

.primary-btn { background: #00d4ff; color: #000; }
.discord-btn { background: #5865F2; color: white; }
.tmp-btn { background: #ff6600; color: white; }

/* Sections */
.section, footer {
    background: #0d0d0d;
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: #00d4ff;
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 0 0 15px rgba(0,212,255,0.5);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.4s;
}

.gallery-grid img:hover {
    transform: scale(1.08);
}

/* Footer */
footer {
    background: #000;
    padding: 80px 0 30px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: #00d4ff;
}

.social-icons a {
    font-size: 2rem;
    color: #fff;
    margin: 0 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #00d4ff;
}

.copyright {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #888;
}

/* Ekibimiz Bölümü */
.ekip-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.4);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.3);
    border-color: #00d4ff;
}

.team-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 5px solid #00d4ff;
    margin-bottom: 20px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.team-card h3 {
    margin: 10px 0;
    font-size: 1.5em;
    color: #ffffff;
}

.role {
    font-weight: bold;
    margin: 10px 0 20px;
    font-size: 1.1em;
}

.founder { color: #0082FF; }
.manager { color: #ff4444; }
.developer { color: #00ff32; }
.media { color: #ff9600; }
.hr { color: #7855aa; }
.admin { color: #001aff; }
.convoy-manager { color: #ff8800; }

.team-btn {
    background: #00d4ff;
    color: #000;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.team-btn:hover {
    background: #ffffff;
    color: #000;
    transform: scale(1.05);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0099cc;
}

* {
    scrollbar-color: #00d4ff rgba(0, 0, 0, 0.5);
    scrollbar-width: thin;
}

/* Responsive - Mobil İçin Header ve Hero Düzeltme */
@media (max-width: 768px) {
    header {
        padding: 10px 15px !important;
        height: auto !important;
    }

    .navbar {
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 0 !important;
    }

    .logo {
        margin-right: 15px !important;
    }

    .logo img {
        height: 40px !important;
    }

    .hamburger {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 15px 0;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex !important;
    }

    .language-switcher {
        margin-left: 10px !important;
    }

    .lang-btn {
        padding: 6px 12px !important;
        font-size: 0.85em !important;
        min-width: 70px !important;
    }

    /* Hero ve Slogan Görünürlüğü */
    .hero {
        padding-top: 80px !important;
        min-height: 100vh !important;
    }

    .hero-content {
        padding: 20px 15px !important;
    }

    .hero h1 {
        font-size: 2.8em !important;
        margin-bottom: 15px !important;
    }

    .hero p {
        font-size: 1.3rem !important;
    }

    .stats {
        flex-direction: column !important;
        gap: 20px !important;
        margin-bottom: 30px !important;
    }

    .stat-item h3 {
        font-size: 2.5rem !important;
    }

    main {
        padding-top: 90px !important;
    }
}
/* style.css dosyasının en altına ekle */

/* Yüklenme ekranının tüm sayfayı kaplaması için */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d0d0d; /* Sitenin koyu arkaplanıyla aynı */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* En üstte kalmasını sağlar */
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out; /* Fade-out efekti */
}

/* Sayfa yüklendiğinde yüklenme ekranını gizlemek için */
.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

/* Dönen neon mavi spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 191, 255, 0.2); /* Hafif mavi halka */
    border-top: 5px solid #00d4ff; /* Parlak neon mavi */
    border-radius: 50%;
    animation: spin 1s linear infinite; /* Sürekli dönme animasyonu */
}

/* Spinner animasyonu */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    z-index: 10000;
    transition: 0.6s ease;
}
.preloader.loaded { opacity: 0; visibility: hidden; }
.spinner {
    width: 60px; height: 60px;
    border: 4px solid rgba(0, 212, 255, 0.1);
    border-top: 4px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.loading-text {
    margin-top: 20px;
    font-family: 'Orbitron', sans-serif;
    color: #00d4ff;
    letter-spacing: 5px;
    font-size: 0.8rem;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.gallery-grid a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.gallery-grid a:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.25);
}
