/* BASE - Tüm sayfalarda yüklenir */
:root {
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-border: #e2e8f0;
    --color-heading: #1e293b;
    --color-text: #334155;
    --color-text-muted: #64748b;
    --container: 1200px;
    --max-width: 800px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --transition: 0.2s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header-main { padding: 32px 0; }
.header-main .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.site-branding { text-align: left; }
.site-logo-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}
.site-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1;
}
.site-tagline {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-body);
    letter-spacing: 0.3px;
}

/* Main Content */
#main-content { min-height: 60vh; }

/* Footer */
.site-footer {
    background: var(--blue-900);
    padding: 24px 0;
    margin-top: 60px;
}
.footer-bottom { text-align: center; }
.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* Buttons - EFEKTLERSİZ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--blue-600);
    color: #fff;
}
.btn-primary:hover {
    background: var(--blue-700);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}
.btn-outline:hover {
    border-color: var(--blue-600);
    color: var(--blue-600);
}
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 400px;
    pointer-events: auto;
    animation: toastIn 0.3s ease;
    border-left: 4px solid;
}
.toast.toast-success { border-left-color: #22c55e; }
.toast.toast-error   { border-left-color: #ef4444; }
.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 1.1rem;
}
.toast-success .toast-icon { background: #dcfce7; color: #22c55e; }
.toast-error .toast-icon   { background: #fee2e2; color: #ef4444; }
.toast-message {
    flex: 1;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
}
.toast-close {
    background: transparent;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    font-size: 1.3rem;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition);
}
.toast-close:hover { color: var(--gray-600); }
.toast.toast-hiding { animation: toastOut 0.3s ease forwards; }

@keyframes toastIn {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(400px); opacity: 0; }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.pagination ul {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination li a {
    display: block;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.pagination li.active a,
.pagination li a:hover {
    background: var(--blue-600);
    color: #fff;
    border-color: var(--blue-600);
}

/* No content states */
.no-posts,
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .site-logo { font-size: 1.5rem; }
    .site-tagline { font-size: 0.72rem; }
    .toast-container { right: 10px; left: 10px; }
    .toast { min-width: unset; max-width: unset; }
}
@media (max-width: 540px) {
    .pagination ul { flex-wrap: wrap; justify-content: center; }
}
