/* Önder Group — Ana Stil Dosyası */

:root {
  --gold: #FCB813;
  --gold-light: #ffd24d;
  --charcoal: #404041;
  --navy: #0a0a0a;
  --navy-2: #141414;
  --bg: #fbf6ef;
  --bg-soft: #f5eee2;
  --bg-card: #fbf6ef;
  --text: #1a1a1a;
  --text-muted: #5c5c5e;
  --line: #e8e8ea;
  --header-bg: rgba(251, 246, 239, 0.97);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --radius: 14px;
  --whatsapp: #25d366;
}

[data-theme="dark"] {
  --navy: #000000;
  --navy-2: #111111;
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --bg-card: #161616;
  --text: #f2f2f2;
  --text-muted: #b0b0b2;
  --line: #2a2a2c;
  --header-bg: rgba(10, 10, 10, 0.97);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: hidden; }

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-wrap: break-word;
  transition: background .3s ease, color .3s ease;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-light); }

.container { width: 94%; max-width: 1280px; margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .75rem 1.5rem; border-radius: 10px;
  font-weight: 600; font-size: .92rem; border: 2px solid transparent;
  cursor: pointer; transition: all .2s ease;
}
.btn-gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--on-gold); }
.btn-outline-dark { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { filter: brightness(1.08); color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; margin-bottom: .6rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-soft { background: var(--bg-soft); }
.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-kicker { color: var(--gold); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: .6rem; color: var(--text); }
.section-desc { color: var(--text-muted); max-width: 620px; }
.section-head.center .section-desc { margin-inline: auto; }

.page-hero {
  background: linear-gradient(135deg, var(--navy), #222);
  color: #fff; padding: 3rem 0;
}
.page-hero-compact { padding: 2.2rem 0; }
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .5rem; }
.breadcrumb { color: rgba(255,255,255,.7); font-size: .88rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 .4rem; opacity: .5; }

/* Listing cards */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.listing-card {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.listing-card-link {
  color: inherit; display: block; text-decoration: none;
  cursor: pointer; position: relative; z-index: 1;
}
.listing-card-link:hover { color: inherit; }
.listing-card-link:focus-visible {
  outline: 2px solid var(--gold); outline-offset: -2px;
}
.listing-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.listing-card-media img { width: 100%; height: 100%; object-fit: cover; }
.listing-placeholder {
  width: 100%; height: 100%; min-height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--bg-soft), var(--line));
  color: var(--text-muted); font-size: 2.5rem;
}
.listing-placeholder.large { min-height: 360px; font-size: 3rem; }
.listing-badge {
  position: absolute; top: .75rem; left: .75rem;
  padding: .35rem .7rem; border-radius: 6px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.listing-badge-sale { background: var(--gold); color: var(--on-gold); }
.listing-badge-rent { background: var(--charcoal); color: #fff; }
.listing-card-body { padding: 1rem 1.1rem 1.2rem; }
.listing-price { font-size: 1.25rem; font-weight: 700; color: var(--gold); margin-bottom: .35rem; }
.listing-title { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; color: var(--text); line-height: 1.35; }
.listing-location { font-size: .85rem; color: var(--text-muted); margin-bottom: .5rem; }
.listing-stats { display: flex; gap: .6rem; flex-wrap: wrap; }
.listing-stats span {
  font-size: .78rem; font-weight: 600; padding: .2rem .55rem;
  background: var(--bg-soft); border-radius: 6px; color: var(--text-muted);
}
.listing-card-cta {
  display: inline-block; margin-top: .75rem;
  font-size: .82rem; font-weight: 700; color: var(--gold);
}

/* Listings page layout */
.listings-page { padding-top: 2rem; }
.listings-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.listings-sidebar {
  position: sticky; top: 100px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem;
  box-shadow: var(--shadow);
}
.listings-sidebar h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.listings-sidebar .search-filter { box-shadow: none; border: none; padding: 0; background: transparent; }
.listings-sidebar .search-filter-grid { grid-template-columns: 1fr; }
.filter-count { margin-top: 1rem; font-size: .88rem; color: var(--text-muted); }
@media (min-width: 900px) {
  .listings-sidebar {
    max-height: calc(100vh - 116px); overflow-y: auto; overscroll-behavior: contain;
    padding: .9rem 1rem; scrollbar-width: thin;
  }
  .listings-sidebar h2 { font-size: .95rem; margin-bottom: .6rem; }
  .listings-sidebar .search-filter-grid { gap: .5rem; }
  .listings-sidebar .search-filter .form-group label { font-size: .68rem; margin-bottom: .2rem; }
  .listings-sidebar .search-filter select,
  .listings-sidebar .search-filter input { padding: .42rem .6rem; font-size: .84rem; border-radius: 6px; }
  .listings-sidebar .btn { padding-top: .55rem; padding-bottom: .55rem; font-size: .85rem; }
  .listings-sidebar .filter-count { margin-top: .6rem; font-size: .8rem; }
}

@media (max-width: 899px) {
  .listings-layout { grid-template-columns: 1fr; }
  .listings-sidebar { position: static; }
  .hero-filter-wrap { transform: none; margin-bottom: 0; padding-bottom: 2rem; }
}

/* Listing detail */
.listing-detail { padding-top: 2rem; }
.listing-status-bar { margin: .5rem 0 .75rem; }
.listing-status-bar .listing-status-badge {
  position: static;
  display: inline-block;
  padding: .4rem .85rem;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.listing-status-badge-sale { background: var(--gold); color: var(--on-gold); }
.listing-status-badge-rent { background: var(--charcoal); color: #fff; }
.listing-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: stretch; }
.listing-detail-header { margin: 1.5rem 0; }
.listing-detail-header h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 .6rem; }
.listing-detail-price { font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.listing-location-note { margin-top: .5rem; font-size: .9rem; color: var(--text-muted); font-style: italic; }

.listing-gallery { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-main { aspect-ratio: 16/10; max-height: 440px; background: var(--bg-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: .5rem; padding: .6rem; background: var(--bg-soft);
}
.gallery-thumb {
  width: 100%; height: 54px; border: 2px solid transparent;
  border-radius: 8px; overflow: hidden; cursor: pointer; padding: 0; background: none;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Mobile swipe gallery */
.gallery-swipe-wrap { display: none; position: relative; }
.gallery-swipe {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gallery-swipe::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always;
  aspect-ratio: 4/3; max-height: 440px;
}
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.gallery-counter {
  position: absolute; right: .7rem; bottom: .7rem; z-index: 1;
  background: rgba(0,0,0,.6); color: #fff; font-size: .8rem;
  padding: .25rem .65rem; border-radius: 999px; pointer-events: none;
}

@media (max-width: 640px) {
  .listing-gallery.has-swipe .gallery-main { display: none; }
  .listing-gallery.has-swipe .gallery-thumbs { display: none; }
  .listing-gallery.has-swipe .gallery-swipe-wrap { display: block; }
}

/* Lightbox */
.onder-lightbox-lock { overflow: hidden; }
.onder-lightbox {
  position: fixed; inset: 0; z-index: 9999; background: rgba(10, 10, 10, .92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .2s ease;
}
.onder-lightbox.open { opacity: 1; visibility: visible; }
.onder-lightbox-stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.onder-lightbox-img {
  max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5); pointer-events: none;
}
.onder-lightbox-zone {
  position: absolute; top: 0; bottom: 0; width: 50%; border: none; background: transparent;
  cursor: pointer; padding: 0; display: flex; align-items: center;
}
.onder-lightbox-prev { left: 0; cursor: w-resize; justify-content: flex-start; }
.onder-lightbox-next { right: 0; cursor: e-resize; justify-content: flex-end; }
.onder-lightbox-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin: 0 .6rem;
  background: none; border: none; color: var(--gold); font-size: 1.4rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .8), 0 0 12px rgba(0, 0, 0, .5);
  transition: transform .2s ease, color .2s ease;
}
.onder-lightbox-prev:hover .onder-lightbox-arrow,
.onder-lightbox-next:hover .onder-lightbox-arrow { color: var(--gold-light); transform: scale(1.15); }
.onder-lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--gold); color: #1a1a1a; font-size: 1.8rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.onder-lightbox-close:hover { background: var(--gold-light); transform: scale(1.05); }
@media (max-width: 640px) {
  .onder-lightbox-close { top: .7rem; right: .7rem; width: 38px; height: 38px; font-size: 1.5rem; }
  .onder-lightbox-arrow { width: 36px; height: 36px; margin: 0 .4rem; font-size: 1.2rem; }
}

.specs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .8rem; margin-top: 1rem;
}
.spec-item {
  background: var(--bg-soft); border-radius: 10px; padding: .75rem 1rem;
  border: 1px solid var(--line);
}
.spec-label { display: block; font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.spec-value { font-weight: 600; font-size: .95rem; }

.eids-box {
  margin-bottom: 1rem; padding: 1rem 1.2rem;
  background: rgba(79,86,52,.1); border: 1px solid rgba(79,86,52,.35);
  border-radius: 10px; font-size: .92rem;
}
.eids-box strong { display: block; margin-bottom: .25rem; color: var(--text); }
.eids-box-mobile { display: none; }

.agent-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-lg); text-align: center;
}
.listing-agent-box { display: flex; flex-direction: column; gap: 0; min-height: 100%; }
.listing-sidebar-sticky { position: sticky; top: 100px; }
.agent-logo { max-height: 56px; width: auto; margin: 0 auto 1rem; }
.agent-card .logo-theme-dark,
.agent-card .logo-theme-light { display: block; margin-inline: auto; }
.agent-card .logo-theme-dark { display: none; }
[data-theme="dark"] .agent-card .logo-theme-light { display: none; }
[data-theme="dark"] .agent-card .logo-theme-dark { display: block; }
.agent-card h2 { font-size: 1.2rem; margin-bottom: .2rem; }
.agent-sub { color: var(--text-muted); font-size: .85rem; margin-bottom: .8rem; }
.agent-desc { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.2rem; text-align: left; }
.agent-contact { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .88rem; text-align: left; }
.agent-phone-block { text-align: center; }
.agent-phone-label {
  display: block; font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); margin-bottom: .35rem;
}
.agent-phone-link {
  display: block; font-size: 1.45rem; font-weight: 800;
  color: var(--gold); letter-spacing: .01em; line-height: 1.2;
}
.agent-phone-link:hover { color: var(--gold-light); }
.btn-call-lg {
  font-size: 1.05rem; padding: .9rem 1.2rem;
  box-shadow: 0 6px 16px rgba(79,86,52,.3);
}

@media (max-width: 899px) {
  .listing-detail-grid { grid-template-columns: 1fr; }
  .listing-sidebar-sticky { position: static; }
  .eids-box-mobile { display: block; margin: 1.25rem 0 0; }
  .listing-agent-box .eids-box:not(.eids-box-mobile) { display: none; }
  .gallery-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; margin-bottom: 2rem; }
.contact-info-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.contact-info-item { display: flex; gap: .8rem; margin-bottom: 1rem; }
.contact-info-item .label { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; }
.contact-info-item .value { font-weight: 500; }
.contact-hours { margin: 1.2rem 0; font-size: .9rem; color: var(--text-muted); }
.contact-quick-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }

.contact-form {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.form-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.form-group .req { color: #e53935; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .7rem .85rem; border: 1px solid var(--line);
  border-radius: 8px; background: var(--bg-soft); color: var(--text);
  font-family: inherit; font-size: .92rem;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group.invalid input, .form-group.invalid textarea { border-color: #e53935; }
.form-error { display: none; color: #e53935; font-size: .78rem; margin-top: .25rem; }
.form-group.invalid .form-error { display: block; }
.form-success {
  display: none; padding: .85rem 1rem; background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.35); border-radius: 8px;
  color: #1b7a3e; margin-bottom: 1rem; font-size: .9rem;
}
.form-success.show { display: block; }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: .8rem; }
.map-wrap { margin-top: 1.5rem; }
.map-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.map-iframe { width: 100%; min-height: 400px; height: 480px; border: 0; display: block; }

@media (max-width: 768px) {
  .map-iframe { min-height: 320px; height: 380px; }
  .contact-grid, .form-row { grid-template-columns: 1fr; }
}

/* Blog */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.post-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s;
}
.post-card:hover { transform: translateY(-3px); }
.post-card-media { display: block; color: inherit; text-decoration: none; }
.post-card-media:hover img { opacity: .92; }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: opacity .2s ease; }
.post-body { padding: 1rem 1.1rem 1.2rem; }
.post-meta { display: flex; gap: .8rem; font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; }
.post-meta .cat { color: var(--gold); font-weight: 600; }
.post-body h3 { font-size: 1rem; margin-bottom: .4rem; }
.post-body h3 a { color: var(--text); }
.post-body h3 a:hover { color: var(--gold); }
.post-cover { border-radius: var(--radius); margin-bottom: 1.5rem; }
.blog-cover-wrap { margin: 0 0 1.25rem; max-width: 720px; }
.blog-cover-img {
  width: 100%; max-width: 720px; aspect-ratio: 720 / 300;
  object-fit: cover; border-radius: var(--radius);
  display: block; background: var(--bg-soft);
}
.post-card .blog-cover-img,
.post-card img { width: 100%; aspect-ratio: 720 / 300; object-fit: cover; }
.prose p { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.75; }
.prose h2 { font-size: 1.35rem; margin: 1.75rem 0 .65rem; color: var(--text); font-weight: 700; line-height: 1.3; }
.prose h3 { font-size: 1.15rem; margin: 1.4rem 0 .55rem; color: var(--text); font-weight: 600; line-height: 1.35; }
.prose h4 { font-size: 1.05rem; margin: 1.2rem 0 .45rem; color: var(--text); font-weight: 600; line-height: 1.4; }
.prose h5, .prose h6 { font-size: 1rem; margin: 1rem 0 .4rem; color: var(--text); font-weight: 600; }
[data-theme="dark"] .blog-article-body,
[data-theme="dark"] .blog-article-body p,
[data-theme="dark"] .blog-article-body li {
  color: var(--text-muted);
}
[data-theme="dark"] .blog-article-body h2,
[data-theme="dark"] .blog-article-body h3,
[data-theme="dark"] .blog-article-body h4,
[data-theme="dark"] .blog-article-body h5,
[data-theme="dark"] .blog-article-body h6 {
  color: var(--text);
}
[data-theme="dark"] .blog-article-body a { color: var(--gold); }
[data-theme="dark"] .blog-article-body strong { color: var(--text); }
.blog-article-body img {
  max-width: 100%; height: auto; border-radius: var(--radius);
  display: block; margin: 1.25rem auto;
}
.blog-article-body .ql-align-left { text-align: left; }
.blog-article-body .ql-align-center { text-align: center; }
.blog-article-body .ql-align-right { text-align: right; }
.blog-article-body .ql-align-left img,
.blog-article-body img.blog-img-left {
  float: left; margin: .25rem 1.25rem 1rem 0;
  max-width: min(100%, 420px);
}
.blog-article-body .ql-align-right img,
.blog-article-body img.blog-img-right {
  float: right; margin: .25rem 0 1rem 1.25rem;
  max-width: min(100%, 420px);
}
.blog-article-body .ql-align-center img,
.blog-article-body img.blog-img-center {
  float: none; margin: 1.25rem auto; max-width: 100%;
}
.blog-article-body::after { content: ""; display: table; clear: both; }

