/* --- GENEL AYARLAR --- */
:root {
    --baykar-blue: #2c95d8;
    --text-light: #ffffff;
    --text-secondary: #cccccc;
    --header-bg: rgba(25, 28, 35, 0.7);
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    /* Font ailesini Roboto olarak belirliyoruz */
    font-family: 'Roboto', sans-serif;
    background-color: #111;
    color: var(--text-light);
    overflow-x: hidden;
}

/* --- HEADER --- */


/* --- HEADER'DAKİ LOGO ALANI İÇİN DÜZELTİLMİŞ STİLLER --- */

.logo {
    display: flex;          /* Bu satır, içindeki elemanları (resim ve metin) yan yana dizer. */
    align-items: center;    /* Bu satır, yan yana dizilmiş elemanları dikeyde ortalar. */
    text-decoration: none;  /* Linkin altındaki çizgiyi kaldırır. */
    gap: 15px;              /* Logo ile metin arasına 15px boşluk ekler. */
}

.logo img {
    height: 80px;           /* Logonuzun yüksekliğini 45px olarak ayarlar. Daha büyük veya küçük yapmak için bu değeri değiştirebilirsiniz. */
    display: block;         /* Resmin etrafındaki olası istenmeyen boşlukları kaldırır. */
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light); /* Metin rengini beyaz yapar. */
    letter-spacing: 2px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 30px 20px;
    font-size: 14px;
    /* Menü font kalınlığını 700 (bold) yapıyoruz */
    font-weight: 700;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--text-light);
}

.header-right {
    display: flex;
    align-items: center;
}

.social-icons a {
    color: var(--text-secondary);
    margin: 0 8px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--text-light);
}

.lang-switcher {
    margin-left: 20px;
    font-weight: 700;
}

.lang-switcher a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 5px 10px;
    border-left: 1px solid var(--text-secondary);
}

/* --- ANA EKRAN (HERO SECTION) --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    /* İçeriği sola yaslamak için justify-content'i flex-start yapıyoruz */
    justify-content: flex-start;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 60%);
    z-index: -1;
}

.hero-content {
    /* margin: 0 auto; kaldırıldı ve sola yaslamak için padding eklendi */
    padding-left: 8vw; /* Ekran genişliğinin %8'i kadar soldan boşluk bırakır */
    z-index: 1;
}

.main-text p {
    font-size: 28px;
    padding-bottom: 15px;
    /* Alt başlık font kalınlığını 300 (light) yapıyoruz */
    font-weight: 500;
    color: var(--text-light);
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}

.main-text h1 {
    font-size: 100px;
    /* Ana başlık font kalınlığını 900 (black) yapıyoruz, bu en kalın halidir */
    font-weight: 900;
    color: var(--baykar-blue);
    line-height: 1.0; /* Satır yüksekliği */
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.959);
}

/* --- OYNAT BUTONU --- */
.play-button-container {
    margin-top: 40px;
    cursor: pointer;
}

.play-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    background-color: rgba(44, 149, 216, 0.7);
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 15px;
    margin-bottom: 10px;
}

.play-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid var(--text-light);
    margin-left: 10px;
}

.pulse-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulse 2s infinite ease-out;
}

.pulse-ring:nth-child(2) {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}


/* --- HAKKIMIZDA SAYFASI STİLLERİ --- */

/* Aktif menü elemanını vurgulamak için */
.main-nav ul li a.active {
    color: var(--text-light);
}

.about-us-section {
    background-color: #192240; /* Koyu lacivert arkaplan */
    padding: 120px 40px 60px 40px; /* Üstte header boşluğu, alt-sağ-sol boşluklar */
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px; /* Sütunlar arası boşluk */
}

.about-left-column {
    flex: 0 0 200px; /* Sol sütun sabit 200px genişliğinde */
    text-align: center;
}

.about-left-column h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
}

.about-icon {
    margin-bottom: 20px;
    position: relative;
}

.about-icon i {
    font-size: 180px;
    color: var(--baykar-blue);
    opacity: 0.1; /* İkonu yarı saydam yapıyoruz */
}

.about-right-column {
    flex: 1; /* Sağ sütun kalan boşluğu doldurur */
}

