/* KARTEPE EMLAK — statik site stil dosyası */

:root {
  --navy: #0f1f3d;
  --navy-dark: #0a1528;
  --navy-light: #1b3160;
  --orange: #ff6a2b;
  --orange-dark: #e5551a;
  --orange-light: #ffe4d6;
  --ash-50: #f6f7f9;
  --ash-100: #eef0f3;
  --ash-200: #dfe3e9;
  --ash-400: #8a93a3;
  --ash-600: #5b6472;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display {
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 700;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 12px 40px rgba(15,31,61,.16); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; max-width: 1180px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.logo-badge { width: 36px; height: 36px; border-radius: 999px; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.logo .accent { color: var(--orange); }
nav.main-nav { display: none; gap: 22px; }
nav.main-nav a { font-size: 14px; font-weight: 500; color: #dfe3e9; }
nav.main-nav a:hover { color: var(--orange); }
.header-actions { display: none; gap: 10px; }
.btn-outline-header { border: 1px solid rgba(255,255,255,.2); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; }
.btn-outline-header:hover { border-color: var(--orange); color: var(--orange); }
.btn-orange { background: var(--orange); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; }
.btn-orange:hover { background: var(--orange-dark); }
.menu-toggle { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: none; color: #fff; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid rgba(255,255,255,.1); background: var(--navy-dark); padding: 16px; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #dfe3e9; }
.mobile-nav a:hover { background: rgba(255,255,255,.05); color: var(--orange); }
.mobile-nav .actions { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.mobile-nav .actions a { flex: 1; text-align: center; border-radius: 999px; padding: 10px; font-size: 14px; font-weight: 600; }
.mobile-nav .actions a:first-child { border: 1px solid rgba(255,255,255,.2); color: #fff; }
.mobile-nav .actions a:last-child { background: var(--orange); color: #fff; }

@media (min-width: 1024px) {
  nav.main-nav { display: flex; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
}

/* HERO */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(255,106,43,.18), transparent 55%); }
.hero-inner { position: relative; padding: 56px 16px 96px; max-width: 1180px; margin: 0 auto; }
.eyebrow { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { color: #fff; font-size: 30px; line-height: 1.2; margin-top: 12px; max-width: 720px; }
.hero p { color: #dfe3e9; margin-top: 16px; max-width: 640px; font-size: 16px; line-height: 1.6; }
@media (min-width: 640px) { .hero h1 { font-size: 40px; } }

/* SEARCH CARD */
.search-card { background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(15,31,61,.16); padding: 18px; margin: -60px auto 0; max-width: 980px; display: grid; gap: 10px; grid-template-columns: 1fr; position: relative; z-index: 10; }
.search-card form { display: contents; }
.search-toggle { display: flex; background: var(--ash-100); border-radius: 8px; padding: 4px; }
.search-toggle a { flex: 1; text-align: center; padding: 9px; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--ash-600); }
.search-toggle a.active { background: var(--navy); color: #fff; }
.search-card select, .search-card input { border: 1px solid var(--ash-200); border-radius: 8px; padding: 10px 12px; font-size: 14px; color: var(--navy); font-family: inherit; }
.search-submit { background: var(--orange); color: #fff; border: none; border-radius: 8px; padding: 10px; font-weight: 600; font-size: 14px; cursor: pointer; }
.search-submit:hover { background: var(--orange-dark); }
@media (min-width: 640px) { .search-card { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .search-card { grid-template-columns: repeat(5, 1fr); padding: 20px; } }

/* SECTIONS */
section.block { max-width: 1180px; margin: 0 auto; padding: 56px 16px; }
.block-gray { background: var(--ash-50); }
.block-gray > .container { padding: 56px 16px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head h2 { font-size: 24px; color: var(--navy); }
.link-orange { color: var(--orange); font-weight: 600; font-size: 14px; }
.link-orange:hover { text-decoration: underline; }

/* CARD GRID */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 640px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* LISTING CARD */
.listing-card { display: block; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 24px rgba(15,31,61,.08); transition: box-shadow .2s; }
.listing-card:hover { box-shadow: 0 12px 40px rgba(15,31,61,.16); }
.listing-photo { position: relative; aspect-ratio: 4/3; background: var(--ash-100); overflow: hidden; }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-category { left: 12px; background: rgba(15,31,61,.9); color: #fff; }
.badge-area { right: 12px; background: rgba(255,255,255,.92); color: var(--navy); }
.listing-body { padding: 16px; }
.listing-price { font-family: "Sora", sans-serif; font-weight: 700; font-size: 18px; color: var(--orange); }
.listing-title { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--ash-600); }

/* NEIGHBORHOOD CARD */
.neighborhood-card { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--ash-200); border-radius: 14px; padding: 16px; }
.neighborhood-card:hover { border-color: var(--orange); }
.neighborhood-card .name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); }
.neighborhood-card:hover .name { color: var(--orange); }
.neighborhood-card p { margin-top: 4px; font-size: 12px; color: var(--ash-600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.neighborhood-card .arrow { color: var(--orange); margin-left: 8px; flex-shrink: 0; }

/* BLOG CARD */
.blog-card { display: block; background: #fff; border: 1px solid var(--ash-200); border-radius: 14px; padding: 20px; }
.blog-card:hover { border-color: var(--orange); }
.blog-card .eyebrow-blog { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--orange); }
.blog-card h3 { margin-top: 8px; font-size: 16px; color: var(--navy); }
.blog-card:hover h3 { color: var(--orange); }
.blog-card p { margin-top: 8px; font-size: 14px; color: var(--ash-600); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* WHY CARDS */
.why-card { border: 1px solid var(--ash-200); border-radius: 14px; padding: 20px; }
.why-card h3 { font-size: 15px; color: var(--navy); }
.why-card p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ash-600); }

/* CTA */
.cta-banner { background: var(--navy); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; justify-content: space-between; }
.cta-banner h2 { color: #fff; font-size: 20px; }
.cta-banner p { margin-top: 8px; color: var(--ash-200); font-size: 14px; }
.cta-banner .btn-orange { flex-shrink: 0; padding: 12px 24px; }
@media (min-width: 1024px) { .cta-banner { flex-direction: row; align-items: center; padding: 44px; } }

/* BREADCRUMB */
.breadcrumb { max-width: 1180px; margin: 0 auto; padding: 16px 16px 0; font-size: 12px; color: var(--ash-600); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--ash-400); }

/* PAGE HEADINGS */
.page-h1 { font-size: 26px; }
@media (min-width: 640px) { .page-h1 { font-size: 30px; } }
.page-intro { margin-top: 16px; max-width: 720px; font-size: 16px; line-height: 1.6; color: var(--ash-600); }
.cta-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-navy { border: 1px solid var(--navy); color: var(--navy); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-orange-lg { background: var(--orange); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.btn-orange-lg:hover { background: var(--orange-dark); }

.section-title { font-size: 20px; color: var(--navy); margin-top: 40px; }
.body-text { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--ash-600); max-width: 720px; }

.empty-note { margin-top: 40px; border: 1px dashed var(--ash-200); border-radius: 14px; padding: 24px; font-size: 14px; color: var(--ash-600); }

/* CHIPS */
.chip-row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--ash-200); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--navy); }
.chip:hover { border-color: var(--orange); color: var(--orange); }

/* FAQ */
.faq-list { margin-top: 16px; border: 1px solid var(--ash-200); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-item { padding: 16px; border-bottom: 1px solid var(--ash-200); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { cursor: pointer; font-family: "Sora", sans-serif; font-weight: 600; font-size: 14px; color: var(--navy); }
.faq-item p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ash-600); }

/* LISTING DETAIL */
.gallery { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery .photo { position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--ash-100); }
.gallery .photo.main { aspect-ratio: 16/9; }
@media (min-width: 640px) { .gallery .photo.main { grid-column: span 2; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.detail-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 2fr 1fr; } }
.status-pill { display: inline-block; background: var(--orange-light); color: var(--orange-dark); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.detail-title { margin-top: 12px; font-size: 24px; }
.detail-location { margin-top: 8px; font-size: 14px; color: var(--ash-600); }
.detail-price { margin-top: 16px; font-size: 26px; color: var(--orange); }
.spec-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; border: 1px solid var(--ash-200); border-radius: 14px; padding: 20px; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(4, 1fr); } }
.spec-grid .label { font-size: 11px; color: var(--ash-400); }
.spec-grid .value { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--navy); }
.feature-list { margin-top: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; list-style: none; padding: 0; }
@media (min-width: 640px) { .feature-list { grid-template-columns: repeat(3, 1fr); } }
.feature-list li { font-size: 14px; color: var(--ash-600); }
.feature-list .check { color: var(--orange); margin-right: 6px; }
.map-frame { margin-top: 12px; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.agent-box { height: fit-content; border: 1px solid var(--ash-200); border-radius: 14px; padding: 20px; }
.agent-box h2 { font-size: 15px; }
.agent-box p { margin-top: 8px; font-size: 14px; color: var(--ash-600); }
.agent-box .actions { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.agent-box .actions a { text-align: center; border-radius: 999px; padding: 10px; font-size: 14px; font-weight: 600; }
.agent-box .actions a:first-child { border: 1px solid var(--navy); color: var(--navy); }
.agent-box .actions a:last-child { background: var(--orange); color: #fff; }
.closed-banner { margin-bottom: 16px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; padding: 12px 16px; border-radius: 14px; }

/* CONTACT */
.contact-card { border: 1px solid var(--ash-200); border-radius: 14px; padding: 24px; display: grid; gap: 16px; }
.contact-card .label { font-size: 11px; color: var(--ash-400); }
.contact-card .value { font-size: 14px; font-weight: 600; color: var(--navy); }
.contact-form { margin-top: 16px; display: grid; gap: 16px; }
.contact-form label { font-size: 12px; color: var(--ash-600); }
.contact-form input, .contact-form textarea { margin-top: 4px; width: 100%; border: 1px solid var(--ash-200); border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: inherit; }
.contact-form button { width: 100%; background: var(--orange); color: #fff; border: none; border-radius: 999px; padding: 12px; font-weight: 600; font-size: 14px; cursor: pointer; }

/* FOOTER */
.site-footer { background: var(--navy-dark); color: var(--ash-200); }
.footer-grid { max-width: 1180px; margin: 0 auto; padding: 56px 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid .brand { grid-column: span 2; }
@media (min-width: 1024px) { .footer-grid .brand { grid-column: span 1; } }
.footer-grid h3 { font-size: 14px; color: #fff; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-grid ul a:hover { color: var(--orange); }
.footer-grid .brand p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--ash-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 16px; text-align: center; font-size: 12px; color: var(--ash-400); }

/* MOBILE STICKY BAR */
.mobile-sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: flex; background: #fff; border-top: 1px solid var(--ash-200); box-shadow: 0 -8px 24px rgba(15,31,61,.1); }
.mobile-sticky a { flex: 1; padding: 14px; text-align: center; font-size: 14px; font-weight: 600; }
.mobile-sticky a:first-child { color: var(--navy); }
.mobile-sticky a:last-child { background: var(--orange); color: #fff; }
.mobile-sticky .divider { width: 1px; background: var(--ash-200); }
@media (min-width: 1024px) { .mobile-sticky { display: none; } }
main { padding-bottom: 64px; }
@media (min-width: 1024px) { main { padding-bottom: 0; } }

/* 404 */
.notfound { max-width: 640px; margin: 0 auto; min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; }
.notfound .code { font-family: "Sora", sans-serif; font-size: 64px; font-weight: 700; color: var(--orange); }
.notfound h1 { margin-top: 12px; font-size: 20px; }
.notfound p { margin-top: 8px; font-size: 14px; color: var(--ash-600); }
.notfound .links { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* NK GAYRİMENKUL — ek stiller (hizmet kartları, mahalle sayfası bölümleri) */
.service-card { border: 1px solid var(--ash-200); border-radius: 14px; padding: 24px; }
.service-card .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--orange-light); color: var(--orange-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.service-card h3 { margin-top: 16px; font-size: 16px; color: var(--navy); }
.service-card p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ash-600); }

.mahalle-grid-item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ash-200); border-radius: 14px; padding: 20px; height: 100%; }
.mahalle-grid-item .name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 16px; color: var(--navy); }
.mahalle-grid-item:hover .name { color: var(--orange); }
.mahalle-grid-item p { margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--ash-600); flex-grow: 1; }
.mahalle-grid-item .more { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--orange); }

.keyword-block { margin-top: 24px; }
.keyword-block h2 { font-size: 18px; color: var(--navy); }
.keyword-block p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--ash-600); max-width: 720px; }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat-box { text-align: center; padding: 16px; }
.stat-box .num { font-family: "Sora", sans-serif; font-weight: 700; font-size: 26px; color: var(--orange); }
.stat-box .label { margin-top: 4px; font-size: 12px; color: var(--ash-600); }
