/* ===========================
   EMLAK CRM — Website CSS
   =========================== */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #1e293b; }

/* ── HERO ── */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f2a50 100%);
  position: relative; overflow: hidden;
  padding: 80px 0;
}
.hero-section::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.15) 0%, transparent 70%);
}
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
.hero-subtitle { font-size: 1.1rem; opacity: .8; max-width: 500px; }

/* ── SEARCH BOX ── */
.search-box {
  background: white; border-radius: 16px; padding: 28px;
}
.btn-search {
  width: 100%; padding: 12px; border-radius: 10px; border: none;
  background: linear-gradient(135deg, #1a56db, #1e40af);
  color: white; font-weight: 600; font-size: .95rem;
  transition: .2s; cursor: pointer;
}
.btn-search:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(26,86,219,.4); }

/* ── SECTIONS ── */
.section-badge {
  display: inline-block; background: #eff6ff; color: #1a56db;
  font-size: .8rem; font-weight: 600; padding: 4px 12px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 8px;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: #0f172a; }
.section-subtitle { color: #64748b; max-width: 500px; margin: 0 auto; }

/* ── PROPERTY CARD ── */
.property-card {
  background: white; border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06); border: 1px solid #f1f5f9;
  transition: transform .2s, box-shadow .2s; height: 100%;
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.card-img-wrapper { position: relative; height: 200px; overflow: hidden; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.property-card:hover .card-img-wrapper img { transform: scale(1.05); }
.badge-status {
  position: absolute; top: 12px; left: 12px;
  background: #ef4444; color: white; font-size: .7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .05em;
}
.badge-status.kiralik { background: #10b981; }
.card-body { padding: 16px; }
.location { font-size: .8rem; color: #64748b; }
.card-title a { font-size: .95rem; font-weight: 700; color: #0f172a; text-decoration: none; line-height: 1.3; }
.card-title a:hover { color: #1a56db; }
.features { gap: 12px; flex-wrap: wrap; }
.features span { font-size: .78rem; color: #64748b; display: flex; align-items: center; gap: 4px; }
.price { font-size: 1.1rem; font-weight: 800; color: #1a56db; }

/* ── ABOUT ── */
.about-icon-box {
  background: #f8fafc; border-radius: 16px; padding: 20px;
  border: 1px solid #e2e8f0; transition: .2s;
}
.about-icon-box:hover { border-color: #1a56db; background: #eff6ff; }
.about-icon-box .icon { font-size: 1.5rem; color: #1a56db; margin-bottom: 8px; }

/* ── CTA ── */
.cta-section { background: linear-gradient(135deg, #1a56db, #0f2a50); }

/* ── FOOTER ── */
.footer-brand { font-size: 1.4rem; font-weight: 800; color: white; }
.footer-link { color: #94a3b8; text-decoration: none; transition: .2s; }
.footer-link:hover { color: white; }

/* ── CONTACT ── */
.contact-info-card {
  background: #f8fafc; border-radius: 12px; padding: 16px; margin-bottom: 12px;
  border: 1px solid #e2e8f0;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}

/* ── PORTFOY DETAY ── */
.detail-card { background: white; border-radius: 16px; padding: 24px; margin-bottom: 20px; border: 1px solid #e2e8f0; }
.gallery-main { border-radius: 12px; overflow: hidden; background:#f5f5f5; text-align:center; }
.gallery-main img { width: 100%; max-height: 520px; object-fit: cover; display:block; cursor:zoom-in; }
.gallery-thumb { border-radius: 8px; overflow: hidden; height: 80px; cursor: pointer; background:#f0f0f0; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.gallery-thumb:hover img { opacity: .75; }
.gallery-thumb.active-thumb { outline: 3px solid #1a56db; border-radius: 8px; }

/* Lightbox */
.lightbox-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:9999; align-items:center; justify-content:center; }
.lightbox-overlay.active { display:flex; }
.lightbox-overlay img { max-width:90vw; max-height:90vh; object-fit:contain; border-radius:8px; }
.lightbox-close { position:fixed; top:20px; right:28px; color:#fff; font-size:2.5rem; cursor:pointer; line-height:1; z-index:10000; }
.lightbox-prev, .lightbox-next { position:fixed; top:50%; transform:translateY(-50%); color:#fff; font-size:2.5rem; cursor:pointer; z-index:10000; background:rgba(0,0,0,.4); border:none; padding:8px 16px; border-radius:8px; }
.lightbox-prev { left:16px; }
.lightbox-next { right:16px; }
.spec-table td { padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: .9rem; }
.spec-table td:first-child { color: #64748b; width: 40%; }
.advisor-card { background: white; border-radius: 16px; padding: 24px; border: 1px solid #e2e8f0; }

/* ── BUTTONS ── */
.btn-primary-custom {
  background: linear-gradient(135deg, #1a56db, #1e40af); color: white;
  border: none; border-radius: 10px; padding: 12px 24px; font-weight: 600;
  text-decoration: none; display: inline-block; transition: .2s;
}
.btn-primary-custom:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(26,86,219,.4); color: white; }
.btn-whatsapp { background: #25D366; border: none; color: white !important; border-radius: 10px; }
.btn-whatsapp:hover { background: #1fb855; }

/* ── FILTER SIDEBAR ── */
.filter-sidebar { background: white; border-radius: 16px; padding: 20px; border: 1px solid #e2e8f0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .search-box { padding: 16px; }
}