.about-right-column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.about-right-column p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* --- İSTATİSTİK BARI BÖLÜMÜ --- */
.stats-section {
    padding: 150px 40px;
    /* Arka plan resmini ekleyin ve sabitlenmesini sağlayın */
    background-image: url('iha.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax efekti için */
    position: relative;
}

.stats-bar {
    max-width: 1200px;
    margin: 0 auto;
    /* RENGİ RGBA İLE YARI SAYDAM HALE GETİRİYORUZ */
    background-color: rgba(74, 84, 109, 0.442); /* 0.85 şeffaflık seviyesi */
    backdrop-filter: blur(8px); /* Bu, cama buğu efekti verir, çok şık durur */
    -webkit-backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-light);
}

.stats-bar h3 {
    font-size: 24px;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 40px;
    margin-right: 20px;
}

.stats-items-wrapper {
    display: flex;
    flex-grow: 1;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    display: block;
}

.stat-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
}

/* --- PROJELERİMİZ SAYFASI STİLLERİ --- */

/* Sayfaya özel koyu lacivert ve network desenli arkaplan */
.dark-bg-pattern {
    background-color: #192240;
    background-image: url('https://www.transparenttextures.com/patterns/clean-textile.png'); /* Subtle pattern */
}

.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 140px 20px 60px 20px; /* Üstte header için daha fazla boşluk */
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

.project-grid {
    display: grid;
    gap: 50px; /* Kartlar arası boşluk */
}

.project-card {
    position: relative; /* İçindeki 'absolute' resimler için referans noktası */
    background: linear-gradient(135deg, #2a7fbe, #1a5b9c);
    border-radius: 25px;
    min-height: 320px;
    display: flex;
    align-items: center;
    padding: 40px;
    overflow: hidden; /* Dışarı taşan resimlerin keskin köşelerini gizler */
}

.project-image {
    position: absolute; /* Bu, resmin kart içinde serbestçe konumlandırılmasını sağlar */
    height: 90%; /* Resim yüksekliği kartın %90'ı kadar olsun */
    z-index: 1; /* Resim metnin arkasında dursun */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); /* Resme gölge verir */
}

/* Resmi sola yaslayan class */
.image-left {
    left: -5%;
    top: 5%;
}

/* Resmi sağa yaslayan class */
.image-right {
    right: -5%;
    top: 5%;
}

.project-info {
    position: relative;
    z-index: 2; /* Metin resmin önünde dursun */
    width: 50%;
    color: #fff;
}

/* Metni sağa yaslayan class */
.info-right {
    margin-left: auto;
    text-align: right;
}

/* Metni sola yaslayan class */
.info-left {
    margin-right: auto;
    text-align: left;
}

.project-info h3 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
}

.project-info p {
    font-size: 16px;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-details {
    background-color: #fff;
    color: #333;
    padding: 12px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background-color: #e6e6e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@keyframes scroll-background {
    from { background-position: 0 0; }
    to { background-position: 0 100px; }
}

.cool-background-1 {
    /* Ana arkaplan rengi */
    background-color: #0a0f1f; 

    /* CSS ile çizilmiş çok katmanlı grid deseni */
    background-image: 
        linear-gradient(rgba(44, 149, 216, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 149, 216, 0.15) 1px, transparent 1px);
    
    background-size: 50px 50px; /* Büyük gridlerin boyutu */
    animation: scroll-background 4s linear infinite; /* Animasyonu uygula */
}

/* --- SPONSORLAR SAYFASI STİLLERİ --- */

.sponsors-page-section {
    padding: 0px 40px 10px 40px; /* Üstte header boşluğu, diğerleri içerik boşluğu */
    min-height: 100vh;
}

/* Sayfa başlığı için projelerimiz sayfasındaki stilin aynısı kullanılabilir. */
/* Eğer yoksa diye tekrar ekliyorum: */
.page-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(44, 149, 216, 0.5);
}

/* SPONSOR KARTLARINI İÇEREN ANA ALAN */
.sponsors-grid {
    display: grid; /* Flexbox yerine Grid kullanıyoruz */
    grid-template-columns: repeat(3, 1fr); /* 3 tane eşit genişlikte sütun oluşturur */
    gap: 40px;             /* Kartlar arasına boşluk koyar */
    width: 100%;           /* Ekranın tamamını kaplar */
 /* Kenarlardan boşluk bırakır */
}

