/* Header Css  */
.custom-navbar-modern {
  background: var(--bs-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 9999;
  transition: all 0.3s ease-in-out;
}

.custom-navbar-modern.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bs-primary) !important;
  transition: color 0.3s ease;
  letter-spacing: -0.8px;
}

.navbar-brand:hover {
  color: var(--bs-dark) !important;
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bs-gray-800) !important;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease, background 0.3s ease;
  border-radius: 5px;
  position: relative;
  z-index: 1;
}

.navbar-nav .nav-link:hover {
  color: var(--bs-primary) !important;
  background: rgba(0, 123, 255, 0.1);
}

.navbar-nav .nav-link.active {
  color: var(--bs-primary) !important;
  font-weight: 600;
  transform: translateY(-2px);
}

.btn-cta {
  background: var(--bs-primary) !important;
  color: var(--bs-light) !important;
  border-radius: 5px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease;
  border-color: var(--bs-primary) !important;
  box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.2) !important;
}

.btn-cta:hover {
  background: var(--bs-primary-dark) !important;
  border-color: var(--bs-primary-dark) !important;
  color: var(--bs-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), 0.35) !important;
}

.btn-cta-mobile {
  background: var(--bs-primary) !important;
  color: var(--bs-light) !important;
  border-radius: 5px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease;
  margin: 0;
  border-color: var(--bs-light) !important;
  box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.2) !important;
}

.btn-cta-mobile:hover {
  background: var(--bs-primary-dark) !important;
  border-color: var(--bs-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), 0.35) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(40,167,69,0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
}

.offcanvas-header {
  background: var(--bs-primary) !important;
  color: var(--bs-white) !important;
  padding: 1.5rem 1.5rem 1.2rem;
  border-bottom: 1px solid rgba(var(--bs-white-rgb), 0.2) !important;
}

.offcanvas-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.offcanvas-body .navbar-nav {
  gap: 0.5rem;
  flex-direction: column;
  width: 100%;
  flex-grow: 1;
}

.offcanvas-body .nav-link {
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  font-weight: 500;
  color: var(--bs-gray-800) !important;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.offcanvas-body .nav-link:hover {
  color: var(--bs-white) !important;
}

/* HomePage CSS */
.hover-zoom-image {
  transition: transform 0.3s ease;
}
.hover-zoom-image:hover {
  transform: scale(1.05);
}

.img-ilan {
  object-fit: cover;
  width: 100%;
  height: 250px;
}

.info-absolute {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4)); */
  background-color: transparent !important;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
}

.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.badge {
  font-size: 0.8rem;
  font-weight: 400;
  padding: 0.2rem 0.5rem;
}
.details {
  color: white;
  margin-top: auto;
}

.details p.h3,
.details h4.h5 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.details .h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.details .h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ul-with-icon-primary {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: nowrap;
}

.ul-with-icon-primary li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0.25rem;
}

.pb-9rem {
  padding-bottom: 9rem;
}

.pt-5 {
  padding-top: 3rem;
}

.bg-overlay-gradient-6 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.position-relative {
  position: relative;
}

.z-index-1 {
  z-index: 1;
}

.mt-min-130 {
  margin-top: -130px;
}

.price {
  color: white;
  margin-top: auto;
}

.price h4 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.5rem;
  margin-bottom: 0;
  color: #ffffffb0 !important;
  font-family: 'bootstrap-icons' !important;
}
.card-body .details {
  padding: 1rem;
  text-align: left;
}

.card-body .details a,
.card-body .details h4 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-body .details .text-primary {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.card-body .details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card-body .details p.text-gray {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.sq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  transition: background-color 0.3s ease;
}

.sq-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.slick-dots li button:before {
  font-size: 10px;
  color: var(--bs-white);
  opacity: 0.75;
}

.slick-dots li.slick-active button:before {
  color: var(--bs-white);
  opacity: 1;
}

.slick-prev:before,
.slick-next:before {
  font-family: 'bootstrap-icons' !important;
}

.slick-prev:before {
  content: '\f22d';
}

.slick-next:before {
  content: '\f22e';
}

/* Modern Footer Genel Stilleri */
.otoemlak-footer {
  font-family: 'bootstrap-icons' !important;
  color: #555;
  border-top: 1px solid #eee;
  background-color: #2e9e3f12 !important;
}

.footer-widgets .widget-title {
  position: relative;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem !important;
}

.footer-widgets .widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 50px;
  background-color: var(--bs-primary);
}

.footer-slogan {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #777;
}