/* Blog article */
.blog-article-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 2rem;
  max-width: 1100px; margin-inline: auto;
  align-items: stretch;
}
.blog-sidebar { min-height: 100%; }
.blog-sidebar-sticky {
  position: sticky;
  top: 100px;
}
.blog-toc, .blog-share {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.blog-toc .blog-toc-title {
  font-size: .72rem; margin-bottom: .55rem; line-height: 1.3;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); font-weight: 700;
}
.blog-share { padding: 1rem 0; border: 0; background: transparent; margin-bottom: 0; }
.blog-share-label {
  font-size: .72rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .65rem;
}
.blog-share-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
}
.blog-share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .5rem .85rem; border-radius: 999px;
  border: none; color: #fff; font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: filter .2s ease, transform .2s ease;
  font-family: inherit; line-height: 1;
}
.blog-share-btn span { white-space: nowrap; }
.blog-share-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.blog-share-btn.is-whatsapp { background: #25d366; }
.blog-share-btn.is-x { background: #000; }
.blog-share-btn.is-facebook { background: #1877f2; }
.blog-share-btn.is-link {
  background: #fff; color: #333; border: 1px solid #d0d0d0;
}
.blog-share-btn.is-link:hover { background: #f5f5f5; filter: none; }
[data-theme="dark"] .blog-share-btn.is-link {
  background: var(--bg-soft); color: var(--text); border-color: var(--line);
}
.blog-share-nav {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem;
}
.blog-share-nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .5rem .9rem; border-radius: 999px;
  border: 1.5px solid var(--gold); background: #fff;
  color: var(--gold); font-size: .78rem; font-weight: 700;
  text-decoration: none; transition: background .2s, color .2s;
}
.blog-share-nav-btn:hover { background: rgba(79,86,52,.08); color: var(--gold); }
.blog-share-nav-btn.is-primary {
  background: var(--gold); color: var(--on-gold); border-color: var(--gold);
}
.blog-share-nav-btn.is-primary:hover { background: var(--gold-light); color: var(--on-gold); }
[data-theme="dark"] .blog-share-nav-btn { background: var(--bg-card); }
[data-theme="dark"] .blog-share-nav-btn.is-primary { color: var(--on-gold); }

.blog-related {
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line);
  max-width: 1100px; margin-inline: auto;
}
.blog-related h2 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.blog-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 899px) {
  .blog-related-grid { grid-template-columns: repeat(2, 1fr); }
}
.blog-related-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.blog-related-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.blog-related-card h3 { font-size: .95rem; line-height: 1.4; margin-bottom: .5rem; }
.blog-related-card h3 a { color: var(--text); text-decoration: none; }
.blog-related-card h3 a:hover { color: var(--gold); }
.blog-related-card p { font-size: .84rem; color: var(--text-muted); line-height: 1.55; }
.blog-toc ul { list-style: none; margin: 0; padding: 0; }
.blog-toc li { margin-bottom: 0; }
.blog-toc #blog-toc-list { max-height: calc(100vh - 330px); overflow-y: auto; scrollbar-width: thin; }
@media (max-width: 899px) { .blog-toc #blog-toc-list { max-height: none; } }
.blog-toc .toc-item a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
  line-height: 1.4;
}
.blog-toc .toc-item a:hover { color: var(--gold); background: rgba(79,86,52,.08); }
.blog-toc .toc-h2 a {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text);
  padding: .25rem .45rem .25rem .55rem;
  border-left: 2px solid var(--gold);
  margin-top: .15rem;
  margin-left: 0;
}
.blog-toc .toc-h2:first-child a { margin-top: 0; }
.blog-toc .toc-h3 a {
  font-size: .75rem;
  font-weight: 400;
  padding: .2rem .45rem .2rem .55rem;
  border-left: 1px solid var(--line);
  color: var(--text-muted);
  margin-left: 12px;
}
.blog-toc .toc-h4 a {
  font-size: .72rem;
  font-weight: 400;
  padding: .15rem .45rem .15rem .55rem;
  border-left: 1px solid transparent;
  color: var(--text-muted);
  margin-left: 24px;
  opacity: .92;
}
.blog-toc .toc-h3 a:hover,
.blog-toc .toc-h4 a:hover { border-left-color: var(--gold); }

