/* ═══════════════════════════════════════════════════════════════
olukalan.com — Köy Sıcaklığı Design System
Fonts: Lora (display) + Nunito (body)
═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Nunito:wght@400;500;600;700&display=swap');
/* ── CSS Değişkenleri ─────────────────────────────────────────── */
:root {
/* Marka renkleri */
--kiremit:        #C85A2E;
--kiremit-hover:  #A8431F;
--kiremit-light:  #FBEEE8;
--zeytin:         #4E7C59;
--zeytin-light:   #EAF2EC;
--bal:            #D4A843;
--bal-light:      #FDF6E3;
/* Sistem renkleri */
--success:   #28A745;
--danger:    #DC3545;
--warning:   #FFC107;
--info:      #0EA5E9;
/* Boyutlar */
--nav-h:     64px;
--radius-sm: 6px;
--radius:    10px;
--radius-lg: 16px;
--radius-xl: 24px;
/* Geçişler */
--transition: 0.2s ease;
--transition-slow: 0.35s cubic-bezier(.4,0,.2,1);
/* Gölgeler */
--shadow-sm: 0 1px 4px rgba(44,24,16,.08);
--shadow:    0 4px 16px rgba(44,24,16,.10);
--shadow-lg: 0 8px 32px rgba(44,24,16,.14);
--shadow-xl: 0 16px 48px rgba(44,24,16,.18);
}
/* ── AYDINLIK TEMA (varsayılan) ──────────────────────────────── */
:root, [data-theme="light"] {
--bg:           #F7F3EE;
--bg-card:      #FFFFFF;
--bg-subtle:    #EFE9E1;
--bg-nav:       rgba(247,243,238,.94);
--bg-hover:     #EDE5DB;
--text:         #2B1D14;
--text-muted:   #7B6557;
--text-faint:   #A8948A;
--border:       #DDD4C8;
--border-light: #EDE5DB;
--scrollbar-bg:    #EFE9E1;
--scrollbar-thumb: #C4A898;
color-scheme: light;
}
/* ── KARANLIK TEMA ────────────────────────────────────────────── */
[data-theme="dark"] {
--bg:           #1A1512;
--bg-card:      #231E1A;
--bg-subtle:    #2E2722;
--bg-nav:       rgba(26,21,18,.94);
--bg-hover:     #3A302A;
--text:         #F0E8DE;
--text-muted:   #9E8B7C;
--text-faint:   #6E5E55;
--border:       #3C3430;
--border-light: #2E2722;
--shadow-sm: 0 1px 4px rgba(0,0,0,.3);
--shadow:    0 4px 16px rgba(0,0,0,.4);
--shadow-lg: 0 8px 32px rgba(0,0,0,.5);
--scrollbar-bg:    #2E2722;
--scrollbar-thumb: #5A4A42;
color-scheme: dark;
}
/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
font-size: 16px;
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
scrollbar-width: thin;
}
body {
font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
background-color: var(--bg);
color: var(--text);
line-height: 1.65;
min-height: 100vh;
transition: background-color var(--transition-slow), color var(--transition-slow);
display: flex;
flex-direction: column;
}
/* ── Tipografi ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
font-family: 'Lora', Georgia, serif;
font-weight: 700;
line-height: 1.3;
color: var(--text);
letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p      { margin-bottom: 1em; color: var(--text); }
a      { color: var(--kiremit); text-decoration: none; transition: color var(--transition); }
a:hover{ color: var(--kiremit-hover); }
strong { font-weight: 700; }
em     { font-style: italic; font-family: 'Lora', serif; }
small  { font-size: .85em; color: var(--text-muted); }
hr {
border: none;
border-top: 1px solid var(--border);
margin: 1.5rem 0;
}
/* ── Layout ───────────────────────────────────────────────────── */
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1440px; }
main { flex: 1; padding-top: calc(var(--nav-h) + 24px); }
/* ── NAVİGASYON BAR ──────────────────────────────────────────── */
.navbar {
position: fixed;
top: 0; left: 0; right: 0;
height: var(--nav-h);
background: var(--bg-nav);
backdrop-filter: blur(16px) saturate(1.4);
-webkit-backdrop-filter: blur(16px) saturate(1.4);
border-bottom: 1px solid var(--border-light);
z-index: 1000;
transition: box-shadow var(--transition);
}
.navbar.is-scrolled {
box-shadow: var(--shadow);
}
.navbar__inner {
display: flex;
align-items: center;
height: 100%;
gap: 8px;
}
/* Logo */
.navbar__logo {
display: flex;
align-items: center;
flex-shrink: 0;
margin-right: 8px;
color: var(--text);
}
.navbar__logo svg {
height: 36px;
width: auto;
}
/* Ana menü */
.navbar__menu {
display: flex;
align-items: center;
gap: 2px;
list-style: none;
flex: 1;
}
.navbar__menu a {
display: flex;
align-items: center;
gap: 5px;
padding: 6px 11px;
border-radius: 8px;
color: var(--text-muted);
font-size: .9rem;
font-weight: 600;
font-family: 'Nunito', sans-serif;
transition: background var(--transition), color var(--transition);
white-space: nowrap;
}
.navbar__menu a:hover,
.navbar__menu a.is-active {
background: var(--bg-hover);
color: var(--text);
}
.navbar__menu a.is-active {
color: var(--kiremit);
}
/* Sağ aksiyonlar */
.navbar__actions {
display: flex;
align-items: center;
gap: 6px;
margin-left: auto;
flex-shrink: 0;
}
/* Tema toggle butonu */
.btn-theme {
width: 38px; height: 38px;
border: none;
background: var(--bg-subtle);
border-radius: 10px;
display: grid;
place-items: center;
cursor: pointer;
color: var(--text-muted);
transition: background var(--transition), color var(--transition), transform .15s;
flex-shrink: 0;
}
.btn-theme:hover {
background: var(--bg-hover);
color: var(--text);
transform: rotate(15deg);
}
.btn-theme .icon-sun  { display: none; }
.btn-theme .icon-moon { display: block; }
[data-theme="dark"] .btn-theme .icon-sun  { display: block; }
[data-theme="dark"] .btn-theme .icon-moon { display: none; }
/* Bildirim butonu */
.btn-notifications {
position: relative;
width: 38px; height: 38px;
border: none;
background: var(--bg-subtle);
border-radius: 10px;
display: grid;
place-items: center;
cursor: pointer;
color: var(--text-muted);
transition: background var(--transition), color var(--transition);
text-decoration: none;
}
.btn-notifications:hover {
background: var(--bg-hover);
color: var(--text);
}
.notif-badge {
position: absolute;
top: 5px; right: 5px;
min-width: 16px;
height: 16px;
background: var(--danger);
color: #fff;
font-size: .65rem;
font-weight: 700;
border-radius: 99px;
display: flex;
align-items: center;
justify-content: center;
padding: 0 3px;
line-height: 1;
border: 2px solid var(--bg-nav);
animation: pulse-badge .5s ease;
}
@keyframes pulse-badge {
0%   { transform: scale(0); opacity: 0; }
70%  { transform: scale(1.2); }
100% { transform: scale(1); opacity: 1; }
}
/* Kullanıcı menüsü */
.user-menu {
position: relative;
}
.user-menu__trigger {
display: flex;
align-items: center;
gap: 8px;
padding: 4px 8px 4px 4px;
border: 1.5px solid var(--border);
border-radius: 12px;
background: var(--bg-card);
cursor: pointer;
transition: border-color var(--transition), box-shadow var(--transition);
color: var(--text);
}
.user-menu__trigger:hover {
border-color: var(--kiremit);
box-shadow: 0 0 0 3px rgba(200,90,46,.12);
}
.user-menu__avatar {
width: 30px; height: 30px;
border-radius: 8px;
background: var(--kiremit-light);
object-fit: cover;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.user-menu__avatar--placeholder {
font-size: .85rem;
font-weight: 700;
color: var(--kiremit);
}
.user-menu__name {
font-size: .88rem;
font-weight: 700;
max-width: 100px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.user-menu__role {
display: flex;
align-items: center;
}
.user-menu__caret {
color: var(--text-faint);
transition: transform var(--transition);
flex-shrink: 0;
}
.user-menu.is-open .user-menu__caret {
transform: rotate(180deg);
}
/* Dropdown */
.user-menu__dropdown {
position: absolute;
top: calc(100% + 8px);
right: 0;
min-width: 220px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-xl);
padding: 8px;
opacity: 0;
visibility: hidden;
transform: translateY(-8px) scale(.97);
transform-origin: top right;
transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
z-index: 100;
}
.user-menu.is-open .user-menu__dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0) scale(1);
}
.user-menu__header {
padding: 8px 10px 12px;
border-bottom: 1px solid var(--border-light);
margin-bottom: 6px;
}
.user-menu__header-name {
font-weight: 700;
font-size: .95rem;
display: flex;
align-items: center;
gap: 5px;
}
.user-menu__header-email {
font-size: .78rem;
color: var(--text-muted);
margin-top: 2px;
}
.user-menu__item {
display: flex;
align-items: center;
gap: 9px;
padding: 8px 10px;
border-radius: 8px;
color: var(--text-muted);
font-size: .88rem;
font-weight: 600;
transition: background var(--transition), color var(--transition);
cursor: pointer;
}
.user-menu__item:hover {
background: var(--bg-hover);
color: var(--text);
text-decoration: none;
}
.user-menu__item--danger {
color: var(--danger);
}
.user-menu__item--danger:hover {
background: rgba(220,53,69,.08);
color: var(--danger);
}
.user-menu__divider {
height: 1px;
background: var(--border-light);
margin: 6px 0;
}
/* Giriş butonları (misafir) */
.btn-login {
padding: 7px 16px;
border-radius: 10px;
font-size: .88rem;
font-weight: 700;
font-family: 'Nunito', sans-serif;
cursor: pointer;
transition: all var(--transition);
text-decoration: none;
white-space: nowrap;
}
.btn-login--ghost {
background: transparent;
border: 1.5px solid var(--border);
color: var(--text-muted);
}
.btn-login--ghost:hover {
border-color: var(--kiremit);
color: var(--kiremit);
}
.btn-login--primary {
background: var(--kiremit);
border: 1.5px solid var(--kiremit);
color: #fff;
}
.btn-login--primary:hover {
background: var(--kiremit-hover);
border-color: var(--kiremit-hover);
color: #fff;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(200,90,46,.3);
}
/* Mobil hamburger */
.navbar__hamburger {
display: none;
width: 38px; height: 38px;
border: none;
background: var(--bg-subtle);
border-radius: 10px;
cursor: pointer;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 5px;
color: var(--text-muted);
}
.navbar__hamburger span {
display: block;
width: 20px;
height: 2px;
background: currentColor;
border-radius: 2px;
transition: transform var(--transition), opacity var(--transition);
}
/* Arama */
.search-bar {
position: relative;
max-width: 220px;
}
.search-bar input {
width: 100%;
padding: 7px 12px 7px 36px;
border: 1.5px solid var(--border);
border-radius: 10px;
background: var(--bg-subtle);
color: var(--text);
font-size: .88rem;
font-family: 'Nunito', sans-serif;
transition: border-color var(--transition), background var(--transition), width var(--transition);
outline: none;
}
.search-bar input:focus {
border-color: var(--kiremit);
background: var(--bg-card);
box-shadow: 0 0 0 3px rgba(200,90,46,.1);
}
.search-bar__icon {
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
color: var(--text-faint);
pointer-events: none;
}
/* ── ROL ROZET / İKONLAR ─────────────────────────────────────── */
.role-icon {
display: inline-block;
vertical-align: middle;
flex-shrink: 0;
}
.role-badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
border-radius: 99px;
font-size: .72rem;
font-weight: 700;
letter-spacing: .03em;
white-space: nowrap;
}
.role-badge--1 { background: rgba(245,158,11,.15); color: #B45309; }
.role-badge--2 { background: rgba(99,102,241,.15);  color: #4338CA; }
.role-badge--3 { background: rgba(16,185,129,.15);  color: #065F46; }
.role-badge--4 { background: rgba(59,130,246,.15);  color: #1D4ED8; }
.role-badge--5 { background: var(--bg-subtle);      color: var(--text-muted); }
[data-theme="dark"] .role-badge--1 { background: rgba(245,158,11,.2); color: #FCD34D; }
[data-theme="dark"] .role-badge--2 { background: rgba(99,102,241,.2);  color: #A5B4FC; }
[data-theme="dark"] .role-badge--3 { background: rgba(16,185,129,.2);  color: #6EE7B7; }
[data-theme="dark"] .role-badge--4 { background: rgba(59,130,246,.2);  color: #93C5FD; }
[data-theme="dark"] .role-badge--5 { background: var(--bg-subtle);     color: var(--text-muted); }
/* ── BUTONLAR ─────────────────────────────────────────────────── */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 9px 20px;
border-radius: 10px;
font-size: .9rem;
font-weight: 700;
font-family: 'Nunito', sans-serif;
cursor: pointer;
border: none;
transition: all var(--transition);
text-decoration: none;
white-space: nowrap;
line-height: 1;
}
.btn--primary {
background: var(--kiremit);
color: #fff;
}
.btn--primary:hover {
background: var(--kiremit-hover);
color: #fff;
transform: translateY(-1px);
box-shadow: 0 4px 14px rgba(200,90,46,.35);
}
.btn--secondary {
background: var(--zeytin);
color: #fff;
}
.btn--secondary:hover {
background: #3d6447;
color: #fff;
transform: translateY(-1px);
}
.btn--ghost {
background: transparent;
border: 1.5px solid var(--border);
color: var(--text-muted);
}
.btn--ghost:hover {
border-color: var(--kiremit);
color: var(--kiremit);
background: var(--kiremit-light);
}
.btn--sm { padding: 6px 14px; font-size: .82rem; border-radius: 8px; }
.btn--lg { padding: 12px 28px; font-size: 1rem; border-radius: 12px; }
/* ── KARTLAR ──────────────────────────────────────────────────── */
.card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
overflow: hidden;
transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card:hover {
box-shadow: var(--shadow-lg);
border-color: var(--border);
transform: translateY(-2px);
}
.card__cover {
width: 100%;
aspect-ratio: 16/9;
object-fit: cover;
background: var(--bg-subtle);
display: block;
}
.card__cover--placeholder {
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, var(--kiremit-light), var(--zeytin-light));
color: var(--text-faint);
}
.card__body {
padding: 18px;
}
.card__category {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: .75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: .05em;
color: var(--kiremit);
margin-bottom: 8px;
}
.card__title {
font-family: 'Lora', serif;
font-size: 1.05rem;
font-weight: 700;
line-height: 1.35;
margin-bottom: 8px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.card__excerpt {
font-size: .88rem;
color: var(--text-muted);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
margin-bottom: 14px;
}
.card__meta {
display: flex;
align-items: center;
gap: 12px;
font-size: .78rem;
color: var(--text-faint);
}
.card__meta-item {
display: flex;
align-items: center;
gap: 4px;
}
/* ── GRID LAYOUT ─────────────────────────────────────────────── */
.grid-posts {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.grid-stats {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 16px;
}
/* ── HERO / ANA SAYFA ─────────────────────────────────────────── */
.hero {
position: relative;
padding: 56px 0 48px;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,90,46,.08) 0%, transparent 70%);
pointer-events: none;
}
[data-theme="dark"] .hero::before {
background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,168,67,.06) 0%, transparent 70%);
}
.hero__eyebrow {
display: inline-flex;
align-items: center;
gap: 8px;
background: var(--kiremit-light);
color: var(--kiremit);
padding: 5px 14px;
border-radius: 99px;
font-size: .8rem;
font-weight: 700;
margin-bottom: 16px;
}
[data-theme="dark"] .hero__eyebrow {
background: rgba(200,90,46,.15);
color: #E8855A;
}
.hero__title {
font-size: clamp(2rem, 5vw, 3.2rem);
font-weight: 700;
line-height: 1.15;
letter-spacing: -.03em;
margin-bottom: 16px;
}
.hero__title em {
color: var(--kiremit);
font-style: normal;
}
.hero__subtitle {
font-size: 1.1rem;
color: var(--text-muted);
max-width: 540px;
margin-bottom: 28px;
font-weight: 400;
}
.hero__cta {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
/* ── STAT KARTLARI ────────────────────────────────────────────── */
.stat-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 20px;
display: flex;
align-items: center;
gap: 14px;
transition: box-shadow var(--transition);
}
.stat-card:hover {
box-shadow: var(--shadow);
}
.stat-card__icon {
width: 46px; height: 46px;
border-radius: 12px;
background: var(--kiremit-light);
display: grid;
place-items: center;
color: var(--kiremit);
flex-shrink: 0;
}
.stat-card__icon--green  { background: var(--zeytin-light); color: var(--zeytin); }
.stat-card__icon--gold   { background: var(--bal-light);    color: var(--bal); }
.stat-card__icon--blue   { background: rgba(14,165,233,.1); color: var(--info); }
.stat-card__num {
font-family: 'Lora', serif;
font-size: 1.6rem;
font-weight: 700;
line-height: 1;
color: var(--text);
}
.stat-card__label {
font-size: .8rem;
color: var(--text-muted);
margin-top: 2px;
font-weight: 600;
}
/* ── BÖLÜM BAŞLIKLARI ────────────────────────────────────────── */
.section-header {
display: flex;
align-items: baseline;
justify-content: space-between;
margin-bottom: 20px;
gap: 12px;
flex-wrap: wrap;
}
.section-title {
font-family: 'Lora', serif;
font-size: 1.4rem;
font-weight: 700;
display: flex;
align-items: center;
gap: 8px;
}
.section-title::before {
content: '';
display: block;
width: 4px;
height: 1.4em;
background: var(--kiremit);
border-radius: 2px;
flex-shrink: 0;
}
.section-link {
font-size: .85rem;
font-weight: 700;
color: var(--kiremit);
display: flex;
align-items: center;
gap: 4px;
white-space: nowrap;
}
.section-link:hover {
color: var(--kiremit-hover);
}
/* ── FLASH MESAJLARI ─────────────────────────────────────────── */
.flash-wrap {
position: fixed;
top: calc(var(--nav-h) + 12px);
right: 16px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 8px;
pointer-events: none;
}
.flash {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 12px 16px;
border-radius: var(--radius);
background: var(--bg-card);
border: 1px solid var(--border);
box-shadow: var(--shadow-lg);
min-width: 280px;
max-width: 380px;
animation: slideIn .3s ease;
pointer-events: all;
transition: opacity .3s, transform .3s;
}
.flash--success { border-left: 4px solid var(--success); }
.flash--danger  { border-left: 4px solid var(--danger); }
.flash--warning { border-left: 4px solid var(--warning); }
.flash--info    { border-left: 4px solid var(--info); }
.flash__text { font-size: .88rem; font-weight: 600; flex: 1; }
@keyframes slideIn {
from { transform: translateX(20px); opacity: 0; }
to   { transform: translateX(0);    opacity: 1; }
}
/* ── FOOTER ───────────────────────────────────────────────────── */
.footer {
margin-top: auto;
border-top: 1px solid var(--border-light);
background: var(--bg-card);
padding: 40px 0 24px;
}
.footer__grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 32px;
margin-bottom: 32px;
}
.footer__brand-desc {
font-size: .88rem;
color: var(--text-muted);
margin-top: 10px;
max-width: 280px;
line-height: 1.6;
}
.footer__heading {
font-size: .78rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: .08em;
color: var(--text-faint);
margin-bottom: 12px;
}
.footer__links {
list-style: none;
display: flex;
flex-direction: column;
gap: 8px;
}
.footer__links a {
font-size: .88rem;
color: var(--text-muted);
font-weight: 500;
transition: color var(--transition);
}
.footer__links a:hover {
color: var(--kiremit);
}
.footer__bottom {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 20px;
border-top: 1px solid var(--border-light);
font-size: .8rem;
color: var(--text-faint);
flex-wrap: wrap;
gap: 8px;
}
.footer__lang-switcher {
display: flex;
gap: 6px;
}
.footer__lang-btn {
padding: 3px 10px;
border: 1px solid var(--border);
border-radius: 6px;
font-size: .78rem;
font-weight: 700;
color: var(--text-muted);
background: transparent;
cursor: pointer;
transition: all var(--transition);
text-decoration: none;
}
.footer__lang-btn:hover,
.footer__lang-btn.is-active {
border-color: var(--kiremit);
color: var(--kiremit);
background: var(--kiremit-light);
}
/* ── YARDIMCI ─────────────────────────────────────────────────── */
.text-muted  { color: var(--text-muted) !important; }
.text-faint  { color: var(--text-faint) !important; }
.text-kiremit{ color: var(--kiremit) !important; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-0 { margin-top: 0; }    .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem;} .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }  .mb-1 { margin-bottom: .5rem; }  .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }     .mb-4 { margin-bottom: 2rem; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-1        { gap: .5rem; }
.gap-2        { gap: 1rem; }
.flex-wrap    { flex-wrap: wrap; }
.visually-hidden {
position: absolute; width: 1px; height: 1px;
padding: 0; margin: -1px; overflow: hidden;
clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* ── MOBİL ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
.navbar__menu {
display: none;
position: absolute;
top: var(--nav-h);
left: 0; right: 0;
background: var(--bg-nav);
backdrop-filter: blur(16px);
border-bottom: 1px solid var(--border);
flex-direction: column;
padding: 8px 16px 16px;
gap: 2px;
}
.navbar__menu.is-open {
display: flex;
animation: slideDown .2s ease;
}
.navbar__menu a {
padding: 10px 14px;
font-size: .95rem;
}
.navbar__hamburger {
display: flex;
}
.search-bar {
display: none;
}
}
@media (max-width: 768px) {
.footer__grid {
grid-template-columns: 1fr 1fr;
}
.grid-posts {
grid-template-columns: 1fr;
}
.grid-stats {
grid-template-columns: 1fr 1fr;
}
.user-menu__name { display: none; }
.user-menu__role { display: none; }
}
@media (max-width: 480px) {
.footer__grid {
grid-template-columns: 1fr;
}
.grid-stats {
grid-template-columns: 1fr 1fr;
}
.btn-login--ghost { display: none; }
}
@keyframes slideDown {
from { opacity: 0; transform: translateY(-8px); }
to   { opacity: 1; transform: translateY(0); }
}
/* ── SAYFA GEÇİŞ ANİMASYONU ────────────────────────────────── */
@keyframes fadeUp {
from { opacity: 0; transform: translateY(12px); }
to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
animation: fadeUp .4s ease both;
}
.animate-fade-up-1 { animation-delay: .05s; }
.animate-fade-up-2 { animation-delay: .1s; }
.animate-fade-up-3 { animation-delay: .15s; }
.animate-fade-up-4 { animation-delay: .2s; }

/* ── POST BODY ──────────────────────────────────────────────────── */
.post-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.post-body p    { margin-bottom: 1.2em; }
.post-body h2   { font-size: 1.4rem; margin: 2em 0 .6em; }
.post-body h3   { font-size: 1.1rem; margin: 1.5em 0 .5em; }
.post-body a    { color: var(--kiremit); text-decoration: underline; }
.post-body blockquote {
  border-left: 4px solid var(--kiremit);
  padding: 8px 16px;
  margin: 1.2em 0;
  background: var(--bg-subtle);
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
  font-style: italic;
}
.post-body code {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .9em;
}
.post-body pre {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 1.2em;
}

/* ── SIDEBAR ────────────────────────────────────────────────────── */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
}

/* ── FORM INPUT GLOBAL ──────────────────────────────────────────── */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  border-color: var(--kiremit) !important;
  box-shadow: 0 0 0 3px rgba(200,90,46,.1);
}

/* ── POST SAYFASI RESPONSİF ─────────────────────────────────────── */
@media (max-width: 768px) {
  .posts-sidebar { display: none; }
}
