/* =========================================================
   IŞIK EMLAK - Ana Stil Dosyası
   ========================================================= */

:root {
  /* Logo temelli koyu yeşil & adaçayı yeşili paleti */
  --navy: #0E3D28;
  --navy-light: #16543A;
  --gold: #A6C79B;
  --gold-light: #B9D6AF;
  --bg-soft: #F5F7F0;
  --white: #FFFFFF;
  --text: #13241B;
  --text-muted: #5b6b60;
  --border: #dfe6d8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 61, 40, 0.10);
  --shadow-lg: 0 20px 50px rgba(14, 61, 40, 0.16);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-soft);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.25;
}

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-white { background: var(--white); }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

.section-header { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-header h2 { font-size: clamp(28px, 4vw, 40px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #8fb382; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- HEADER ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img { max-height: 48px; }
.logo .accent { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a.nav-link {
  color: rgba(255,255,255,0.85);
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}
.main-nav a.nav-link:hover,
.main-nav a.nav-link.active { color: var(--gold); }

.header-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a2c1c 100%);
  color: var(--white);
  padding: 90px 0 160px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(166,199,155,0.12);
  border: 1px solid rgba(166,199,155,0.4);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5.5vw, 58px);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.hero-ring {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 2px solid rgba(166,199,155,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px dashed rgba(166,199,155,0.2);
}
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.hero-stats .stat-num { font-family: var(--font-serif); font-size: 32px; color: var(--gold); font-weight: 700; }
.hero-stats .stat-label { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ---------- ARAMA KUTUSU ---------- */
.search-box-wrap { margin-top: -110px; position: relative; z-index: 5; }
.search-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 30px;
}
.search-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.search-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-muted);
}
.search-tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  align-items: end;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; }
.form-control {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
  width: 100%;
}
.form-control:focus { outline: none; border-color: var(--gold); }
textarea.form-control { resize: vertical; min-height: 110px; }
.search-submit { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: 6px; }

/* ---------- İLAN KARTLARI ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eee; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.slider-track { display: flex; height: 100%; transition: transform 0.35s ease; }
.slider-track img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(14,61,40,0.55);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  font-size: 16px;
}
.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}
.slider-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.slider-dots span.active { background: var(--gold); width: 18px; border-radius: 4px; }
.photo-counter {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(14,61,40,0.7);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  z-index: 3;
}
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 3; }
.badge { padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; }
.badge-new { background: var(--gold); color: var(--navy); }
.badge-type-satilik { background: var(--navy); color: var(--white); }
.badge-type-kiralik { background: #3a5a70; color: var(--white); }

.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-category { font-size: 12px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.card-title { font-size: 18px; margin: 0; }
.card-title a { color: var(--navy); }
.card-location { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.card-features { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.card-features span { display: flex; align-items: center; gap: 5px; font-weight: 600; color: var(--text); }
.card-price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--navy); }

/* ---------- HİZMETLER ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.service-card:hover { transform: translateY(-5px); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 19px; }
.service-card p { margin: 0; font-size: 14.5px; }

/* ---------- CTA / DEĞERLEME ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--navy), #082217);
  color: var(--white);
  border-radius: 28px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.cta-section h2 { color: var(--white); font-size: clamp(26px, 4vw, 36px); }
.cta-section h2 .accent { color: var(--gold); }
.cta-form { background: var(--white); border-radius: var(--radius); padding: 28px; }
.cta-form .form-group { margin-bottom: 14px; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { font-family: var(--font-serif); font-size: 24px; color: var(--white); margin-bottom: 14px; }
.footer-logo .accent { color: var(--gold); }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 999;
  color: var(--white);
  font-size: 28px;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- SAYFA HERO (iç sayfalar) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0 50px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4vw, 42px); }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 10px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- FİLTRE SIDEBAR (arama sayfası) ---------- */
.listing-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.filter-panel { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 104px; }
.filter-panel h3 { font-size: 17px; margin-bottom: 18px; }
.filter-panel .form-group { margin-bottom: 16px; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
.results-count { color: var(--text-muted); font-size: 14px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--white);
  border: 1px solid var(--border); color: var(--text);
  font-weight: 600;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* ---------- İLAN DETAY ---------- */
.detail-gallery { border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow); }
.gallery-main { position: relative; aspect-ratio: 16/9; background: #ddd; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 6px; }
.gallery-thumbs img { width: 100px; height: 72px; object-fit: cover; border-radius: 10px; cursor: pointer; opacity: 0.6; flex-shrink: 0; border: 2px solid transparent; }
.gallery-thumbs img.active { opacity: 1; border-color: var(--gold); }

.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.detail-price { font-family: var(--font-serif); font-size: 32px; color: var(--navy); font-weight: 700; }
.detail-meta { display: flex; gap: 18px; color: var(--text-muted); font-size: 14px; flex-wrap: wrap; margin-bottom: 20px; }

.feature-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.feature-row { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 14px; }
.feature-row span:first-child { color: var(--text-muted); }
.feature-row span:last-child { font-weight: 600; color: var(--navy); }

.agent-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); text-align: center; }
.agent-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-family: var(--font-serif); font-size: 28px; }
.agent-card .btn { width: 100%; margin-top: 10px; }

