/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --black: #1a1a1a;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #999;
  --gray-600: #555;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --header-h: 64px;
}
body { font-family: 'Inter', 'Segoe UI', sans-serif; color: var(--black); background: #f8f8f8; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

/* ── HEADER ── */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1400px; margin: 0 auto;
  height: 100%; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.4rem; }
.logo-badge { background: var(--primary); color: white; padding: 4px 8px; border-radius: 8px; font-size: 1.1rem; }
.logo-text { color: var(--black); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-btn {
  background: none; border: 1px solid transparent; border-radius: var(--radius);
  padding: 8px 16px; font-size: 0.875rem; font-weight: 500; transition: all 0.15s;
}
.nav-btn:hover { background: var(--gray-100); }
.nav-btn.active { border-color: var(--black); background: var(--black); color: white; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--radius); padding: 8px 18px; font-size: 0.875rem; font-weight: 600; border: none; transition: all 0.15s; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: none; border: 1.5px solid var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: white; }
.btn-dark { background: var(--black); color: white; }
.btn-dark:hover { background: #333; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.btn-lg { padding: 12px 24px; font-size: 0.95rem; }

/* ── MOBILE NAV ── */
.mobile-menu-btn { display: none; background: none; border: none; padding: 8px; }
@media (max-width: 768px) {
  .nav { display: none; }
  .header-actions { gap: 6px; }
  #user-header-area .btn-outline,
  #user-header-area .btn-dark { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav.open { display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; background: white; padding: 16px; border-bottom: 1px solid var(--gray-200); z-index: 99; }
  .nav.open .mobile-user-links { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--gray-200); margin-top: 8px; }
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #2d2d2d 100%);
  color: white; padding: 64px 24px; text-align: center;
}
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.hero p { font-size: 1.1rem; opacity: 0.8; margin-bottom: 32px; }
.hero-cats { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-cat {
  background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius); padding: 20px 40px; text-align: center;
  transition: all 0.2s; min-width: 200px;
}
.hero-cat:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.hero-cat-icon { font-size: 2rem; margin-bottom: 8px; }
.hero-cat-title { font-size: 1.1rem; font-weight: 700; }
.hero-cat-sub { font-size: 0.8rem; opacity: 0.7; margin-top: 4px; }

/* ── HERO SLIDER ── */
.hero-slider { position: relative; width: 100%; height: 520px; overflow: hidden; }
@media (max-width: 768px) { .hero-slider { height: 380px; } }

.slider-track { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.slide {
  min-width: 100%; height: 100%;
  background-size: cover; background-position: center;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%);
}
.slide-content {
  position: relative; z-index: 2;
  text-align: center; color: white; padding: 0 24px; max-width: 700px;
}
.slide-content h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.slide-content p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 28px; }
.slide-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-outline-white { background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.8); color: white; backdrop-filter: blur(4px); }
.btn-outline-white:hover { background: white; color: var(--black); }

@media (max-width: 768px) {
  .hero-slider { height: 320px; }
  .slide-overlay { background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); }
  .slide-content { position: absolute; bottom: 0; left: 0; right: 0; text-align: left; padding: 20px 16px; top: auto; transform: none; }
  .slide-content h1 { font-size: 1.3rem; margin-bottom: 6px; }
  .slide-content p { font-size: 0.82rem; margin-bottom: 12px; opacity: 0.9; }
  .slide-btns { justify-content: flex-start; }
  .btn-lg { padding: 9px 16px; font-size: 0.85rem; }
}

/* Oklar */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2); border: none; color: white;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem;
  cursor: pointer; z-index: 10; backdrop-filter: blur(4px);
  transition: background 0.2s; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.slider-arrow:hover { background: rgba(255,255,255,0.4); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
@media (max-width: 480px) { .slider-arrow { display: none; } }

/* Noktalar */
.slider-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.2s; }
.dot.active { background: white; transform: scale(1.3); }

/* ── STATS ── */
.stats { background: white; padding: 32px 24px; border-bottom: 1px solid var(--gray-200); }
.stats-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--gray-600); margin-top: 4px; }

/* ── PAGE LAYOUT ── */
.page-container { max-width: 1400px; margin: 0 auto; padding: 24px; display: flex; gap: 24px; }

