/* ============================================
   ECHO ÇEVİRİ - HEADER CSS
   ============================================ */

/* === GENEL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

header {
    background-color: #0d0d0d;
    padding: 0;
    border-bottom: 1px solid #1e1e1e;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.main-nav {
    display: flex;
    gap: 5px;
}

.main-nav a {
    color: #b0b0b0;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
}

.main-nav a:hover {
    color: #fff;
    background-color: rgba(76, 175, 80, 0.1);
}

/* Arama Kutusu */
header input[type="text"] {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #e0e0e0;
    padding: 7px 16px;
    border-radius: 4px;
    width: 200px;
    font-size: 13px;
    transition: all 0.2s;
    outline: none;
}

header input[type="text"]:hover {
    border-color: #4CAF50;
}

header input[type="text"]:focus {
    border-color: #4CAF50;
}

/* === AUTH NAV (Giriş, Kayıt, Admin Butonları) === */
.auth-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.auth-nav a,
.auth-nav span {
    color: #b0b0b0;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.auth-nav span {
    color: #e0e0e0;
}

.auth-nav span strong {
    color: #4CAF50;
}

.auth-nav a:hover:not(.btn):not(.btn-log):not(.admin-btn) {
    color: #fff;
}

/* === TÜM AUTH BUTONLARI İÇİN ORTAK STIL === */
.btn-log,
.auth-nav a.btn-log,
.auth-nav .btn,
.auth-nav a.btn,
.auth-nav .admin-btn,
.auth-nav a.admin-btn {
    background-color: transparent !important;
    border: 1px solid #4CAF50 !important;
    color: #4CAF50 !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    height: auto !important;
    margin: 0 !important;
}

.btn-log:hover,
.auth-nav a.btn-log:hover,
.auth-nav .btn:hover,
.auth-nav a.btn:hover {
    background-color: #4CAF50;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}

/* === ADMİN PANEL BUTONU (Site Temasına Uygun) === */
.auth-nav .admin-btn,
.auth-nav a.admin-btn {
    background-color: #2a2a2a !important;
    border: 1px solid #4CAF50 !important;
    color: #4CAF50 !important;
}

.auth-nav .admin-btn:hover,
.auth-nav a.admin-btn:hover {
    background-color: #4CAF50;
    color: #0a0a0a !important;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}

/* Logo */
.logo-image {
    height: 60px;
    width: auto;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px 0;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav a {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    header input[type="text"] {
        width: 100%;
        max-width: 300px;
    }
    
    .auth-nav {
        gap: 8px;
    }
    
    .btn-log,
    .auth-nav .btn,
    .auth-nav .admin-btn {
        padding: 7px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }
    
    .main-nav a {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .auth-nav {
        font-size: 12px;
        gap: 6px;
    }
    
    .btn-log,
    .auth-nav .btn,
    .auth-nav .admin-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
}