/* ═══════════════════════════════════════════════════
   EMLAK PRO — ANA SAYFA ÖZEL CSS
   Sadece ana sayfada yüklenir (is_front_page).
   Tüm renkler :root CSS değişkenlerinden gelir.
═══════════════════════════════════════════════════ */

/* Header ana sayfada şeffaf + sticky scroll efekti */
body.home #site-header,
body.home .topbar { background: transparent !important; border-bottom: none !important; box-shadow: none !important; }
body.home #site-header.scrolled { background: rgba(10,15,26,0.92) !important; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.07) !important; }
body.home .topbar { display: none !important; }
body.home .site-logo .logo-text,
body.home .main-nav a,
body.home .logo-icon { color: white !important; }
body.home .main-nav a:hover { color: var(--accent,#C9A84C) !important; }
body.home .hamburger span { background: white !important; }
body.home .header-cta { border-color: rgba(255,255,255,0.35) !important; background: transparent !important; color: white !important; }
body.home .header-cta:hover { background: var(--accent,#C9A84C) !important; border-color: var(--accent,#C9A84C) !important; color: var(--ink,#0A0F1A) !important; }
body.home { padding-top: 0 !important; }

/* ── HERO ──────────────────────────────────────── */
.hp7-hero {
  position: relative;
  height: 100vh; min-height: 640px;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--hero-bg, #030811);
}
.hp7-photo {
  position: absolute; inset: 0;
  background-image: var(--hero-img, url('https://images.unsplash.com/photo-1524231757912-21f4fe3a7200?w=1920&q=85'));
  background-size: cover; background-position: center 38%;
  opacity: 0.22; transform: scale(1.04);
  transition: transform 14s ease; will-change: transform;
}
.hp7-hero:hover .hp7-photo { transform: scale(1.0); }
.hp7-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(3,8,17,.20) 0%, rgba(3,8,17,.10) 30%, rgba(3,8,17,.65) 68%, rgba(3,8,17,.97) 100%);
}
.hp7-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(transparent 98%, rgba(255,255,255,.022) 100%);
  background-size: 100% 52px;
}
.hp7-inner {
  position: relative; z-index: 2; flex: 1;
  display: grid; grid-template-columns: 1fr 400px; gap: 64px;
  align-items: center;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 80px 48px 0;
}
.hp7-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent,#C9A84C); margin-bottom: 20px;
  opacity: 0; animation: hp7Up .8s .1s ease forwards;
}
.hp7-eyebrow-line { width: 28px; height: 1px; background: var(--accent,#C9A84C); flex-shrink: 0; }
.hp7-h1 {
  font-family: var(--font-display,'Libre Baskerville',Georgia,serif);
  font-size: clamp(2.8rem,5vw,5rem); font-weight: 700; color: #fff;
  line-height: 1.06; letter-spacing: -.025em; margin-bottom: 20px;
  opacity: 0; animation: hp7Up .9s .22s ease forwards;
}
.hp7-h1 em { font-style: italic; color: var(--accent-lt,#E2C97E); }
.hp7-sub {
  font-size: 1rem; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,.50); max-width: 480px;
  opacity: 0; animation: hp7Up .9s .34s ease forwards;
}

/* Arama kartı */
.hp7-card-wrap { opacity: 0; animation: hp7Right .9s .3s ease forwards; }
@keyframes hp7Right { from { opacity:0; transform:translateX(28px); } to { opacity:1; transform:translateX(0); } }
.hp7-card {
  background: rgba(255,255,255,.065); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 28px;
  box-shadow: 0 32px 80px rgba(0,0,0,.4);
}
.hp7-stabs {
  display: flex; background: rgba(0,0,0,.30); border-radius: 10px; padding: 4px; gap: 3px; margin-bottom: 18px;
}
.hp7-stab {
  flex: 1; padding: 9px 6px;
  font-family: var(--font-body,'DM Sans',sans-serif); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  border: none; background: transparent; color: rgba(255,255,255,.38); border-radius: 7px; cursor: pointer; transition: all .2s;
}
.hp7-stab:hover { color: rgba(255,255,255,.72); }
.hp7-stab.active { background: var(--accent,#C9A84C); color: var(--ink,#0A0F1A); font-weight: 700; }
.hp7-field {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px; padding: 13px 16px; margin-bottom: 12px; transition: border-color .2s;
}
.hp7-field:focus-within { border-color: var(--accent,#C9A84C); }
.hp7-field svg { color: rgba(255,255,255,.32); flex-shrink: 0; }
.hp7-field input, .hp7-field select {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--font-body,'DM Sans',sans-serif); font-size: .92rem; color: #fff;
  appearance: none; -webkit-appearance: none;
}
.hp7-field input::placeholder { color: rgba(255,255,255,.28); }
.hp7-field select option { background: #0A0F1A; color: #fff; }
.hp7-go {
  width: 100%; padding: 15px; margin-top: 4px;
  background: var(--accent,#C9A84C); color: var(--ink,#0A0F1A); border: none; border-radius: 10px;
  font-family: var(--font-body,'DM Sans',sans-serif); font-size: .72rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: opacity .2s;
}
.hp7-go:hover { opacity: .85; }

/* Stats */
.hp7-stats-bar {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(3,8,17,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hp7-stats-inner {
  display: flex; align-items: center;
  max-width: 1280px; margin: 0 auto; padding: 20px 48px;
}
.hp7-stat {
  display: flex; flex-direction: column; gap: 3px; padding-right: 40px;
  opacity: 0; animation: hp7Up .8s .6s ease forwards;
}
.hp7-stat strong {
  font-family: var(--font-display,Georgia,serif); font-size: 1.8rem; font-weight: 700; color: #fff; line-height: 1;
}
.hp7-stat span { font-size: .63rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.30); }
.hp7-stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.10); flex-shrink: 0; margin-right: 40px; }
.hp7-stat-spacer { flex: 1; }
.hp7-scroll-link {
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.28); text-decoration: none; white-space: nowrap; transition: color .2s;
  opacity: 0; animation: hp7Up .8s .75s ease forwards;
}
.hp7-scroll-link:hover { color: var(--accent,#C9A84C); }
.hp7-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 3; pointer-events: none;
  opacity: 0; animation: hp7Up .8s 1s ease forwards;
}
.hp7-scroll-hint span { font-size: .56rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.20); }
.hp7-scroll-bar { width: 1px; height: 44px; background: linear-gradient(rgba(255,255,255,.25),transparent); animation: hp7Scroll 2.4s ease infinite; }
@keyframes hp7Scroll {
  0%    { transform: scaleY(0); transform-origin: top; }
  50%   { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100%  { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes hp7Up { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }

/* ── PORTALS ───────────────────────────────────── */
.hp7-portals {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.05);
}
.hp7-portal {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  padding: 56px 52px; text-decoration: none; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.05);
  transition: background .4s ease; min-height: 260px;
}
.hp7-portal:last-child { border-right: none; }
.hp7-portal:hover { background: rgba(255,255,255,.035); }
.hp7-portal::after {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  pointer-events: none; opacity: 0; transition: opacity .5s;
}
.hp7-portal-sale::after { background: radial-gradient(circle, rgba(37,99,235,.14), transparent 65%); }
.hp7-portal-rent::after { background: radial-gradient(circle, rgba(201,168,76,.12), transparent 65%); }
.hp7-portal:hover::after { opacity: 1; }
.hp7-portal-num { font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.18); }
.hp7-portal-body { flex: 1; padding: 28px 0 20px; }
.hp7-portal-icon { font-size: 2.2rem; margin-bottom: 14px; color: rgba(255,255,255,.40); transition: color .3s; }
.hp7-portal:hover .hp7-portal-icon { color: var(--accent,#C9A84C); }
.hp7-portal-title { font-family: var(--font-display,Georgia,serif); font-size: clamp(1.8rem,2.8vw,2.6rem); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 10px; }
.hp7-portal-desc { font-size: .87rem; font-weight: 300; color: rgba(255,255,255,.36); line-height: 1.65; }
.hp7-portal-count { color: var(--accent,#C9A84C); }
.hp7-portal-cta { display: flex; align-items: center; gap: 12px; font-size: .70rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.22); transition: color .3s; }
.hp7-portal-arrow { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .95rem; transition: all .3s; }
.hp7-portal:hover .hp7-portal-cta { color: #fff; }
.hp7-portal:hover .hp7-portal-arrow { border-color: var(--accent,#C9A84C); background: var(--accent,#C9A84C); color: var(--ink,#0A0F1A); transform: rotate(45deg); }

/* ── İLANLAR ───────────────────────────────────── */
.hp7-listings { padding: 72px 0 96px; }
.hp7-listings-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #e2e8f0; margin-bottom: 36px;
}
.hp7-eyebrow-sm { display: block; font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue,#2563EB); margin-bottom: 7px; }
.hp7-section-title { font-family: var(--font-display,Georgia,serif); font-size: clamp(1.6rem,2.5vw,2.2rem); font-weight: 700; color: var(--ink,#0A0F1A); line-height: 1.2; }
.hp7-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hp7-filter-group { display: flex; background: #eaecf2; border-radius: 8px; padding: 3px; gap: 2px; }
.hp7-fbtn { padding: 8px 18px; border-radius: 6px; font-family: var(--font-body,sans-serif); font-size: .78rem; font-weight: 600; cursor: pointer; border: none; background: transparent; color: #64748B; transition: all .18s; white-space: nowrap; }
.hp7-fbtn:hover { color: var(--ink,#0A0F1A); }
.hp7-fbtn.active { background: var(--ink,#0A0F1A); color: #fff; }
.hp7-fbtn[data-status="kiralik"].active { background: var(--blue,#2563EB); }
.hp7-sort { padding: 9px 14px; border: 1.5px solid #dde1eb; border-radius: 8px; background: #fff; color: var(--ink,#0A0F1A); font-family: var(--font-body,sans-serif); font-size: .80rem; font-weight: 600; cursor: pointer; appearance: none; -webkit-appearance: none; outline: none; min-width: 110px; }
.hp7-result-count { font-size: .80rem; color: #94A3B8; margin-bottom: 24px; }
.hp7-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.hp7-see-all { margin-top: 52px; display: flex; justify-content: center; }
.hp7-see-all-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 44px; border-radius: 8px;
  border: 1.5px solid var(--ink,#0A0F1A); color: var(--ink,#0A0F1A); background: transparent;
  font-family: var(--font-body,sans-serif); font-size: .78rem; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; text-decoration: none; transition: all .22s;
}
.hp7-see-all-btn span { font-size: 1rem; transition: transform .2s; }
.hp7-see-all-btn:hover { background: var(--ink,#0A0F1A); color: #fff; }
.hp7-see-all-btn:hover span { transform: translateX(5px); }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1100px) {
  .hp7-inner { grid-template-columns: 1fr 360px; gap: 48px; }
  .hp7-grid  { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
  .hp7-inner { grid-template-columns: 1fr; padding-top: 100px; }
  .hp7-card-wrap { display: none; }
  .hp7-portals { grid-template-columns: 1fr; }
  .hp7-portal { border-right: none; border-bottom: 1px solid rgba(255,255,255,.05); padding: 36px 28px; min-height: auto; }
  .hp7-portal:last-child { border-bottom: none; }
  .hp7-grid { grid-template-columns: repeat(2,1fr); }
  .hp7-listings-head { flex-direction: column; align-items: flex-start; }
  .hp7-controls { width: 100%; }
  .hp7-stats-inner { padding: 16px 24px; }
}
@media (max-width: 640px) {
  .hp7-inner { padding: 100px 20px 0; }
  .hp7-h1 { font-size: 2.6rem; }
  .hp7-stat { padding-right: 20px; }
  .hp7-stat strong { font-size: 1.5rem; }
  .hp7-stat:last-of-type,.hp7-stat-sep:last-of-type { display: none; }
  .hp7-filter-group,.hp7-fbtn,.hp7-sort { flex: 1; text-align: center; }
}
@media (max-width: 480px) {
  .hp7-grid { grid-template-columns: 1fr; }
  .hp7-h1 { font-size: 2.1rem; }
}

/* Sol kolon wrapper */
.hp7-left { max-width: 640px; }

/* ── İLAN KARTI ALT AKSIYONLAR ────────────────── */
.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid #f1f5f9;
}
.card-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
  padding: 8px 12px;
  background: var(--ink, #0A0F1A);
  color: white;
  border-radius: 7px;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .04em;
  transition: background .2s;
}
.card-phone-btn:hover { background: var(--blue, #2563EB); color: white; }
.card-favorite {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: white;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; flex-shrink: 0;
}
.card-favorite:hover, .card-favorite.active { border-color: #EF4444; color: #EF4444; }