.map-link-wrap { text-align: center; margin-top: .75rem; }

@media (max-width: 899px) {
  .blog-article-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; display: block; }
  .blog-sidebar-sticky {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .blog-toc { margin-bottom: 1rem; }
  .blog-related-grid { grid-template-columns: 1fr; }
  .blog-article-body .ql-align-left img,
  .blog-article-body .ql-align-right img {
    float: none; max-width: 100%; margin: 1rem auto; display: block;
  }
}

@media (max-width: 560px) {
  .blog-share-row { gap: .4rem; }
  .blog-share-btn { padding: .45rem .7rem; font-size: .74rem; }
}

@media (max-width: 899px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex; flex-direction: column; align-items: center;
  }
  .footer-brand .brand-logo-img { margin-inline: auto; }
  .footer-col { text-align: left; }
  .footer-contact { align-items: flex-start; }
  .footer-social-row { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}


/* 404 */
.error-page { text-align: center; padding: 5rem 0; }
.error-code { font-size: 5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.error-page h1 { margin: 1rem 0; }
.error-page p { color: var(--text-muted); max-width: 480px; margin: 0 auto 1.5rem; }
.error-page .btn { margin: .3rem; }

.empty-msg { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: 2rem; }
.recaptcha-slot, .img-placeholder {
  padding: 2rem; text-align: center; background: var(--bg-soft);
  border: 1px dashed var(--line); border-radius: var(--radius); color: var(--text-muted);
}

.hidden-listing { display: none !important; }

/* Blog kartı: kısa açıklama + "İçeriği Oku" */
.post-card { display: flex; flex-direction: column; }
.post-body { display: flex; flex-direction: column; flex: 1; }
.post-body p { font-size: 14px; color: var(--text-muted); flex: 1 0 auto; }
.post-read-more {
  align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1.05rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  color: var(--on-gold); background: var(--gold); border: 1.5px solid var(--gold);
  box-shadow: 0 4px 12px rgba(79,86,52,.28);
  transition: background .2s, transform .2s, box-shadow .2s, color .2s;
}
.post-body p + .post-read-more { margin-top: .9rem; }
.post-read-more svg { transition: transform .2s ease; }
.post-read-more:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--on-gold); box-shadow: 0 6px 16px rgba(79,86,52,.4); }
.post-read-more:hover svg { transform: translateX(3px); }

