
@import url('https://fonts.cdnfonts.com/css/klein-condensed'); /* Fontu içe aktar */

/* =================================================================== */
/* TEMEL AYARLAR VE DEĞİŞKENLER                                        */
/* =================================================================== */
:root {
    --primary-font: 'Playfair Display', serif;
    --secondary-font: 'Montserrat', sans-serif;
    --dark-color: #222;
    --light-color: #f9f9f9;
    --text-color: #555;
    --primary-border: 1px solid #ddd;
    --signature-font: 'Dancing Script', cursive;

    /* 💡 Değerleme formu ve modern stiller için eklenenler */
    --brand: #e31e26;           /* RE/MAX kırmızısı */
    --ink: #222;                /* Ana metin */
    --muted: #6b7280;           /* Yardımcı metin */
    --line: #e5e7eb;            /* Çizgiler / sınırlar */
    --bg-soft: #f8fafc;         /* Açık gri arka plan */
    --radius: 12px;             /* Kart köşeleri */
    --shadow-sm: 0 6px 20px rgba(0,0,0,.06);
    --shadow-md: 0 12px 40px rgba(0,0,0,.08);
}



html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%; /* Mobilde yazı büyümesini engeller */
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Klein Condensed', sans-serif;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.7;
  background-color: #fff;
  overflow-x: hidden; /* Mobilde yatay kayma engeli */
}

/* =============================================================== */
/* KÜÇÜK CİHAZLAR İÇİN GENEL AYARLAR                               */
/* =============================================================== */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}
.container {
    /* GÜNCELLEME: Masaüstünde daha geniş bir görünüm için genişlik artırıldı */
    max-width: 1320px;
    margin: auto;
    padding: 0 2rem;
    overflow: hidden;
}
h1, h2, h3, h4 { font-family: var(--primary-font); color: var(--dark-color); font-weight: 700; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.btn { display: inline-block; padding: 12px 28px; border: 1px solid var(--dark-color); color: var(--dark-color); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; font-weight: 600; transition: all 0.3s ease; cursor: pointer; }
.btn:hover { background: var(--dark-color); color: #fff; }

/* =================================================================== */
/* HEADER & HERO BÖLÜMÜ                                              */
/* =================================================================== */
/* Masaüstü için varsayılan hero background */
.hero-section {
  position: relative;
  height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 2rem 3rem;
  overflow: hidden;
}

/* Arka plan video */
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;         /* Videoyu ekranı kaplayacak şekilde kırpar */
  z-index: -1;           /* Yazıların arkasında kalır */
}

/* İçerik (başlık vs.) */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Karanlık katman efekti */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* Mobil cihazlarda MP4 yerine GIF */
@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('images/onur_gy.gif') no-repeat center center/cover;
  }
}


