:root {
  --navy: #0d1e3c;
  --navy-deep: #060f1e;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --card: #ffffff;
  --wa: #25d366;
  --radius: 4px;
  --shadow: 0 1px 6px rgba(13,30,60,.07), 0 6px 24px rgba(13,30,60,.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── LOGO ── */
.logo { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.logo-mark { width: 130px; height: 16px; display: block; color: currentColor; }
.logo-panorama {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .22em;
  line-height: 1;
  color: inherit;
}
.logo-sub {
  font-size: .5rem;
  font-weight: 300;
  letter-spacing: .3em;
  color: inherit;
  opacity: .65;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header-logo { color: var(--navy); }
.header-actions { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: .875rem;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: opacity .15s, background .15s;
  letter-spacing: .01em;
}
.btn-phone {
  background: var(--off-white);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-phone:hover { background: #eef0f4; }
.btn-wa {
  background: var(--wa);
  color: #000;
  font-weight: 700;
}
.btn-wa:hover { opacity: .88; }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 100px 24px 80px;
  position: relative;
}
.hero-inner { max-width: 620px; }
.hero-eyebrow {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 28px;
}
.hero-rule {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,.25);
  margin: 0 auto 36px;
}
.hero-h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1.25;
  margin-bottom: 0;
}
.hero-h1 strong {
  font-weight: 800;
  display: block;
  margin-top: 8px;
}
.hero-cta {
  margin-top: 44px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-hero-light {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: .875rem;
  padding: 13px 26px;
  border-radius: var(--radius);
}
.btn-hero-light:hover { opacity: .92; }
.btn-hero-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  font-weight: 500;
  font-size: .875rem;
  padding: 13px 26px;
  border-radius: var(--radius);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.07); }
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.3);
  font-size: .58rem;
  letter-spacing: .25em;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.2);
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 96px 24px;
  border-bottom: 1px solid var(--line);
}
.manifesto-inner {
  max-width: 640px;
  margin: 0 auto;
}
.section-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.manifesto-text { font-size: 1.05rem; line-height: 1.85; color: var(--ink); }
.manifesto-text p { margin-bottom: .55em; }
.manifesto-text .lead {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 1.4em;
}
.manifesto-text .closer {
  margin-top: 1.4em;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.7;
}

/* ── SERVICES ── */
.services {
  background: var(--off-white);
  padding: 96px 24px;
  border-bottom: 1px solid var(--line);
}
.services-header { margin-bottom: 48px; }
.services-title {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-top: 14px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 860px;
}
.service-box {
  background: var(--white);
  padding: 36px 32px;
}
.service-num {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 18px;
}
.service-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
  line-height: 1.3;
}
.service-desc { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ── LISTINGS ── */
.listings { background: var(--white); padding: 80px 0 96px; }
.listings-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}
.listings-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
}
.listings-sub {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Filters */
.filters {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 28px;
}
.seg {
  display: flex;
  gap: 4px;
  background: var(--line);
  padding: 4px;
  border-radius: var(--radius);
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.seg button {
  flex: 1;
  min-width: 80px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .02em;
  color: var(--muted);
  padding: 9px 10px;
  border-radius: calc(var(--radius) - 1px);
  transition: all .12s;
}
.seg button.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(13,30,60,.1);
}
.seg-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 8px;
}
.seg-row select,
.seg-row input {
  font-family: inherit;
  font-size: .875rem;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 12px;
  width: 100%;
  appearance: none;
}
.seg-row select:focus,
.seg-row input:focus {
  outline: 2px solid var(--navy);
  outline-offset: -1px;
}

.result-bar {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--off-white);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.card:hover .card-img img { transform: scale(1.04); }
.ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
}
.badge {
  position: absolute;
  top: 11px;
  left: 11px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
}
.badge.kiralik { background: var(--navy); color: var(--white); }
.badge.satilik { background: var(--ink); color: var(--white); }
.badge.gunluk { background: rgba(255,255,255,.92); color: var(--ink); border: 1px solid var(--line); }
.photo-count {
  position: absolute;
  bottom: 9px;
  right: 9px;
  background: rgba(0,0,0,.52);
  color: var(--white);
  font-size: .65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: .03em;
}
.card-body { padding: 16px 18px 18px; }
.price {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 5px;
  letter-spacing: -.01em;
}
.card-title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.chips { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 7px; }
.chip {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--muted);
  background: var(--off-white);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 2px;
}
.loc { font-size: .75rem; color: var(--muted); font-weight: 500; }
.empty {
  text-align: center;
  padding: 72px 20px;
  color: var(--muted);
  font-size: .9rem;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 56px 0 0;
}
.footer-in {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
}
.footer-logo { color: var(--white); margin-bottom: 12px; }
.footer-region {
  font-size: .72rem;
  letter-spacing: .12em;
  opacity: .45;
  margin-top: 8px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color .15s;
}
.footer-contact a:hover { color: var(--white); }
.copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: .7rem;
  letter-spacing: .05em;
  opacity: .3;
}

/* ── MODAL ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6,15,30,.72);
  backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 820px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--muted);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.modal-body { padding: 24px; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 24px;
}
.hero-img {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--off-white);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery img:not(.hero-img img) {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
  cursor: zoom-in;
  transition: opacity .15s;
}
.gallery img:hover { opacity: .85; }

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.detail h2 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 10px;
}
.detail-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.detail-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  text-align: right;
}
.detail-price small {
  display: block;
  font-size: .7rem;
  font-weight: 400;
  color: var(--muted);
}
.desc {
  font-size: .88rem;
  line-height: 1.75;
  color: #374151;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.desc h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin: 14px 0 5px; }
.desc p { margin-bottom: 7px; }
.desc ul { padding-left: 18px; margin-bottom: 8px; }
.desc li { margin-bottom: 3px; }
.desc table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: .82rem; }
.desc td { border: 1px solid var(--line); padding: 6px 10px; }
.detail-cta { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.btn-call {
  background: var(--navy);
  color: var(--white);
  flex: 1;
  justify-content: center;
}
.btn-call:hover { opacity: .86; }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 2px; }
.lb-close {
  position: fixed;
  top: 16px;
  right: 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: 1.3rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1.7rem;
  width: 46px;
  height: 60px;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-count {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
}

/* ── WA FAB ── */
.wa-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
  transition: transform .15s;
}
.wa-fab:hover { transform: scale(1.08); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-box { padding: 26px 22px; }
  .seg-row { grid-template-columns: 1fr 1fr; }
  .seg-row input { grid-column: 1 / -1; }
  .header-actions .btn-phone { display: none; }
  .footer-in { grid-template-columns: 1fr; }
  .footer-contact { align-items: flex-start; }
  .gallery { grid-template-columns: 1fr; }
  .manifesto { padding: 64px 24px; }
  .services { padding: 64px 24px; }
  .listings { padding: 56px 0 72px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