/* Blog girizgâh */
.blog-intro { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.blog-intro-sub, .home-seo-title { font-family: "Caveat", "Segoe Script", cursive; font-weight: 700; line-height: 1.15; }
.blog-intro-sub { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin-bottom: .6rem; }
.hand-gold { color: var(--gold); }
.hand-char { color: var(--charcoal); }
[data-theme="dark"] .hand-char { color: #e8e8ea; }
.blog-intro p:not(.blog-intro-sub) { color: var(--text-muted); font-size: .80rem; }

/* İlanlar sayfası SEO alanı */
.listings-seo { background: #fbf8f1; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.listings-seo h2 { font-size: 15px; margin-bottom: .6rem; color: var(--text); }
.listings-seo h3 { font-size: 12.5px; margin: 1rem 0 .3rem; color: var(--text); }
.listings-seo p { font-size: 11px; line-height: 1.7; color: var(--text-muted); margin-bottom: .6rem; }
[data-theme="dark"] .listings-seo { background: #17150f; }

/* Filtre sonuç bilgisi */
.filter-result-note { margin: 0 0 1rem; padding: .7rem 1rem; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); font-size: .9rem; }
.filter-empty { text-align: center; padding: 2.5rem 1rem; }
.filter-empty p { margin-bottom: 1.2rem; color: var(--text-muted); }
.kira-live-note { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .6rem; font-size: .85rem; color: var(--text-muted); }
.kira-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; animation: kiraLive 1.6s ease-in-out infinite; }
@keyframes kiraLive { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
