/* ============================================================
   ASPAVA PRIME — ANA STİL DOSYASI v3
   Lüks palet: Koyu Kömür + Saf Altın
============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS
---------------------------------------------------------- */
:root {
  /* ─── Birincil: Saf Altın ─── */
  --forest:        #C9A028;   /* altın — ana marka aksan */
  --forest-dark:   #A88020;   /* hover/active altın */
  --forest-deep:   #1E1E2C;   /* koyu kömür zemin */
  --forest-light:  #D4B24A;   /* açık altın vurgu */
  --forest-pale:   #FDF8EB;   /* çok açık altın yüzey */
  --forest-mid:    #F2E4A8;   /* orta altın */

  /* ─── Aksan: Şampanya / Bronz Altın ─── */
  --copper:        #B8911E;   /* derin altın aksan */
  --copper-dark:   #9A7815;   /* hover */
  --copper-light:  #D4AE50;   /* açık vurgu */
  --copper-pale:   #FDF5DC;   /* yüzey */

  /* ─── Nötrler ─── */
  --cream:         #FAF9F7;   /* sayfa arka planı */
  --cream-dark:    #F3F0EC;   /* bölüm arka planı */
  --stone-100:     #E8E4DC;   /* border/divider */
  --stone-200:     #D4CEBF;   /* orta border */
  --stone-300:     #B4ACA0;   /* muted border */
  --bark:          #1A1A26;   /* metin rengi — koyu kömür */
  --bark-light:    #28283A;   /* başlık */
  --slate:         #5A5870;   /* muted metin */
  --slate-light:   #8A8898;   /* çok muted */
  --white:         #FFFFFF;

  /* ─── Durum Renkleri ─── */
  --success:       #1E9954;
  --error:         #D64545;
  --warning:       #C47A1E;
  --info:          #2671D9;

  /* ─── Geri uyumluluk ─── */
  --teal:          var(--forest);
  --teal-dark:     var(--forest-dark);
  --teal-light:    var(--forest-light);
  --bronze:        var(--copper);
  --bronze-dark:   var(--copper-dark);
  --bronze-light:  var(--copper-light);
  --bg:            var(--cream);
  --bg-dark:       var(--cream-dark);
  --dark:          var(--bark);
  --muted:         var(--slate);
  --gray-100:      var(--cream-dark);
  --gray-200:      var(--stone-100);
  --gray-300:      var(--stone-200);
  --gray-400:      var(--stone-300);
  --gray-500:      var(--slate-light);
  --teal-100:      var(--forest-pale);
  --border:        var(--stone-100);

  /* ─── Tipografi ─── */
  --font-heading:  'Fraunces', Georgia, serif;
  --font-body:     'Instrument Sans', system-ui, -apple-system, sans-serif;

  /* ─── Radius ─── */
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-full:   9999px;

  /* ─── Gölgeler (kömür tonlu) ─── */
  --shadow-xs:     0 1px 2px rgba(20,20,38,.08);
  --shadow-sm:     0 2px 8px rgba(20,20,38,.10), 0 1px 3px rgba(20,20,38,.06);
  --shadow:        0 4px 20px rgba(20,20,38,.12);
  --shadow-lg:     0 8px 40px rgba(20,20,38,.16);
  --shadow-xl:     0 20px 64px rgba(20,20,38,.22);
  --shadow-inset:  inset 0 1px 3px rgba(20,20,38,.08);

  /* ─── Geçişler ─── */
  --ease:          cubic-bezier(.32,.72,0,1);
  --transition:    180ms var(--ease);
  --transition-md: 280ms var(--ease);
  --transition-slow: 380ms var(--ease);

  /* ─── Spacing (4px ızgara) ─── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ─── Layout ─── */
  --container-max: 1280px;
  --navbar-h:      72px;
}