/* KARE ŞEKLİNDEKİ SPONSOR KARTI */
.sponsor-card {
    /* === İŞTE KARE YAPMA KODU === */
    aspect-ratio: 1 / 1; /* Genişliği ne olursa olsun, yüksekliğini ona eşitleyerek KARE yapar */
    
    /* İçeriği dikeyde ortalamak için flex kullanıyoruz */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-decoration: none;
    color: var(--text-light);
    background-color: rgba(42, 91, 156, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 20px; /* İç boşluğu biraz ayarlıyoruz */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover efekti ve diğer stilleriniz aynı kalabilir, onlarda bir sorun yok. */
.sponsor-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: rgba(44, 149, 216, 0.8);
    background-color: rgba(42, 91, 156, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.sponsor-logo {
    height: auto; /* Yüksekliği otomatik ayarlıyoruz */
    width: 60%; /* Logonun kartın genişliğine oranı */
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sponsor-logo img {
    max-height: 100%;
    max-width: 100%;
    filter: grayscale(100%) brightness(1.5);
    transition: filter 0.3s ease-in-out;
}

.sponsor-card:hover .sponsor-logo img {
    filter: grayscale(0%) brightness(1);
}

.sponsor-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.sponsor-description {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* --- İLETİŞİM SAYFASI STİLLERİ --- */

/* Sabit, teknolojik arkaplan resmi */
.contact-bg {
    /* Buradaki URL'yi kendi istediğiniz bir arkaplan resmiyle değiştirebilirsiniz */
    background-image: linear-gradient(rgba(10, 15, 31, 0.6), rgba(10, 15, 31, 0.8)), url('bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Parallax efekti için kritik */
}
.contact-bg2 {
    /* Buradaki URL'yi kendi istediğiniz bir arkaplan resmiyle değiştirebilirsiniz */
    background-image: linear-gradient(rgba(10, 15, 31, 0.6), rgba(10, 15, 31, 0.8)), url('bg2.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Parallax efekti için kritik */
}

.contact-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 140px 20px 60px 20px;
}

.contact-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(44, 149, 216, 0.5);
}

.contact-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    display: flex;
    overflow: hidden; /* İçeriğin karttan taşmasını engeller */
    
    /* Buğulu cam (glassmorphism) efekti */
    background-color: rgba(25, 28, 35, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.contact-info {
    flex-basis: 40%; /* Sol tarafın genişliği */
    padding: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--baykar-blue);
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 40px;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #fff;
}

.contact-info ul li i {
    font-size: 20px;
    color: var(--baykar-blue);
    width: 30px;
    margin-right: 15px;
}

.contact-info ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info ul li a:hover {
    color: var(--baykar-blue);
}

.contact-socials {
    display: flex;
    gap: 20px;
}

.contact-socials a {
    color: var(--text-secondary);
    font-size: 22px;
    transition: all 0.3s ease;
}

.contact-socials a:hover {
    color: var(--baykar-blue);
    transform: scale(1.2);
}

.contact-form {
    flex-basis: 60%; /* Sağ tarafın genişliği */
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--baykar-blue);
    box-shadow: 0 0 10px rgba(44, 149, 216, 0.5);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--baykar-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #2378b1; /* Hover'da biraz daha koyu mavi */
    box-shadow: 0 5px 15px rgba(44, 149, 216, 0.4);
    transform: translateY(-2px);
}

/* --- RESPONSIVE AYARLAR --- */
/* === MOBİL UYUMLULUK KODLARI BAŞLANGICI === */

/* === MOBİL UYUMLULUK KODLARI SONU === */

/* --- GALERİ SAYFASI STİLLERİ --- */

.gallery-page-container {
    max-width: 1400px; /* Galeri için biraz daha geniş alan */
    margin: 0 auto;
    padding: 140px 40px 60px 40px;
}

/* Sekme Butonları */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--text-secondary);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.filter-btn.active {
    background-color: var(--baykar-blue);
    border-color: var(--baykar-blue);
    color: #fff;
}

/* Galeri Izgarası (Grid) */
.gallery-grid {
    display: none; /* Başlangıçta tüm galeriler gizli */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Responsive sihirli kod */
    gap: 25px;
}

.gallery-grid.active {
    display: grid; /* Sadece aktif olan galeri görünür */
}

/* Galeri Öğeleri (Fotoğraf ve Video Kutuları) */
.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1 / 1; /* Kutuları kare yapar */
    background-color: #333;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin kutuya sığarken bozulmasını engeller */
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Hover üzerinde beliren overlay efekti */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Video için oynatma butonu */
.video-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 50px;
    opacity: 0.8;
    text-shadow: 0 0 15px rgba(0,0,0,0.8);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 5;
}

.gallery-item:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}