:root {
  --navy: #0B1E3D;
  --navy-l: #152B52;
  --navy-d: #060F1F;
  --gold: #C9A84C;
  --gold-l: #E8C87A;
  --gold-pale: #F5EDD5;
  --white: #ffffff;
  --gray-50: #F8F9FB;
  --gray-100: #EEF0F4;
  --gray-200: #D5D9E2;
  --gray-400: #8E96A8;
  --gray-600: #4A5568;
  --gray-800: #1A202C;
  --green: #2D7D5A;
  --green-call: #25a244;
  --red: #C0392B;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 8px rgba(11,30,61,.08);
  --shadow-md: 0 8px 32px rgba(11,30,61,.12);
  --shadow-lg: 0 24px 64px rgba(11,30,61,.18);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.hidden { display: none !important; }

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.badge-navy { background: var(--navy); color: var(--gold-l); }
.badge-gold { background: var(--gold-pale); color: #7d6022; }
.badge-green { background: #e6f4ee; color: var(--green); }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }
.badge-red { background: #fee; color: var(--red); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all .22s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-l);
  border-color: var(--navy-l);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11,30,61,.3);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-l));
  color: var(--navy-d);
  border: none;
  font-weight: 700;
}
.btn-call {
  background: linear-gradient(135deg,#25a244,#1d8a37);
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(37,162,68,.35);
}
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 3vw, 40px);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--gray-400);
  line-height: 1.7;
}

.flash {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 500;
}
.flash-success {
  background: #e6f4ee;
  color: #1a5e3a;
  border-left: 4px solid var(--green);
}
.flash-error {
  background: #fee;
  color: #7f1d1d;
  border-left: 4px solid var(--red);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-l));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: 0 0 auto;
}
.logo-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.logo-sub {
  font-size: 10px;
  color: var(--gold-l);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: .2s;
}
.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 4px;
}

.mobile-nav {
  display: none;
  background: var(--navy-l);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,.85);
  padding: 14px 24px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* HERO eski alanlar kalsın */
.hero {
  background: var(--navy);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,.07) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201,168,76,.04) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(201,168,76,.04) 1px,transparent 1px);
  background-size: 56px 56px;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.28);
  color: var(--gold-l);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 600px;
}
.hero h1 span { color: var(--gold-l); }
.hero-sub {
  color: rgba(255,255,255,.55);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-l);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,.38);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ARAMA */
.search-bar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 780px;
  box-shadow: 0 24px 64px rgba(11,30,61,.22);
  margin-bottom: 40px;
}
.search-field {
  flex: 1;
  min-width: 130px;
  padding: 10px 14px;
}
.search-field-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 3px;
}
.search-field select {
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
  background: none;
  width: 100%;
  cursor: pointer;
}
.search-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}
.search-submit {
  background: linear-gradient(135deg, var(--navy), var(--navy-l));
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  transition: .22s;
  white-space: nowrap;
}

/* LİSTE KARTLARI */
.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 24px;
  margin-top: 40px;
}

/* NEDEN BİZ */
.why-section { background: var(--navy); }
.why-section .section-tag { color: var(--gold); }
.why-section .section-title { color: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px;
  margin-top: 40px;
}
.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: .25s;
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(201,168,76,.14);
  border: 1px solid rgba(201,168,76,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.why-title {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
}
.why-desc {
  font-size: 13px;
  color: rgba(255,255,255,.48);
  line-height: 1.7;
}

/* CTA */
.cta-band {
  background: var(--gold-pale);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(24px,3vw,38px);
  color: var(--navy);
  margin-bottom: 10px;
}
.cta-band p {
  color: var(--gray-400);
  margin-bottom: 28px;
  font-size: 17px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FİLTRELER */
.filters-bar {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  padding: 18px 20px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 130px;
  flex: 1;
}
.filter-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
}
.filter-select, .filter-input {
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--gray-800);
  background: var(--gray-50);
  outline: none;
}
.btn-filter {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
.btn-clear {
  background: var(--gray-100);
  color: var(--gray-600);
  border: none;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13px;
  text-decoration: none;
}

/* FOOTER */
.site-footer {
  background: var(--navy-d);
  color: rgba(255,255,255,.45);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 260px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin-bottom: 9px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.footer-logo-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-400); }
.breadcrumb span {
  color: var(--navy);
  font-weight: 500;
}

/* MOBİL GENEL */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  .site-nav,
  .header-phone .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    height: 62px;
  }

  .logo-name {
    font-size: 16px;
  }

  .logo-sub {
    font-size: 9px;
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 36px 0;
  }

  .hero h1 {
    font-size: 32px;
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
    font-size: 15px;
  }

  .search-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 16px;
  }

  .search-field {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
  }

  .search-divider {
    display: none;
  }

  .search-submit {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 18px;
  }

  .props-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .filters-bar {
    padding: 14px;
    gap: 10px;
  }

  .filter-group {
    min-width: 100%;
  }

  .cta-band {
    padding: 48px 0;
  }

  .cta-band p {
    font-size: 15px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 26px;
  }

  .btn-lg {
    width: 100%;
  }

  .cta-actions {
    width: 100%;
  }
}
/* Mobil taşma engeli */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.ilan-detay-page,
.ilan-detay-container,
.ilan-detay-content,
.ilan-detay-main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* GALERİ */
.ilan-gallery {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 14px;
    background: #f6f7fb;
}

.ilan-gallery-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: #eef1f6;
}

.ilan-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbnail alanı */
.ilan-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 10px;
    width: 100%;
    max-width: 100%;
}

.ilan-gallery-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    background: #e9edf3;
}

.ilan-gallery-thumb.active {
    border-color: #0d6efd;
}

.ilan-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 5+ fotoğrafta da taşma olmasın */
.ilan-gallery-thumbs,
.ilan-gallery-thumbs * {
    min-width: 0;
}

/* Mobil */
@media (max-width: 768px) {
    .ilan-gallery {
        border-radius: 12px;
    }

    .ilan-gallery-main {
        aspect-ratio: 1 / 1;
    }

    .ilan-gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 8px;
    }
}

/* Çağrı butonu - tek stil */
.mobile-call-button {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 14px;
    background: #16a34a;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

@media (max-width: 768px) {
    .mobile-call-button {
        display: flex;
    }
}