/* ==========================================================================
   Liman Emlak — Public Site Stylesheet (Ferah & Güven Mavisi Tema)
   ========================================================================== */

:root {
  /* Ana Renk Paleti - Ferah, Modern ve Güven Verici */
  --navy-900: #1e293b; 
  --navy-800: #334155;
  --navy-700: #475569;
  --navy-600: #64748b;

  /* YENİ BUTON VE VURGU RENGİ: Modern Güven Mavisi */
  --accent-primary: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;

  /* Altın sarısı sadece ikon ve özel rozetler için tutuldu */
  --gold-500: #c69a2e;
  --gold-400: #d7b453;
  --gold-100: #fdfaf3; 

  /* Arka Plan Tonları - Aydınlık ve Ferah */
  --cream-50: #f8fafc; 
  --cream-100: #f1f5f9;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --success: #10b981;
  --danger: #ef4444;
  
  /* Formlar & Gölgeler */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.05);
  --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 41, 59, 0.12);
  --container: 1200px;
  
  /* Fontlar */
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Editör Uyarılarını Çözen Temiz Sıfırlama (Reset) */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Özel Kaydırma Çubuğu (Scrollbar) - Güven Mavisi */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-left: 1px solid var(--gray-200);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 10px;
  border: 3px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-alt {
  background: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
  font-weight: 700;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-primary);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.lede {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* YENİ BUTONLAR (Mavi Vurgulu) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--white);
}

.btn-outline:hover {
  background: var(--accent-light);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-800);
}

.btn-ghost {
  background: var(--gray-100);
  color: var(--navy-900);
}

.btn-ghost:hover {
  background: var(--gray-200);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================================
   YENİ PORTAL HEADER TASARIMI (3 KATMANLI)
   ========================================================================== */
.portal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* 1. Üst Bant (Kaporam Güvende vb.) */
.header-top-bar {
  background: #17459b; /* Portal Laciverti */
  color: var(--white);
  font-size: 0.8rem;
  padding: 6px 0;
}
.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top-bar a { color: #60a5fa; font-weight: 600; text-decoration: none; }
.header-top-bar .top-bar-right a { color: var(--white); font-weight: normal; }

/* 2. Orta Bant (Logo, Arama, Butonlar) */
.header-main-bar {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Dev Arama Çubuğu */
.header-search-box {
  flex: 1;
  max-width: 600px;
}
.header-search-box form {
  display: flex;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
  padding: 4px;
  transition: 0.2s;
}
.header-search-box form:focus-within {
  border-color: var(--accent-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.header-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 20px;
  font-size: 0.95rem;
  outline: none;
  color: var(--navy-900);
}
.header-search-box button {
  background: var(--accent-primary);
  color: var(--white);
  border: none;
  width: 48px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.header-search-box button:hover {
  background: var(--accent-hover);
}

/* Butonlar */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-add-listing {
  padding: 10px 24px;
  font-size: 0.9rem;
}
.btn-login {
  background: var(--gray-100);
  color: var(--navy-900);
  padding: 10px 20px;
  font-size: 0.9rem;
  border: 1px solid transparent;
}
.btn-login:hover {
  background: var(--white);
  border-color: var(--gray-200);
}

/* 3. Alt Navigasyon Menüsü */
.header-bottom-nav {
  background: var(--white);
}
.main-nav-portal {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav-portal > a {
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 16px 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}
.main-nav-portal > a:hover {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

.nav-right-special {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.nav-trophy {
  color: var(--gold-500) !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 24px;
}
.nav-highlight {
  background: var(--accent-light);
  color: var(--accent-primary) !important;
  padding: 16px 24px;
  font-weight: 600;
  border-left: 1px solid var(--gray-100);
  border-right: 1px solid var(--gray-100);
}

/* Mobilde Görünüm Düzenlemesi */
@media (max-width: 960px) {
  .header-main-inner { flex-wrap: wrap; gap: 16px; }
  .header-search-box { order: 3; max-width: 100%; min-width: 100%; }
  .header-bottom-nav { display: none; /* Mobilde hamburger menüye taşınabilir */ }
  .header-top-bar { display: none; }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--accent-primary), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  flex: none;
  /* Kutu etrafına zarif bir güven mavisi iz düşümü (glow) */
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.5), 0 4px 10px rgba(37, 99, 235, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3); /* İnce ve parlak bir iç sınır */
}

/* Şeffaf (PNG/SVG) logoların kendi hatlarına mavi bir aura (iz) ekler */
.brand-mark img {
  border-radius: 8px;
  filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.9));
}

.brand-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  color: var(--gray-600);
  font-size: 0.92rem;
  font-weight: 500;
  transition: 0.15s;
  position: relative;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--accent-primary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--accent-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--navy-900);
  border: 1px solid var(--gray-200);
  transition: 0.2s;
}

.icon-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy-900);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset: 82px 0 0 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 22px;
    transform: translateX(100%);
    transition: 0.25s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .nav-toggle {
    display: block;
  }
}

/* Ferah Hero Alanı */
.hero {
  position: relative;
  color: var(--navy-900);
  overflow: hidden;
  background: linear-gradient(155deg, var(--cream-100) 0%, var(--white) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background: radial-gradient(circle at 78% 20%, rgba(37, 99, 235, 0.08), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(37, 99, 235, 0.04), transparent 45%);
}

.hero-inner {
  position: relative;
  padding: 120px 0 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  color: var(--navy-900);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 620px;
}

.hero .lede {
  color: var(--gray-600);
  max-width: 520px;
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--accent-primary);
}

.hero-stats div span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  color: var(--navy-900);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.hero-badge strong {
  display: block;
  color: var(--accent-primary);
  font-family: var(--font-head);
  font-size: 1.2rem;
}

.hero-badge span {
  font-size: 0.72rem;
  color: var(--gray-600);
}

/* Search bar */
.search-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px;
  margin-top: -46px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 14px;
  border: 1px solid var(--gray-100);
}

.search-bar label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.search-bar input, .search-bar select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--gray-50);
}

.search-bar input:focus, .search-bar select:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 1px;
  background: var(--white);
}

.search-bar .btn {
  align-self: end;
}

@media (max-width: 960px) {
  .search-bar { grid-template-columns: 1fr 1fr; }
}

/* Vitrin (showcase) */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-tabs button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: 0.15s;
}

.filter-tabs button.active, .filter-tabs button:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--white);
}

.vitrin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1080px) { .vitrin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .vitrin-grid { grid-template-columns: 1fr; } }

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.2s ease;
  border: 1px solid var(--gray-100);
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.property-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s;
}

.property-card:hover .property-media img {
  transform: scale(1.06);
}

.property-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.property-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.property-fav:hover {
  color: var(--danger);
}

.property-price {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.property-body {
  padding: 20px 20px 22px;
}

.property-body h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.property-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 14px;
}

.property-meta {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.82rem;
  color: var(--gray-600);
}

.property-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.show-more {
  text-align: center;
  margin-top: 44px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 { font-size: 1.05rem; }
.feature-card p { color: var(--gray-600); font-size: 0.92rem; margin: 0; }

/* Split / about teaser */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.check-list li svg {
  flex: none;
  color: var(--accent-primary);
  margin-top: 3px;
}

/* Testimonial / CTA band (Aydınlık) */
.cta-band {
  background: linear-gradient(140deg, var(--accent-light), var(--white));
  color: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  border: 1px solid var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  color: var(--navy-900);
  margin-bottom: 8px;
}

.cta-band p {
  color: var(--gray-600);
  margin: 0;
}

/* Forms */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  padding: 34px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.field small {
  display: block;
  color: var(--gray-400);
  font-size: 0.75rem;
  margin-top: 4px;
}

.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.94rem;
  background: var(--gray-50);
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 1px;
  background: var(--white);
}

.field textarea { resize: vertical; min-height: 110px; }
.form-full { margin-bottom: 16px; }

.segmented {
  display: inline-flex;
  background: var(--gray-100);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
}

.segmented button {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--gray-600);
  cursor: pointer;
}

.segmented button.active {
  background: var(--accent-primary);
  color: var(--white);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 18px 0;
}

.consent a {
  color: var(--accent-primary);
  text-decoration: underline;
}

.badge-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent-hover);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Legal pages */
.legal-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 880px) { .legal-shell { grid-template-columns: 1fr; } }

.legal-nav {
  position: sticky;
  top: 104px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.legal-nav a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--gray-600);
}

.legal-nav a.active, .legal-nav a:hover {
  background: var(--accent-light);
  color: var(--accent-primary);
  font-weight: 500;
}

.legal-doc {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.legal-doc h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--gray-600); font-size: 0.95rem; }
.legal-doc ol, .legal-doc ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal-updated { color: var(--gray-400); font-size: 0.8rem; margin-bottom: 28px; }

/* Vision/mission cards (Aydınlık) */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--white);
  color: var(--gray-800);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.pillar-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.05); /* Mavi arka plan balonu */
}

.pillar-card h3 { color: var(--accent-primary); }
.pillar-card p { color: var(--gray-600); position: relative; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.team-card { text-align: center; }
.team-card img {
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 14px;
}
.team-card strong { display: block; }
.team-card span { color: var(--gray-600); font-size: 0.85rem; }

/* Footer (Ferah / Beyaz) */
.site-footer {
  background: var(--white);
  color: var(--gray-600);
  padding-top: 72px;
  border-top: 1px solid var(--gray-200);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}

@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand p { color: var(--gray-600); font-size: 0.88rem; max-width: 280px; }
.footer-col h4 { color: var(--navy-900); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--gray-600); transition: 0.2s; }
.footer-col a:hover { color: var(--accent-primary); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  color: var(--navy-900);
  transition: 0.2s;
}
.social-row a:hover {
  background: var(--accent-primary);
  color: var(--white);
  border-color: var(--accent-primary);
}

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pay-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: 0.03em;
}

.trust-note { color: var(--gray-400); font-size: 0.78rem; margin: 0 0 12px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-50);
  color: var(--navy-900);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--gray-200);
}
.trust-badge svg { flex: none; color: var(--accent-primary); } /* İkonlar da Mavi oldu */

