/* Genel Sıfırlamalar ve Yazı Tipi */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- GECE MODU (DARK MODE) RENKLERİ --- */
body {
    background-color: #0d0d12;
    color: #e0e0e0;
}

/* --- SOL ÜST SABİT LOGO KUTUSU --- */
.top-left-logo {
    position: fixed;
    top: 20px;
    left: max(20px, calc(50vw - 680px));
    width: 180px;
    height: 120px;
    background: #ffffff; 
    border: 2px solid #00d2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5), 0 0 20px rgba(231, 76, 60, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* İŞTE BURASI TAŞMAYI EKLENGELER */
    overflow: hidden; 
    padding: 10px; /* Logonun çerçeveye yapışmasını engeller, şık bir boşluk bırakır */
}

/* Kutuya Hover (Üzerine gelme) Efekti - (Değişmedi) */
.top-left-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.8), 0 0 30px rgba(231, 76, 60, 0.6);
}

/* İÇERİDEKİ LOGO GÖRSELİ */
.top-left-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Görseli asla ezmez/sündürmez, orantılı şekilde kutuya sığdırır */
}
/* Ana Taşıyıcı: Sağ-Sol Reklam ve Orta İçerik */
.layout-container {
    display: flex;
    max-width: 1400px;
    margin: 130px auto 40px auto; 
    padding: 0 20px;
    gap: 20px;
    align-items: flex-start; /* Sticky özelliğinin çalışması için gerekli */
}

/* --- POP-UP REKLAM SÜTUNLARI --- */
.ad-column {
    width: 180px; 
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Pop-up ve Sticky (Kaydırmada Sabit Kalma) Özellikleri */
    position: sticky;
    top: 50vh; /* Ekran yüksekliğinin tam %50'sine (ortasına) indirir */
    transform: translateY(-50%); /* Sütunun kendi yüksekliğinin yarısı kadar yukarı çekerek kusursuz merkezler */
    background: #15151c; /* Koyu arka plan */
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6); /* Yüzüyormuş hissi veren gölge */
    z-index: 100;
}

/* Reklam Kapatma Butonu */
.close-ad-btn {
    display: none;
}

.close-ad-btn:hover {
    color: #e74c3c;
}

.ad-column img {
    width: 100%;
    aspect-ratio: 9 / 16; /* Dikey 16:9 oranını tam olarak sağlar */
    background: #2a2a35;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.9;
}
/* Orta Ana İçerik Alanı */
.main-content {
    flex: 1; 
    display: flex;
    flex-direction: column;
    gap: 60px; 
    background: #15151c;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.8);
    border: 1px solid #222;
}

/* Başlıklar ve Paragraflar */
h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #e74c3c;
    margin-bottom: 25px;
    text-shadow: 0 2px 5px rgba(231, 76, 60, 0.3);
}

.about-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: center;
    color: #b3b3b3;
    max-width: 850px;
    margin: 0 auto;
}

/* Büyük Görseller */
.hero-img, .full-img {
    width: 100%;
    border-radius: 8px;
    max-height: 500px;
    object-fit: cover;
    background: #2a2a35;
}

/* Ekiplerimiz 3'lü Izgara */
.teams-grid {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.team-card {
    flex: 1;
    text-align: center;
}

.team-card img {
    width: 100%;
    aspect-ratio: 1; 
    object-fit: cover;
    border-radius: 8px;
    background: #2a2a35;
    margin-bottom: 15px;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.team-card:hover img {
    border: 2px solid #e74c3c;
}

.team-card h3 {
    font-size: 1.2rem;
    color: #f1f1f1;
}

/* Instagram Bölümü */
.instagram-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
}

.insta-img {
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.insta-btn {
    padding: 15px 40px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

.insta-btn:hover {
    transform: scale(1.05);
}

/* İletişim Formu */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    background: #0d0d12;
    color: #fff;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.4);
}

.contact-form button {
    padding: 15px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* --- SAĞ ALT KÖŞE: SABİT VİDEO POP-UP --- */
/* 1. Dış Kutuyu Kesin 16:9 Yapıyoruz */
.floating-video {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 280px;
    aspect-ratio: 16 / 9; /* Oranı dış kutuya verdik */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    background: #000;
    z-index: 9999;
    border: 1px solid #333;
}

/* 2. Videoyu Kutunun İçine Zorla Sığdırıyoruz */
.floating-video video {
    width: 100%;
    height: 100%; /* Yüksekliği %100 yaparak kutuyu tam kaplamasını sağladık */
    object-fit: cover; /* Kare bile olsa boşluksuz doldurur */
    display: block;
}

.close-video-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    border: 1px solid #444;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-video-btn:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

/* Mobil Uyumluluk */
@media (max-width: 960px) {
    .layout-container {
        flex-direction: column;
        align-items: center;
    }
    .top-left-logo {
        position: relative;
        top: 0;
        left: 0;
        margin: 20px auto;
        width: 120px;
        height: 80px;
    }
    .ad-column {
        display: none;
    }
    .close-ad-btn {
        display: none; /* Mobilde çarpı butonu görünmez */
    }
    .ad-column img {
        min-height: 100px;
    }
    .teams-grid {
        flex-direction: column;
    }
    .floating-video {
       display: none;
    }
}
/* --- ÜST MENÜ (GÜNCELLENDİ VE ORTALANDI) --- */
.top-menu {
    position: absolute;
    top: 60px; /* Logonun hizasına göre yukarı/aşağı buradan ayarlayabilirsin */
    left: 50%; /* Menüyü ekranın tam %50 (orta) noktasına iter */
    transform: translateX(-50%); /* Menüyü kendi genişliğinin yarısı kadar sola çekip milimetrik ortalar */
    display: flex;
    gap: 15px;
    z-index: 10001; /* Logonun veya başka bir şeyin arkasında kalmasını kesin olarak engeller */
}

/* Sadece Menü Linklerinin Tasarımı */
.top-menu a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 10px 20px;
    border: 1px solid #333;
    background: #15151c;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.top-menu a:hover {
    color: #e74c3c;
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.4);
}

/* MOBİL EKRANLAR İÇİN UYUM (Logoyla çakışmaması için) */
@media (max-width: 960px) {
    .top-menu {
        position: relative;
        top: 160px; /* Mobilde logoyu geçip aşağısından düzgünce başlaması için gereken boşluk */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        justify-content: center;
        margin-bottom: 30px;
    }
}
/* --- EKİPLER TIKLANABİLİR KART EFEKTİ --- */
.team-card {
    display: block;
    width: 300px; /* Kartın genişliği, dilediğin gibi artırıp azaltabilirsin */
    text-decoration: none; /* Linkin altındaki çizgiyi kaldırır */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.team-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent; /* Üzerine gelince neon olacak olan görünmez sınır */
    transition: border-color 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px); /* Kartı hafifçe yukarı kaldırır */
}

.team-card:hover img {
    border-color: #00d2ff; /* Mavi neon çerçeve belirir */
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.team-card:hover h3 {
    color: #00d2ff !important; /* Başlık da maviye döner */
}