:root {
  --primary: #0a192f;
  --secondary: #1b4332;
  --accent: #d4af37;
  --danger: #e11d48;
  --success: #10b981;
  --whatsapp: #25d366;
  --text-dark: #333;
  --text-muted: #666;
  --bg-light: #f4f6f9;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

ul {
  list-style: none;
}

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

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

/* COMPACT PADDING */
.section-padding {
  padding: 40px 0;
}

/* TOP BAR */
.top-bar {
  background-color: var(--primary);
  color: var(--white);
  font-size: 13px;
  padding: 5px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left, .top-bar-right {
  display: flex;
  gap: 15px;
  align-items: center;
}
.top-bar a {
  color: var(--white);
}
.top-bar a:hover {
  color: var(--accent);
}
.top-bar i {
  color: var(--accent);
  margin-right: 5px;
}
.admin-link {
  background: var(--accent);
  color: var(--primary) !important;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

/* HEADER */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 60px;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo i {
  color: var(--accent);
  font-size: 24px;
}
.nav-menu {
  display: flex;
  gap: 20px;
}
.nav-menu a {
  font-weight: 500;
  color: var(--primary);
  font-size: 14px;
  padding: 5px 0;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.btn-phone {
  background: var(--primary);
  color: var(--white);
  padding: 8px 15px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-phone:hover {
  background: var(--accent);
  color: var(--primary);
}
.hamburger {
  display: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
}

/* HERO */
.hero {
  height: 420px;
  background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), url('../images/hero-bg.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: var(--white);
}
.hero-content {
  max-width: 800px;
  padding: 0 15px;
  margin-top: -60px;
}
.hero-title {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 10px;
}
.hero-subtitle {
  font-size: 16px;
  opacity: 0.9;
}

/* SEARCH BOX */
.search-box-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  width: 90%;
  max-width: 1000px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  overflow: hidden;
}
.search-tabs {
  display: flex;
  background: var(--bg-light);
}
.search-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
}
.search-tab.active {
  color: var(--primary);
  background: var(--white);
  border-bottom-color: var(--accent);
}
.search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 15px;
  padding: 20px;
  align-items: center;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
}
.btn-search {
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 18px;
}
.btn-search:hover {
  background: var(--primary);
  color: var(--white);
}

/* SECTION TITLES */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}
.section-title {
  font-size: 28px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent);
}
.section-header.left {
  text-align: left;
}
.section-header.left .section-title::after {
  left: 0;
  transform: none;
}

/* PROPERTY GRID */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* PROPERTY CARD */
.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.property-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.property-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.property-card:hover .property-img img {
  transform: scale(1.1);
}
.property-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
}
.badge-firsat { background: var(--danger); }
.badge-vitrin { background: var(--accent); color: var(--primary); }
.badge-satilik { background: var(--primary); }
.badge-kiralik { background: var(--secondary); }

