/* ewyz Akıllı Yönetim Platformu - Kalıcı Dark Mode (Siyah) Stil Dosyası */
/* Renk Paleti: Siyah, Koyu Antrasit, Mavi, Turkuaz ve Yeşil tonları */

:root {
    --primary-blue: #355b9e; /* Kurumsal ewyz mavisi */
    --primary-teal: #4a7dcf; /* Tamamlayıcı açık mavi */
    --primary-green: #0052FF;
    --dark-text: #f4f7f6; /* Tüm metinler açık renk */
    --light-text: #a0aab2;
    --bg-color: #0a0a0a; /* Saf Siyah / Çok koyu antrasit */
    --card-bg: #141414; /* Kartlar çok koyu gri */
    --border-color: #2a2a2a;
    --glass-bg: rgba(20, 20, 20, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.8);
    --hover-bg: #222222;
    --muted: #888888;
    
    /* Gradients */
    --brand-gradient: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--dark-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Glassmorphism Araçları */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: #fff;
}

.btn-primary {
    background: var(--brand-gradient);
    color: #ffffff !important; /* Yüksek kontrast için beyaz metin */
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(53, 91, 158, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(53, 91, 158, 0.5);
}

/* Top Bar */
.top-bar {
    background: #000;
    color: #888;
    padding: 8px 2rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1a1a1a;
}
.top-bar a {
    color: #888;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.2s;
}
.top-bar a:hover {
    color: var(--primary-teal);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-teal);
}

/* Hero Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: var(--bg-color);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--light-text);
    opacity: 0.9;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: #333;
}

.feature-card h3 {
    margin: 1.5rem 0 1rem;
    color: var(--primary-teal);
}

.feature-card p {
    color: var(--light-text);
    opacity: 0.8;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #050505;
    color: #888;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid #1a1a1a;
}

.footer a {
    color: #888;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--primary-teal);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .slide h1 {
        font-size: 2.5rem;
    }
    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Dashboard İstatistik Kartları */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}
.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-green); /* Default border left */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}
.stat-card:hover {
    transform: translateY(-5px);
}
.stat-title {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.stat-value {
    color: var(--dark-text);
    font-size: 1.8rem;
    font-weight: 800;
}

/* Eski Admin Dashboard Stilleri (Korumalı) */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 250px;
    background: var(--card-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
.sidebar-logo {
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    border-bottom: 1px solid var(--border-color);
}
.nav-menu {
    list-style: none;
    padding: 1rem 0;
}
.nav-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark-text);
    text-decoration: none;
    transition: background 0.2s;
}
.nav-link:hover, .nav-link.active {
    background: var(--hover-bg);
    color: var(--primary-teal);
    border-right: 3px solid var(--primary-teal);
}
.main-content {
    flex: 1;
    padding: 2rem;
    background: var(--bg-color);
}
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th, .table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark-text);
}
.table th {
    font-weight: 600;
    background: var(--hover-bg);
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-text);
    font-size: 0.95rem;
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    transition: all 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(77, 184, 184, 0.2);
}

/* Global Bottom Nav (Desktop & Mobile POS Dock) */
.dashboard-layout {
    flex-direction: column;
}
.sidebar {
    display: none; /* Sidebar artık yok, full masaüstü/POS görünümü */
}
.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    justify-content: space-around;
    padding: 0.8rem 0;
    z-index: 1000;
}
.bottom-nav a {
    color: var(--dark-text);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}
.bottom-nav a.active {
    color: var(--primary-teal);
}
.bottom-nav i {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.main-content {
    padding-bottom: 80px;
    padding-top: 20px;
}

/* Devasa Masaüstü / POS Butonları (Tile Grid) */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.tile-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    aspect-ratio: 1 / 1;
}
.tile-btn i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--primary-teal);
}
.tile-btn:hover {
    transform: translateY(-5px);
    background: var(--hover-bg);
    border-color: var(--primary-teal);
}
.tile-btn span {
    font-weight: 700;
    font-size: 1rem;
}

/* Giriş Sayfası (Login) Stilleri */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg-color);
    padding: 20px;
}
.login-card {
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0,0,0,0.8);
    border: 1px solid var(--border-color);
    background: var(--card-bg);
}
.login-logo {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-blue);
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.95rem;
}
.form-control {
    width: 100%;
    padding: 14px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--dark-text);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
}
.form-control:focus {
    border-color: var(--primary-teal);
}

/* Data Table Stilleri */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    color: var(--dark-text);
}
.data-table th, .data-table td {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}
.data-table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--primary-teal);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.data-table tbody tr {
    transition: background-color 0.2s ease;
}
.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}