.eids-box {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  background-color: #f9f9f9;
  margin-top: 2rem;
}

.eids-box .eids-title h4 {
  text-align: center;
  margin-bottom: 1rem;
  color: #333;
}

.eids-box .eids-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eids-box .verified-logo {
  width: 60px;
  height: auto;
}

.eids-box .eids-text {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0;
}

.footer-links {
  column-count: 2;
  column-gap: 2rem;
  margin-bottom: 0;
}

.footer-links li a {
  color: #555;
  text-decoration: none;
  padding: 0.25rem 0;
  display: block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links li a:hover {
  color: var(--bs-primary);
  transform: translateX(5px);
}

.contact-info li {
  font-size: 0.95rem;
  color: #555;
}

.contact-info li i {
  color: var(--bs-primary);
}

.footer-social a {
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--bs-primary) !important;
}

.copyright-area {
  border-top: 1px solid #eee;
}

.copyright-area p,
.copyright-area a {
  font-size: 0.85rem;
}

/* Arama Section */
/* Özel CSS */
.property-search-modern {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  /* Modern gradient arka plan */
  padding: 3rem 0;
  border-radius: 12px;
}

.search-tabs .nav-tabs {
  border-bottom: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.search-tabs .nav-link {
  background: var(--bs-white);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  color: #495057;
  font-weight: 500;
  transition: all 0.3s ease;
}

.search-tabs .nav-link:hover {
  color: var(--bs-white);
}

.search-tabs .nav-link.active {
  background: var(--bs-primary);
  color: var(--bs-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-content {
  background: var(--bs-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
  border-radius: 6px;
  border: 1px solid #ced4da;
  padding: 0.5rem;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.3rem;
}

.input-group-text {
  background: #f1f3f5;
  border-radius: 6px;
  font-size: 0.9rem;
}

.btn-search {
  color: var(--bs-white);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.nav-close {
  margin-top: 27px;
}
/* Archive Css */
.header-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-menu li {
  font-size: 0.9rem;
}

.header-menu li a,
.header-menu li {
  color: var(--bs-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-menu li a:hover {
  color: var(--bs-primary);
}

.header-menu li.active {
  color: var(--bs-primary);
  font-weight: 500;
}

.search {
  background: var(--bs-white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.search h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 1rem;
}

.input-group-white .form-control,
.form-control,
.form-select {
  border-radius: 5px;
  border: 1px solid #ced4da;
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group-white .form-control:focus,
.form-control:focus,
.form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
}

.form-group-oe .form-control,
.form-group-oe .form-select {
  width: 100%;
}

.required-modern:invalid {
  border-color: #dc3545;
}

.btn-success {
  background: #28a745;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease;
  color: white !important;
}

.btn-success:hover {
  background: #218838;
}

.btn-danger {
  background: #dc3545;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-danger:hover {
  background: #c82333;
}

#ilan-archive .card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ilan-archive .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

#ilan-archive .card-img-top {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  height: 260px;
  object-fit: cover;
}

#ilan-archive .card-title a {
  color: #343a40;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}

#ilan-archive .card-title a:hover {
  color: var(--bs-primary);
}

.pagination .page-link {
  border-radius: 5px;
  color: var(--bs-primary);
  font-size: 0.9rem;
  margin: 0 0.2rem;
}

.pagination .page-link:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

.pagination .page-item.active .page-link {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: var(--bs-white);
}

/*! Responsive ayarlar */
@media (max-width: 991px) {
  .custom-navbar-modern {
    padding: 0.5rem 0;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }

  .navbar-toggler {
    padding: 0.4rem;
  }

  .offcanvas-body {
    padding: 1rem;
  }

  .offcanvas-body .nav-link {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
  }

  .btn-cta-mobile {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }

  .header-menu li {
    font-size: 0.85rem;
  }

  .search {
    padding: 1.25rem;
  }

  .search h4 {
    font-size: 1.1rem;
  }

  .form-control,
  .form-select {
    font-size: 0.85rem;
    padding: 0.4rem 0.65rem;
  }

  .btn-success,
  .btn-danger {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  #ilan-archive .card-img-top {
    height: 255px;
  }
}

@media (max-width: 576px) {
  .custom-navbar-modern {
    padding: 0.4rem 0;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .navbar-toggler {
    padding: 0.3rem;
  }

  .offcanvas-title {
    font-size: 1.1rem;
    color: rgba(var(--bs-white-rgb), 0.2);
  }

  .offcanvas-body .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.7rem;
  }

  .btn-cta-mobile {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
  }

  .header-menu li {
    font-size: 0.8rem;
  }

  .search {
    padding: 1rem;
  }

  .search h4 {
    font-size: 1rem;
  }

  .form-control,
  .form-select {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
  }

  .btn-success,
  .btn-danger {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }

  .inputs_loc .col-lg-6,
  .inputs_fiyat .col-lg-6 {
    margin-bottom: 0.5rem;
  }

  .form-group-oe {
    margin-bottom: 0.5rem !important;
  }

  #ilan-archive .card-img-top {
    height: 255px;
  }

  #ilan-archive .card-title {
    font-size: 1rem;
  }

  .pagination .page-link {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }

  .mt-5 {
    margin-top: 40px !important;
  }
}

/* Tablet (md) ekranlar */
@media (min-width: 768px) and (max-width: 991.98px) {
  .img-ilan {
    height: 200px;
  }

  .details .h3 {
    font-size: 1.2rem;
  }
}

/* Büyük ekranlar (lg) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .img-ilan {
    height: 220px;
  }

  .details .h3 {
    font-size: 1.3rem;
  }
}

/* Çok büyük ekranlar (xl) */
@media (min-width: 1200px) {
  .img-ilan {
    height: 250px;
  }

  .details .h3 {
    font-size: 1.4rem;
  }
}

/* Mobil Ekranlar (575.98px ve altı) */
@media (max-width: 575.98px) {
  .img-ilan {
    height: 150px;
  }

  .info-absolute {
    padding: 0.5rem;
  }

  .badge {
    font-size: 0.5rem;
    padding: 0.1rem 0.3rem;
  }

  .details .h3 {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
  }

  .details .h5 {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }

  .ul-with-icon-primary {
    flex-direction: column;
    gap: 0;
    font-size: 0.6rem;
  }

  .ul-with-icon-primary li {
    max-width: 100%;
  }

  .mt-min-130 {
    margin-top: -100px;
  }

  .price h4 {
    font-size: 0.9rem;
  }

  .card-body .details h4 {
    font-size: 0.9rem;
  }

  .card-body .details p.text-gray {
    font-size: 0.75rem;
  }

  .sq-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  .detay_link {
    display: none !important;
  }

  .mt-5 {
    margin-top: 40px !important;
  }
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .footer-links {
    column-count: 1;
  }

  .eids-box {
    margin-top: 1.5rem;
  }

  .eids-box .eids-content {
    flex-direction: column;
    text-align: center;
  }

  .eids-box .verified-logo {
    margin-bottom: 0.5rem;
  }

  .mt-5 {
    margin-top: 40px !important;
  }
}

/* Single CSS */
.ilan-banner-image {
  background-size: cover;
  background-position: center;
  height: 400px;
}

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hr-modern {
  border: 0;
  height: 1px;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0)
  );
  margin: 1.5rem 0;
}

.nav-pills .nav-link {
  color: #6c757d;
  background-color: #f8f9fa;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active {
  background-color: var(--bs-primary);
  color: #fff;
}
.nav-pills .nav-link i {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.nav-pills .nav-link span {
  font-size: 0.8rem;
}

.carousel-slider-single img {
  height: 300px;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}

.carousel-slider-nav img {
  height: 100px;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: small;
  margin-bottom: 0.75rem;
}

.feature-list-item i {
  color: var(--bs-primary);
}

#map {
  height: 400px;
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .nav-pills .nav-link {
    padding: 8px 5px;
  }

  .nav-pills .nav-link i {
    font-size: 1.2rem;
  }

  .nav-pills .nav-link span {
    display: none;
  }
}

.img-fluid.object-fit-cover {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.nav-pills .nav-link.nav-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 10px;
}

.nav-pills .nav-link.nav-icon i {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.nav-pills .nav-link.nav-icon span {
  font-size: 0.8rem;
}

.list-unstyled li {
  display: flex;
  align-items: center;
}

.list-unstyled li i {
  font-size: 1rem;
  margin-right: 8px;
}

.oe-detay-sidebar ul li {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

.oe-detay-sidebar ul li:last-child {
  border-bottom: none;
}

.uiBox.certification {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.uiBox.certification .verified-logo {
  max-width: 80px;
}

@media (max-width: 767.98px) {
  .single-info-card {
    padding: 1rem !important;
  }

  .single-title h2 {
    font-size: 1.25rem;
  }

  .nav-pills .nav-link {
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  .nav-pills .nav-link.nav-icon {
    padding: 8px 5px;
  }

  .nav-pills .nav-link.nav-icon i {
    font-size: 1.2rem;
  }
}
