/* ======================================================= */
/* eKeyf Platformu - Temizlenmiş ve Optimize Edilmiş Stil */
/* ======================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; font-family: Roboto, Arial, sans-serif; }
body { background-color: #0f0f0f; color: #fff; overflow-x: hidden; }

/* --- 1. Sabit Üst Bar (Header) --- */
#ekeyf-header { 
    background-color: #0f0f0f; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; 
    border-bottom: 1px solid #272727; position: fixed; width: 100%; top: 0; z-index: 1000; height: 60px; 
}
.header-left { display: flex; align-items: center; }
.logo { color: #ff0000; font-size: 22px; font-weight: bold; text-decoration: none; display: flex; align-items: center; margin-left: 15px; }
.logo span { color: #fff; }
.menu-trigger { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; padding: 10px; border-radius: 50%; }
.menu-trigger:hover { background: #272727; }

/* --- 2. Arama Paneli --- */
.search-container { display: flex; width: 100%; max-width: 600px; border: 1px solid #303030; border-radius: 40px; overflow: hidden; background: #121212; }
.search-form { display: flex; width: 100%; height: 40px; align-items: center; }
.search-box { flex: 1; height: 100%; padding: 0 15px; border: none; outline: none; background: transparent; color: #fff; font-size: 14px; }
.search-btn { width: 60px; height: 100%; background-color: #222; border: none; border-left: 1px solid #303030; color: #fff; cursor: pointer; }
.search-btn:hover { background-color: #303030; }

/* --- 3. Mobil ve Etkileşim --- */
.search-mobile-trigger { display: none; background: none; border: none; color: #fff; font-size: 20px; padding: 10px; cursor: pointer; }
.search-back-btn { display: none; background: none; border: none; color: #fff; padding: 10px 15px; cursor: pointer; font-size: 18px; }

@media (max-width: 600px) {
    .search-mobile-trigger { display: block; order: 1; margin-left: auto; }
    .header-right { order: 3; margin-left: 10px; }
    .search-container { display: none !important; }

    header#ekeyf-header.search-active .header-left,
    header#ekeyf-header.search-active .header-right,
    header#ekeyf-header.search-active .search-mobile-trigger { display: none; }

    header#ekeyf-header.search-active .search-container { 
        display: flex !important; position: absolute; top: 0; left: 0; width: 100%; height: 60px; 
        background: #0f0f0f; align-items: center; padding: 0 10px; z-index: 1001; 
    }
    header#ekeyf-header.search-active .search-back-btn { display: block; }
}

/* --- 4. Navigasyon ve İçerik --- */
.container { display: flex; margin-top: 60px; width: 100%; }
nav { width: 240px; background-color: #0f0f0f; height: calc(100vh - 60px); position: fixed; padding: 10px; z-index: 900; border-right: 1px solid #1c1c1c; transition: all 0.3s ease; }
nav.hidden { transform: translateX(-240px); }
nav a { display: block; color: #f1f1f1; padding: 12px; text-decoration: none; border-radius: 10px; margin-bottom: 5px; font-size: 14px; font-weight: 500; }
nav a:hover, nav a.active { background-color: #272727; color: #fff; }

main { margin-left: 240px; padding: 24px; flex-grow: 1; width: calc(100% - 240px); transition: all 0.3s ease; }
main.full-width { margin-left: 0; width: 100%; }

/* --- 5. Video Oynatıcı --- */
.player-container { width: 100%; max-width: 1200px; margin: 0 auto; position: relative; }
.iframe-wrapper { width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.iframe-wrapper iframe { width: 100%; height: 100%; border: none; }

@media (max-width: 600px) {
    .player-container { width: 100vw; margin: 0; }
    .iframe-wrapper { aspect-ratio: auto; height: 250px; }
    .custom-controls { height: 50px; }
}

/* --- 6. Diğer --- */
.login-btn { background:#ff0000; color:#fff; padding:8px 14px; border-radius:20px; text-decoration:none; font-size:13px; font-weight:bold; }