/* ----------------------------------------------------------
   2. RESET & BASE
---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--bark);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--forest); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--bark);
}

p { line-height: 1.7; }

/* ----------------------------------------------------------
   3. UTILITIES
---------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 640px) { .container { padding: 0 var(--space-4); } }

.section        { padding: var(--space-20) 0; }
.section--sm    { padding: var(--space-12) 0; }
.section--lg    { padding: calc(var(--space-24) * 1.2) 0; }

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section__subtitle {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper);
  background: var(--copper-pale);
  border: 1px solid rgba(192,122,58,.15);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.section__title {
  font-size: clamp(26px, 4vw, 40px);
  color: var(--bark);
  margin-bottom: var(--space-3);
}

.section__desc {
  color: var(--slate);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ----------------------------------------------------------
   4. BUTONLAR
---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 11px 22px;
  font-size: 14px;
  letter-spacing: .01em;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn:active { transform: scale(.98); }

.btn--primary {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.btn--primary:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201,160,40,.40);
}

.btn--copper, .btn--bronze {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}
.btn--copper:hover, .btn--bronze:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(192,122,58,.35);
}

.btn--outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn--outline:hover {
  background: var(--forest-pale);
  color: var(--forest-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--slate);
  border-color: var(--stone-100);
}
.btn--ghost:hover {
  background: var(--cream-dark);
  color: var(--bark);
}

.btn--white {
  background: var(--white);
  color: var(--forest);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.btn--white:hover {
  box-shadow: var(--shadow);
  color: var(--forest-dark);
}

.btn--sm  { padding: 7px 16px; font-size: 13px; }
.btn--lg  { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-lg); }
.btn--xl  { padding: 16px 36px; font-size: 17px; border-radius: var(--radius-lg); }

.btn--full { width: 100%; justify-content: center; }

/* ----------------------------------------------------------
   5. FORM ELEMANLARı
---------------------------------------------------------- */
.form-group { margin-bottom: var(--space-5); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: var(--space-2);
  letter-spacing: .01em;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--bark);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(46,122,88,.12);
}

.form-control::placeholder { color: var(--stone-300); }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A7066' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
}

textarea.form-control { resize: vertical; min-height: 100px; }

/* ----------------------------------------------------------
   6. NAVBAR
---------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(26,26,38,.94);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(201,160,40,.12);
  transition: box-shadow var(--transition-md), border-color var(--transition-md);
}

.navbar.sc {
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
  border-bottom-color: rgba(201,160,40,.22);
  background: rgba(26,26,38,.98);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar__brand strong {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--forest);   /* altın */
  letter-spacing: -.01em;
}

.navbar__brand small {
  font-size: 10px;
  color: rgba(255,255,255,.4);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.navbar__link {
  padding: 7px 13px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.navbar__link:hover {
  color: var(--forest);        /* altın */
  background: rgba(201,160,40,.10);
}

.navbar__link.act {
  color: var(--forest);
  background: rgba(201,160,40,.12);
  font-weight: 600;
}

/* Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Kullanıcı dropdown */
.navbar__user {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px 6px 6px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--bark);
  background: var(--cream-dark);
  border: 1.5px solid var(--stone-100);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar__user:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.navbar__avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.navbar__avatar--placeholder {
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

/* Admin btn */
.navbar__admin-btn {
  background: rgba(201,160,40,.12);
  color: var(--forest);
  border: 1.5px solid rgba(201,160,40,.30);
  font-weight: 600;
}
.navbar__admin-btn:hover {
  background: var(--forest);
  color: var(--bark);
}

/* CTA btn — küçük ekranda metin gizle, ikon göster */
@media (max-width: 480px) {
  .navbar__cta span { display: none; }
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.navbar__hamburger:hover { background: rgba(255,255,255,.08); }
.navbar__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  transition: transform var(--transition-md), opacity var(--transition-md);
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--stone-100);
  padding: var(--space-2);
  z-index: 200;
}

.dropdown__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 9px var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--bark);
  transition: background var(--transition), color var(--transition);
}
.dropdown__item:hover { background: var(--cream-dark); color: var(--forest); }
.dropdown__item--danger:hover { background: #FEF2F2; color: var(--error); }
.dropdown__item--admin { color: var(--copper); }
.dropdown__divider { height: 1px; background: var(--stone-100); margin: var(--space-2) 0; border: none; }

/* Mobile nav */
@media (max-width: 1024px) {
  .navbar__hamburger { display: flex; }

  .navbar__nav {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    background: rgba(26,26,38,.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4);
    box-shadow: 0 12px 40px rgba(0,0,0,.4);
    border-top: 1px solid rgba(201,160,40,.18);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--transition-md), opacity var(--transition-md);
    pointer-events: none;
    justify-content: flex-start;
  }

  .navbar__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar__link { padding: 11px var(--space-4); border-radius: var(--radius); }
}

