/* ============================================================
   BÜYÜK EV TİCARET — Ana Stil Dosyası
   Marka renkleri: #435c7a (lacivert) & #db717b (mercan)
   ============================================================ */

:root {
  --navy: #2f4257;
  --navy-dark: #1e2c39;
  --navy-light: #435c7a;
  --coral: #db717b;
  --coral-dark: #c85963;
  --gold: #c9a86a;
  --cream: #f7f5f1;
  --paper: #ffffff;
  --ink: #26313d;
  --ink-soft: #5b6672;
  --line: #e6e2da;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(30, 44, 57, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 44, 57, 0.16);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-dark); margin: 0 0 .5em; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
ul { padding-left: 1.2em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--paper); }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral-dark); font-weight: 700; margin-bottom: 10px;
}
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-danger { background: #c0392b; color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-ico { display: inline-flex; width: 18px; height: 18px; flex-shrink: 0; }
.btn-ico svg { width: 18px; height: 18px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark); color: #cfd9e2; font-size: 13px; padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #cfd9e2; }
.topbar a:hover { color: var(--coral); }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
.topbar-social a { margin-left: 10px; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: rgba(255,255,255,.97); position: sticky; top: 0; z-index: 500;
  box-shadow: 0 2px 14px rgba(30,44,57,.06);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: 48px; object-fit: cover; border-radius: 50%; border: 2px solid var(--navy-light); }
.brand .name { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy-dark); line-height: 1.1; }
.brand .name small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--coral-dark); text-transform: uppercase; }
nav.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
nav.main-nav a {
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--navy);
  transition: all .2s;
}
nav.main-nav a:hover, nav.main-nav a.active { background: var(--navy); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--navy); cursor: pointer; }

@media (max-width: 980px) {
  nav.main-nav { position: fixed; inset: 0 0 0 auto; width: 78%; max-width: 320px; background: #fff; padding: 90px 24px 24px;
    transform: translateX(100%); transition: transform .3s ease; box-shadow: -10px 0 30px rgba(0,0,0,.15); z-index: 600; }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav ul { flex-direction: column; align-items: stretch; }
  nav.main-nav a { display: block; }
  .nav-toggle { display: block; }
  .nav-actions .btn span { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, rgba(30,44,57,.92), rgba(47,66,87,.82)), url('/static/img/arsa-3.webp') center/cover;
  padding: 110px 0 130px;
}
.hero::after {
  content: ""; position: absolute; right: -8%; bottom: -30%; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(219,113,123,.35), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; max-width: 680px; }
