/* --- 1. Temel Ayarlar & SEO Helpers --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- 2. Hero Alanı & Responsive Image --- */
.hero-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Karartma: Google Ads metinlerinin veya logonun okunabilirliği için */
.hero-screen::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

/* --- 3. Header ve İSTEDİĞİN ASİMETRİK İKON --- */
.main-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    padding: 40px 5%;
}

/* --- 4. Alt Logo Alanı (iPhone Fix) --- */
.bottom-logo-area {
    position: fixed; /* Safari ve iPhone için en güvenlisi */
    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: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

/* --- 6. Perde Efekti --- */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

.page-transition.loaded { transform: translateY(-100%); }

.loader-logo {
    height: 60px;
    animation: pulse 1.5s infinite ease-in-out;
}

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

/* --- 7. Mobil Uyumluluk --- */
@media (max-width: 480px) {
    .bg-image { object-position: center top; }
    
    .bottom-logo-area {
        bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .hero-logo { height: 45px; }

}

/* --- GÖRSEL VE KARARTMA AYARI --- */
.hero-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- 7. Mobil Uyumluluk --- */
@media (max-width: 768px) {

    .bg-image {
        /* 'cover' yerine 'contain' kullanarak görselin tamamını gösteriyoruz */
        object-fit: contain !important;
        
        /* Görselin arka planla bütünleşmesi için siyah zemin üzerine ortalıyoruz */
        background-color: #000;
        
        /* Görseli ekranın ortasına veya biraz yukarıya konumlandırabilirsin */
        object-position: center center !important;
        
        width: 100% !important;
        height: 100% !important;
    }

    /* Yazıların görselin üzerine düzgün binmesi için (Opsiyonel) */
    .hero-screen {
        background-color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Alt logonun metnin üzerine binmemesi için biraz daha aşağı çekiyoruz */
    .bottom-logo-area {
        bottom: calc(40px + env(safe-area-inset-bottom)) !important;
    }
    .hero-logo { height: 45px; 
    }
}

/* Küçük telefonlar için ekstra hassas ayar */
@media (max-width: 480px) {
    .bg-image {
        /* Metni tam merkeze almak için oranı %85'e çıkarıyoruz */
        object-position: 85% center !important;
    }
}
/* Linklere tıklandığında veya odaklandığında çıkan çerçeveyi kaldırır */
a, button {
    outline: none !important;
    -webkit-tap-highlight-color: transparent; /* Mobil dokunma rengini kaldırır */
}

/* Chrome ve Safari için özel temizlik */
a:focus, button:focus {
    outline: none !important;
    box-shadow: none !important;
}