nav { display: flex; justify-content: flex-end; align-items: center; width: 100%; position: absolute; top: 0; left: 0; padding: 2rem 3rem; z-index: 1000; }
.nav-links { display: flex; }
.nav-links li { padding: 0 1rem; }
.nav-links a { font-size: 22px; font-weight: 500; letter-spacing: 0.5px; transition: opacity 0.3s; }
.nav-links a:hover { opacity: 0.8; }
.hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: #fff; }
.hero-content { margin: auto 0; }
.hero-content h1 { font-family: var(--primary-font); font-size: 4rem; font-weight: 400; line-height: 1.1; letter-spacing: 2px; color: #fff; margin: 0; }
.hero-content p { font-size: 2rem; letter-spacing: 2px; margin: 2.5rem 0 3rem 0; max-width: 1200px; }
.hero-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero-buttons .btn { font-size: 2rem; background: transparent; border: none; border-bottom: 2px solid rgba(255, 255, 255, 0.7); padding: 0.5rem 0; color: #fff; font-weight: 600; letter-spacing: 1.5px; }
.hero-buttons .btn:hover { border-color: #fff; color: #fff; }
.btn-secondary { background: rgba(0,0,0,0.03); }

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;     /* ✅ Alt alta gelsin */
    align-items: center;        /* Ortala */
    gap: 0.8rem;                /* Aradaki boşluğu azalt */
  }

  .hero-buttons .btn {
    width: 80%;                 /* ✅ Butonlar geniş ve dokunulabilir */
    font-size: 0.95rem;         /* ✅ Yazı boyutu küçülür */
    padding: 12px 0;            /* Dikey boşluk dengesi */
    border-radius: 10px;
  }
}

/* =================================================================== */
/* SOSYAL MEDYA KENAR ÇUBUĞU                                         */
/* =================================================================== */
.social-sidebar { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.9); padding: 10px 8px; border-radius: 30px; z-index: 999; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.social-sidebar a { margin: 10px 0; font-size: 16px; color: var(--text-color); }

/* =================================================================== */
/* GENEL BÖLÜM (SECTION) STİLLERİ                                      */
/* =================================================================== */
section { padding: 6rem 0; }

/* =================================================================== */
/* HAKKIMDA BÖLÜMÜ                                                     */
/* =================================================================== */
.about-me { background: var(--light-color); }

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  max-height: 800px;      /* istersen 700px de olabilir */
  object-fit: cover;      /* oranı korur, kırpma yapar */
  border-radius: 19px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-text span { font-size: 1rem; letter-spacing: 3px; color: #888; }
.about-text h2 { font-size: 3.5rem; margin: 0.5rem 0 1.5rem 0; }
.about-text p { max-width: 850px; font-size: 1.25rem; line-height: 1.9; margin-bottom: 2rem; }

.about-image, .about-text {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  flex: 0 0 clamp(420px, 45%, 850px); 
}

.about-image { transform: translateX(-50px); }
.about-text { transform: translateX(50px); transition-delay: 0.2s; }
.about-image.is-visible, .about-text.is-visible { opacity: 1; transform: translateX(0); }
/* =================================================================== */
/* BAŞARI İSTATİSTİKLERİ BÖLÜMÜ                                        */
/* =================================================================== */
.stats-section { background: var(--dark-color); padding: 4rem 0; }
.stats-section .container { display: flex; justify-content: space-around; text-align: center; color: #fff; }
.stat-item h2 { font-size: 3.5rem; font-weight: 700; color: #fff; }
.stat-item p { font-size: 1rem; letter-spacing: 1px; color: #ccc; }

/* =================================================================== */
/* PORTFÖY BÖLÜMÜ (GÜNCELLENMİŞ)                                      */
/* =================================================================== */
.portfolio { 
    text-align: center; 
}
.portfolio-header { display: flex; justify-content: center; align-items: center; margin-bottom: 2rem; }
.portfolio-header h3 { text-align: center; font-size: 4rem; }
.portfolio-nav span { font-family: var(--secondary-font); font-weight: 600; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-color); cursor: pointer; transition: color 0.3s ease; }
.portfolio-nav span:hover { color: var(--dark-color); }
.portfolio-nav .nav-separator { margin: 0 1rem; color: #ccc; cursor: default; }
.portfolio .view-all-btn { margin-top: 3rem; }
.portfolio-slider { width: 100%; height: auto; padding: 1rem 0 !important; }
.portfolio-slider .swiper-wrapper { display: flex; align-items: stretch; }
.portfolio-slider .swiper-slide { height: auto; display: flex; flex-direction: column; }
.portfolio-item { 
    text-align: left; 
    position: relative; 
    background: #fff; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
/* GÜNCELLEME: Kart içindeki istenmeyen Swiper oklarını gizle */
.portfolio-item .swiper-button-next,
.portfolio-item .swiper-button-prev {
    display: none !important;
}
.portfolio-item img { 
    /* GÜNCELLEME: Resimler büyütüldü */
    width: 100%; 
    height: 300px; 
    object-fit: cover; 
    display: block; 
}
.portfolio-item .portfolio-info { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.portfolio-item h4 { font-size: 1.2rem; margin-top: 0; margin-bottom: 0.5rem; }
.portfolio-item p { color: #777; margin-bottom: auto; }
.portfolio-item strong { display: block; margin-top: 1rem; font-size: 1.3rem; color: var(--dark-color); }
.portfolio-item .sold-tag { position: absolute; top: 1rem; right: 1rem; background: rgba(0, 0, 0, 0.7); color: #fff; padding: 5px 12px; font-size: 12px; border-radius: 4px; }

/* =================================================================== */
/* SATILAN MÜLKLER (HARİTA) BÖLÜMÜ (SON DÜZENLEME STİLLERİ)           */
/* =================================================================== */
.map-section { 
    background: var(--light-color); 
    margin: 20px;
}
/* DÜZENLEME: Önceki padding'i sıfırlayıp konteyneri tekrar içeri aldık */
.map-section .container { 
    max-width: 1320px; 
    padding: 0 2rem;
}

/* YENİ: Başlık için özel alan */
.map-section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0; /* Ana konteynerin padding'ini kullan */
}
.map-section-header h3 {
    font-size: 4rem;
}

@media (max-width: 768px) {
.map-section-header h3 {
    font-size: 3rem;
}
}

.map-layout {
    display: flex;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    
}

#map { 
    flex: 6;
    height: 600px;
    min-height: 500px;
    border-radius: 35px;
}

.sold-properties-container {
    flex: 4;
    height: 600px; /* Harita ile aynı yükseklik */
    display: flex; /* İçindeki listenin esnemesi için bu gerekli */
    flex-direction: column;
}

.sold-properties-list {
    overflow-y: auto;
    flex-grow: 1;
    padding: 2rem;
}

.sold-property-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}
.sold-property-item:last-child {
    border-bottom: none;
}
.sold-property-item img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}
.sold-property-info h4 { font-size: 1.1rem; margin: 0 0 0.2rem 0; }
.sold-property-info p { font-size: 0.9rem; color: #777; line-height: 1.5; margin: 0; }
.sold-property-info strong { font-size: 1rem; color: var(--dark-color); }


/* --- MOBİL GÖRÜNÜM (992px ve altı) --- */
@media (max-width: 992px) {
    .map-layout {
        flex-direction: column;
    }

    #map {
        height: 400px;
    }

    .sold-properties-container {
        /* DÜZELTME: Bu kabın yüksekliği artık otomatik olacak */
        height: auto; 
    }

    .sold-properties-list {
        /* DÜZELTME: ARTIK DOĞRUDAN LİSTENİN YÜKSEKLİĞİNİ AYARLIYORUZ */
        /* İstediğiniz gibi 300px veya 500px yapabilirsiniz, bu çalışacaktır */
        max-height: 400px; 
        overflow-y: auto; /* Kaydırmayı garantile */
        flex-grow: 0; /* Otomatik büyümeyi iptal et */
    }


    .sold-properties-container h3 {
        display: none; /* Masaüstündeki sağdaki başlığı mobilde gizle */
    }
}


#map-wrapper {
  position: relative;
  flex: 6;
  height: 600px;
  min-height: 500px;
  border-radius: 35px;
  overflow: hidden;
}

#map {
  width: 100%;
  height: 100%;
  pointer-events: none; /* Başta harita pasif */
}

#map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}

#map-overlay:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* Mobil görünümde overlay biraz küçülsün */
@media (max-width: 768px) {
  #map-overlay {
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
  }

  #map-wrapper {
    height: 400px;
  }
}





/* =================================================================== */
/* MUTLU MÜŞTERİLER (TESTIMONIALS) BÖLÜMÜ                              */
/* =================================================================== */
.testimonials {
  background: #fff;
  text-align: center;
  overflow: hidden;
  padding: 80px 0;
  font-family: 'Klein Condensed', sans-serif;
}

.testimonials .container {
  overflow: visible;
}

.testimonials-header span {
  font-size: 3rem;
  letter-spacing: 3px;
  color: #888;
  text-transform: uppercase;
}

.testimonials-header h3 {
  font-size: 3.5rem;
  margin: 0.5rem 0;
  letter-spacing: 1px;
}

.testimonials-header p {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  color: #555;
  font-size: 1.2rem;
}

/* --- SLIDER --- */
.testimonials-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-slider {
  width: 100%;
  padding: 4rem 0 !important;
  overflow: visible !important;
}

/* --- SLIDE KARTLARI --- */
/* Yanlardaki yorumlar (bulanık) */
.testimonials-slider .swiper-slide {
  opacity: 0.4;
  transform: scale(0.9);
  filter: blur(3px) brightness(0.85);
  transition: all 0.4s ease;
}

/* Ortadaki aktif yorum (tam net, öne çıkan) */
.testimonials-slider .swiper-slide-active {
  opacity: 1.6;
  transform: scale(1.08);
  filter: none; /* tüm blur ve brightness kaldırıldı */
  z-index: 20;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

/* Aktif kartın içindeki tüm elemanları netleştir */
.testimonials-slider .swiper-slide-active * {
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}


.testimonial-card {
  position: relative;
  background: #fff;
  padding: 3rem 2.5rem;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  border-radius: 14px;
  height: 100%;
  transition: all 0.4s ease;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}
.testimonial-card * {
  position: relative;
  z-index: 2;
}
.testimonial-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/testimonial-bg.png');
  background-size: cover;
  opacity: 0.05;
  border-radius: 14px;
  z-index: 1;
}

.initials {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem auto;
  background: #fff;
  border: 2px solid #eee;
  color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  z-index: 1;
}

.testimonial-card h4 {
  position: relative;
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  z-index: 1;
}

.testimonial-date {
  display: block;
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1.5rem;
  z-index: 1;
}

/* --- YORUM METNİ --- */
.testimonial-card p {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #444;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* WebKit uyumlu */
  line-clamp: 3; /* Standart */
}
.testimonial-card p::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}


