/* Chisfis header — utility sınıfları (referans: relative z-20 hidden lg:block) */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.relative { position: relative; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }

.gap-x-2\.5 { column-gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-x-3 { column-gap: 0.75rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-x-8 { column-gap: 2rem; }

.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-9 { height: 2.25rem; }
.w-6 { width: 1.5rem; }
.w-9 { width: 2.25rem; }
.w-full { width: 100%; }
.w-22 { width: 5.5rem; }
.max-w-lg { max-width: 32rem; }
.size-4 { width: 1rem; height: 1rem; }
.size-5 { width: 1.25rem; height: 1.25rem; }
.size-8 { width: 2rem; height: 2rem; }

.ms-1 { margin-inline-start: 0.25rem; }
.ms-4 { margin-inline-start: 1rem; }
.-m-1\.5 { margin: -0.375rem; }
.-m-2\.5 { margin: -0.625rem; }
.-mx-1 { margin-inline: -0.25rem; }
.mt-px { margin-top: 1px; }

.p-1\.5 { padding: 0.375rem; }
.p-2\.5 { padding: 0.625rem; }
.px-4 { padding-inline: 1rem; }
.py-4 { padding-block: 1rem; }
.py-2 { padding-block: 0.5rem; }
.pe-11 { padding-inline-end: 2.75rem; }

.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-neutral-200 { border-color: var(--neutral-200); }
.rounded-full { border-radius: 9999px; }

.bg-white { background-color: #fff; }
.bg-blue-500 { background-color: #3b82f6; }
.text-primary-600 { color: var(--primary-600); }
.text-neutral-500 { color: var(--neutral-500); }
.text-neutral-600 { color: var(--neutral-600); }
.text-neutral-700 { color: var(--neutral-700); }
.text-neutral-950 { color: var(--neutral-900); }
.text-start { text-align: start; }

.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.font-medium { font-weight: 500; }
.opacity-60 { opacity: 0.6; }

.shadow-xs { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.end-2 { inset-inline-end: 0.5rem; }
.top-1\/2 { top: 50%; }
.top-2 { top: 0.5rem; }
.-translate-y-1\/2 { transform: translateY(-50%); }

.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }

/* Header bar */
.nav-bar {
  border-color: var(--neutral-200);
}

.nav-logo {
  color: var(--primary-600);
  width: 5.5rem;
}

.nav-logo img,
.nav-logo svg {
  width: 100%;
  display: block;
}

.nav-divider {
  border-color: var(--neutral-200);
}

/* Dropdown trigger */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  margin: -0.625rem;
  padding: 0.625rem;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}

.nav-dropdown-btn:hover {
  color: var(--neutral-900);
}

.nav-dropdown-btn .chevron {
  margin-inline-start: 0.25rem;
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.nav-dropdown.open .nav-dropdown-btn .chevron,
.nav-dropdown-btn[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  z-index: 50;
}

.nav-dropdown.open .nav-dropdown-panel,
.nav-dropdown-panel.show {
  display: block;
}

.nav-dropdown-panel--wide {
  min-width: 280px;
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.875rem;
  color: var(--neutral-700);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-panel a:hover {
  background: var(--neutral-50);
  color: var(--neutral-900);
}

/* Locale button (globe + currency icons) */
.nav-locale-btn {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: -0.625rem;
  padding: 0.625rem;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-600);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-locale-btn:hover {
  color: var(--neutral-900);
}

.nav-locale-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* List your property */
.btn-listing {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(23, 23, 23, 0.1);
  background: #fff;
  color: var(--neutral-900);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.btn-listing:hover {
  border-color: rgba(23, 23, 23, 0.15);
  box-shadow: var(--shadow-sm);
}

.btn-listing.btn-cta {
  background: var(--accent-500);
  color: #1a1a1a;
  border-color: var(--accent-500);
  font-weight: 600;
}

.btn-listing.btn-cta:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
  box-shadow: 0 4px 14px rgba(253, 185, 19, 0.35);
}

/* Acil çekici talebi — marka mavisi ile öne çıkar */
.btn-listing.btn-cta-cekici,
.btn-cta.btn-cta-cekici {
  background: var(--primary-500, #00aeef);
  color: #fff;
  border-color: var(--primary-500, #00aeef);
  font-weight: 600;
}

.btn-listing.btn-cta-cekici:hover,
.btn-cta.btn-cta-cekici:hover {
  background: var(--primary-700, #007fb3);
  border-color: var(--primary-700, #007fb3);
  box-shadow: 0 4px 14px rgba(0, 174, 239, 0.35);
  color: #fff;
}

/* Icon buttons */
.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -0.625rem;
  padding: 0.625rem;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  color: var(--neutral-800);
  transition: background 0.2s;
}

.nav-icon-btn:hover {
  background: var(--neutral-100);
}

.nav-icon-btn .notify-dot {
  position: absolute;
  inset-inline-end: 0.5rem;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #3b82f6;
}

.nav-avatar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -0.375rem;
  padding: 0.375rem;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-avatar-btn:hover {
  background: var(--neutral-100);
}

.nav-avatar-btn img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

/* Mobile search pill */
.mobile-search-btn {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-full);
  padding: 0.5rem 2.75rem 0.5rem 1rem;
  background: #fff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  text-align: start;
}

.mobile-search-btn:hover {
  box-shadow: var(--shadow-xl);
}

.mobile-search-btn .search-text-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
}

.mobile-search-btn .search-text-sub {
  display: flex;
  gap: 0.5rem;
  margin-top: 1px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--neutral-500);
}

.mobile-search-filter {
  position: absolute;
  inset-inline-end: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--neutral-200);
  border-radius: 50%;
  color: var(--neutral-600);
}

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:gap-x-6 { column-gap: 1.5rem; }
  .sm\:gap-x-8 { column-gap: 2rem; }
  .sm\:w-24 { width: 6rem; }
  .sm\:flex { display: flex; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-600, #525252);
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-600, #0099d6);
  background: var(--primary-50, #e8f7fd);
}

.top-bar {
  background: #f0f9fd;
  border-bottom: 1px solid rgba(0, 174, 239, 0.12);
  font-size: 0.85rem;
  color: #64748b;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-block: 0.5rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--primary-600, #0099d6);
}

.top-bar a {
  color: inherit;
}

/* lg:block / lg:hidden davranışı */
.hidden.lg\:block {
  display: none;
}

.lg\:hidden {
  display: block;
}

@media (min-width: 1024px) {
  .hidden.lg\:block {
    display: block !important;
  }

  .lg\:hidden {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .xl\:inline-flex {
    display: inline-flex !important;
  }
}
