/* =========================
   Genel Sıfırlamalar
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    color: #1a1a1a;
    line-height: 1.6;
    background-color: #f8f8f8;
}

/* =========================
   Header
========================= */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    color: white;
    z-index: 10;
    flex-wrap: wrap; /* Çakışmayı önler */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 60px;
    width: auto;
    max-width: 150px; /* maksimum genişlik ekledik */
}



.site-baslik {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
}

.site-baslik .red { color: #ff0000; }
.site-baslik .gold { color: #B8860B; }

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 0 auto;
    flex-wrap: wrap; /* taştığında alt satıra geçmesini sağlar */
}
  
header nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #B8860B;
}

/* =========================
   Hero Bölümü
========================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero .btn {
    padding: 15px 35px;
    background-color: #B8860B;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background-color: #A5760C;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
}

/* .scroll-down a {
    font-size: 86px;
    color: black;
    text-decoration: none;
    display: inline-block;
    animation: bounce 2s infinite;
} */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* =========================
   Logo Altı
========================= */
.logo-below-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.logo-below-hero img {
    height: 300px;
    width: auto;
}

/* =========================
   Featured Cards
========================= */
/* =========================
   Featured Cards (Dikdörtgen)
========================= */
.featured-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.card {
  position: relative;
  width: 320px;       /* genişlik */
  height: 440px;      /* yükseklik */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* tüm kartı kaplasın */
  display: block;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.30);
  border: 2px solid #B8860B;  /* altın rengi border */
}

.card-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 20px;
  text-align: center;
}

.card-content h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
}

.card-content p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
  .card {
    width: 280px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .featured-cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 90%;
    height: auto;  /* yükseklik otomatik olabilir mobilde */
  }
}


/* =========================
   İletişim
========================= */


/* =========================
   Footer
========================= */
footer {
    background-color: white;
    color: white;
    text-align: center;
    padding: 30px 20px;
}
/* =========================
   Lüks Emlak Acenteleri Bölümü
========================= */
.luxury-intro {
    background-color: #B8860B;;
    text-align: center;
    padding: 100px 20px;
}

.luxury-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 66px;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.luxury-intro p {
    font-size: 18px;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* =========================
   Ortaklar Bölümü
========================= */
.partners {
    background-color: #fff;
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.partners h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    color: #1a1a1a;
    margin-bottom: 60px;
    letter-spacing: 1px;
}
.partners h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 60px;
    letter-spacing: 1px;
}
.partners h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 60px;
    letter-spacing: 1px;
}


.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    flex-wrap: wrap;
}

.partners-logos img {
    width: 320px;
    height: 300px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    filter: grayscale(100%);
}

/* Görünür olunca aktif olacak efekt */
.partners-logos img.visible {
    opacity: 1;
    transform: translateY(0);
    filter: grayscale(0%);
}

/* Hover efekti */
.partners-logos img:hover {
    transform: scale(1.1);
}
/* Hakkımızda Hero */
.hakkimizda-hero {
    background: url('images/biz.jpg') center/cover no-repeat; /* arka plan resmi */
    height: 400px;        /* sabit yükseklik */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    margin-top: 60px;     /* header yüksekliğine eşit veya biraz fazla */
    color: #fff;
}


.hakkimizda-hero .hero-overlay {
    position: relative;
    z-index: 1;
    background-color: rgba(0,0,0,0.5);
    padding: 50px;
    border-radius: 10px;
    color: #fff;
}

.hakkimizda-hero h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hakkimizda-hero p {
    font-size: 20px;
}

/* Hakkımızda Content */
.hakkimizda-content {
    padding: 60px 20px 20px 20px; /* üst padding varsa azalt veya sıfırla */
    background-color: #f9f9f9; /* içerik için beyaz alan */
}


.hakkimizda-content .container {
    max-width: 900px;
    margin: auto;
    text-align: left;
}

.hakkimizda-content h3 {
    color: #333;
    margin-top: 30px;
    font-size: 28px;
}

.hakkimizda-content p {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin-top: 10px;
}

.hakkimizda-content ul {
    margin-top: 15px;
    padding-left: 20px;
    list-style-type: disc;
    color: #555;
}

.hakkimizda-content ul li {
    margin-bottom: 10px;
}
/* İlanlar Hero */
.ilanlar-hero {
    background: url('images/ilanlar-banner.jpg') center/cover no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
}

.ilanlar-hero .hero-overlay {
    background-color: rgba(0,0,0,0.5);
    padding: 40px;
    border-radius: 10px;
}

.ilanlar-hero h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.ilanlar-hero p {
    font-size: 18px;
}

/* İlanlar Kartları */
.ilanlar-content {
    padding: 60px 20px;
    background-color: #f9f9f9;
}
.ilan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ilan-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ilan-info {
    padding: 10px;
}

.ilan-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.ilan-info p {
    margin: 3px 0;
}

.ilan-info .fiyat {
    color: #d9534f;
    font-weight: bold;
    margin-top: 5px;
}
/* İletişim Hero */