.etbis-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
}
.etbis-box a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-900); font-size: 0.82rem; font-weight: 700; }
.etbis-box span { display: block; font-size: 0.72rem; color: var(--gray-400); margin-top: 4px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.78rem;
  color: var(--gray-400);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Back to top (Mavi Yapıldı) */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s;
  z-index: 60;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-hover); transform: translateY(-3px); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  padding: 20px 22px;
  z-index: 80;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transform: translateY(140%);
  transition: 0.3s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.85rem; color: var(--gray-600); margin: 0 0 12px; }
.cookie-actions { display: flex; gap: 10px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex { display: flex; }
.gap-8 { gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.badge-success { background: #e5f4ea; color: var(--success); }
.badge-warn { background: var(--accent-light); color: var(--accent-hover); }
.badge-danger { background: #fbeae7; color: var(--danger); }

/* Live chat widget (Mavi Yapıldı) */
.chat-widget { position: fixed; right: 24px; bottom: 84px; z-index: 70; }
.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
  border: none;
  cursor: pointer;
  transition: 0.2s;
}
.chat-toggle:hover { background: var(--accent-hover); transform: translateY(-2px); }
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 340px;
  max-height: 460px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-head { background: var(--accent-primary); color: var(--white); padding: 16px 18px; display: flex; align-items: center; gap: 10px; }
.chat-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.chat-head strong { display: block; font-size: 0.9rem; }
.chat-head span { display: block; font-size: 0.72rem; color: var(--accent-light); }
.chat-body { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; font-size: 0.85rem; background: var(--gray-50); }
.chat-msg { max-width: 80%; padding: 9px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--gray-100); }
.chat-msg.me { align-self: flex-end; background: var(--accent-primary); color: var(--white); border-color: var(--accent-primary); }
.chat-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--gray-100); }
.chat-quick button { border: 1px solid var(--gray-200); background: var(--white); color: var(--gray-600); padding: 6px 10px; border-radius: 999px; font-size: 0.72rem; cursor: pointer; }
.chat-quick button:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.chat-input { display: flex; border-top: 1px solid var(--gray-100); }
.chat-input input { flex: 1; border: none; padding: 14px; font-family: inherit; font-size: 0.85rem; }
.chat-input input:focus { outline: none; }
.chat-input button { border: none; background: var(--accent-primary); color: var(--white); padding: 0 18px; cursor: pointer; font-weight: 700; transition: 0.2s; }
.chat-input button:hover { background: var(--accent-hover); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(150deg, var(--cream-100), var(--white)); color: var(--navy-900); padding: 64px 0 56px; border-bottom: 1px solid var(--gray-100); }
.page-hero h1 { color: var(--navy-900); margin-bottom: 10px; }
.breadcrumb { font-size: 0.82rem; color: var(--gray-600); }
.breadcrumb a { color: var(--accent-primary); font-weight: 500; }

/* Maintenance page */
.maintenance-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream-50);
  color: var(--navy-900);
  padding: 24px;
}
.maintenance-shell .inner { max-width: 520px; }
.maintenance-shell .brand-mark { margin: 0 auto 24px; color: var(--white); }
.maintenance-shell h1 { color: var(--navy-900); font-size: 2rem; }
.maintenance-shell p { color: var(--gray-600); }
.maintenance-eta { display: inline-block; margin-top: 18px; background: var(--white); border: 1px solid var(--gray-200); padding: 10px 20px; border-radius: 999px; font-size: 0.85rem; box-shadow: var(--shadow-sm); }

/* ==========================================================================
   İlan Detay — Resim Galerisi + Tam Ekran Görüntüleyici (Lightbox)
   ========================================================================== */
.property-gallery { margin-bottom: 24px; }
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.gallery-zoom-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(255,255,255,0.9);
  color: var(--navy-900);
  border: 1px solid var(--gray-200);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(2px);
  transition: 0.2s;
}
.gallery-zoom-btn:hover { background: var(--white); color: var(--accent-primary); }
.gallery-count-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255,255,255,0.9);
  color: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--gray-200);
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: rgba(255,255,255,0.95);
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: 0.2s;
}
.gallery-nav:hover { background: var(--white); color: var(--accent-primary); }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb {
  width: 76px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--gray-100);
  flex: none;
  transition: 0.2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { border-color: var(--accent-light); }
.gallery-thumb.active { border-color: var(--accent-primary); }

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.95); 
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-backdrop.open { display: flex; }
.lightbox-stage { max-width: 92vw; max-height: 82vh; display: flex; align-items: center; justify-content: center; }
.lightbox-stage img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: var(--gray-100);
  color: var(--navy-900);
  border: 1px solid var(--gray-200);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.2s;
}
.lightbox-close:hover { background: var(--gray-200); color: var(--danger); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy-900);
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: var(--shadow-md);
}
.lightbox-nav:hover { background: var(--gray-50); color: var(--accent-primary); }
.lightbox-nav.prev { left: 22px; }
.lightbox-nav.next { right: 22px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--navy-900);
  background: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .gallery-thumb { width: 60px; height: 46px; }
  .lightbox-nav { width: 42px; height: 42px; }
}