/* =========================================
   1. CORE VARIABLES & THEME CONFIG
   ========================================= */
:root {
    /* FONTS */
    --font-head: 'Orbitron', sans-serif; /* Fütüristik Başlıklar */
    --font-body: 'Rajdhani', sans-serif; /* Teknik Gövde Yazıları */

    /* LIGHT MODE (Default - Lab Tech Style) */
    --bg-body: #f4f6f8;
    --bg-panel: #ffffff;
    --text-main: #1a202c;
    --text-dim: #718096;
    --accent-primary: #2563eb; /* Tech Blue */
    --accent-secondary: #ff6b00; /* Alert Orange */
    --border-color: #e2e8f0;
    --hud-glow: 0 0 10px rgba(37, 99, 235, 0.2);
    --clip-angle: 15px; /* Köşe kesim açısı */
}

/* DARK MODE (Cyberpunk / Void Style) */
[data-theme="dark"] {
    --bg-body: #050507;
    --bg-panel: #0f1015;
    --text-main: #e0e6ed;
    --text-dim: #8b949e;
    --accent-primary: #00f3ff; /* Neon Cyan */
    --accent-secondary: #bc13fe; /* Neon Purple */
    --border-color: #2d3748;
    --hud-glow: 0 0 15px rgba(0, 243, 255, 0.3);
}

/* RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

/* =========================================
   2. HEADER MODULE (HUD INTERFACE)
   ========================================= */
.cyber-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(var(--bg-panel), 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

/* --- TOP BAR (Utility) --- */
.hud-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 30px;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.tagline-text {
    color: var(--text-dim);
    text-transform: uppercase;
    font-family: var(--font-head);
    display: flex; align-items: center; gap: 8px;
}
.tagline-text::before {
    content: ''; display: inline-block; width: 6px; height: 6px;
    background: var(--accent-secondary); border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-secondary);
    animation: pulse 2s infinite;
}

.top-actions { display: flex; gap: 20px; align-items: center; }

.lang-switch, .theme-switch {
    cursor: pointer;
    color: var(--text-dim);
    display: flex; align-items: center; gap: 5px;
}
.lang-switch:hover, .theme-switch:hover { color: var(--accent-primary); }

/* --- MAIN NAVBAR --- */
.hud-main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

/* LOGO AREA */
.brand-logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-main);
    position: relative;
    padding-right: 10px;
}
.brand-logo span { color: var(--accent-primary); }

/* ICON ACTIONS (Cart, Feed, etc.) */
.nav-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-btn {
    position: relative;
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.1rem;
    /* POLYGON SHAPE: Kesik köşeler */
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.2s;
}

.icon-btn:hover {
    background: var(--accent-primary);
    color: #000; /* Dark text on neon bg */
    border-color: var(--accent-primary);
    box-shadow: var(--hud-glow);
    transform: translateY(-2px);
}

.badge-count {
    position: absolute;
    top: -5px; right: -5px;
    background: var(--accent-secondary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 2px;
    z-index: 10;
}

/* AUTH BUTTONS */
.auth-group {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid var(--border-color);
}

.btn-auth {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px;
    cursor: pointer;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s;
}

.btn-login {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-dim);
}
.btn-login:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

.btn-signup {
    background: var(--accent-primary);
    color: #000; /* Contrast text */
    border: none;
}
.btn-signup:hover {
    box-shadow: var(--hud-glow);
    background: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .tagline-text { display: none; } /* Mobilde sloganı gizle */
    .hud-top-bar { justify-content: flex-end; }
    .auth-group span { display: none; } /* Mobilde Login yazısını gizle, sadece ikon kalsın */
    .btn-auth { padding: 10px; }
}

@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }