/* Ana Stil Dosyası */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #ff8c42;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #ff6b35;
    --dark-color: #000000;
    --orange: #ff6b35;
    --light-orange: #ff8c42;
    --black: #000000;
    --dark-gray: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
}

/* Navbar Stilleri */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Kart Stilleri */
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #3a3a3a;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

/* Buton Stilleri */
.btn {
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border: none;
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-warning {
    background-color: var(--warning-color);
    color: white;
}

.btn-warning:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

.btn-danger {
    background-color: var(--danger-color);
}

.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

.btn-info {
    background-color: var(--info-color);
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
}

.btn-info:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Tablo Stilleri */
.table {
    border-radius: 10px;
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.table thead {
    background: linear-gradient(135deg, #1a1a1a 0%, #ff6b35 100%) !important;
    color: white !important;
}

.table thead th {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #3a3a3a !important;
}

.table-light {
    background: linear-gradient(135deg, #1a1a1a 0%, #ff6b35 100%) !important;
}

.table-light th {
    background: transparent !important;
    color: #ffffff !important;
}

.table-hover tbody tr {
    transition: all 0.3s ease;
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.table-hover tbody tr:hover {
    background-color: #3a3a3a !important;
    transform: scale(1.01);
    box-shadow: 0 2px 5px rgba(255, 107, 53, 0.1);
}

.table td, .table th {
    border-color: #3a3a3a !important;
    color: #e0e0e0;
}

.table td h6 {
    color: #ff6b35 !important;
}

.table td strong {
    color: #ff6b35 !important;
}

.table tbody tr td {
    background-color: transparent !important;
}

/* Tablo row satırları */
.table tbody tr {
    background-color: #2a2a2a !important;
}

.table tbody tr:nth-child(even) {
    background-color: #252525 !important;
}

/* Modal Stilleri */
.modal-content {
    border-radius: 15px;
    border: 1px solid #3a3a3a;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.modal-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom: 1px solid #3a3a3a;
}

.modal-body {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.modal-body h3,
.modal-body h4,
.modal-body h5,
.modal-body h6 {
    color: #ff6b35 !important;
}

.modal-body p,
.modal-body .lead {
    color: #c0c0c0 !important;
}

.modal-body strong {
    color: #ff8c42 !important;
}

.modal-footer {
    border-top: 1px solid #3a3a3a;
    background-color: #2a2a2a;
}

/* Form Stilleri */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #3a3a3a;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.form-control::placeholder {
    color: #888;
}

.form-control:disabled,
.form-control[disabled] {
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
    opacity: 1;
    cursor: not-allowed;
}

.form-label {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.input-group-text {
    background-color: #2a2a2a;
    border-color: #3a3a3a;
    color: #e0e0e0;
}

/* Badge Stilleri */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
}

/* Alert Stilleri */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Footer Stilleri */
footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #ff6b35 100%);
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
}

/* Özel Sınıflar */
.shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.text-gradient {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Turuncu Renk Sınıfları */
.bg-orange {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%) !important;
}

.bg-orange-opacity-10 {
    background-color: rgba(255, 107, 53, 0.1) !important;
}

.badge.bg-orange {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%) !important;
    color: white !important;
}

.badge.bg-orange-opacity-10 {
    background-color: rgba(255, 107, 53, 0.1) !important;
    color: #ff6b35 !important;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.alert-orange {
    background-color: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
    color: #ff8c42;
}

/* Genel Siyah Tema */
.text-muted {
    color: #888 !important;
}

.bg-white {
    background-color: #2a2a2a !important;
}

.bg-light {
    background-color: #1a1a1a !important;
}

.border {
    border-color: #3a3a3a !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

.dropdown-menu {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
}

.dropdown-item {
    color: #e0e0e0;
}

.dropdown-item:hover {
    background-color: rgba(255, 107, 53, 0.2);
    color: #ff8c42;
}

h1, h2, h3, h4, h5, h6 {
    color: #e0e0e0;
}

p {
    color: #c0c0c0;
}

/* Ana Sayfa Makale Kartları */
.article-card {
    background-color: #2a2a2a !important;
    border: 1px solid #3a3a3a !important;
}

.article-card:hover {
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2) !important;
}

/* Stat Kartları */
.stat-card {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
}

/* Analytics Kartları */
.analytics-card {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
}

/* Container düzeltmesi */
.container {
    color: #e0e0e0;
}

/* Main content arka plan */
main {
    background-color: #1a1a1a;
}

/* Alert düzeltmeleri */
.alert-success, .alert-info, .alert-warning {
    background-color: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
    color: #ff8c42;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.text-orange {
    color: #ff6b35 !important;
}

/* Kart İçi Metin Görünürlüğü - Tüm Sayfalar İçin */
.card .text-dark,
.card .article-title a,
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
    color: #e0e0e0 !important;
}

.card .text-dark:hover,
.card .article-title a:hover {
    color: #ff8c42 !important;
}

.card p,
.card .card-text {
    color: #c0c0c0 !important;
}

.card .badge.bg-light {
    background-color: rgba(255, 107, 53, 0.15) !important;
    color: #ff8c42 !important;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.card .badge.text-dark {
    color: #ff8c42 !important;
}

/* Border-top düzeltmesi */
.card .border-top {
    border-color: #3a3a3a !important;
}

/* Article Card Özel Stilleri */
.article-card .article-title,
.article-card h4,
.article-card h5 {
    color: #ff6b35 !important;
}

.article-card .article-title a {
    color: #ff6b35 !important;
}

.article-card .article-title a:hover {
    color: #ff8c42 !important;
}

/* Kartlardaki küçük metinler */
.card .small,
.card small {
    color: #a0a0a0 !important;
}

.card .small strong,
.card small strong {
    color: #e0e0e0 !important;
}

/* Icon Circle */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stretched Link Butonları */
.card .btn-outline-success {
    border-color: #ff6b35;
    color: #ff6b35;
}

.card .btn-outline-success:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border-color: #ff6b35;
    color: white;
}

.card .btn-outline-primary {
    border-color: #ff6b35;
    color: #ff6b35;
}

.card .btn-outline-primary:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border-color: #ff6b35;
    color: white;
}

