/* --- 1. GLOBAL AYARLAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: #000;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- 2. HERO ALANI --- */
.hero-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    overflow: hidden;
}


/* Arka plan karartma (Logonun okunması için) */
.hero-screen::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

/* --- 3. HAMBURGER MENÜ BUTONU --- */
.main-header {
    position: absolute; /* Akışkan değil, sabit kalmalı */
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between; /* Sağ tarafa yasla */
    padding: 40px 5%;
}

/* --- 4. ALT LOGO ALANI --- */
.bottom-logo-area {
    position: fixed;
    bottom: 60px;
    bottom: calc(60px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    text-align: center;
}

.hero-logo {
    height: 60px; 
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

/* Mobil Uyumluluk */
/* Masaüstü ve Genel Ayar */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* contain: Görseli kırpmaz, tamamını sığdırır */
    object-fit: contain; 
    background-color: #000; /* Görselden boş kalan yerler siyah görünür */
    z-index: 1;
}

/* Mobil Ayarı (768px ve altı) */
@media (max-width: 768px) {
    .bg-image {
        /* Mobil görselin de tamamının görünmesini sağlıyoruz */
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
        background-color: #000;
        /* Görseli ekranın tam ortasına veya üstüne sabitleyebilirsin */
        object-position: center center !important; 
    }

    .hero-screen {
        background-color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-header {
        padding: 20px 5%;
    }

}
/* --- 6. LOADER --- */
.page-transition {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}
.page-transition.loaded { transform: translateY(-100%); }

.loader-logo {
    height: 50px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}