/* --- BUTONLAR --- */
.testimonial-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  z-index: 2;
}

.testimonial-btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  padding-bottom: 4px;
  border-bottom: 2px solid #ddd;
  transition: all 0.3s ease;
}

.testimonial-btn:hover {
  border-color: #333;
}

.testimonial-btn i {
  margin-left: 0.5rem;
  font-size: 0.8rem;
}

/* --- NAVİGASYON OKLARI --- */
.testimonials-prev, .testimonials-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 50%;
  color: #333;
  transition: all 0.3s ease;
  z-index: 20;
}

.testimonials-prev:hover, .testimonials-next:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.testimonials-prev { left: -30px; }
.testimonials-next { right: -30px; }

.testimonials-prev::after, .testimonials-next::after {
  font-size: 1rem;
  font-weight: bold;
}

/* --- MOBİL --- */
@media (max-width: 768px) {
  .testimonials { padding: 60px 0; }
  .testimonials-header h3 { font-size: 2.4rem; }
  .testimonials-slider .swiper-slide {
  transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
  opacity: 0.4;
  transform: scale(0.9);
  filter: blur(3px);
}

  .testimonials-slider .swiper-slide-active {
  opacity: 1 !important;
  transform: scale(1);
  filter: none !important;
  z-index: 5;
}
  .testimonial-card {
    padding: 2.5rem 1.8rem;
    border-radius: 10px;
  }
}


/* =================================================================== */
/* SOSYAL MEDYA BÖLÜMÜ (SON DÜZELTME)                                  */
/* =================================================================== */
.social-media-feed { 
    background: #fff; 
    overflow: hidden; 
}
.social-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 1.5rem; 
}
.social-title h3 { 
    font-size: 2.5rem; 
    margin: 0; 
    line-height: 1.2; 
}
.social-title p { 
    font-size: 1.2rem; 
    color: #888; 
    margin: 0; 
}
.other-social-icons { 
    display: flex; 
    justify-content: center; 
    gap: 2rem; 
    margin-bottom: 3rem; 
    padding-bottom: 2rem; 
    border-bottom: 1px solid #eee; 
}
.other-social-icons a { 
    font-size: 1.5rem; 
    color: var(--text-color); 
    transition: color 0.3s ease; 
}
.other-social-icons a:hover { 
    color: var(--dark-color); 
}
.social-slider-nav { 
    display: flex; 
    justify-content: center; 
    gap: 1.5rem; 
    margin-bottom: 2rem; 
}
.social-prev, .social-next { 
    position: static; 
    margin-top: 0; 
    width: auto; 
    height: auto; 
    font-family: var(--secondary-font); 
    font-weight: 600; 
    font-size: 14px; 
    color: var(--text-color); 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    cursor: pointer; 
    transition: color 0.3s ease; 
}
.social-prev::after, .social-next::after { 
    display: none; 
}
.social-prev:hover, .social-next:hover { 
    color: var(--dark-color); 
}
.social-slider { 
    width: 100%; 
    height: auto; 
    /* Dışarı taşan slaytların görünmesi için overflow'u visible yap */
    overflow: visible; 
}
.social-slider .swiper-slide { 
    position: relative; 
    aspect-ratio: 9 / 16; 
    max-width: 360px; 
    border-radius: 12px; 
    overflow: hidden; 
    background-color: #f0f0f0; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    /* DÜZELTME: Flex'i kaldırıp block'a geri dönüyoruz */
    display: block; 
    height: auto; /* Yüksekliği otomatik yap */
}
.social-slider .swiper-slide > * { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border: 0; 
    margin: 0 !important; 
    transform: scale(1.05) translateX(-2.5%); 
    pointer-events: none; 
}
.social-slider .swiper-slide-active > * { 
    pointer-events: auto; 
}

/* =================================================================== */
/* "BENİMLE ÇALIŞIN" BÖLÜMÜ                                           */
/* =================================================================== */
/* ===== Work With Me: masaüstü & mobil farklı görsel + blur ===== */
/* === Ayarlar (kolay kontrol) === */
:root{
  --overlay-alpha: .20;   /* 0 = şeffaf, 1 = çok koyu (arka plan görünürlüğü) */
  --blur-amount: 0;     /* bulanıklık: px küçüldükçe görüntü netleşir */
}

/* Mobil için istersen farklı değerler */
@media (max-width: 768px){
  :root{
    --overlay-alpha: .22; /* mobilde hafif daha koyu */
    --blur-amount: 2px;   /* mobilde biraz daha blur */
  }
}

/* ===== Work With Me: masaüstü & mobil farklı görsel + blur ===== */
.work-with-me {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 8rem 1rem;
  overflow: hidden;                 /* blur taşmalarını gizle */
  background: none !important;      /* eski background’ı iptal et */
}

/* Arka plan görseli (bulanık) */
.work-with-me::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("images/profil3.png");   /* MASAÜSTÜ görseli */
  background-size: cover;
  background-position: center;
  filter: blur(var(--blur-amount)) brightness(.98) contrast(1.03);
  transform: scale(1.06);           /* blur kenarlarını gizlemek için biraz büyüt */
  will-change: transform, filter;
}