/* ── SIDEBAR FILTER ── */
.sidebar {
  width: 280px; flex-shrink: 0;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
  height: fit-content; position: sticky; top: 80px;
}
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sidebar-header h3 { font-size: 1.1rem; font-weight: 700; }
.clear-btn { background: none; border: none; color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.clear-btn:hover { text-decoration: underline; }

.filter-group { border-bottom: 1px solid var(--gray-200); padding: 14px 0; }
.filter-group:last-child { border-bottom: none; }
.filter-label { font-size: 0.8rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.filter-toggle { transition: transform 0.2s; }
.filter-toggle.open { transform: rotate(180deg); }
.filter-options { display: flex; flex-direction: column; gap: 6px; max-height: 180px; overflow-y: auto; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; cursor: pointer; transition: background 0.1s; font-size: 0.875rem; }
.filter-option:hover { background: var(--gray-100); }
.filter-option input[type=checkbox] { accent-color: var(--primary); width: 15px; height: 15px; }
.filter-option-count { margin-left: auto; font-size: 0.75rem; color: var(--gray-400); }

.filter-range { display: flex; gap: 8px; align-items: center; }
.filter-range input { flex: 1; border: 1.5px solid var(--gray-200); border-radius: 8px; padding: 7px 10px; font-size: 0.85rem; outline: none; width: 100%; }
.filter-range input:focus { border-color: var(--black); }
.filter-range span { font-size: 0.8rem; color: var(--gray-400); flex-shrink: 0; }

.filter-switch { display: flex; justify-content: space-between; align-items: center; }
.switch { position: relative; width: 40px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider { position: absolute; inset: 0; background: var(--gray-200); border-radius: 11px; transition: 0.2s; cursor: pointer; }
.switch-slider:before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: 0.2s; }
input:checked + .switch-slider { background: var(--primary); }
input:checked + .switch-slider:before { transform: translateX(18px); }

.apply-btn { width: 100%; margin-top: 16px; }

/* ── LISTING ── */
.listing-container { flex: 1; min-width: 0; }
.listing-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.listing-count { font-size: 1rem; }
.listing-count b { font-weight: 800; font-size: 1.2rem; }
.sort-select { border: 1.5px solid var(--gray-200); border-radius: 10px; padding: 8px 12px; font-size: 0.875rem; background: white; outline: none; cursor: pointer; }
.sort-select:focus { border-color: var(--black); }

/* ── GRID ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

/* ── CARD ── */
.card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
  border: 1.5px solid transparent;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-color: var(--gray-200); }
.card-img { position: relative; width: 100%; height: 200px; overflow: hidden; background: var(--gray-100); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-badge { position: absolute; top: 10px; left: 10px; background: var(--primary); color: white; font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.card-badge.opsiyon { background: #2196f3; }
.card-no-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 3rem; color: var(--gray-400); }

.card-body { padding: 14px; }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.card-version { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 10px; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.spec-tag { background: var(--gray-100); border-radius: 6px; padding: 3px 8px; font-size: 0.75rem; color: var(--gray-600); display: flex; align-items: center; gap: 4px; }
.card-price { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.card-price-sub { font-size: 0.75rem; color: var(--gray-400); margin-top: 2px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--gray-200); }
.card-seller { font-size: 0.75rem; color: var(--gray-600); }
.card-date { font-size: 0.7rem; color: var(--gray-400); }

/* ── DAMAGE TAGS ── */
.damage-tags { display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.damage-tag { font-size: 0.7rem; padding: 2px 7px; border-radius: 4px; font-weight: 600; }
.damage-ok { background: #e8f5e9; color: #2e7d32; }
.damage-warn { background: #fff3e0; color: #e65100; }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--gray-600); }

/* ── PAGINATION ── */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.page-btn { border: 1.5px solid var(--gray-200); background: white; border-radius: 8px; padding: 8px 14px; font-size: 0.875rem; font-weight: 600; transition: all 0.15s; }
.page-btn:hover { background: var(--black); color: white; border-color: var(--black); }
.page-btn.active { background: var(--black); color: white; border-color: var(--black); }

/* ── DETAIL PAGE ── */
.detail-container { max-width: 1400px; margin: 0 auto; padding: 24px; }
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }

.photo-gallery { border-radius: var(--radius); overflow: hidden; background: var(--gray-100); }
.main-photo { width: 100%; height: 420px; object-fit: cover; }
.thumb-list { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.thumb { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.15s; }
.thumb.active { border-color: var(--primary); }

.detail-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; height: fit-content; position: sticky; top: 80px; }
.detail-price { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.detail-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; }
.detail-sub { color: var(--gray-600); margin-bottom: 20px; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.detail-spec { background: var(--gray-100); border-radius: 8px; padding: 10px 12px; }
.detail-spec-label { font-size: 0.72rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 3px; }
.detail-spec-val { font-size: 0.9rem; font-weight: 700; }
.contact-btn { width: 100%; margin-bottom: 10px; justify-content: center; font-size: 1rem; padding: 14px; }
.detail-seller { display: flex; align-items: center; gap: 10px; background: var(--gray-100); border-radius: 10px; padding: 12px; margin-top: 16px; }
.seller-icon { font-size: 2rem; }
.seller-name { font-weight: 700; font-size: 0.9rem; }
.seller-loc { font-size: 0.8rem; color: var(--gray-600); margin-top: 2px; }

.detail-info { margin-top: 24px; }
.detail-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.detail-desc { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; line-height: 1.7; color: var(--gray-600); }

/* ── BREADCRUMB ── */
.breadcrumb { max-width: 1400px; margin: 0 auto; padding: 16px 24px 0; font-size: 0.85rem; color: var(--gray-600); display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb-sep { color: var(--gray-400); }

/* ── TOPBAR ── */
.topbar {
  background: var(--black); color: rgba(255,255,255,0.85);
  padding: 7px 24px; font-size: 0.8rem;
}
.topbar-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; justify-content: flex-end; align-items: center; gap: 16px;
}
.topbar-phone {
  display: flex; align-items: center; gap: 6px;
  color: white; font-weight: 600; letter-spacing: 0.3px;
}
.topbar-phone svg { width: 14px; height: 14px; }

/* ── WHATSAPP FLOAT (sadece ikon) ── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: #25D366; color: white; border-radius: 50%;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.75); }
}

/* ── SOSYAL MEDYA (SOL KENAR) ── */
.social-sidebar {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%);
  z-index: 998; display: flex; flex-direction: column; gap: 0;
}
.social-btn {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: white; transition: width 0.25s, padding 0.25s; overflow: hidden;
  text-decoration: none; position: relative;
}
.social-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.social-btn span { font-size: 0.78rem; font-weight: 600; white-space: nowrap; opacity: 0; max-width: 0; overflow: hidden; transition: all 0.25s; margin-left: 0; }
.social-btn:hover span { opacity: 1; max-width: 100px; margin-left: 8px; }
.social-btn:hover { width: auto; padding: 0 16px 0 12px; border-radius: 0 8px 8px 0; }
.social-fb { background: #1877F2; }
.social-ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.social-yt { background: #FF0000; }
.social-tw { background: #000; }
@media (max-width: 768px) { .social-sidebar { display: none; } }

/* ── SECTION BAŞLIK ── */
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-title h2 { font-size: 1.4rem; font-weight: 800; }
.section-link { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.section-link:hover { text-decoration: underline; }

/* ── VİTRİN ARAÇLARI ── */
.vitrin-section { background: var(--white); padding: 48px 24px; }
.vitrin-inner { max-width: 1400px; margin: 0 auto; }
.vitrin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .vitrin-grid { grid-template-columns: repeat(2, 1fr); } }

/* Vitrin gerçek kart */
.vitrin-card { display: block; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--gray-200); background: white; transition: box-shadow 0.18s, transform 0.18s; }
.vitrin-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.12); transform: translateY(-3px); }
.vitrin-card-img { width: 100%; height: 160px; background-size: cover; background-position: center; background-color: var(--gray-100); }
.vitrin-card-body { padding: 12px; }
.vitrin-card-title { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vitrin-card-sub { font-size: 0.775rem; color: var(--gray-600); margin: 4px 0; }
.vitrin-card-price { font-weight: 800; font-size: 1rem; color: var(--primary); }

/* Vitrin placeholder */
.vitrin-placeholder { border-radius: var(--radius); overflow: hidden; border: 2px dashed var(--gray-200); background: var(--gray-100); }
.vp-img { height: 160px; background: repeating-linear-gradient(45deg, #f0f0f0, #f0f0f0 10px, #e8e8e8 10px, #e8e8e8 20px); }
.vp-label { padding: 12px; font-size: 0.8rem; color: var(--gray-400); text-align: center; font-weight: 500; }

/* ── ÖNE ÇIKAN İLANLAR ── */
.onecikar-section { background: var(--gray-100); padding: 48px 24px; }
.onecikar-inner { max-width: 1400px; margin: 0 auto; }
.onecikar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .onecikar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .onecikar-grid { grid-template-columns: 1fr; } }

/* Öne çıkan gerçek kart */
.onecikar-card { display: block; border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.18s, transform 0.18s; }
.onecikar-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.18); transform: translateY(-3px); }
.onecikar-card-img { position: relative; height: 280px; background-size: cover; background-position: center; background-color: #ccc; }
.onecikar-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.1) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: white; }
.onecikar-card-tip { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; background: var(--primary); color: white; border-radius: 4px; padding: 2px 8px; width: fit-content; margin-bottom: 6px; }
.onecikar-card-title { font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.onecikar-card-price { font-size: 1.3rem; font-weight: 800; color: #fff; margin: 4px 0; }
.onecikar-card-sub { font-size: 0.78rem; opacity: 0.8; }

/* Öne çıkan placeholder */
.onecikar-placeholder { border-radius: var(--radius); overflow: hidden; border: 2px dashed var(--gray-200); }
.op-img { height: 280px; background: repeating-linear-gradient(45deg, #f0f0f0, #f0f0f0 10px, #e8e8e8 10px, #e8e8e8 20px); }
.op-info { padding: 16px; background: white; }
.op-label { font-size: 0.85rem; color: var(--gray-400); font-weight: 500; }

/* ── FOOTER ── */
.footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 40px 24px 24px; margin-top: 60px; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .logo { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-links h4 { color: white; font-size: 0.9rem; margin-bottom: 12px; }
.footer-links a { display: block; font-size: 0.85rem; padding: 3px 0; transition: color 0.15s; }
.footer-links a:hover { color: white; }
.footer-social { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.social-icon-btn { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: white; transition: transform 0.2s, opacity 0.2s; }
.social-icon-btn:hover { transform: scale(1.15); opacity: 0.85; }
.social-icon-btn svg { width: 20px; height: 20px; }
.social-fb { background: #1877F2; }
.social-ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.social-yt { background: #FF0000; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; }

/* ── ADMIN ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--black); color: white; flex-shrink: 0; display: flex; flex-direction: column; }
.admin-sidebar-logo { padding: 24px; border-bottom: 1px solid rgba(255,255,255,0.1); font-weight: 800; font-size: 1.1rem; }
.admin-nav { flex: 1; padding: 16px 0; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; font-size: 0.875rem; transition: background 0.15s; color: rgba(255,255,255,0.7); }
.admin-nav a:hover { background: rgba(255,255,255,0.08); color: white; }
.admin-nav a.active { background: var(--primary); color: white; }
.admin-nav a svg { width: 18px; height: 18px; }
.admin-content { flex: 1; overflow-y: auto; }
.admin-header { background: white; border-bottom: 1px solid var(--gray-200); padding: 16px 28px; display: flex; justify-content: space-between; align-items: center; }
.admin-header h2 { font-size: 1.2rem; font-weight: 700; }
.admin-body { padding: 28px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.stat-card-label { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 6px; }
.stat-card-val { font-size: 2rem; font-weight: 800; }
.stat-card-val.red { color: var(--primary); }

.admin-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font-size: 0.875rem; }
.admin-table th { background: var(--gray-100); padding: 12px 16px; text-align: left; font-size: 0.8rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.4px; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }
.table-actions { display: flex; gap: 6px; }
.btn-edit { background: #e3f2fd; color: #1565c0; border: none; border-radius: 6px; padding: 5px 10px; font-size: 0.75rem; font-weight: 600; }
.btn-del { background: #ffebee; color: #c62828; border: none; border-radius: 6px; padding: 5px 10px; font-size: 0.75rem; font-weight: 600; }
.btn-edit:hover { background: #1565c0; color: white; }
.btn-del:hover { background: #c62828; color: white; }

.status-badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; }
.status-active { background: #e8f5e9; color: #2e7d32; }
.status-passive { background: #ffebee; color: #c62828; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--gray-600); }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--gray-200); border-radius: 8px;
  padding: 9px 12px; font-size: 0.9rem; outline: none; font-family: inherit;
  transition: border-color 0.15s; background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--black); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group.full { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.form-section { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 20px; }
.form-section h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-200); }
.checkbox-group { display: flex; gap: 20px; flex-wrap: wrap; }
.checkbox-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; cursor: pointer; }
.checkbox-item input { accent-color: var(--primary); width: 16px; height: 16px; }
.file-upload { border: 2px dashed var(--gray-200); border-radius: 10px; padding: 24px; text-align: center; cursor: pointer; transition: border-color 0.15s; }
.file-upload:hover { border-color: var(--black); }
.file-upload-icon { font-size: 2rem; margin-bottom: 8px; }
.file-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.file-preview img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; }

/* ── LOGIN ── */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--gray-100); }
.login-card { background: white; border-radius: var(--radius); box-shadow: 0 8px 40px rgba(0,0,0,0.12); padding: 40px; width: 360px; }
.login-logo { text-align: center; margin-bottom: 28px; }
.login-card h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.login-card p { color: var(--gray-600); font-size: 0.875rem; margin-bottom: 24px; }
.alert { padding: 10px 14px; border-radius: 8px; font-size: 0.875rem; margin-bottom: 16px; }
.alert-error { background: #ffebee; color: #c62828; }
.alert-success { background: #e8f5e9; color: #2e7d32; }

/* ── MOBILE ── */
.mobile-filter-btn { display: none; }
@media (max-width: 900px) {
  .page-container { flex-direction: column; padding: 16px; }
  .sidebar { width: 100%; position: static; }
  .sidebar.hidden-mobile { display: none; }
  .mobile-filter-btn { display: flex; }
  .hero h1 { font-size: 1.6rem; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .listing-header { flex-direction: column; align-items: flex-start; }
}

/* ── ARAMA HERO ── */
.arama-hero { background: #fff; padding: 40px 24px; position: relative; overflow: hidden; border-bottom: 1px solid var(--gray-200); }
.arama-deco { position: absolute; inset: 0; pointer-events: none; }
.arama-deco span { position: absolute; left: 0; right: 0; height: 1px; background: var(--gray-200); }
.arama-deco span:nth-child(1) { top: 20%; }
.arama-deco span:nth-child(2) { top: 50%; }
.arama-deco span:nth-child(3) { top: 80%; }
.arama-inner { max-width: 760px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.arama-inner h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.arama-inner p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 20px; }
.arama-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.arama-form select, .arama-form input { border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 10px 14px; font-size: 0.9rem; font-family: inherit; outline: none; background: #fafafa; }
.arama-form select:focus, .arama-form input:focus { border-color: var(--black); background: #fff; }
.arama-form select { width: 150px; }
.arama-form input { flex: 1; min-width: 200px; }
@media (max-width: 600px) { .arama-form { flex-direction: column; } .arama-form select, .arama-form input { width: 100%; } }

/* ── KAYAN YAZI ── */
.marquee-band { background: var(--black); color: rgba(255,255,255,0.85); padding: 13px 0; overflow: hidden; }
.marquee-wrap { overflow: hidden; }
.marquee-inner { display: flex; gap: 32px; white-space: nowrap; animation: marqueeScroll 22s linear infinite; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.marquee-inner:hover { animation-play-state: paused; }
.msep { color: var(--primary); font-size: 1rem; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── LOGOLAR ── */
.logolar-section { background: #fff; padding: 36px 24px; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.logolar-inner { max-width: 1400px; margin: 0 auto; text-align: center; }
.logolar-baslik { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-400); margin-bottom: 20px; }
.logolar-grid { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; }
.logo-slot { opacity: 0.55; transition: opacity 0.2s; }
.logo-slot:hover { opacity: 1; }
.logo-slot img { height: 36px; width: auto; object-fit: contain; }

/* ── BLOG ── */
.blog-section { background: var(--gray-100); padding: 48px 24px; }
.blog-inner { max-width: 1400px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.blog-card-img { height: 220px; background-size: cover; background-position: center; background-color: var(--gray-100); }
.blog-card-body { padding: 20px; }
.blog-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-card-ozet { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; }
.blog-card-link { font-size: 0.82rem; font-weight: 700; color: var(--primary); }
.blog-placeholder { height: 360px; border-radius: var(--radius); border: 2px dashed var(--gray-200); background: #fff; }
