/* MekoBlog Ana CSS Dosyası */

/* Turnstile logo değiştirme */
.cf-turnstile iframe {
    filter: grayscale(100%) brightness(0);
}

/* MEKO yazısı için overlay */
.cf-turnstile {
    position: relative;
}

/* Cloudflare link içindeki SVG'yi gizle ve MEKO yazısını ekle */
.cf-turnstile .cf-link svg {
    display: none;
}

.cf-turnstile .cf-link::after {
    content: "MEKO";
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #3B82F6;
    background: white;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
}

/* Özel renkler */
:root {
    --primary-color: #3B82F6;
    --secondary-color: #1F2937;
    --accent-color: #F59E0B;
    --success-color: #10B981;
    --error-color: #EF4444;
    --warning-color: #F59E0B;
}

/* Genel stiller */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navigation stilleri */
.nav-link {
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Blog kartları */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Kategori etiketleri */
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Form stilleri */
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Buton stilleri */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2563EB;
    transform: translateY(-1px);
}

/* Mesaj stilleri */
.message-success {
    border-left-color: var(--success-color);
}

.message-error {
    border-left-color: var(--error-color);
}

.message-warning {
    border-left-color: var(--warning-color);
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Loading animasyonu */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Admin panel stilleri */
.admin-sidebar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563EB 100%);
}

.admin-content {
    background-color: #f8fafc;
}

/* Tablo stilleri */
.table-responsive {
    overflow-x: auto;
}

.table th {
    background-color: #f1f5f9;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Modal stilleri */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Pagination stilleri */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    color: #6b7280;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
} 