/* Koyulaştırma katmanı (metin okunaklı kalsın) */
.work-with-me::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    rgba(0,0,0,var(--overlay-alpha)),
    rgba(0,0,0,var(--overlay-alpha))
  );
}

/* İçerik biraz daha nefes alsın */
.work-with-me .work-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Mobilde farklı görsel */
@media (max-width: 768px) {
  .work-with-me::before {
    background-image: url("images/profilchat.png");  /* MOBİL görseli */
    /* blur ve overlay mobilde yukarıdaki :root override’ından gelecek */
  }
}


@media (max-width: 768px){
  /* Kenar çizgisi (sadece mobil) */
  .work-with-me .work-content{
    padding: 16px;
    background: transparent; /* karartma/blur üstünde transparan kalsın */
  }

  /* Metin siyah */
  .work-with-me .work-content p{
    color: #000 !important;
    font-family: 'Playfair Display', serif;
  }

  /* Buton siyah kenarlı ve siyah yazı */
  .work-with-me .work-content .btn{
    background: transparent !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    font-family: 'Playfair Display', serif;
  }

  /* İstersen hover’da tersine çevir (mobilde de işe yarar) */
  .work-with-me .work-content .btn:hover{
    background: #000 !important;
    color: #fff !important;
  }
}




/* Görselin fazla dikey olmasından dolayı daha düzgün görünmesi için ek öneri */
@media (min-width: 1200px) {
  .work-with-me {
    background-size: cover;        /* Masaüstünde tam ekran doldur */
    background-position: center 20%; /* Ortalanma oranı ile fazla yukarıyı kesme */
  }
}

.work-with-me h3 {
  font-size: 3.5rem;
  color: #fff;
}

.work-with-me p {
  max-width: 600px;
  margin: 1rem auto 2rem auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.work-with-me .btn {
  border-color: #fff;
  color: #fff;
  padding: 15px 35px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.work-with-me .btn:hover {
  background: #fff;
  color: var(--dark-color);
}


/* =================================================================== */
/* BÜLTEN (NEWSLETTER) BÖLÜMÜ                                         */
/* =================================================================== */
.newsletter { background: var(--light-color); text-align: center; }
.newsletter h3 { font-size: 3rem; }
.newsletter p { margin: 0.5rem auto 2rem auto; }
.newsletter form { display: flex; justify-content: center; gap: 1rem; max-width: 700px; margin: auto; }
.newsletter input { width: 100%; padding: 15px; border: var(--primary-border); }
.newsletter .btn { background: var(--dark-color); color: #fff; border-color: var(--dark-color); }
.newsletter .btn:hover { background: #555; }

/* ============================= */
/* FOOTER (YENİ TASARIM) */
/* ============================= */
.footer {
  background: #111;
  color: #ccc;
  padding: 5rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h5 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: var(--primary-font);
  letter-spacing: 1px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-brand h4 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.footer-socials a {
  display: inline-block;
  margin-right: 12px;
  color: #ccc;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding-top: 1.5rem;
  color: #aaa;
  font-size: 0.9rem;
}

/* =================================================================== */
/* MOBİL UYUMLULUK (RESPONSIVE)                                        */
/* =================================================================== */
@media (max-width: 992px) {
    .about-content { flex-direction: column; text-align: center; }
    .footer-top { flex-wrap: wrap; gap: 2rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    nav { padding: 1.5rem 1rem; }
    .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: rgba(0,0,0,0.9); flex-direction: column; width: 100%; text-align: center; }
    .nav-links.active { display: flex; }
    .nav-links li { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
    .hamburger { margin-top:-60px; display: block; }
    .hero-content h1 { font-size: 1rem; }
    .hero-content p { font-size: 0.9rem; }
    .social-sidebar { display: none; }
    section { padding: 4rem 0; }
    .about-image img { max-width: 100%; }
    .about-text h2 { font-size: 2.5rem; }
    .portfolio-header { flex-direction: column; align-items: center; gap: 1rem; text-align: center; margin-bottom: 2rem; }
    .portfolio-header h3 { text-align: center; font-size: 3rem; }
    .stats-section .container { flex-direction: column; gap: 2.5rem; }
    .stat-item h2 { font-size: 2.5rem; }
    .testimonials-prev, .testimonials-next { display: none; /* Mobilde oklar çok yer kaplar, gizlemek daha iyi olabilir */ }
    .social-header { flex-direction: column; text-align: center; gap: 1rem; }
    .work-with-me h3, .newsletter h3, .testimonials-header h3 { font-size: 2.2rem; }
    .newsletter form { flex-direction: column; }
    .footer-top, .footer-bottom { flex-direction: column; text-align: center; gap: 2rem; }
    .footer-logo-compass { order: -1; margin: 0 auto; }
}

/* --- SOSYAL MEDYA RESİM STİLİ --- */
.social-post-link {
    display: block;
    width: 100%;
    height: 100%;
}

.social-post-link img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin en-boy oranını koruyarak alanı kaplaması */
}


/* =================================================================== */
/* KAYDIRINCA GÖRÜNEN "STICKY" HEADER                                  */
/* =================================================================== */
/* =============================== */
/* HEADER - Scroll Efektli         */
/* =============================== */
.sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  transition: all 0.4s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  
}

/* Scroll sonrası durum */
.sticky-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 3px 20px rgba(0,0,0,0.3);
  padding: 3.3rem 0; /* Siyah alanı artırıyoruz */
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  overflow: hidden; /* Köşe yuvarlamasının görünmesini sağlar */
}


/* Menü hizalama */
.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Menü bağlantıları */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin-top: -80px;
}
.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}
.sticky-header.scrolled .nav-links a {
  color: #fff; /* Scroll sonrası beyaz */
}
.nav-links a:hover {
  opacity: 0.8;
}

/* Hamburger menü */
.hamburger {
  display: none;
  cursor: pointer;
}
.hamburger i {
  font-size: 1.6rem;
  color: #000;
  transition: color 0.3s ease;
}
.sticky-header.scrolled .hamburger i {
  color: #fff;
}

/* Logo değişimi */
.page-logo img {
  height: 240px;
  width: auto;
  transition: opacity 0.4s ease;
  margin-top: -80px;
}

@media (max-width: 768px) {
  .page-logo img {
  height: 165px;
  width: auto;
  transition: opacity 0.4s ease;
  margin-top: -50px;
}
}
.logo-light { display: none; }
.sticky-header.scrolled .logo-dark { display: none; }
.sticky-header.scrolled .logo-light { display: block; }

/* Mobil Menü */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    position: absolute;
    top: 80px;
    right: 0;
    padding: 2rem;
    text-align: right;
    width: 240px;
    border-radius: 0 0 0 12px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    color: #fff;
    font-size: 1rem;
  }
  .hamburger { display: block; }
}


