﻿
/* ─── Variables ─────────────────────────────────────────── */
:root {
  --navy:       #1B2A4A;
  --navy-dark:  #111D33;
  --navy-light: #f0f4fb;
  --gold:       #C9A84C;
  --gold-dark:  #a88630;
  --text-main:  #2c3e50;
}

/* ─── Base ───────────────────────────────────────────────── */
html, body { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text-main); }
.main-content { margin-top: 76px; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ─── Colors ─────────────────────────────────────────────── */
.text-navy    { color: var(--navy) !important; }
.text-gold    { color: var(--gold) !important; }
.bg-navy      { background-color: var(--navy) !important; }
.bg-navy-light{ background-color: var(--navy-light) !important; }
.bg-gold      { background-color: var(--gold) !important; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn-navy {
  background-color: var(--navy); color: #fff; border: 2px solid var(--navy);
  transition: all .3s;
}
.btn-navy:hover { background-color: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn-gold {
  background-color: var(--gold); color: #fff; border: 2px solid var(--gold);
  font-weight: 600; transition: all .3s;
}
.btn-gold:hover { background-color: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-outline-navy {
  background: transparent; color: var(--navy); border: 2px solid var(--navy); transition: all .3s;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ─── Navbar ─────────────────────────────────────────────── */
.me-nav {
  background-color: rgba(27,42,74,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  padding: 1rem 0;
}
.me-nav .nav-link { color: rgba(255,255,255,.85) !important; font-weight: 500; transition: color .2s; padding: .5rem 1rem; border-radius: 6px; }
.me-nav .nav-link:hover, .me-nav .nav-link.active { color: var(--gold) !important; background: rgba(201,168,76,.1); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero-section {
  position: relative; min-height: 680px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #2a4080 100%);
  display: flex; align-items: center; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
  opacity: .18;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(27,42,74,.6) 0%, rgba(27,42,74,.85) 100%); }
.hero-content { position: relative; z-index: 2; padding: 6rem 1rem 3rem; }
.hero-content h1 { text-shadow: 0 2px 12px rgba(0,0,0,.5); }

/* ─── Search Card ────────────────────────────────────────── */
.search-card {
  background: #fff; border-radius: 16px; padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.3); text-align: left;
  max-width: 900px; margin: 0 auto;
}
.search-card .form-label { color: var(--navy); font-size: .85rem; }
.search-card .form-select, .search-card .form-control { border: 1.5px solid #dde3ef; }
.search-card .form-select:focus, .search-card .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.15); }

/* ─── Stats ──────────────────────────────────────────────── */
.stats-section { background: var(--gold); padding: 1.5rem 0; }
.stats-row { text-align: center; }
.stat-item {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 1rem; border-right: 1px solid rgba(255,255,255,.3); color: #fff;
}
.stat-item:last-child { border-right: none; }
.stat-item i { font-size: 2rem; }
.stat-num { font-size: 2rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: .85rem; opacity: .9; }

/* ─── Section Header ─────────────────────────────────────── */
.section-badge {
  display: inline-block; background: rgba(201,168,76,.15); color: var(--gold-dark);
  border: 1px solid var(--gold); padding: .3rem 1rem; border-radius: 50px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
}
.section-title { font-size: 2rem; font-weight: 800; color: var(--navy); }

/* ─── Property Card ──────────────────────────────────────── */
.property-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}
.property-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.property-img-wrap { position: relative; overflow: hidden; height: 220px; }
.property-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.property-card:hover .property-img { transform: scale(1.06); }
.property-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy); color: #fff; font-size: .7rem; font-weight: 700;
  padding: .25rem .7rem; border-radius: 50px; text-transform: uppercase; letter-spacing: .05em;
}
.property-badge-featured {
  position: absolute; top: 12px; right: 12px;
  background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700;
  padding: .25rem .7rem; border-radius: 50px;
}
.property-body { padding: 1.2rem; }
.property-type { font-size: .75rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.property-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin: .3rem 0 .4rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.property-location { font-size: .82rem; color: #6c757d; margin-bottom: .6rem; }
.property-features { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.property-features span { font-size: .78rem; color: #555; background: #f0f4fb; padding: .2rem .6rem; border-radius: 6px; }
.property-price { font-size: 1.15rem; font-weight: 800; color: var(--gold-dark); }

/* ─── Category Card ──────────────────────────────────────── */
.category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; padding: 1.5rem 1rem; background: #fff; border-radius: 12px;
  border: 2px solid #e8edf6; transition: all .3s; color: var(--navy);
  text-align: center; font-weight: 600; font-size: .9rem;
}
.category-card i { font-size: 1.8rem; color: var(--gold); }
.category-card:hover { border-color: var(--gold); background: var(--navy); color: #fff; transform: translateY(-4px); box-shadow: 0 8px 24px rgba(27,42,74,.2); }
.category-card:hover i { color: var(--gold); }

/* ─── Feature List ───────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 1.2rem; }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; }
.feature-icon { min-width: 48px; height: 48px; border-radius: 12px; background: rgba(201,168,76,.1); display: flex; align-items: center; justify-content: center; }
.feature-icon i { font-size: 1.4rem; color: var(--gold); }

/* ─── Page Header ────────────────────────────────────────── */
.page-header-section {
  background: linear-gradient(135deg, var(--navy) 0%, #2a4080 100%);
  padding: 5rem 0 3rem; margin-top: 76px;
}

/* ─── Search Sidebar ─────────────────────────────────────── */
.search-sidebar { background: #fff; border-radius: 14px; padding: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.sidebar-title { color: var(--navy); font-weight: 700; font-size: 1rem; margin-bottom: 1.2rem; }
.search-sidebar .form-select, .search-sidebar .form-control {
  border: 1.5px solid #dde3ef; border-radius: 8px;
}
.search-sidebar .form-select:focus, .search-sidebar .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,168,76,.15); }

/* ─── Detail Page ────────────────────────────────────────── */
.detay-main-img { width:100%; height:480px; object-fit:cover; border-radius:12px; cursor:pointer; }
.thumb-img { width:100%; height:80px; object-fit:cover; border-radius:8px; opacity:.7; cursor:pointer; transition: opacity .2s; }
.swiper-slide-thumb-active .thumb-img { opacity:1; border:2px solid var(--gold); }
.detail-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e8edf6; }
.detail-section-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.feature-badge { background: #f0f4fb; border-radius: 8px; padding: .5rem .8rem; font-size: .85rem; display: flex; align-items: center; }
.price-card { background: var(--navy); color: #fff; border-radius: 14px; padding: 1.5rem; }
.price-main { margin-bottom: .5rem; }
.price-value { font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.price-currency { font-size: 1rem; color: rgba(255,255,255,.7); margin-left: .3rem; }
.price-sub { font-size: .82rem; color: rgba(255,255,255,.6); }
.detail-table-card { background: #fff; border-radius: 14px; padding: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.contact-card { background: #fff; border-radius: 14px; padding: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.badge-category { background: var(--navy); color: #fff; padding: .3rem .8rem; border-radius: 50px; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.badge-type { background: var(--gold); color: #fff; padding: .3rem .8rem; border-radius: 50px; font-size: .78rem; font-weight: 700; }

/* ─── Contact ─────────────────────────────────────────────── */
.contact-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.contact-icon i { color: var(--gold); font-size: 1.2rem; }
.contact-info-card { background: #fff; border-radius: 14px; padding: 2rem 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.06); }

/* ─── Pagination ─────────────────────────────────────────── */
.page-link { color: var(--navy); border-color: #dde3ef; }
.page-item.active .page-link { background: var(--navy); border-color: var(--navy); }
.page-link:hover { background: var(--navy-light); color: var(--navy); }

/* ─── Footer ─────────────────────────────────────────────── */
.me-footer { background: var(--navy-dark); }
.footer-link { display: block; color: rgba(255,255,255,.6); text-decoration: none; padding: .2rem 0; transition: color .2s; font-size: .9rem; }
.footer-link:hover { color: var(--gold); }
.social-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: all .2s; }
.social-btn:hover { background: var(--gold); color: #fff; }

/* ─── Kurumsal ───────────────────────────────────────────── */
.info-stat-card { background: #fff; border-radius: 14px; padding: 2rem; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.stat-big { font-size: 2.5rem; font-weight: 900; color: var(--navy); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section { min-height: 500px; }
  .hero-content { padding: 5rem .5rem 2rem; }
  .search-card { padding: 1.2rem; }
  .section-title { font-size: 1.6rem; }
  .stat-item { padding: .8rem .5rem; }
  .stat-num { font-size: 1.5rem; }
}