.hero h1 { font-size: 46px; color: #fff; }
@media (max-width: 700px) {
  .hero { padding: 80px 0 90px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 15.5px; }
  .hero-badges { gap: 14px 22px; }
}
.hero p.lead { font-size: 18px; color: #dbe3ea; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; margin-top: 48px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; color: #eef2f5; font-size: 14px; }
.hero-badge svg { width: 22px; height: 22px; color: var(--coral); flex-shrink: 0; }

/* Neden Biz? listesindeki onay ikonları */
.check-bullet {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px;
  color: var(--navy-dark); font-weight: 600; font-size: 15.5px; line-height: 1.5;
}
.check-ico {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(219,113,123,.14);
  color: var(--coral-dark); display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.check-ico svg { width: 14px; height: 14px; }

/* ---------- Trust stat strip ---------- */
.stat-strip { background: var(--navy); color: #fff; }
.stat-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 20px; }
.stat-item { text-align: center; }
.stat-item .num { font-family: var(--font-head); font-size: 32px; color: var(--coral); font-weight: 700; }
.stat-item .lbl { font-size: 13px; color: #cfd9e2; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
@media (max-width: 700px) { .stat-strip .container { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards: Services ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.07); }
.card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card .body h3 { font-size: 19px; }
.card .body p { color: var(--ink-soft); font-size: 14.5px; flex: 1; }

.service-card { padding: 30px 24px; text-align: left; }
.service-card .icon {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(219,113,123,.12); color: var(--coral-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 18px; }
.service-card p { color: var(--ink-soft); font-size: 14px; margin-bottom: 0; }

/* ---------- Listings ---------- */
.listing-badge {
  position: absolute; top: 14px; left: 14px; background: var(--coral); color: #fff; font-size: 12px;
  padding: 5px 12px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.listing-cat-badge {
  position: absolute; top: 14px; right: 14px; background: rgba(30,44,57,.85); color: #fff; font-size: 11.5px;
  padding: 5px 12px; border-radius: 999px; font-weight: 600;
}
.card.listing .thumb { position: relative; }
.listing-price { font-family: var(--font-head); color: var(--coral-dark); font-weight: 700; font-size: 20px; margin-top: 6px; }
.listing-meta { display: flex; gap: 14px; font-size: 13px; color: var(--ink-soft); margin: 10px 0; flex-wrap: wrap; }
.listing-meta span { display: flex; align-items: center; gap: 5px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-bar a {
  padding: 10px 20px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600;
  font-size: 14px; color: var(--navy);
}
.filter-bar a.active, .filter-bar a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative;
}
.testi-card .stars { color: var(--gold); font-size: 15px; margin-bottom: 10px; letter-spacing: 2px; }
.testi-card .quote { color: var(--ink-soft); font-style: italic; margin-bottom: 16px; }
.testi-card .who { font-weight: 700; color: var(--navy-dark); }
.testi-card .role { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Blog ---------- */
.blog-meta { font-size: 12.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 26px; margin-top: 1.4em; }
.prose h3 { font-size: 20px; margin-top: 1.2em; }
.prose p { color: #3a4652; font-size: 16.5px; }
.prose img { border-radius: var(--radius); margin: 20px 0; }
.prose blockquote { border-left: 4px solid var(--coral); margin: 20px 0; padding: 10px 20px; background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-soft); }
.tag-pill { display: inline-block; background: rgba(67,92,122,.1); color: var(--navy); font-size: 12.5px; padding: 5px 12px; border-radius: 999px; margin: 0 6px 6px 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid .item { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; position: relative; cursor: pointer; }
.gallery-grid .item img, .gallery-grid .item video { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-grid .item:hover img, .gallery-grid .item:hover video { transform: scale(1.08); }
.gallery-grid .item .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(30,44,57,.35); color: #fff; font-size: 30px; pointer-events: none;
}
.gallery-item-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(20,28,37,.88), rgba(20,28,37,0));
  color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3;
}
.gallery-item-cat {
  display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: #ffc2c8; margin-bottom: 3px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.lightbox { position: fixed; inset: 0; background: rgba(15,20,26,.92); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox .close { position: absolute; top: 22px; right: 30px; color: #fff; font-size: 34px; cursor: pointer; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 700; color: var(--navy-dark); font-size: 16.5px; }
.faq-q .plus { transition: transform .25s; color: var(--coral); font-size: 22px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--ink-soft); }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }

/* ---------- Contact ---------- */
.contact-info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px; }
.contact-info-card h3 { color: #fff; }
.contact-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-row svg { width: 22px; height: 22px; color: var(--coral); flex-shrink: 0; margin-top: 2px; }
.contact-row a, .contact-row div { color: #dbe3ea; font-size: 14.5px; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 0; width: 100%; height: 320px; }

/* ---------- İlan Detay Sayfası (mobil uyumlu ızgara) ---------- */
.listing-detail-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: flex-start;
}
.listing-sticky-card { position: sticky; top: 90px; }
@media (max-width: 900px) {
  .listing-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .listing-sticky-card { position: static; }
}
@media (max-width: 560px) {
  .listing-detail-grid h1 { font-size: 24px; }
  .img-list-row .thumb-wrap { width: 84px !important; height: 64px !important; }
}

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-dark); color: #b9c4cd; padding: 60px 0 0; }
footer.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
footer.site-footer a { color: #b9c4cd; display: block; padding: 5px 0; font-size: 14.5px; }
footer.site-footer a:hover { color: var(--coral); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; padding-bottom: 40px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Floating action buttons ---------- */
.fab-stack { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 14px; z-index: 900; }
.fab {
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); color: #fff; font-size: 26px; transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
.fab.whatsapp { background: #25d366; }
.fab.call { background: var(--coral); }
.fab svg { width: 28px; height: 28px; }

/* ---------- Misc pages ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 60px 0; text-align: center; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfd9e2; }
.breadcrumb { font-size: 13px; color: #a9b6c0; margin-bottom: 10px; }
.breadcrumb a { color: #cfd9e2; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14.5px; }
.alert-success { background: #e4f7ec; color: #1c7a44; }
.alert-danger { background: #fbe6e6; color: #b02a2a; }
.alert-info { background: #e6f0fb; color: #1c5a94; }
.alert-warning { background: #fff5e0; color: #93650b; }

/* ================== ADMIN PANEL ================== */
.admin-body { background: #f1f3f6; font-family: var(--font-body); color: var(--ink); margin: 0; }
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 250px; background: var(--navy-dark); color: #c9d3db; flex-shrink: 0; position: sticky; top: 0; height: 100vh;
  overflow-y: auto; padding: 22px 0;
}
.admin-sidebar .brand-a { display: flex; align-items: center; gap: 10px; padding: 0 22px 22px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; }
.admin-sidebar .brand-a img { width: 38px; height: 38px; border-radius: 50%; }
.admin-sidebar .brand-a span { font-weight: 700; color: #fff; font-size: 15px; font-family: var(--font-head); }
.admin-sidebar a.link {
  display: flex; align-items: center; gap: 12px; padding: 12px 22px; color: #b6c2cc; font-size: 14.5px; font-weight: 600;
}
.admin-sidebar a.link:hover, .admin-sidebar a.link.active { background: rgba(219,113,123,.15); color: #fff; border-right: 3px solid var(--coral); }
.admin-sidebar .group-label { padding: 18px 22px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6d7b87; }
.admin-main { flex: 1; min-width: 0; }
.admin-topbar { background: #fff; padding: 16px 28px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 6px rgba(0,0,0,.05); position: sticky; top:0; z-index: 20;}
.admin-topbar h1 { font-size: 20px; margin: 0; }
.admin-content { padding: 28px; max-width: 1180px; }
.admin-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-bottom: 24px; max-width: 100%; overflow-x: auto; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.admin-stat { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.admin-stat .n { font-size: 30px; font-weight: 800; color: var(--navy); }
.admin-stat .l { color: var(--ink-soft); font-size: 13.5px; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: repeat(2, 1fr); } .admin-sidebar { position: fixed; left: -260px; z-index: 700; transition: left .25s; } .admin-sidebar.open { left: 0; } }

.table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #eee; vertical-align: middle; }
.table th { color: var(--ink-soft); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.table img.thumb-sm { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; }
.table tr:hover { background: #fafbfc; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.badge-green { background: #e4f7ec; color: #1c7a44; }
.badge-gray { background: #eef0f2; color: #63707b; }
.badge-coral { background: rgba(219,113,123,.15); color: var(--coral-dark); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--navy-dark); }
.form-group .hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 5px; }
.form-control {
  width: 100%; padding: 11px 14px; border: 1.5px solid #dfe3e7; border-radius: var(--radius-sm); font-size: 14.5px;
  font-family: var(--font-body); background: #fff; color: var(--ink);
}
.form-control:focus { outline: none; border-color: var(--navy-light); }
textarea.form-control { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 700px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
.switch-row { display: flex; align-items: center; gap: 10px; }
.switch-row input { width: 18px; height: 18px; }
.form-actions { display: flex; gap: 12px; margin-top: 22px; }
.thumb-preview { width: 140px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); margin-bottom: 10px; }
.upload-box { border: 2px dashed #d7dce1; border-radius: var(--radius-sm); padding: 22px; text-align: center; color: var(--ink-soft); font-size: 13.5px; }

/* Rich editor toolbar */
.editor-toolbar { display: flex; gap: 4px; flex-wrap: wrap; background: #f4f5f7; border: 1.5px solid #dfe3e7; border-bottom: none; border-radius: var(--radius-sm) var(--radius-sm) 0 0; padding: 8px; }
.editor-toolbar button {
  border: none; background: #fff; border-radius: 6px; padding: 7px 10px; cursor: pointer; font-size: 13px; font-weight: 700;
  color: var(--navy); box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.editor-toolbar button:hover { background: var(--navy); color: #fff; }
.editor-toolbar select { border-radius: 6px; border: none; padding: 7px; font-size: 13px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.rich-editor {
  min-height: 340px; border: 1.5px solid #dfe3e7; border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 16px;
  font-size: 15px; line-height: 1.7; background: #fff; overflow-y: auto;
}
.rich-editor:focus { outline: none; }
.rich-editor h2 { font-size: 22px; }
.rich-editor h3 { font-size: 18px; }
.rich-editor img { max-width: 100%; border-radius: 8px; }

.gallery-admin-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery-admin-grid .item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; }
.gallery-admin-grid .item img, .gallery-admin-grid .item video { width: 100%; height: 100%; object-fit: cover; }
.gallery-admin-grid .item form { position: absolute; top: 6px; right: 6px; }
.gallery-admin-grid .item button { background: rgba(192,57,43,.9); color: #fff; border: none; border-radius: 6px; width: 26px; height: 26px; cursor: pointer; }
@media (max-width: 900px) { .gallery-admin-grid { grid-template-columns: repeat(3, 1fr); } }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-dark), var(--navy-light)); padding: 20px;}
.login-card { background: #fff; border-radius: var(--radius); padding: 40px; width: 100%; max-width: 380px; box-shadow: var(--shadow-lg); }
.login-card img { width: 60px; margin: 0 auto 14px; border-radius: 50%; }
.login-card h1 { text-align: center; font-size: 20px; }

.img-list-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.img-list-row .thumb-wrap { position: relative; width: 90px; height: 70px; }
.img-list-row .thumb-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.img-list-row .thumb-wrap button { position: absolute; top: -6px; right: -6px; background: #c0392b; color: #fff; border: none; border-radius: 50%; width: 20px; height: 20px; font-size: 11px; cursor: pointer; }

/* ================== SCROLL-REVEAL ANİMASYONLARI ================== */
[data-animate] {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity .8s cubic-bezier(.22,.9,.32,1), transform .8s cubic-bezier(.22,.9,.32,1);
}
[data-animate="fade-up"]    { transform: translateY(36px); }
[data-animate="fade-down"]  { transform: translateY(-36px); }
[data-animate="fade-left"]  { transform: translateX(-46px); }
[data-animate="fade-right"] { transform: translateX(46px); }
[data-animate="zoom-in"]    { transform: scale(.92); }
[data-animate].in-view {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
/* Kart gruplarında sırayla (kademeli) görünme */
[data-animate-group] > [data-animate]:nth-child(1) { transition-delay: .05s; }
[data-animate-group] > [data-animate]:nth-child(2) { transition-delay: .15s; }
[data-animate-group] > [data-animate]:nth-child(3) { transition-delay: .25s; }
[data-animate-group] > [data-animate]:nth-child(4) { transition-delay: .35s; }
[data-animate-group] > [data-animate]:nth-child(5) { transition-delay: .45s; }
[data-animate-group] > [data-animate]:nth-child(6) { transition-delay: .55s; }
[data-animate-group] > [data-animate]:nth-child(7) { transition-delay: .65s; }
[data-animate-group] > [data-animate]:nth-child(8) { transition-delay: .75s; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Sayı sayaçları (istatistik şeridi) için hafif giriş efekti */
.stat-item .num { transition: transform .3s ease; }
.stat-strip.in-view .stat-item .num { animation: statPop .5s ease backwards; }
.stat-strip .stat-item:nth-child(1) .num { animation-delay: .05s; }
.stat-strip .stat-item:nth-child(2) .num { animation-delay: .15s; }
.stat-strip .stat-item:nth-child(3) .num { animation-delay: .25s; }
.stat-strip .stat-item:nth-child(4) .num { animation-delay: .35s; }
@keyframes statPop {
  from { opacity: 0; transform: translateY(14px) scale(.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Hero metni yavaşça yukarı süzülerek girer (sayfa yüklenince, scroll beklemeden) */
.hero-inner > * { opacity: 0; transform: translateY(24px); animation: heroRise .8s cubic-bezier(.22,.9,.32,1) forwards; }
.hero-inner .eyebrow  { animation-delay: .05s; }
.hero-inner h1        { animation-delay: .15s; }
.hero-inner p.lead     { animation-delay: .3s; }
.hero-inner .hero-cta   { animation-delay: .45s; }
.hero-inner .hero-badges { animation-delay: .6s; }
@keyframes heroRise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-inner > * { opacity: 1; transform: none; animation: none; }
}

/* ================== ÖZEL ANİMASYONLU İMLEÇ (ANAHTAR) ================== */
body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button {
  cursor: none;
}
body.has-custom-cursor input, body.has-custom-cursor textarea, body.has-custom-cursor select {
  cursor: text;
}
#keyCursor {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px; z-index: 9999;
  pointer-events: none; transform: translate(-50%, -50%); opacity: 0;
  transition: opacity .25s ease, width .2s ease, height .2s ease;
}
#keyCursor.visible { opacity: 1; }
#keyCursor img { width: 100%; height: 100%; display: block; animation: keySpin 2.6s linear infinite; filter: drop-shadow(0 3px 8px rgba(30,44,57,.35)); }
#keyCursor.pointer-mode { width: 30px; height: 30px; }
#keyCursor.pointer-mode img { animation-duration: .9s; }
@keyframes keySpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 900px), (hover: none) {
  #keyCursor { display: none; }
  body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button { cursor: auto; }
}