/* ---------------------------------------------------- */
/* MEET SECTION                                         */
/* ---------------------------------------------------- */
/* === HAKKIMDA (MEET SECTION) GÜNCELLEME === */
/* ============================== */
/* MEET SECTION (TANIŞIN)        */
/* ============================== */
.meet-section {
  padding: 8rem 0;
  background: #fff;
}

.meet-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.meet-image {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
}

.meet-image img {
  width: 140%;
  max-width: 550px;
  max-height: 70vh; /* ekrana göre ölçeklensin */
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin-top: -50px;
}

.meet-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.meet-text {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

.meet-text span {
  display: block;
  letter-spacing: 4px;
  color: #999;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.meet-text h1 {
  font-size: 3.2rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.meet-text h3 {
  font-size: 1.4rem;
  color: #08129c; /* RE/MAX rengi */
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.meet-text p {
  font-size: 1.4rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 2rem;
}

.meet-text .btn {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--dark-color);
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.meet-text .btn:hover {
  background: var(--dark-color);
  color: #fff;
}

/* Mobil görünüm */
@media (max-width: 992px) {
  .meet-content {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .meet-image img {
    max-width: 420px;
    max-height: none;
  }

  .meet-text h1 {
    font-size: 2.5rem;
  }

  .meet-text p {
    font-size: 1.1rem;
  }
}

/* ============================== */
/* HAKKIMDA (BIO SECTION) STİLİ  */
/* ============================== */
/* ============================== */
/* YENİ BİYO GÖRÜNÜMÜ (MASAÜSTÜ) */
/* ============================== */
.bio-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

.bio-item.reverse {
  flex-direction: row-reverse;
}

.bio-text {
  flex: 1;
  min-width: 300px;
}

.bio-text p {
  font-size: 1.4rem;
  line-height: 1.9;
  color: #444;
  text-align: justify;
  text-indent: 1.5rem;
}

.bio-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.bio-image img {
  width: 100%;
  max-width: 550px;
  max-height: 70vh; /* ekran yüksekliğine göre ölçekleme */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.bio-image img:hover {
  transform: scale(1.03);
}

/* Mobilde alt alta diz */
@media (max-width: 992px) {
  .bio-item, .bio-item.reverse {
    flex-direction: column;
    text-align: center;
  }

  .bio-image img {
    max-width: 420px;
    max-height: none;
  }

  .bio-text p {
    font-size: 1.2rem;
  }
}





/* ---------------------------------------------------- */
/* FOOTER                                               */
/* ---------------------------------------------------- */
.footer {
  background: #111;
  color: #fff;
  padding: 3rem 0;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer a {
  color: #fff;
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.9rem;
}

.page-logo img.site-logo {
  height: 250px;        /* logonun yüksekliği */
  width: auto;         /* orantılı ölçekleme */
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .page-logo img.site-logo {
    height: 142px;
    margin-top: -30px;
  }
}



/* ========================================= */
/* İLETİŞİM SAYFASI */
/* ========================================= */
.contact-hero {
  padding: 10rem 0 6rem;
  text-align: center;
  background: linear-gradient(to bottom right, #f8f9fa, #fff);
}
.contact-hero h1 {
  font-size: 2.8rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}
.contact-hero p {
  color: #666;
  font-size: 1.2rem;
}

.contact-info {
  padding: 6rem 0;
  margin-top: -120px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-details h3, .contact-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}
.contact-details p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.contact-details a {
  color: #333;
  text-decoration: none;
}
.contact-socials a {
  display: inline-block;
  margin-right: 15px;
  color: #333;
  font-size: 1.3rem;
  transition: color 0.2s;
}
.contact-socials a:hover {
  color: #e31e26; /* Remax kırmızısı */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}


/* WhatsApp butonu */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;              /* WhatsApp yeşili */
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .2px;
  box-shadow: 0 6px 18px rgba(37,211,102,.35);
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  box-shadow: 0 8px 22px rgba(37,211,102,.45);
}
.btn-whatsapp:active {
  transform: translateY(1px);
}
.btn-whatsapp i {
  font-size: 1.2rem;
  line-height: 1;
}


/* Harita */
.map-section {
  margin-bottom: 6rem;
}
.map-container iframe {
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}



.page-hero {
  padding: 10rem 0 4rem;
  text-align: center;
  background: linear-gradient(to bottom, #f9f9f9, #fff);
  
}
.page-hero h1 {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
}
.page-hero p { color:#666; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
  padding: 4rem 0;
  margin-top: -50px;
}
.portfolio-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.portfolio-card:hover { transform: translateY(-5px); }
.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.portfolio-info {
  padding: 1rem 1.2rem 1.5rem;
}
.portfolio-info h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.portfolio-info p { color: #777; margin-bottom: .5rem; }
.portfolio-info strong { color: #111; }

.portfolio-card.sold .sold-badge {
  display: inline-block;
  background: black;
  color: #fff;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 8px;
  margin-top: .5rem;
}


/* ========================================= */
/* BLOG SAYFASI */
/* ========================================= */

.blog-section {
  padding: 6rem 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 2.5rem;
}
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-5px); }
.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-info {
  padding: 1.5rem;
}
.blog-info h3 {
  margin-bottom: .5rem;
  font-family: 'Playfair Display', serif;
}
.blog-info span {
  font-size: 0.9rem;
  color: #999;
}
.blog-info p {
  margin: 1rem 0;
  color: #555;
}
.read-more {
  color: #e31e26;
  text-decoration: none;
  font-weight: 600;
}
.read-more:hover { text-decoration: underline; }

.sell-all-btn {
  text-align: center;        /* Butonu yatayda ortalar */
  margin: 3rem 0;
  margin-top: -100px;            /* Üst-alt boşluk ekler */
}

.sell-all-btn .btn {
  display: inline-block;     /* Ortalanabilir hale getirir */
  padding: 12px 30px;
  background-color: white; /* Remax kırmızısı */
  color: black;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.sell-all-btn .btn:hover {
  background-color: black; /* Hover efekti */
  color:white;
}

.footer-brand h4 {
  color: #fff;            /* Yazı rengini beyaz yapar */
}

/* ============================== */
/* HERO YAZI VE BUTON ANİMASYONLARI */
/* ============================== */

/* Typewriter efekti için */
#hero-title {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #fff;     /* Yanıp sönen imleç efekti */
  width: 0;                         /* Başlangıçta gizli */
  animation: typing 2.5s steps(20, end) forwards, blink 0.7s infinite;
}

/* Yazı yazma animasyonu */
@keyframes typing {
  from { width: 0; }
  to { width: 520px; } /* Yazı uzunluğuna göre ayarla */
}

/* İmleç yanıp sönmesi */
@keyframes blink {
  0%, 50% { border-color: transparent; }
  51%, 100% { border-color: #fff; }
}

/* Alt metin */
.hero-content p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 2.6s; /* Yazı bittikten sonra başlasın */
}

/* Butonlar animasyonu */
.hero-buttons {
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  gap: 1rem;
  animation: fadeUp 1s ease forwards;
  animation-delay: 3s; /* Alt yazıdan sonra gelsin */
}

/* Ortak fade + yukarı kayma animasyonu */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* (isteğe bağlı) Buton hover efekti */
.hero-buttons .btn:hover {
  background: #fff;
  color: #000;
  transition: all 0.3s ease;
}


/* =========================================
   EV DEĞERLEME SAYFASI – PROFESYONEL CSS
   (hero + form + responsive + UX dokunuşları)
========================================= */


/* ====================================================== */
/* 1️⃣ HERO / BANNER ALANI */
/* ====================================================== */
.valuation-hero {
  position: relative;
  height: 85vh; /* ✅ yükseklik artırıldı */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* HERO görsele blur + tonlama */
.valuation-hero img.hero-banner{
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;

  /* Arka planı sakinleştir: biraz blur, biraz daha parlak, biraz daha düşük kontrast */
  filter: blur(2.4px) brightness(1.08) contrast(0.92);
  transform: scale(1.03);           /* blur kenarlarını gizlemek için min büyütme */
  will-change: filter, transform;
}

/* Beyaz yarı saydam katman: siyah yazıyı belirginleştirir */
.valuation-hero::before{
  content:"";
  position:absolute; inset:0;
  z-index:-1;                       /* görselin üstünde, içeriğin altında */
  background: rgba(255,255,255,0.22); /* 0.22 → daha açık; 0.12 yaparsan daha hafif olur */
}

/* Küçük ekranlarda arka planı biraz daha yumuşat (metin daha okunaklı) */
@media (max-width: 768px){
  .valuation-hero img.hero-banner{
    filter: blur(3px) brightness(1.1) contrast(0.9);
    transform: scale(1.05);
  }
  .valuation-hero::before{
    background: rgba(255,255,255,0.32);
  }
}


.hero-overlay {

  padding: 3rem;
  border-radius: 16px;
  margin-top: 30px;
}

.hero-overlay h1 {
  font-size: 4.2rem;
  margin-top: 2rem;
  font-family: var(--primary-font);
  font-weight: 700;
  color:black;
}

.hero-overlay p {
  font-size: 2.3rem;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.8;
  color:black;
  font-weight: bolder;
}

/* ====================================================== */
/* 2️⃣ FORM ALANI */
/* ====================================================== */
.valuation-form-section {
  background: #fff;
  padding: 6rem 2rem;
}

.valuation-form-section h2 {
  font-family: var(--primary-font);
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-color);
}

/* Form geniş alan */
#valuationForm {
  max-width: 1100px;
  margin: 0 auto;
  background: #fafafa;
  padding: 3rem 3.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* Yeni grid düzeni */
.form-group-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem 2rem;
  margin-bottom: 1.8rem;
}

label {
  font-weight: 600;
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 0.4rem;
  display: block;
}

input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1.5rem;
  font-family: var(--secondary-font);
  background: #fff;
  transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: #e21d2c;
  box-shadow: 0 0 0 4px rgba(226, 29, 44, 0.15);
  outline: none;
}

/* Açıklama alanı */
textarea {
  resize: vertical;
  min-height: 120px;
}

/* Buton */
.btn-submit {
  display: block;
  margin: 2.5rem auto 0 auto;
  background: #fff;                /* ✅ Beyaz arka plan */
  color: #000;                     /* ✅ Siyah yazı */
  font-size: 1.2rem;
  font-weight: 600;
  padding: 16px 48px;
  border: 2px solid #000;          /* ✅ Siyah çerçeve */
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #000;                /* ✅ Üzerine gelince siyah arka plan */
  color: #fff;                     /* ✅ Yazı beyaz olur */
  transform: translateY(-2px);
}


/* ====================================================== */
/* 3️⃣ MOBİL GÖRÜNÜM */
/* ====================================================== */
@media (max-width: 768px) {
  .valuation-hero {
    height: 70vh;
  }

  .hero-overlay h1 {
    font-size: 2.2rem;
  }

  .hero-overlay p {
    font-size: 1.1rem;
  }

  #valuationForm {
    padding: 2rem 1.5rem;
  }

  .form-group-inline {
    grid-template-columns: 1fr; /* tek sütun */
  }

  label {
    font-size: 1rem;
  }

  input, select, textarea {
    font-size: 0.95rem;
  }

  .btn-submit {
    width: 100%;
    padding: 14px 0;
  }
}


/* ====================================================== */
/* CALL TO ACTION (CTA) BÖLÜMÜ */
/* ====================================================== */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #000 0%, #222 100%); /* 🔥 Koyu degrade */
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  overflow: hidden;
  margin-top: 14px;
}

/* Arka plan efekti (hafif animasyonlu ışık geçişi) */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(255,255,255,0.05), transparent 70%);
  animation: glowMove 10s infinite alternate ease-in-out;
  z-index: 0;
}

@keyframes glowMove {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 0.8; }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
}

/* Başlık */
.cta-content h3 {
  font-size: 2.8rem;
  font-family: var(--primary-font);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  line-height: 1.3;
  color:white;
}

/* Açıklama */
.cta-content p {
  font-size: 1.0rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  opacity: 0.9;
}

/* Buton */
.cta-content .btn {
  display: inline-block;
  background: #fff;                  /* 🔹 Beyaz arka plan */
  color: #000;                       /* 🔹 Siyah yazı */
  border: 2px solid #000;            /* 🔹 Siyah çerçeve */
  padding: 16px 60px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;               /* 🔹 Tek satırda kalır */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-content .btn:hover {
  background: #000;                  /* 🔹 Siyah arka plan */
  color: #fff;                       /* 🔹 Beyaz yazı */
  border-color: #000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}



/* ====================================================== */
/* 📱 MOBİL GÖRÜNÜM */
/* ====================================================== */
@media (max-width: 768px) {
  .cta-section {
    padding: 4rem 1.5rem;
  }

  .cta-content h3 {
    font-size: 2rem;
    line-height: 1.4;
  }

  .cta-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .cta-content .btn {
    font-size: 1rem;
    padding: 12px 0;
    width: 80%;
    display: inline-block;
  }
}

:root {
  --nav-size: clamp(12px, 0.95vw, 16px);
  --hero-h1: clamp(28px, 5vw, 64px);
  --hero-sub: clamp(14px, 1.6vw, 22px);
  --hero-btn: clamp(12px, 1.1vw, 18px);
}

/* Menü linkleri */
.page-nav .nav-links a {
  font-size: var(--nav-size);
  line-height: 1;
}

/* Hero başlık ve metin */
.hero-content h1,
#hero-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--hero-h1);
  line-height: 1.15;
  letter-spacing: .5px;
}

.hero-content p {
  font-size: var(--hero-sub);
}

/* Hero butonlar */
.hero-buttons .btn {
  font-size: var(--hero-btn);
}

/* ====================================================== */
/*  SATILANLAR SWIPER AYARLARI (TESTIMONIALS İLE ÇAKIŞMAZ) */
/* ====================================================== */
.sold-swiper {
  width: 100%;
  height: 220px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

/* Satılanlar içindeki pagination noktaları */
.sold-swiper .swiper-pagination-bullet {
  background: rgba(255,255,255,0.8);
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 5px !important;
  transition: all 0.3s ease;
}

.sold-swiper .swiper-pagination-bullet-active {
  background: black;
  transform: scale(1.3);
}


.story-toggle-btn {
  margin-top: 10px;
  background: #fff;
  color: #111;
  font-style: italic;
  font-family: "Playfair Display", serif; /* klasik zarif yazı tipi */
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.story-toggle-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.story-toggle-btn:hover {
  background: #f8f8f8;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

/* Açıldığında oku ters çevirme animasyonu */
.story-toggle-btn.open i {
  transform: rotate(180deg);
}

/* === SATIŞ HİKAYESİ POP-UP === */
#story-modal-backdrop{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  display: none;                 /* kapalı başlar */
  align-items: center; justify-content: center;
  z-index: 100000;               /* her şeyin üstünde */
}
#story-modal-backdrop.active{ display: flex; }

#story-modal{
  width: min(92vw, 860px);
  height: 82vh;                 /* sabit (ekranın %82'si) */
  max-height: none; 
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr; /* üstte görsel, altta metin alanı */
  padding: 10px;
}

#story-modal .modal-image{
  width: 100%;
  aspect-ratio: 16 / 9;          /* istersen 4/5 yapabilirsin */
  background: #f3f3f3;
  overflow: hidden;
}
#story-modal .modal-image img{
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#story-modal .modal-body{
  padding: 16px 18px 22px;
  overflow: auto;                /* metin uzunsa kaydır */
}
#story-modal .modal-title{
  font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem;
}
#story-modal .modal-text{
  font-size: 1.05rem; line-height: 1.7; color:#444;
  white-space: pre-wrap;
}