/* ----------------------------------------------------------
   7. HERO
---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-h);

  /* Lüks arka plan: lüks villa + araba fotoğrafı */
  background-color: var(--forest-deep);
  background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1920&q=85');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

/* Katmanlı lüks overlay — koyu kömür + altın parıltı */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* sol metin alanı — derin kömür gradient */
    linear-gradient(105deg,
      rgba(18,18,28,.95) 0%,
      rgba(20,20,32,.88) 38%,
      rgba(20,20,32,.62) 62%,
      rgba(20,20,32,.10) 100%
    ),
    /* genel karartma */
    linear-gradient(180deg,
      rgba(5,5,15,.30) 0%,
      rgba(5,5,15,.55) 100%
    );
  pointer-events: none;
  z-index: 0;
}

/* Altın parıltı efekti */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 65% at 82% 85%, rgba(201,160,40,.18) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 65% 8%,  rgba(201,160,40,.08) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Sağ taraf yüzen lüks görseller */
.hero__bg-cards {
  position: absolute;
  right: clamp(24px, 6vw, 100px);
  top: 50%;
  transform: translateY(-50%) translateY(20px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 1100px) { .hero__bg-cards { display: none; } }

.hero__bg-card {
  width: 220px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
  opacity: 0;
  transform: translateX(40px);
  animation: slideInRight .65s var(--ease) forwards;
}

.hero__bg-card--1 { animation-delay: .3s;  width: 220px; }
.hero__bg-card--2 { animation-delay: .55s; width: 190px; margin-left: 30px; }
.hero__bg-card--3 { animation-delay: .80s; width: 210px; margin-left: 10px; }

@keyframes slideInRight {
  to { opacity: 1; transform: translateX(0); }
}

.hero__bg-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.hero__bg-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 12px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--space-20) 0;
}

.hero__content {
  max-width: 600px;
  padding-right: 280px; /* sağ taraftaki kartlar için boşluk */
}

@media (max-width: 1100px) {
  .hero__content { max-width: 680px; padding-right: 0; }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(201,160,40,.14);
  border: 1px solid rgba(201,160,40,.35);
  color: var(--forest-light);    /* açık altın */
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero__title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.07;
  color: var(--white);
  margin-bottom: var(--space-6);
  letter-spacing: -.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--forest);         /* altın vurgu */
}

.hero__desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 480px;
}

/* Hero search box */
.hero__search {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.1);
  max-width: 700px;
}

.hero__tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  border-bottom: 1.5px solid var(--stone-100);
  padding-bottom: var(--space-3);
}

.hero__tab {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}

.hero__tab.active {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.hero__tab:not(.active):hover {
  background: var(--forest-pale);
  color: var(--forest);
  border-color: var(--forest-pale);
}

.hero__fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--space-3);
  align-items: end;
}

@media (max-width: 640px) {
  .hero__fields { grid-template-columns: 1fr; }
}

