/* =========================================================
   Koç Emlak — Yakupabdal Arsa & İmar Danışmanlığı
   Tek dosya tasarım sistemi (framework yok = hızlı yüklenme)
   ========================================================= */

:root {
  --green-900: #12332a;
  --green-800: #174337;
  --green-700: #1f5c46;
  --green-600: #2d7a5a;
  --green-100: #dcebe3;
  --green-50:  #eef5f1;
  --gold:      #c69749;
  --gold-dark: #a2752f;
  --ink:       #16201c;
  --muted:     #566b62;
  --line:      #e4e2d8;
  --bg:        #ffffff;
  --bg-alt:    #f6f4ee;
  --danger:    #b23b3b;
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 10px 30px rgba(18, 51, 42, .09);
  --shadow-sm: 0 4px 14px rgba(18, 51, 42, .08);
  --container: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --transition: .18s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2rem; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--green-900); overflow-wrap: break-word; }
iframe { max-width: 100%; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--green-900); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section--alt { background: var(--bg-alt); }
.section--green { background: var(--green-900); color: #eaf3ee; }
.section--green h2, .section--green h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h1, .section-head h2 { margin-bottom: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px;
}
.section--green .eyebrow { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--green .lead { color: #c5d8ce; }

/* ---------- Top utility bar (Üst Kısma CTA) ---------- */
.topbar {
  background: var(--green-900); color: #dcece4;
  font-size: .9rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar__left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__cta {
  background: var(--gold); color: var(--green-900); padding: 6px 14px; border-radius: 999px;
  font-weight: 800; white-space: nowrap;
}
.topbar__cta:hover { background: #d8ab5f; text-decoration: none; }
@media (max-width: 720px) {
  .topbar { font-size: .82rem; }
  .topbar__left span { display: none; }
  .topbar .container { gap: 10px; }
  .topbar__cta { padding: 5px 11px; }
}
@media (max-width: 460px) {
  .topbar__cta { display: none; }
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.08rem; color: var(--green-900); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .16em; color: var(--gold-dark); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: .9rem; padding: 7px 9px; border-radius: 8px;
  white-space: nowrap;
}
.nav a:hover { background: var(--green-50); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--green-700); background: var(--green-50); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--green-900); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.header-cta { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.header-cta .btn { padding: 11px 16px; font-size: .9rem; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-outline { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
    gap: 2px; box-shadow: var(--shadow); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 8px; font-size: .98rem; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .site-header .container { min-height: 62px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 800; font-size: .98rem; padding: 13px 22px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-align: center; line-height: 1;
  white-space: nowrap;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--gold); color: var(--green-900); }
.btn-gold:hover { background: #d8ab5f; box-shadow: var(--shadow-sm); }
.btn-whatsapp { background: #25d366; color: #08331c; }
.btn-whatsapp:hover { background: #34e276; }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-50); }
.btn-white { background: #fff; color: var(--green-900); }
.btn-white:hover { background: #f2efe6; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Breadcrumb (Sayfa İşaret Yolu) ---------- */
.breadcrumb { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 12px 0; margin: 0;
  font-size: .88rem; color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "›"; color: var(--gold-dark); }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb [aria-current="page"] { color: var(--green-900); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #eef5f1; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(198,151,73,.28), transparent 60%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 62%, var(--green-600) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .10; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 59h60M59 0v60' stroke='%23ffffff' stroke-width='1' fill='none'/%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; padding-top: clamp(52px, 8vw, 92px); padding-bottom: clamp(52px, 8vw, 92px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; max-width: 20ch; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: #cfe1d8; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-size: .92rem; color: #bcd3c8; }
.hero-trust b { color: #fff; font-size: 1.25rem; display: block; }
.hero-card {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius); padding: 26px; backdrop-filter: blur(4px);
}
.hero-card h2 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.hero-card ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; color: #e6f0eb; font-size: .98rem; }
.hero-card li svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Generic content ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; box-shadow: var(--shadow-sm); }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon {
  width: 50px; height: 50px; border-radius: 12px; background: var(--green-50); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 16px; }
.card__link { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; text-align: center; }
.stat b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold); font-weight: 800; }
.stat span { color: var(--muted); font-size: .95rem; }
.section--green .stat span { color: #bcd3c8; }

/* ---------- FAQ (native details/summary, JS gerekmez) ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px; box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; color: var(--green-900);
  padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--gold-dark); flex: 0 0 auto; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > div { padding: 14px 0 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Reviews / Müşteri Yorumları ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.review p { color: var(--ink); font-size: .98rem; margin: 0; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; }
.review .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green-100); color: var(--green-800);
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto;
}
.review cite { font-style: normal; font-weight: 700; color: var(--green-900); display: block; }

/* ---------- Team / Takım Fotoğrafları ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--green-50); }
.team-card__body { padding: 18px 20px 22px; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-card span { color: var(--gold-dark); font-weight: 700; font-size: .88rem; }
.team-card p { color: var(--muted); font-size: .92rem; margin: 10px 0 0; }

/* ---------- Case studies / Vaka Çalışmaları ---------- */
.case-grid { display: grid; gap: 24px; }
.case {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.case__figure {
  background: linear-gradient(150deg, var(--green-700), var(--green-600));
  border-radius: var(--radius-sm); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 16px;
}
.case__figure b { font-size: 2rem; display: block; color: var(--gold); }
.case h3 { margin-bottom: 8px; }
.case p { color: var(--muted); font-size: .97rem; }
.case ul { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 680px) {
  .case { grid-template-columns: 1fr; gap: 16px; }
  .case__figure { aspect-ratio: 16/6; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--green-800), var(--green-600));
  color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 52px);
  text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #cfe1d8; max-width: 52ch; margin: 0 auto 22px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--green-900); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fdfdfb; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-50);
}
.field textarea { min-height: 120px; resize: vertical; }
.field small { color: var(--muted); font-size: .82rem; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 4px; }
.form-consent input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; color: var(--green-700); flex: 0 0 auto; margin-top: 3px; }
.info-list b { display: block; color: var(--green-900); }
.info-list a { color: var(--muted); }
.map-embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3; background: var(--green-50);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Internal link cluster (İç Linkleme) ---------- */
.link-cluster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.link-cluster a {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--green-900);
  box-shadow: var(--shadow-sm);
}
.link-cluster a:hover { background: var(--green-50); text-decoration: none; }
.link-cluster a::before { content: "→"; color: var(--gold-dark); font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #b9d0c5; font-size: .93rem; }
.site-footer .container { padding-top: 56px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #b9d0c5; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.footer-brand svg { width: 34px; height: 34px; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8fb0a3; font-size: .85rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile CTA (Sticky Telefon CTA) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: none; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.10);
}
.sticky-cta a {
  background: #fff; color: var(--green-900); font-weight: 800; font-size: .82rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 10px 4px; text-align: center;
}
.sticky-cta a:hover { text-decoration: none; }
.sticky-cta svg { width: 20px; height: 20px; }
.sticky-cta .is-wa { color: #128c3e; }
.sticky-cta .is-quote { background: var(--gold); }
@media (max-width: 940px) {
  .sticky-cta { display: grid; }
  body { padding-bottom: 66px; }
}

/* ---------- 404 / Teşekkür ---------- */
.centered-page { min-height: 62vh; display: flex; align-items: center; }
.centered-page .container { text-align: center; max-width: 640px; }
.centered-page .big { font-size: clamp(4rem, 16vw, 8rem); font-weight: 800; color: var(--green-100); line-height: 1; letter-spacing: -.04em; }
.centered-page .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.check-badge {
  width: 84px; height: 84px; border-radius: 50%; background: var(--green-50); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
}
.check-badge svg { width: 44px; height: 44px; }
.next-steps { text-align: left; display: inline-grid; gap: 12px; margin-top: 26px; }
.next-steps li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.next-steps svg { width: 20px; height: 20px; color: var(--green-600); flex: 0 0 auto; margin-top: 3px; }

/* ---------- Misc ---------- */
.tag {
  display: inline-block; background: var(--green-50); color: var(--green-800); font-weight: 700;
  font-size: .78rem; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em;
}
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