#story-modal .modal-close{
  position: absolute;
  top: 10px; right: 12px;
  width: 36px; height: 36px;
  border: none; border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff; font-size: 20px; line-height: 36px;
  cursor: pointer;
}
@media (max-width: 480px){
  #story-modal{ width: 96vw; max-height: 90vh; }
  #story-modal .modal-text{ font-size: 1rem; }
}



#iletisim-launcher {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* Baloncuk Yazısı */
.cta-bubble {
  background: #222;
  color: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-family: "Klein Condensed", sans-serif;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  white-space: nowrap;
}

#iletisim-launcher:hover .cta-bubble {
  opacity: 1;
  transform: translateY(0);
}

/* Ana Buton */
.cta-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 100000;
}


.cta-button:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.cta-button img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
}

/* Açılır Menü */
#iletisim-menusu {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transition: bottom 0.4s ease;
  z-index: 99998;
}

#iletisim-menusu.active {
  bottom: 0;
}

#iletisim-menusu .menu-content {
  max-width: 420px;
  margin: 0 auto;
  padding: 25px 30px 40px 30px;
}

#iletisim-menusu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

#iletisim-menusu a:hover {
  transform: translateX(5px);
  color: #007bff;
}

#iletisim-menusu a img {
  width: 32px;
  height: 32px;
}