.hero__stat-row {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.hero__stat { color: rgba(255,255,255,.6); font-size: 13px; }
.hero__stat strong { display: block; font-size: 26px; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 2px; }

/* ----------------------------------------------------------
   8. İLAN KARTI
---------------------------------------------------------- */
.ilan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) { .ilan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .ilan-grid { grid-template-columns: 1fr; gap: var(--space-4); } }

.ilan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stone-100);
  transition: box-shadow var(--transition-md), transform var(--transition-md), border-color var(--transition-md);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.ilan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--forest-mid);
}

.ilan-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
}

.ilan-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.ilan-card:hover .ilan-card__img { transform: scale(1.04); }

.ilan-card__badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  gap: var(--space-2);
}

.ilan-card__fav {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 34px;
  height: 34px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.ilan-card__fav:hover { transform: scale(1.1); background: #FFF0F0; }
.ilan-card__fav.active svg { fill: #E53E3E; stroke: #E53E3E; }

.ilan-card__body {
  padding: var(--space-4) var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ilan-card__price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: var(--space-1);
  letter-spacing: -.02em;
}

.ilan-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: var(--space-3);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ilan-card__location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 12px;
  color: var(--slate);
  margin-bottom: var(--space-3);
}

.ilan-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--stone-100);
}

.ilan-card__spec {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate);
  background: var(--cream-dark);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* Tip badge */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: .03em;
}

.badge-satilik   { background: var(--forest-pale); color: var(--forest-dark); }
.badge-kiralik   { background: var(--copper-pale); color: var(--copper-dark); }
.badge-one-cikan { background: #FFFBEB; color: #92400E; }
.badge-aktif     { background: #ECFDF5; color: #065F46; }
.badge-beklemede { background: #FFFBEB; color: #92400E; }
.badge-pasif     { background: var(--cream-dark); color: var(--slate); }
.badge-silindi   { background: #FEF2F2; color: #991B1B; }
.badge-kullanici { background: var(--forest-pale); color: var(--forest-dark); }
.badge-emlak     { background: var(--forest-pale); color: var(--forest-dark); }
.badge-otomobil  { background: var(--copper-pale); color: var(--copper-dark); }

/* ----------------------------------------------------------
   9. SECTION - HIZLI FİLTRELER (chip'ler)
---------------------------------------------------------- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--stone-200);
  color: var(--slate);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.filter-chip:hover {
  border-color: var(--forest);
  color: var(--forest);
  background: var(--forest-pale);
}
.filter-chip.active {
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
}

/* ----------------------------------------------------------
   10. FEATURE CARDS (Neden Aspava Prime)
---------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--stone-100);
  transition: box-shadow var(--transition-md), border-color var(--transition-md);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--forest-mid);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--forest-pale);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.feature-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: var(--space-2);
}

.feature-card__desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   11. SECTION CTA
---------------------------------------------------------- */
.section-cta {
  text-align: center;
  padding: var(--space-16) var(--space-8);
  background: var(--forest-deep);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(192,122,58,.15), transparent);
  pointer-events: none;
}

.section-cta__title {
  font-size: clamp(24px, 4vw, 40px);
  color: var(--white);
  margin-bottom: var(--space-4);
  position: relative;
}

.section-cta__desc {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--space-8);
  position: relative;
}

/* ----------------------------------------------------------
   12. FOOTER
---------------------------------------------------------- */
.footer {
  background: #14141E;   /* koyu kömür — forest-deep'ten daha derin */
  color: rgba(255,255,255,.7);
  border-top: 1px solid rgba(201,160,40,.15);
}

.footer__main {
  padding: var(--space-16) 0 var(--space-12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

.footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-5);
}

.footer__logo-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--forest);    /* altın */
  letter-spacing: -.01em;
}

.footer__logo-text small {
  font-size: 10px;
  color: rgba(255,255,255,.4);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer__desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  max-width: 280px;
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-2);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: background var(--transition), color var(--transition);
}