.property-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.property-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.old-price {
  font-size: 14px;
  color: var(--danger);
  text-decoration: line-through;
  font-weight: normal;
}
.property-title {
  font-size: 16px;
  margin-bottom: 10px;
  flex: 1;
}
.property-title a {
  color: var(--text-dark);
}
.property-title a:hover {
  color: var(--accent);
}
.property-location {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.property-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.spec-item i {
  color: var(--accent);
}
.btn-view {
  display: block;
  text-align: center;
  background: var(--bg-light);
  color: var(--primary);
  padding: 10px;
  font-weight: 600;
  font-size: 14px;
  border-top: 1px solid var(--border-color);
}
.property-card:hover .btn-view {
  background: var(--primary);
  color: var(--accent);
}

/* FEATURES (NEDEN BİZ) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 15px;
}
.feature-title {
  font-size: 16px;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-stars {
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 10px;
}
.testimonial-text {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 15px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.author-info h5 {
  margin: 0;
  font-size: 14px;
}
.author-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* FOOTER */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}
.footer-logo {
  font-size: 24px;
  color: var(--white);
  font-family: 'Poppins';
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo i { color: var(--accent); }
.footer-text {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.footer-contact i {
  color: var(--accent);
  margin-top: 3px;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
}
.social-links a:hover {
  background: var(--accent);
  color: var(--primary);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 100;
  animation: pulse 2s infinite;
}
.whatsapp-float:hover {
  color: white;
  transform: scale(1.1);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* PAGE BANNER */
.page-banner {
  height: 150px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  color: var(--white);
}
.page-banner h1 {
  color: var(--white);
  margin: 0;
  font-size: 28px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--primary);
}
.breadcrumb.white {
  color: rgba(255,255,255,0.7);
}
.breadcrumb.white a {
  color: var(--white);
}

/* FILTER BAR */
.filter-bar {
  background: var(--white);
  padding: 15px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: -30px auto 30px;
  position: relative;
  z-index: 10;
}
.filter-form {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 10px;
  align-items: end;
}

/* DETAIL PAGE */
.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.detail-header {
  margin-bottom: 20px;
}
.detail-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.detail-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.detail-title {
  font-size: 24px;
  margin-bottom: 5px;
}
.detail-location {
  color: var(--text-muted);
  font-size: 14px;
}

/* GALLERY */
.gallery-main {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
  cursor: pointer;
  background: #000;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}
.thumb {
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}
.thumb:hover, .thumb.active {
  opacity: 1;
  border: 2px solid var(--accent);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* VIDEO CONTAINER */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 30px;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* SPECS GRID */
.detail-section {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-color);
  font-size: 14px;
}
.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}
.spec-value {
  font-weight: 600;
  color: var(--text-dark);
}

/* TAGS */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-pill {
  background: var(--bg-light);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-color);
}
.tag-pill i {
  color: var(--success);
}

/* SIDEBAR DETAIL */
.detail-sidebar {
  position: sticky;
  top: 80px;
}
.price-box {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  text-align: center;
}
.price-box .old-price {
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}
.price-box .current-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--danger);
  font-family: 'Poppins';
}
.agent-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  text-align: center;
}
.agent-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  margin: 0 auto 15px;
  color: var(--white);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agent-name {
  font-size: 18px;
  margin-bottom: 5px;
}
.agent-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 15px;
}
.agent-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-call {
  background: var(--primary);
  color: var(--white);
  padding: 10px;
  border-radius: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-call:hover { background: var(--accent); color: var(--primary); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  padding: 10px;
  border-radius: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-whatsapp:hover { background: #1ebe57; color: white; }

.contact-form-box {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-form-box h4 {
  margin-bottom: 15px;
  font-size: 16px;
}
.form-group-full {
  margin-bottom: 15px;
}
.btn-submit {
  width: 100%;
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 10px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}
.btn-submit:hover { background: var(--primary); color: var(--white); }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}
.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  padding: 10px;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(10, 25, 47, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-text h5 { margin-bottom: 5px; font-size: 16px; }
.contact-text p { color: var(--text-muted); font-size: 14px; }
.map-container {
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 30px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.stat-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Poppins';
  margin-bottom: 5px;
}
.stat-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .search-form { grid-template-columns: repeat(2, 1fr); }
  .btn-search { grid-column: span 2; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-form { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 60px);
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
  }
  .nav-menu.active { left: 0; }
  .hamburger { display: block; }
  .btn-phone { display: none; }
  
  .hero { height: auto; padding: 40px 0 60px; }
  .hero-title { font-size: 26px; }
  .hero-service-pills { flex-direction: column; gap: 8px; }
  .search-box-wrapper { position: static; transform: none; width: 100%; margin-top: 20px; box-shadow: none; border-radius: 8px; }
  .hero-content { margin-top: 0; }
  
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .search-form { grid-template-columns: 1fr; }
  .btn-search { grid-column: 1; }
  .property-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .filter-form { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .specs-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   EMLAK, TAPU TAKİP & SİGORTA HİZMETLERİ ÖZEL STİLLERİ
   ========================================================================== */
.hero-service-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
}
.hero-pill:hover {
  background: rgba(212, 175, 55, 0.3);
  border-color: var(--accent);
  color: #fff;
}
.hero-pill i {
  color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 25px;
}
.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #edf2f7;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(10, 25, 47, 0.12);
  border-color: var(--accent);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transition: 0.3s;
}
.service-card:hover::before {
  background: var(--accent);
}
.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #f0fdf4;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.service-card:nth-child(1) .service-icon-wrap { background: #eff6ff; color: #2563eb; }
.service-card:nth-child(2) .service-icon-wrap { background: #fef3c7; color: #d97706; }
.service-card:nth-child(3) .service-icon-wrap { background: #ecfdf5; color: #059669; }

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}
.service-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}
.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  margin-bottom: 10px;
  line-height: 1.4;
}
.service-checklist li i {
  color: #10b981;
  margin-top: 3px;
  font-size: 14px;
}
.service-card-action {
  margin-top: auto;
}
.service-card-action .btn {
  width: 100%;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
}

.tapu-sigorta-cta {
  background: linear-gradient(135deg, #0a192f 0%, #1e293b 100%);
  border-radius: 14px;
  padding: 35px;
  color: #ffffff;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.2);
}
.tapu-sigorta-cta h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}
.tapu-sigorta-cta p {
  color: #cbd5e1;
  font-size: 14px;
  max-width: 650px;
  margin: 0;
}
.tapu-sigorta-cta .cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (ADDED)
   ========================================================================== */

/* Buttons, links min tap target on touch */
@media (pointer: coarse) {
    a, button, .btn, .search-tab, .hero-pill {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .property-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    body { font-size: 14px; overflow-x: hidden; }
    
    .hamburger { display: block; }
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        z-index: 999;
    }
    .nav-menu.active { left: 0; }
    
    /* Hero */
    .hero { height: auto; padding: 40px 0 60px; }
    .hero-title { font-size: 24px; }
    .hero-subtitle { font-size: 14px; }
    .hero-service-pills { flex-direction: column; width: 100%; }
    .hero-pill { width: 100%; justify-content: center; }
    
    /* Search Box */
    .search-box-wrapper { position: static; transform: none; width: 100%; margin-top: 20px; border-radius: var(--radius); }
    .search-form { grid-template-columns: 1fr; gap: 10px; padding: 15px; }
    .btn-search { grid-column: 1; margin-top: 10px; width: 100%; }
    
    /* Cards & Grids */
    .property-grid, .features-grid, .services-grid, .testimonials-grid, .footer-grid, .stats-grid, .contact-grid, .detail-layout, .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .tapu-sigorta-cta { flex-direction: column; text-align: center; }
    .tapu-sigorta-cta .cta-buttons { flex-direction: column; width: 100%; }
    .tapu-sigorta-cta .btn { width: 100%; justify-content: center; }
    
    /* Tables scroll wrapper */
    table { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; }
    
    /* Font adjustments */
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    p, li { font-size: 14px; }
    
    /* Page banners */
    .page-banner { height: 120px; }
    .page-banner h1 { font-size: 22px; }
    
    /* Footer'ın altında mobil menü çubuğu olduğundan footer'a alt boşluk ekle */
    .footer { padding-bottom: 80px; }
    
    /* Desktop WhatsApp butonu mobilde gizle (alt menüde var) */
    .whatsapp-float { display: none !important; }
}

/* Small phones (max-width: 480px) */
@media (max-width: 480px) {
    .section-padding { padding: 30px 0; }
    .hero-title { font-size: 22px; }
    .gallery-main { height: 250px; }
    .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
    .footer-col h4 { font-size: 16px; }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON (Desktop Only)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 998;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    color: #fff;
}

/* ==========================================================================
   MOBİL ALT MENÜ ÇUBUĞU (Bottom Navigation Bar)
   ========================================================================== */
.mobile-bottom-nav {
    display: none; /* Desktop'ta gizli */
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
        z-index: 9999;
        padding: 4px 0;
        padding-bottom: env(safe-area-inset-bottom, 4px);
        transition: transform 0.3s ease;
    }
    
    .mobile-bottom-nav.hidden {
        transform: translateY(100%);
    }
    
    .mobile-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        padding: 6px 2px;
        color: #64748b;
        font-size: 10px;
        font-weight: 600;
        gap: 2px;
        transition: color 0.2s;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-nav-item i {
        font-size: 20px;
        line-height: 1;
    }
    
    .mobile-nav-item span {
        font-size: 10px;
        line-height: 1.2;
    }
    
    .mobile-nav-item.active {
        color: #0a192f;
    }
    .mobile-nav-item.active i {
        color: #d4af37;
    }
    
    /* Yeşil "Ara" Butonu (Ortadaki Telefon) */
    .mobile-nav-call {
        color: #ffffff !important;
        position: relative;
    }
    .mobile-nav-call i {
        background: #0a192f;
        color: #d4af37 !important;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        margin-top: -18px;
        box-shadow: 0 2px 8px rgba(10, 25, 47, 0.3);
    }
    .mobile-nav-call span {
        color: #0a192f;
        margin-top: 2px;
    }
    
    /* WhatsApp butonu yeşil */
    .mobile-nav-wp {
        color: #25d366 !important;
    }
    .mobile-nav-wp i {
        color: #25d366;
    }
}

/* ==========================================================================
   MOBİL HAMBURGER MENÜ İYİLEŞTİRMELERİ
   ========================================================================== */
@media (max-width: 768px) {
    .nav-menu {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu a {
        padding: 14px 16px;
        font-size: 15px;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 48px;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    /* Menü açıkken arka plan overlay */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.3);
        z-index: -1;
    }
}

/* ==========================================================================
   MOBİL GALERİ İYİLEŞTİRMELERİ (Swipe desteği)
   ========================================================================== */
@media (max-width: 768px) {
    .gallery-main {
        height: 280px;
        border-radius: 8px;
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
    }
    
    .gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .gallery-thumbs {
        gap: 6px;
    }
    
    .gallery-thumbs .thumb {
        height: 55px;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .gallery-thumbs .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Lightbox mobil uyumu */
    .lightbox {
        padding: 10px;
    }
    
    .lightbox img {
        max-height: 75vh;
        max-width: 100%;
        object-fit: contain;
        border-radius: 8px;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ==========================================================================
   MOBİL İLAN KART İYİLEŞTİRMELERİ
   ========================================================================== */
@media (max-width: 768px) {
    .property-card {
        border-radius: 10px;
        overflow: hidden;
    }
    
    .property-card img {
        height: 200px;
        object-fit: cover;
    }
    
    .property-card-body {
        padding: 12px;
    }
    
    .property-card-body h3 {
        font-size: 15px;
        line-height: 1.3;
    }
    
    .property-card .price {
        font-size: 18px;
    }
    
    /* İlan detay sayfası mobil uyumluluk */
    .property-detail-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .pd-titles h1 {
        font-size: 20px;
    }
    
    .detail-sidebar .sidebar-card {
        position: static;
    }
}

/* ==========================================================================
   İLETİŞİM FORMU MOBİL
   ========================================================================== */
@media (max-width: 768px) {
    .contact-info {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px; /* iOS zoom'u önler */
    }
}