.filtreler {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.filtreler input, .filtreler select {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  min-width: 150px;
}

.ilan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.ilan-card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.ilan-card:hover {
  transform: translateY(-5px);
}

.ilan-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.ilan-info {
  padding: 15px;
  text-align: center;
}

.ilan-info h3 {
  font-size: 18px;
  color: #333;
}

.fiyat {
  font-weight: bold;
  color: #b71c1c;
}
.slider {
    position: relative;
    width: 100%;
    height: 200px; /* Desktop için */
    overflow: hidden;
}

.slider img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.slider img:first-child {
    display: block;
}

@media screen and (max-width: 768px) {
    .slider {
        height: 150px; /* Tablet ve mobil için daha küçük */
    }
    .slider .prev,
    .slider .next {
        padding: 3px 7px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .slider {
        height: 120px; /* Telefon için daha küçük */
    }
}
#preview {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

#preview img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
/* WhatsApp butonunu kesin üstte göstermek için */
.whatsapp-button {
    position: fixed !important;
    bottom: 110px !important;   /* gerekirse arttır, alt menüden yukarıda kalsın */
    right: 18px !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35) !important;
    transition: transform 0.25s ease !important;
    z-index: 2147483647 !important; /* mümkün olan en yüksek z-index */
    pointer-events: auto !important;
}

/* Görsel tam dolsun */
.whatsapp-button img {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Hover efekti */
.whatsapp-button:hover {
    transform: scale(1.08) !important;
}


/* TELEFON EKRANLARI İÇİN */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    width: 100px;
    
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    height: 60vh;
    position: relative;  /* zaten büyük ihtimalle var */
    z-index: 1; 
  }
  .hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;  /* yazıların ve menünün altında */
}

.hero-content {
  position: relative;
  z-index: 2;  /* hero içeriği video üstünde ama menünün altında */
}

  .hero-content h2 {
    font-size: 20px;
  }

  .hero-content p {
    font-size: 14px;
  }

  footer {
    font-size: 14px;
  }
}

/* TABLET (orta boy ekran) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    height: 80vh;
  }
  .hero-content h2 {
    font-size: 26px;
  }
}


/* ======= TELEFON UYUMLULUĞU ======= */
@media (max-width: 768px) {

  /* Footer kolonları alt alta geçsin */
  .footer-container {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }
  .footer-column {
    min-width: auto !important;
    margin-left: 0 !important;
    margin-bottom: 20px;
  }

  /* Header menü alt alta geçsin */
  nav ul {
    flex-direction: column !important;
    gap: 10px;
  }

  /* Hero alanları daha kısa ve yazı boyutları küçülsün */
  .hero, .hakkimizda-hero {
    height: auto !important;
    min-height: 50vh;
    padding: 40px 20px;
  }
  .hero-content h2, .hakkimizda-hero h2 {
    font-size: 20px !important;
  }
  .hero-content p, .hakkimizda-hero p {
    font-size: 14px !important;
  }

  /* Featured cards ve Hakkımızda kartlar alt alta geçsin */
  .featured-cards, .hakkimizda-content .cards {
    flex-direction: column !important;
    align-items: center;
  }
  .featured-cards .card, .hakkimizda-content .card {
    width: 90% !important;
    max-width: 350px !important;
    margin-bottom: 20px;
  }

  /* İlanlar grid alt alta geçsin */
  .ilan-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* Kurucu/CEO resmi daha küçük */
  .partners-logos img {
    width: 80% !important;
    height: auto !important;
  }

  /* Genel yazı küçültme */
  body, footer, .ilan-card-content p {
    font-size: 14px !important;
  }

}
/* Hamburger menü stili */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 20;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #B8860B;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobil için */
@media (max-width: 768px) {
  header {
    position: relative; /* absolute yerine relative olsun */
    flex-direction: column; /* üst üste binmeyi önler */
    align-items: center;
    text-align: center;
    padding: 15px 20px;
  }
  header nav ul {
  display: none;  /* hamburger kapalıyken gizli */
  flex-direction: column;
  gap: 15px;
  position: fixed;      /* absolute yerine fixed */
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;         /* tüm ekranı kaplasın */
  padding: 20px;
  background-color: rgba(0,0,0,0.9);
  border-radius: 0;
  z-index: 9999;        /* hero ve yazılardan çok üstte */
}

header nav ul.active {
  display: flex;
}


@media (max-width: 768px) {
  nav ul {
    display: none; /* hamburger tıklanana kadar gizli */
    flex-direction: column;
    gap: 15px;
    background-color: rgba(0,0,0,0.9);
    position: absolute;
    top: 70px;       /* header altından başlasın */
    left: 0;         /* soldan açılacak */
    width: 200px;
    padding: 20px;
    border-radius: 0 8px 8px 0; /* sola yaslı, sağ köşeler yuvarlak */
    z-index: 50;
  }

  nav ul.active {
    display: flex; /* hamburger tıklanınca menü açılacak */
  }
}

  }

  nav ul.active {
    display: flex; /* hamburger tıklanınca menü açılacak */
  }

.hamburger {
  display: flex; 
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 60; /* menüden önde olsun */
  align-self: flex-start; /* sola yasla */
  margin-left: 20px;      /* biraz boşluk */
}
/* Hamburger menü sadece mobilde görünsün */
.hamburger {
    display: none; /* varsayılan olarak gizle */
}

@media (max-width: 768px) {
    .hamburger {
        display: flex; /* mobilde göster */
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        z-index: 60; /* menüden önde olsun */
        align-self: flex-start; /* sola yasla */
        margin-left: 20px; /* biraz boşluk */
    }
}