/* Lead text kartlarda */
.card .lead {
    color: #b0b0b0 !important;
}

/* Card Header - Koyu Tema */
.card-header {
    background-color: #1f1f1f !important;
    border-bottom: 1px solid #3a3a3a !important;
    color: #e0e0e0 !important;
}

.card-header h5,
.card-header .fw-bold {
    color: #ff6b35 !important;
}

.card-header small,
.card-header .text-muted {
    color: #888 !important;
}

/* Summary/Stat Card Stilleri */
.summary-card,
.stat-card {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
}

.summary-card.bg-orange,
.stat-card.bg-orange {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%) !important;
    border: none;
}

.summary-card.bg-secondary,
.stat-card.bg-secondary {
    background-color: #3a3a3a !important;
    border: none;
}

.summary-card.bg-dark,
.stat-card.bg-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%) !important;
    border: 1px solid #3a3a3a;
}

.summary-card.bg-danger,
.stat-card.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%) !important;
    border: none;
}

/* Analytics Card */
.analytics-card {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
}

.analytics-card.border {
    border: 1px solid #3a3a3a !important;
}

.analytics-card h3,
.analytics-card h5 {
    color: #e0e0e0 !important;
}

/* Info Tile */
.info-tile,
.detail-tile {
    background-color: #1f1f1f !important;
    border: 1px solid #3a3a3a !important;
}

/* List Items */
.list-unstyled li {
    color: #c0c0c0;
}

ol li {
    color: #c0c0c0;
}

/* Outline Buton Stilleri - Koyu Tema */
.btn-outline-secondary {
    border-color: #888;
    color: #888;
}

.btn-outline-secondary:hover {
    background-color: #3a3a3a;
    border-color: #888;
    color: #e0e0e0;
}

/* btn-outline-danger, btn-outline-primary - Dark Theme */
.btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

.btn-orange {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border: none;
    color: white;
}

.btn-orange:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #ff6b35 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-outline-orange {
    border: 2px solid #ff6b35;
    color: #ff6b35;
    background: transparent;
}

.btn-outline-orange:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    border-color: #ff6b35;
}

.table-orange thead {
    background: linear-gradient(135deg, #000000 0%, #ff6b35 100%);
    color: white;
}

