:root{--navy:#101e34;--red:#b61d34;--muted:#516073;--line:#dce2e9;--soft:#f1f4f7;--white:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,"Helvetica Neue",sans-serif;font-size:1rem;color:var(--navy);background:white;line-height:1.55}
a{color:inherit;text-decoration:none}
button,select{font:inherit}
button,a,select{touch-action:manipulation}
a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #2862b0;outline-offset:4px}
h1,h2,h3,p,figure{margin:0}
.wrap{width:min(1180px,calc(100% - 96px));margin-inline:auto}
.header,.brand,nav,.footer-inner,.contact{display:flex;align-items:center}
.header{justify-content:space-between;gap:26px;min-height:88px}
.brand img{display:block;object-fit:contain;flex:none}
.brand span{border-left:1px solid var(--line);padding-left:14px;font-size:.875rem;font-weight:700;line-height:1.3}
nav,.contact{gap:30px;flex-wrap:wrap}
nav a{font-weight:700;font-size:.9375rem}
nav a:hover,.contact a:hover{text-decoration:underline}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:5px;font-weight:700;font-size:.9375rem;border:1px solid transparent;cursor:pointer;line-height:1.3;text-align:center}
.outline{background:white;border-color:#bdc8d5;color:var(--navy)}
.outline:hover{background:#eaf0f6}
.red{background:var(--red);color:white}
.red:hover{background:#99172c}
.hero{background:var(--navy);color:white;position:relative;isolation:isolate;overflow:hidden}
.hero-copy{position:relative;padding-block:74px 78px}
.hero-image{position:absolute;z-index:-2;inset:0 0 0 38%}
.hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:62% center}
.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--navy) 34%,#101e34ed 43%,#101e3460 67%,#101e3415)}
.eyebrow{font-size:.875rem;letter-spacing:.11em;font-weight:800;display:flex;align-items:center;gap:10px}
.eyebrow span{width:18px;height:3px;background:#e34454;display:inline-block}
.hero h1{font-size:clamp(2.65rem,7.1vw,6.6rem);line-height:1;letter-spacing:-.065em;margin:0 0 22px}
.hero h1 span{color:#dce9ff}
.hero-copy>p:not(.eyebrow){max-width:430px;color:#e1e7ef;margin-bottom:25px}
.portfolio{padding-block:62px 70px}
.section-top{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:23px}
.portfolio-links>p{max-width:300px;color:var(--muted)}
h2{font-size:clamp(1.9rem,4.2vw,3.2rem);line-height:1.08;letter-spacing:-.05em;margin-top:10px}
.filters{display:grid;grid-template-columns:repeat(3,1fr) auto;align-items:end;gap:14px;background:var(--soft);padding:17px;border-radius:7px}
.filters label{font-size:.875rem;font-weight:700}
select{display:block;width:100%;margin-top:5px;min-height:44px;border:1px solid #bdc8d5;border-radius:5px;background:white;padding:7px 12px;color:var(--navy)}
.results{margin:20px 0 10px;color:var(--muted);font-size:.9rem}
.listings{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{border:1px solid var(--line);border-radius:7px;overflow:hidden;display:flex;flex-direction:column}
.card-head{background:var(--navy);color:white;padding:17px 20px;display:flex;gap:10px;justify-content:space-between;font-size:.875rem}
.card-head strong{color:white}
.card-body{padding:19px 20px 20px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.card h3{font-size:1.25rem;line-height:1.25;margin:6px 0 8px}
.card p{color:var(--muted)}
.card .location{font-size:.875rem}
.card button{margin-top:18px}
.services{background:var(--soft);padding-block:50px}
.service-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:45px;align-items:center}
.service-grid a{margin-top:15px}
.footer{background:var(--navy);color:white;padding-block:31px}
.footer-inner{justify-content:space-between;flex-wrap:wrap;gap:18px}
.footer h2{font-size:1.45rem;margin:0 0 5px}
.footer p{color:#d5dfe9}
.contact{gap:16px 23px;font-size:.9375rem}
dialog{padding:28px;width:min(530px,calc(100% - 32px));color:var(--navy);border:none;border-radius:10px;box-shadow:0 10px 50px #101e344d}
dialog::backdrop{background:#091424aa}
dialog h2{font-size:2rem;margin-bottom:10px}
.close{float:right;border:0;background:var(--soft);border-radius:5px;min-width:44px;min-height:44px;cursor:pointer;font-size:1.5rem;margin-left:10px}
dl div{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:7px 0}
dd{margin:0;text-align:right;font-weight:700}
@media(max-width:820px){.wrap{width:calc(100% - 48px)}.listings{grid-template-columns:repeat(2,1fr)}.filters{grid-template-columns:repeat(2,1fr)}.hero-image{left:26%}}
@media(max-width:590px){.wrap{width:calc(100% - 32px)}.header{flex-wrap:wrap;gap:0 12px;padding-bottom:13px}.brand img{width:68px;height:68px}nav{width:100%;order:3;gap:24px}.header-contact{padding-inline:11px}.hero-copy{padding-block:58px 48px}.hero-image{left:0}.hero:after{background:linear-gradient(90deg,#101e34fa,#101e34b0)}.section-top{display:block}.portfolio-links>p{margin-top:10px}.portfolio{padding-block:42px}.listings,.service-grid{grid-template-columns:1fr}.service-grid{gap:20px}.filters{gap:9px;padding:12px}.filters .button{padding-inline:8px}.contact{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.portfolio-links .button{margin-top:10px}

.listing-photo{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:var(--soft)}
.card p.price,.price{color:var(--navy);font-size:1.35rem;font-weight:800;margin-top:8px}
.detail-actions{display:flex;gap:8px;flex-wrap:wrap}
dialog{max-height:calc(100dvh - 32px)}

@media (prefers-reduced-motion: no-preference) {
  @keyframes enter-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes hero-image-settle {
    from { transform: scale(1.055); }
    to { transform: scale(1); }
  }

  @keyframes backdrop-enter {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .hero-copy > * {
    animation: enter-up 520ms cubic-bezier(.2, .7, .3, 1) both;
  }
  .hero-copy > p { animation-delay: 65ms; }
  .hero-copy > .button { animation-delay: 130ms; }
  .hero-image img { animation: hero-image-settle 1100ms ease-out both; }

  .card {
    animation: enter-up 280ms ease-out both;
    transition: box-shadow 200ms ease, border-color 200ms ease, translate 200ms ease;
  }
  .card:nth-child(2n) { animation-delay: 35ms; }
  .card:nth-child(3n) { animation-delay: 70ms; }

  .button {
    transition: background-color 160ms ease, box-shadow 160ms ease, translate 160ms ease;
  }
  .button:active { translate: 0 1px; }

  dialog[open]::backdrop { animation: backdrop-enter 220ms ease-out both; }

  @media (hover: hover) and (pointer: fine) {
    .card:hover {
      translate: 0 -4px;
      border-color: #b8c6d6;
      box-shadow: 0 12px 26px #101e3414;
    }
    .button:hover { box-shadow: 0 3px 10px #101e341a; }
  }

  @supports (animation-timeline: view()) {
    .service-grid {
      animation: enter-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 75%;
    }
  }
}

.icon-definitions { display: none; }
.shortcut-icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
a.button:has(.shortcut-icon), .contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.office-address {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 3px solid #e34454;
}
.office-address h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.footer address {
  color: #e5edf6;
  font-style: normal;
}

.hero-copy { padding-bottom: 108px; }
.hero-image img { object-position: 68% 55%; }
.quick-search {
  position: relative;
  margin-top: -36px;
  padding: 14px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 12px 30px #101e3412;
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.quick-search p {
  font-size: 1.05rem;
  font-weight: 800;
  padding-inline: 10px;
}
.quick-search .button { min-height: 48px; }
.quick-sale { background: #fbecef; color: #94182d; }
.quick-rent { background: #eaf1fd; color: #173d73; }
.quick-sale:hover { background: #f6dce3; }
.quick-rent:hover { background: #dce9fd; }
.portfolio { padding-top: 46px; scroll-margin-top: 22px; }
.filters { border: 1px solid var(--line); border-radius: 10px; }
.listings { gap: 20px; }
.card { border-radius: 12px; box-shadow: 0 5px 15px #101e3409; }
.card-head {
  background: #f5f7fa;
  border-bottom: 1px solid var(--line);
  align-items: center;
  color: var(--muted);
  padding: 13px 18px;
}
.card-head strong {
  padding: 4px 10px;
  border-radius: 5px;
  background: #fbecef;
  color: #94182d;
}
.card-head[data-deal="Kiralık"] strong { background: #eaf1fd; color: #173d73; }
.card-body { padding: 18px; }
.card-body .price { padding-bottom: 0; }
.card-body .button { margin-top: auto; }
.services { background: #eaf1fd; }
@media (max-width: 590px) {
  .hero-copy { padding-bottom: 76px; }
  .quick-search { grid-template-columns: 1fr 1fr; margin-top: -26px; }
  .quick-search p { grid-column: 1 / -1; padding-inline: 0; }
  .quick-search .button { padding-inline: 8px; }
  .portfolio { padding-top: 34px; }
}

.map-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: .9375rem;
}
.share-status:not(:empty) {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9375rem;
}
.share-url {
  width: 100%;
  margin-top: 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px;
  font: inherit;
}

/* Keep the listing grid readable even when an external photo is unavailable. */
.card .location {
  color: #465c77;
  font-weight: 700;
}
.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 5px 0 16px;
  list-style: none;
  font-size: .875rem;
}
.card-specs li {
  padding: 3px 8px;
  border-radius: 4px;
  background: #f1f5fa;
  color: #344860;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.card-actions .price,
.card-actions .button {
  margin: 0;
}
.card-actions .price {
  font-variant-numeric: tabular-nums;
}
.card-actions .button {
  padding-inline: 12px;
  background: #edf3fc;
  border-color: transparent;
}
.card-actions .button:hover {
  background: #dae7fb;
}
.footer .contact a {
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid #50617a;
  border-radius: 6px;
}
.footer .contact a:hover {
  background: #233651;
  text-decoration: none;
}
.footer a:focus-visible {
  outline-color: #a9cdff;
}
@media (max-width: 590px) {
  .hero-copy { padding-block: 48px 174px; }
  .hero-image { inset: auto 0 0; height: 220px; }
  .hero:after {
    background: linear-gradient(180deg, var(--navy) 49%, #101e34a0 70%, #101e341a 100%);
  }
  .footer .contact { gap: 8px; }
}