.footer__social-link:hover {
  background: var(--forest);
  color: var(--bark);   /* kömür üstünde altın — okunabilir */
}

.footer__heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--forest);    /* altın başlıklar */
  opacity: .75;
  margin-bottom: var(--space-5);
}

.footer__links { display: flex; flex-direction: column; gap: var(--space-3); }

.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--forest); }

.footer__contact-item {
  display: flex;
  gap: var(--space-3);
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}

.footer__contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--forest);   /* altın ikonlar */
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(201,160,40,.10);
  padding: var(--space-5) 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-5);
}

.footer__bottom-link {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  transition: color var(--transition);
}
.footer__bottom-link:hover { color: var(--forest); }

/* ----------------------------------------------------------
   13. WhatsApp FLOAT
---------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  padding: 10px 20px 10px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg), 0 0 0 3px rgba(37,211,102,.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,.4);
  color: var(--white);
}

/* ----------------------------------------------------------
   14. PAGE HEADER
---------------------------------------------------------- */
.page-header {
  padding: calc(var(--navbar-h) + var(--space-12)) 0 var(--space-10);
  background: linear-gradient(160deg, var(--forest-deep) 0%, #1E4D38 100%);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(192,122,58,.12), transparent);
  pointer-events: none;
}

.page-header__content { position: relative; z-index: 1; }

.page-header__title {
  font-size: clamp(28px, 5vw, 48px);
  color: var(--white);
  margin-bottom: var(--space-3);
  font-weight: 700;
  letter-spacing: -.02em;
}

.page-header__desc {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  max-width: 480px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--space-4);
}

.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.25); }

/* ----------------------------------------------------------
   15. FİLTRE SİDEBAR
---------------------------------------------------------- */
/* .ilanlar-layout — ilanlar.php içi <style> tarafından tanımlanır (sayfa özelliği) */
.ilanlar-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-7);
  align-items: start;
}

.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone-100);
  padding: var(--space-6);
  position: sticky;
  top: calc(var(--navbar-h) + var(--space-4));
  transition: transform .3s cubic-bezier(.32,.72,0,1);
}

/* filter-sidebar responsive: ilanlar.php içi <style> tarafından yönetilir */

.filter-sidebar__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--stone-100);
}

.filter-group { margin-bottom: var(--space-5); }

.filter-group__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--bark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--space-3);
  display: block;
}

/* ----------------------------------------------------------
   16. İLAN DETAY
---------------------------------------------------------- */
.detay-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-8);
  align-items: start;
}

@media (max-width: 1024px) {
  .detay-layout { grid-template-columns: 1fr; }
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

@media (max-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }

.spec-item {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
  border: 1px solid var(--stone-100);
  transition: border-color var(--transition);
}

.spec-item:hover { border-color: var(--forest-mid); }
.spec-item__icon { font-size: 22px; margin-bottom: var(--space-2); }
.spec-item__val { font-size: 15px; font-weight: 700; color: var(--bark); }
.spec-item__label { font-size: 11px; color: var(--slate); margin-top: 2px; text-transform: uppercase; letter-spacing: .04em; }

/* İletişim kutusu */
.contact-box {
  background: var(--white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: sticky;
  top: calc(var(--navbar-h) + var(--space-4));
}

/* Swiper galeri */
.gallery-thumb-wrap { cursor: pointer; overflow: hidden; border-radius: var(--radius-sm); }
.gallery-thumb-wrap img { transition: transform .4s var(--ease); }
.gallery-thumb-wrap:hover img { transform: scale(1.04); }

/* ----------------------------------------------------------
   17. AUTH SAYFALAR
---------------------------------------------------------- */
.auth-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--navbar-h);
}

@media (max-width: 768px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-page__left { display: none; }
}

.auth-page__left {
  background: var(--forest-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-16);
  position: relative;
  overflow: hidden;
}