.map-embed { border-radius: var(--radius); overflow: hidden; margin: 30px 0; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 350px; border: 0; display: block; }

/* ---------- HAKKIMIZDA / GENEL SAYFA ---------- */
.content-block { max-width: 820px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.about-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.about-card h3 { font-size: 19px; }

/* ---------- İLETİŞİM ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-soft); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-form-card { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14.5px; }
.alert-success { background: #e6f4ea; color: #1e7e34; border: 1px solid #b7e2c3; }
.alert-error { background: #fdecea; color: #b02a37; border: 1px solid #f5c2c7; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 20px; }
.error-page h1 { font-size: 100px; color: var(--gold); margin-bottom: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .cta-section { grid-template-columns: 1fr; padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 50px 0 130px; }
  .search-box-wrap { margin-top: -90px; }
  .search-box { padding: 20px; }
  .search-grid { grid-template-columns: repeat(2, 1fr); }
  .property-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .section { padding: 50px 0; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .search-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}

/* ---------- MOBİL MENÜ ---------- */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 82%; max-width: 340px;
  height: 100vh;
  background: var(--navy);
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 26px;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-close { color: var(--white); background: none; border: none; font-size: 26px; cursor: pointer; margin-bottom: 20px; }
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.9);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 17px;
}
.mobile-menu a.active, .mobile-menu a:hover { color: var(--gold); }
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 1999; display: none;
}
.mobile-overlay.open { display: block; }

/* ---------- ADMIN ---------- */
.admin-body { background: #f1f3f6; font-family: var(--font-sans); margin: 0; min-height: 100vh; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--navy); color: rgba(255,255,255,0.85); flex-shrink: 0; padding: 24px 0; }
.admin-sidebar .brand { padding: 0 24px 24px; font-family: var(--font-serif); font-size: 22px; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.admin-sidebar .brand .accent { color: var(--gold); }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px; font-size: 14.5px; color: rgba(255,255,255,0.75);
  border-left: 3px solid transparent;
}
.admin-sidebar nav a:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.admin-sidebar nav a.active { background: rgba(166,199,155,0.12); border-left-color: var(--gold); color: var(--gold); }
.admin-sidebar .nav-section { padding: 16px 24px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.4); }

.admin-main { flex: 1; min-width: 0; }
.admin-topbar { background: var(--white); padding: 18px 30px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.admin-topbar h1 { font-size: 20px; margin: 0; }
.admin-content { padding: 30px; }

.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.admin-stat-card { background: var(--white); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.admin-stat-card .num { font-size: 30px; font-weight: 700; color: var(--navy); font-family: var(--font-serif); }
.admin-stat-card .label { color: var(--text-muted); font-size: 13.5px; margin-top: 4px; }

.admin-panel { background: var(--white); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.admin-panel h2 { font-size: 17px; margin-bottom: 18px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table th { background: var(--bg-soft); font-weight: 700; color: var(--navy); text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.4px; }
.admin-table tr:hover td { background: #fafafa; }
.table-actions { display: flex; gap: 8px; }
.table-actions a, .table-actions button { padding: 6px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--border); background: var(--white); cursor: pointer; }
.table-actions .edit { color: #1971c2; }
.table-actions .delete { color: #c0392b; }
.table-actions .toggle { color: #2d6a4f; }

.status-pill { padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.status-aktif { background: #e6f4ea; color: #1e7e34; }
.status-pasif { background: #f1f2f4; color: #667; }
.status-yeni { background: #e8f0fe; color: #1a56c4; }
.status-arandi { background: #fff4e0; color: #a15c00; }
.status-gorusuldu { background: #eee6fb; color: #6a3fb5; }
.status-sonuclandi { background: #e6f4ea; color: #1e7e34; }

.admin-form .form-group { margin-bottom: 18px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form-section-title { font-size: 15px; font-weight: 700; color: var(--navy); margin: 26px 0 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.form-section-title:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy); padding: 20px; }
.login-card { background: var(--white); border-radius: var(--radius); padding: 40px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); }
.login-card .logo { color: var(--navy); justify-content: center; margin-bottom: 24px; font-size: 28px; }

.image-manager-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.image-manager-item { position: relative; border-radius: 10px; overflow: hidden; border: 2px solid var(--border); }
.image-manager-item img { width: 100%; height: 100px; object-fit: cover; }
.image-manager-item.is-cover { border-color: var(--gold); }
.image-manager-item .img-actions { position: absolute; inset: 0; background: rgba(14,61,40,0.65); display: flex; align-items: center; justify-content: center; gap: 6px; opacity: 0; transition: opacity 0.2s; }
.image-manager-item:hover .img-actions { opacity: 1; }
.img-actions button { width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--white); cursor: pointer; font-size: 13px; }
.cover-tag { position: absolute; top: 6px; left: 6px; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; z-index: 2; }

@media (max-width: 900px) {
  .admin-sidebar { position: fixed; left: -260px; top: 0; height: 100vh; z-index: 1500; transition: left 0.3s; }
  .admin-sidebar.open { left: 0; }
  .admin-content { padding: 18px; }
}