#closeContact {
  margin-top: 10px;
  width: 100%;
  background: #f3f3f3;
  color: #333;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

#closeContact:hover {
  background: #e0e0e0;
}

@media (max-width: 600px) {
  .cta-bubble {
    display: none;
  }
}


/* ===== Masaüstü için: alt sayfa yerine küçük panel ===== */
@media (min-width: 992px) {
  /* Varsayılan (mobil) stilleri ez: tam genişlik yerine sabit genişlik */
  #iletisim-menusu {
    width: 380px;                 /* panel genişliği */
    left: auto;                   /* sağdan hizala */
    right: 100px;                  /* butonla aynı sağ boşluk */
    bottom: 100px;                /* butonun üstünde dursun (buton 65px + boşluk) */
    border-top-left-radius: 16px; /* panel görünümü */
    border-top-right-radius: 16px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
    transition: opacity 0.25s ease, transform 0.25s ease, bottom 0.25s ease;
    
    /* Panel davranışı (mobildeki “bottom slide” yerine fade/slide) */
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;         /* kapalıyken tıklanmasın */
    margin-bottom: 120px;
  }

  /* Açık durum (active) */
  #iletisim-menusu.active {
    /* desktop’ta bottom’u sabit tutuyoruz, sadece fade/slide */
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* İç boşluklar masaüstünde biraz daha sıkı olabilir */
  #iletisim-menusu .menu-content {
    max-width: none;     /* 380px panelin içine yayılsın */
    padding: 20px 22px 24px 22px;
  }

  /* Küçük bir konuşma oku (panel alt sağ köşe → butona doğru) */
  #iletisim-menusu.active::after {
    content: "";
    position: absolute;
    right: 34px;         /* butona doğru hizala (gerekirse oynat) */
    bottom: -10px;       /* panelin altından taşır */
    width: 14px;
    height: 14px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
}