.auth-page__left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 60%, rgba(192,122,58,.12), transparent);
}

.auth-page__right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-8);
  background: var(--cream);
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-card__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--bark);
  margin-bottom: var(--space-2);
}

.auth-card__sub {
  color: var(--slate);
  font-size: 15px;
  margin-bottom: var(--space-8);
}

/* ----------------------------------------------------------
   18. ADMIN
---------------------------------------------------------- */
/* Admin kısmındaki stillerin tüm override'ları burada */

/* ----------------------------------------------------------
   19. SAYFALAMA
---------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.pagination__btn {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  background: var(--white);
  border: 1.5px solid var(--stone-100);
  transition: all var(--transition);
}

.pagination__btn:hover { border-color: var(--forest); color: var(--forest); background: var(--forest-pale); }
.pagination__btn.active { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* ----------------------------------------------------------
   20. ALERTS & FLASH
---------------------------------------------------------- */
.alert {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border: 1px solid;
}

.alert-success { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.alert-error   { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }
.alert-warning { background: #FFFBEB; color: #92400E; border-color: #FCD34D; }
.alert-info    { background: #EFF6FF; color: #1E40AF; border-color: #BFDBFE; }

/* ----------------------------------------------------------
   21. STEP WIZARD
---------------------------------------------------------- */
.step-wizard {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-10);
  position: relative;
}

.step-wizard::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--stone-100);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  position: relative;
  z-index: 1;
}

.step__num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--stone-100);
  color: var(--slate);
  border: 2px solid transparent;
  transition: all var(--transition-md);
}

.step.active .step__num {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(46,122,88,.15);
}

.step.done .step__num {
  background: var(--forest-pale);
  color: var(--forest);
  border-color: var(--forest);
}

.step__label {
  font-size: 12px;
  color: var(--slate-light);
  font-weight: 500;
}

.step.active .step__label { color: var(--forest); font-weight: 600; }

/* ----------------------------------------------------------
   22. LOADING SKELETON
---------------------------------------------------------- */
.skeleton {
  background: linear-gradient(90deg, var(--stone-100) 25%, var(--stone-200) 50%, var(--stone-100) 75%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-shine {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ----------------------------------------------------------
   23. RESPONSIVE — KAPSAMLI
---------------------------------------------------------- */

/* ── 1200px: büyük masaüstü ── */
@media (max-width: 1200px) {
  .hero__bg-card--1 { width: 190px; }
  .hero__bg-card--2 { width: 165px; }
  .hero__bg-card--3 { width: 180px; }
}

/* ── 1024px: laptop / tablet yatay ── */
@media (max-width: 1024px) {
  .hero__stat-row   { gap: var(--space-6); }
  .spec-grid        { grid-template-columns: repeat(2, 1fr); }
  .ilan-grid        { grid-template-columns: repeat(2, 1fr); }
  .features-grid    { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

/* ── 900px: tablet ── */
@media (max-width: 900px) {
  .section     { padding: var(--space-14) 0; }
  .section--sm { padding: var(--space-8) 0; }
  .section__title { font-size: clamp(22px, 4vw, 32px); }

  /* Hero: kartları gizle, içeriği tam genişlet */
  .hero__inner   { padding: var(--space-14) 0; }
  .hero__content { max-width: 100%; padding-right: 0; }
  .hero__search  { max-width: 100%; }
  .hero__desc    { max-width: 100%; }
}

/* ── 768px: küçük tablet ── */
@media (max-width: 768px) {
  .section     { padding: var(--space-12) 0; }
  .hero__inner { padding: var(--space-12) 0; }

  /* Hero arama kutusu iç padding */
  .hero__search { padding: var(--space-3); }

  /* İlan grid: 2 sütun devam */
  .ilan-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }

  /* Sayfa başlıkları */
  .page-header { padding: var(--space-10) 0 var(--space-8); }
  .page-header__title { font-size: clamp(22px, 5vw, 32px); }
}

/* ── 640px: büyük telefon / küçük tablet ── */
@media (max-width: 640px) {
  /* ─ Genel ─ */
  .section     { padding: var(--space-10) 0; }
  .section--sm { padding: var(--space-6) 0; }
  .section__header { margin-bottom: var(--space-6); }

  /* ─ Hero ─ */
  .hero {
    min-height: auto;
    padding-bottom: var(--space-10);
  }
  .hero__inner   { padding: var(--space-10) 0; }
  .hero__badge   { font-size: 10px; padding: 4px 12px; margin-bottom: var(--space-4); }
  .hero__title   { font-size: clamp(26px, 7vw, 36px); letter-spacing: -.02em; margin-bottom: var(--space-4); }
  .hero__desc    { font-size: 15px; max-width: 100%; margin-bottom: var(--space-5); }

  /* Hero arama */
  .hero__search  { padding: var(--space-3); }
  .hero__tabs    { padding-bottom: var(--space-2); margin-bottom: var(--space-3); }
  .hero__fields  {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  .hero__fields .btn {
    width: 100%;
    height: 44px !important;
    align-self: auto !important;
  }

  /* Hero istatistik: 2x2 grid */
  .hero__stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2) var(--space-6);
    margin-top: var(--space-6);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
  }
  .hero__stat          { text-align: center; }
  .hero__stat strong   { font-size: 24px; }

  /* ─ Filter chips ─ */
  .filter-chips  { gap: var(--space-2); justify-content: flex-start; }
  .filter-chip   { font-size: 12px; padding: 6px 14px; }

  /* ─ İlan grid ─ */
  .ilan-grid { grid-template-columns: 1fr; gap: var(--space-4); }

  /* ─ Features grid ─ */
  .features-grid { grid-template-columns: 1fr; gap: var(--space-3); }

  /* ─ Feature card: yatay düzen ─ */
  .feature-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
  }
  .feature-card__icon  { flex-shrink: 0; margin-bottom: 0; }
  .feature-card__body  { flex: 1; }

  /* ─ CTA section ─ */
  .section-cta {
    padding: var(--space-10) var(--space-5);
    border-radius: var(--radius-lg);
  }
  .section-cta__title { font-size: clamp(20px, 5vw, 28px); }
  .section-cta__desc  { font-size: 15px; margin-bottom: var(--space-6); }

  /* ─ Footer ─ */
  .footer__grid  { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer__main  { padding: var(--space-10) 0 var(--space-8); }
}

/* ── 480px: küçük telefon ── */
@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }

  /* Hero */
  .hero__title   { font-size: 24px; }
  .hero__stat strong { font-size: 20px; }
  .hero__stat    { font-size: 11px; }

  /* Navbar CTA — sadece ikon */
  .navbar__cta .btn-text { display: none; }

  /* İlan card: yatay düzen opsiyonu (tek sütun için daha iyi) */
  .ilan-card__img-wrap { height: 200px; }

  /* Sayfa başlığı */
  .page-header__title { font-size: 20px; }
  .page-header__desc  { font-size: 14px; }

  /* Spec tags daha küçük */
  .ilan-card__spec { font-size: 11px; padding: 2px 8px; }
}

/* ── 360px: çok küçük telefon ── */
@media (max-width: 360px) {
  .hero__title { font-size: 22px; }
  .hero__stat-row { padding: var(--space-3); }
  .hero__stat strong { font-size: 18px; }
  .filter-chip { font-size: 11px; padding: 5px 10px; }
}

/* ----------------------------------------------------------
   24. SCROLLBAR
---------------------------------------------------------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--stone-200); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--stone-300); }

/* ----------------------------------------------------------
   25. SEARCH OVERLAY
---------------------------------------------------------- */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42,61,52,.3);
  backdrop-filter: blur(4px);
  z-index: 900;
}