/* Mobilde panel butonun ÜSTÜNDE olsun */
@media (max-width: 991px){
  #iletisim-menusu{
    z-index: 100001; /* #iletisim-launcher (99999) değerinden büyük */
  }
}


/* ===== Tabs: tek satır + ekran genişliğine göre okunaklı ===== */
.tabs{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  flex-wrap: nowrap;              /* asla alt satır yok */
  box-sizing: border-box;
}

/* Butonlar eşit pay, dinamik font/padding, gerektiğinde ... */
.tab-button{
  flex: 1 1 0;                    /* eşit bölüşsün */
  min-width: 0;                   /* daralmaya izin (kritik) */
  white-space: nowrap;            /* tek satır */
  overflow: hidden;
  text-overflow: ellipsis;        /* uzun gelirse ... */
  padding: clamp(6px, 1.2vw + 4px, 12px) clamp(10px, 1.4vw + 6px, 16px);
  font-size: clamp(12px, 2.2vw, 16px);  /* ekran küçüldükçe yazı küçülür */
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.tab-button:hover{ background:#f6f6f6; }
.tab-button.active{ background:#222; color:#fff; border-color:#222; }

/* Çok dar telefonlarda: kaydırma aç, metni kısma */
@media (max-width: 360px){
  .tabs{
    overflow-x: auto;             /* tek satırda, yana kaydır */
    -webkit-overflow-scrolling: touch;
  }
  .tab-button{
    flex: 0 0 auto;               /* içerik kadar genişlik */
    text-overflow: initial;       /* ... kaldır */
  }
}


/* Özet alanı (değişmediyse kalsın) */
.sold-summary{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:16px; margin:16px 0 8px;
}
@media(max-width:992px){ .sold-summary{ grid-template-columns: repeat(2,1fr);} }
@media(max-width:520px){ .sold-summary{ grid-template-columns: 1fr;} }

/* Kartlar: beyaz arka plan + gölge, metin siyah */
.sold-card{
  background:#fff;
  color:#111;
  border-radius:14px;
  padding:16px;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
  border:1px solid #eee;
}
.sold-card h4{ font-size:14px; font-weight:600; margin:0 0 8px; color:#111; }
.sold-card .sold-value{ font-size:22px; font-weight:700; color:#111; }

/* İlçe butonları (tıklanabilir) + Tümü */
.district-tags{
  display:flex; flex-wrap:wrap; gap:8px; margin-top:8px;
}
.district-button{
  appearance:none; border:1px solid #ddd; background:#fff; color:#111;
  padding:8px 12px; border-radius:999px; font-size:12px; line-height:1;
  cursor:pointer; display:flex; align-items:center; gap:8px;
  box-shadow:0 2px 6px rgba(0,0,0,.04);
}
.district-button:hover{ background:#f8f8f8; }
.district-button.active{ border-color:#111; box-shadow:0 2px 10px rgba(0,0,0,.08); }
.district-button .count{ opacity:.8; }
.district-button .arrow{ font-size:12px; opacity:.75; } /* ▼ */

#map{ width:100%; height:420px; border-radius:14px; }

/* Popup içeriği */
.sold-popup{ max-width:260px; color:#111; }
.sold-popup img{ width:100%; height:120px; object-fit:cover; border-radius:10px; margin-bottom:8px; }
.sold-popup h4{ margin:0 0 4px; font-size:16px; color:#111; }
.sold-popup .meta{ font-size:12px; opacity:.9; margin-bottom:6px; }
.sold-popup .price{ font-weight:700; margin-top:4px; }
.sold-popup .pill{ display:inline-block; background:#eef2ff; color:#3730a3; font-size:11px; padding:3px 8px; border-radius:999px; margin-top:6px; }


/* Mobil varsayılan: üst üste */
.map-layout { display: block; }
#map-wrapper { height: 420px; }
#map { height: 100%; }
.map-insights { margin-top: 16px; }

/* ---- Masaüstü (yan yana) ---- */
@media (min-width: 992px){
  .map-layout{
    display: grid;
    grid-template-columns: 70% 30%;   /* sol: harita, sağ: panel */
    gap: 20px;
    align-items: stretch;              /* iki kolon da 80vh'e uzasın */
  }

  #map-wrapper{ height: 80vh; }
  #map{ height: 100%; }

  .map-insights{
    height: 80vh;                      /* panel yüksekliği */
    overflow: auto;                    /* kartlar fazla olursa panel içinde scroll */
    display: flex;
    flex-direction: column;
  }

  /* Sağ panelde kartları tek kolon yap (daha okunaklı) */
  .map-insights .sold-summary{
    display: grid;
    grid-template-columns: 1fr;        /* tek sütun */
    gap: 16px;
    margin: 0;                         /* üst boşluğu kaldır */
  }
}

/* Mobilde (≤991px) özet/istatistik paneli HARİTANIN ÜSTÜNE gelsin */
@media (max-width: 991px){
  .map-layout{
    display: flex;            /* blok yerine flex kullan */
    flex-direction: column;   /* dikey istif */
  }
  .map-insights{
    order: 0;                 /* önce panel */
    margin: 0 0 16px 0;       /* altta küçük boşluk */
  }
  #map-wrapper{
    order: 1;                 /* sonra harita */
    height: 420px;            /* mevcut yükseklik */
  }
  #map{ height: 100%; }
}
