/* ============================================================
   EldeneleTR — Merkezi CSS Dosyası (main.css)
   Tüm sayfalar bu dosyayı kullanır.
   ============================================================ */

/* ─── CSS Değişkenleri ─────────────────────────────────────── */
:root {
  --brand-50: #f0fdf4;
  --brand-100: #dcfce7;
  --brand-200: #bbf7d0;
  --brand-400: #4ade80;
  --brand-500: #22c55e;
  --brand-600: #16a34a;
  --brand-700: #15803d;
  --brand-800: #166534;
  --brand-900: #14532d;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --red-500: #ef4444;
  --yellow-400: #facc15;
  --orange-500: #f97316;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .12);
  --shadow-brand: 0 4px 16px rgba(22, 163, 74, .25);
}

/* ─── Reset / Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  margin: 0;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

.font-brand {
  font-family: 'Nunito', sans-serif;
}

/* ─── Scrollbar ─────────────────────────────────────────────── */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}



/* ================================================================
   NAVBAR
   ================================================================ */

/* ─── Drawer Burger Butonu ─────────────────────────────────── */
#eldeNavBurger {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 4px;
  transition: background .15s;
}
#eldeNavBurger:hover,
#eldeNavBurger.on {
  background: rgba(255,255,255,.22);
}
#eldeNavBurger span {
  width: 15px;
  height: 1.5px;
  background: #ffffff;
  border-radius: 2px;
  display: block;
  transition: all .2s;
}
.elde-nav {
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.elde-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 1rem;
}

/* Logo */
.elde-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.elde-logo-main {
  color: #ffffff;
}

.elde-logo-tr {
  color: #4ade80;
}

/* Nav links container */
.elde-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Text links */
.elde-nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,.65);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  transition: color .18s, background .18s;
  white-space: nowrap;
}

.elde-nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.elde-nav-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

/* Giriş Yap linki */
.elde-nav-login {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,.65);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  transition: color .18s, background .18s;
  white-space: nowrap;
}

.elde-nav-login:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.elde-nav-login svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

/* İlan Ver button */
.elde-btn-post {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-600);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-brand);
}

.elde-btn-post:hover {
  background: var(--brand-700);
  box-shadow: 0 6px 20px rgba(22, 163, 74, .35);
}

.elde-btn-post svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

/* Kullanıcı dropdown */
.elde-user-dropdown {
  position: relative;
}

.elde-user-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.8);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s;
}

.elde-user-btn:hover {
  background: var(--gray-100);
}

.elde-user-avatar {
  width: 32px;
  height: 32px;
  background: var(--brand-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.elde-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 210px;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s, visibility .18s;
  overflow: hidden;
  z-index: 100;
}

.elde-user-dropdown:hover .elde-dropdown-menu,
.elde-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
}

.elde-dropdown-menu a,
.elde-dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
  transition: background .15s;
}

.elde-dropdown-menu a:hover,
.elde-dropdown-menu button:hover {
  background: var(--gray-50);
}

.elde-dropdown-menu hr {
  border-color: var(--gray-100);
  margin: 0.25rem 0.75rem;
}

.elde-dropdown-danger {
  color: var(--red-500) !important;
}

.elde-dropdown-danger:hover {
  background: #fef2f2 !important;
}

/* Mobil menü butonu */
.elde-mobile-btn {
  display: none;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: 0.4rem;
  color: #ffffff;
  border-radius: var(--radius-sm);
}

.elde-mobile-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

/* Mobil menü panel */
.elde-mobile-menu {
  display: none;
  border-top: 1.5px solid var(--gray-200);
  background: #fff;
  padding: 0.75rem 1.25rem;
}

.elde-mobile-menu.open {
  display: block;
}

.elde-mobile-menu a,
.elde-mobile-menu button {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
}

.elde-mobile-menu a:last-child,
.elde-mobile-menu button:last-child {
  border-bottom: none;
}

/* Badge — bildirim/mesaj sayacı */
.elde-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 8px;
  border: 1.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

/* Tailwind .hidden override: her zaman gizli kalmalı */
.elde-badge.hidden {
  display: none !important;
}

/* ================================================================
   FLASH MESAJLARI
   ================================================================ */
.elde-flash-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem 0;
}

.elde-flash {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-left: 4px solid;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.elde-flash-success {
  background: #f0fdf4;
  border-color: var(--brand-600);
  color: #166534;
}

.elde-flash-error {
  background: #fef2f2;
  border-color: var(--red-500);
  color: #991b1b;
}

.elde-flash-info {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e40af;
}

.elde-flash-close {
  margin-left: auto;
  opacity: 0.5;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.elde-flash-close:hover {
  opacity: 1;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.elde-hero {
  background: #f7f4ef;
  overflow: hidden;
  position: relative;
}

.elde-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: stretch;
  /* Her iki tarafı da aynı yüksekliğe zorlar */
  gap: 2rem;
  min-height: auto;
}

.elde-hero-content {
  flex: 0 0 520px;
}

.elde-hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.15;
  margin: 0 0 0.4rem;
}

.elde-hero-title span {
  color: var(--brand-600);
}

.elde-hero-sub {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.75rem;
}

/* Arama kutusu */
.elde-search-bar {
  display: flex;
  background: #fff;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 28px rgba(0, 0, 0, .14);
  overflow: hidden;
  max-width: 600px;
}

.elde-search-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: var(--gray-800);
  font-family: 'Inter', sans-serif;
  min-width: 0;
}

.elde-search-sep {
  width: 1px;
  background: var(--gray-200);
  margin: 0.5rem 0;
  flex-shrink: 0;
}

.elde-search-loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.875rem 1rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  white-space: nowrap;
  cursor: pointer;
  min-width: 0;
  flex-shrink: 0;
}

.elde-search-loc svg {
  width: 14px;
  height: 14px;
  stroke: var(--brand-600);
  fill: none;
  flex-shrink: 0;
}

.elde-search-loc select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.8rem;
  color: var(--gray-700);
  cursor: pointer;
  max-width: 100px;
}

.elde-search-btn {
  background: var(--brand-600);
  color: #fff;
  border: none;
  padding: 0.875rem 1.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.elde-search-btn:hover {
  background: var(--brand-700);
}

/* Arama Önerileri Dropdown */
.elde-search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-100);
  border-top: none;
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
  margin-top: -1px;
}

.elde-suggestion-item {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.2s;
}

.elde-suggestion-item:hover {
  background: var(--gray-50);
  color: var(--brand-600);
}

.elde-suggestion-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-400);
  fill: none;
}

/* Sağ dekoratif alan */
.elde-hero-deco {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.elde-hero-deco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* Hero stat bar */
.elde-stats-bar {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.elde-stats-bar span {
  font-weight: 600;
  color: var(--gray-700);
}

/* ================================================================
   KATEGORİ GRID
   ================================================================ */
.elde-cats-wrap {
  background: #fff;
  border-bottom: 1.5px solid var(--gray-100);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.elde-cats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 0.75rem;
  position: relative;
}

/* CSS Grid — TÜM kategoriler her ekranda tek satırda kalır (kart sayısı kadar kolon) */
.elde-cat-grid {
  display: grid !important;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  /* 16 ana kategori + Tümü = 16 sütun */
  gap: 0.4rem;
  padding: 0.25rem;
}

.elde-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0.6rem 0.25rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s, transform .18s;
  background: #fff;
  min-width: 0;
  /* Grid item taşmasını önle */
  color: var(--gray-700);
  font-size: 0.65rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  text-decoration: none;
  overflow: hidden;
}

.elde-cat-item:hover {
  border-color: var(--brand-600);
  background: var(--brand-50);
  color: var(--brand-600);
  transform: translateY(-2px);
}

.elde-cat-item.active {
  border-color: var(--brand-600);
  background: var(--brand-50);
  color: var(--brand-600);
}

.elde-cat-icon {
  width: 28px;
  height: 28px;
  color: var(--brand-600);
  flex-shrink: 0;
}

.elde-cat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.elde-cat-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  font-size: 0.65rem;
  width: 100%;
}

.elde-cat-count {
  font-size: 0.6rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ================================================================
   SECTION BAŞLIK
   ================================================================ */
.elde-section {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
}

.elde-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.elde-section-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0;
}

.elde-see-all {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--brand-600);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap .2s;
}

.elde-see-all:hover {
  gap: 0.5rem;
}

/* ================================================================
   İLAN KARTI
   ================================================================ */
.elde-card-grid {
  display: grid;
  gap: 1rem;
}

.elde-card-grid-6 {
  grid-template-columns: repeat(6, 1fr);
}

.elde-card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.elde-card-grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.elde-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-100);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  position: relative;
  text-decoration: none;
  display: block;
}

.elde-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.elde-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
  display: block;
  position: relative;
}

.elde-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.elde-card:hover .elde-card-img img {
  transform: scale(1.06);
}

.elde-card-body {
  padding: 0.75rem;
}

.elde-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.35;
  margin: 0 0 0.4rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color .18s;
}

.elde-card:hover .elde-card-title {
  color: var(--brand-600);
}

.elde-card-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-600);
  margin: 0 0 0.4rem;
}

.elde-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--gray-400);
}

/* Fav button */
.elde-fav-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  background: rgba(255, 255, 255, .9);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: var(--gray-400);
  transition: color .2s, background .2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.elde-fav-btn:hover {
  color: var(--red-500);
  background: #fff;
}

.elde-fav-btn.fav-active {
  color: var(--red-500);
}

.elde-fav-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.elde-fav-btn.fav-active svg {
  fill: var(--red-500);
}

/* Badges */
.elde-badge-featured {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  background: var(--brand-600);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.elde-badge-urgent {
  position: absolute;
  top: 0.5rem;
  right: 2.25rem;
  z-index: 2;
  background: var(--red-500);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

/* ─── Satıldı / Rezerve Overlay ──────────────────────────────── */
.elde-status-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  pointer-events: none;
}

.elde-status-overlay-sold {
  background: rgba(0, 0, 0, 0.52);
}

.elde-status-overlay-reserved {
  background: rgba(0, 0, 0, 0.38);
}

.elde-status-overlay-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  white-space: nowrap;
}

.elde-status-overlay-sold   .elde-status-overlay-label {
  background: #ef4444;
  color: #fff;
}

.elde-status-overlay-reserved .elde-status-overlay-label {
  background: #f59e0b;
  color: #fff;
}

/* ================================================================
   FOOTER
   ================================================================ */
.elde-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  margin-top: 4rem;
}

/* ─── Compact Featured Scroll ─── */
.elde-featured-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}

.elde-featured-scroll::-webkit-scrollbar {
  height: 6px;
}

.elde-featured-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.elde-featured-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 10px;
}

.elde-card-compact {
  flex: 0 0 180px;
  /* Sabit genişlik */
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-100);
  overflow: hidden;
  transition: all .2s;
  position: relative;
  text-decoration: none;
}

.elde-card-compact:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}

.elde-card-compact .elde-card-img {
  aspect-ratio: 1/1;
  /* Kare resim daha az yer kaplar */
  height: 140px;
}

.elde-card-compact .elde-card-body {
  padding: 0.65rem;
}

.elde-card-compact .elde-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  -webkit-line-clamp: 1;
  /* Tek satıra düşür */
  margin-bottom: 0.25rem;
}

.elde-card-compact .elde-card-price {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.elde-card-compact .elde-card-meta {
  font-size: 0.65rem;
}

.elde-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.elde-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.elde-footer-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0 0 1rem;
}

.elde-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.elde-footer-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color .18s;
}

.elde-footer-links a:hover {
  color: var(--brand-400);
}

.elde-footer-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.75rem;
}

.elde-footer-logo-main {
  color: #fff;
}

.elde-footer-logo-tr {
  color: var(--brand-400);
}

.elde-footer-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.elde-footer-hr {
  border-color: var(--gray-800);
  margin: 0;
}

.elde-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* ================================================================
   LISTING PAGE (mevcut yapıyla uyumluluk)
   ================================================================ */
.listing-card:hover .listing-title {
  color: var(--brand-600);
}

.image-slide {
  display: none;
}

.image-slide.active {
  display: block;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .elde-card-grid-6 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .elde-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .elde-card-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .elde-hero-deco {
    display: none;
  }

  .elde-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .elde-nav-links {
    display: none;
  }

  .elde-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .elde-hero-inner {
    padding: 2rem 1.25rem;
  }

  .elde-hero-title {
    font-size: 1.75rem;
  }

  /* Kategoriler — mobilde de tek satırda kalır, ikonlar küçülür */
  .elde-cats-inner {
    padding: 0.75rem 0.5rem;
  }

  .elde-cat-grid {
    gap: 0.25rem;
  }

  .elde-cat-item {
    padding: 0.5rem 0.15rem;
    font-size: 0.55rem;
  }

  .elde-cat-icon {
    width: 22px;
    height: 22px;
  }

  .elde-cat-label {
    font-size: 0.55rem;
    -webkit-line-clamp: 2;
    line-height: 1.15;
  }

  .elde-cat-count {
    display: none;
  }

  /* Mobilde sayım gizlenir, yer kaplar */
  .elde-card-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .elde-card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .elde-search-sep {
    display: none;
  }

  .elde-search-loc {
    display: none;
  }

  .elde-footer-grid {
    grid-template-columns: 1fr;
  }

  /* Çok dar ekranda kategoriler hala tek satırda — daha da küçük */
  .elde-cat-item {
    padding: 0.4rem 0.1rem;
    font-size: 0.5rem;
  }

  .elde-cat-icon {
    width: 18px;
    height: 18px;
  }

  .elde-cat-label {
    font-size: 0.5rem;
    -webkit-line-clamp: 1;
  }

  .elde-cat-grid {
    gap: 0.2rem;
  }
}

/* ================================================================
   YARDIMCI SINIFLAR
   ================================================================ */
.elde-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.elde-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-600);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}

.elde-btn-primary:hover {
  background: var(--brand-700);
}

.elde-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--brand-600);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--brand-600);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}

.elde-btn-outline:hover {
  background: var(--brand-50);
}

/* ─── Navbar — Bildirim/Mesaj ikon butonları ───────────────── */
.elde-nav-link {
  position: relative;
}

.elde-nav-icon-btn {
  position: relative;
  padding: 0.5rem;
}

.elde-nav-icon-btn span.elde-badge {
  top: 2px;
  right: 2px;
}

/* Dropdown hover gap fix — padding-top ile köprü */
.elde-user-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  /* Görünmez köprü — hover dropdown'a sorunsuz iner */
}

.elde-dropdown-menu {
  margin-top: 6px;
}

/* Dropdown butonu içi boşluk düzeltmesi */
.elde-user-btn {
  line-height: 1;
}

/* ================================================================
   PAGE LAYOUT — Statik & Form Sayfaları için ortak stiller
   ================================================================ */
.elde-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.elde-page-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.elde-page-tight {
  max-width: 480px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.elde-page-header {
  margin-bottom: 1.75rem;
}

.elde-page-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.elde-page-sub {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
}

/* Beyaz kart konteyneri */
.elde-card-box {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

.elde-card-box+.elde-card-box {
  margin-top: 1.25rem;
}

/* Yasal sayfa içerik kart kutusu */
.elde-legal-content {
  padding: 2.25rem 2rem;
}

.elde-legal-content h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--brand-100);
}

.elde-legal-content h2:first-child {
  margin-top: 0;
}

.elde-legal-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 1rem 0 0.5rem;
}

.elde-legal-content p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.elde-legal-content ul,
.elde-legal-content ol {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.elde-legal-content li {
  margin-bottom: 0.4rem;
}

.elde-legal-content strong {
  color: var(--gray-800);
  font-weight: 700;
}

.elde-legal-content a {
  color: var(--brand-600);
}

.elde-legal-content a:hover {
  text-decoration: underline;
}

/* Yasal sayfa metadata bilgisi */
.elde-legal-meta {
  font-size: 0.78rem;
  color: var(--gray-500);
  background: var(--gray-50);
  border-left: 4px solid var(--brand-600);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

/* Forms */
.elde-form-group {
  margin-bottom: 1rem;
}

.elde-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

input.elde-form-input,
select.elde-form-select,
textarea.elde-form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}

input.elde-form-input:focus,
select.elde-form-select:focus,
textarea.elde-form-textarea:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}

.elde-form-textarea {
  min-height: 110px;
  resize: vertical;
}

.elde-form-help {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.3rem;
}

.elde-form-error {
  font-size: 0.78rem;
  color: var(--red-500);
  margin-top: 0.3rem;
}

.elde-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Auth sayfaları için merkezi konteyner */
.elde-auth-wrap {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.elde-auth-card {
  width: 100%;
  max-width: 420px;
}

.elde-auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.elde-auth-header .elde-logo {
  font-size: 1.85rem;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.elde-auth-sub {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.elde-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.elde-auth-divider::before,
.elde-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.elde-auth-link {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 1rem;
}

.elde-auth-link a {
  color: var(--brand-600);
  font-weight: 600;
}

.elde-auth-link a:hover {
  text-decoration: underline;
}

/* Alert kutusu */
.elde-alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  border: 1.5px solid;
}

.elde-alert-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.elde-alert-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.elde-alert-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.elde-alert-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.elde-alert.hidden {
  display: none;
}

/* Empty state */
.elde-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.elde-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.elde-empty-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.elde-empty-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

/* Mobile responsive — sayfa stilleri */
@media (max-width: 640px) {

  .elde-page,
  .elde-page-narrow {
    padding: 1.25rem 1rem 2rem;
  }

  .elde-card-box {
    padding: 1.25rem;
  }

  .elde-legal-content {
    padding: 1.25rem 1rem;
  }

  .elde-page-title {
    font-size: 1.45rem;
  }
}

/* ─── Form/Auth özel CSS — Tailwind override için ─────────── */
form.elde-card-box,
.elde-auth-card .elde-card-box {
  background: #fff !important;
  border: 1.5px solid var(--gray-100) !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 2rem;
}

.elde-auth-card .elde-form-input,
.elde-auth-card input[type="email"],
.elde-auth-card input[type="password"],
.elde-auth-card input[type="text"],
form.elde-card-box input[type="email"],
form.elde-card-box input[type="password"],
form.elde-card-box input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  background: #fff;
  outline: none;
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  transition: border-color .18s, box-shadow .18s;
}

.elde-auth-card input:focus,
form.elde-card-box input:focus {
  border-color: var(--brand-600) !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .12) !important;
}

/* ─── Hero Slider ──────────────────────────────────────────── */
.elde-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--gray-100);
}

.elde-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}

.elde-hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.elde-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Resmi her zaman tam ortalar */
  display: block;
}

.elde-slide-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  /* Arka planı hafif buzlu yapar, şık durur */
  padding: 0.4rem 0.8rem;
  color: #fff;
  border-radius: var(--radius-md);
  max-width: 80%;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.elde-slide-caption strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.elde-slide-caption span {
  display: block;
  font-size: 0.7rem;
  opacity: 0.9;
  font-weight: 400;
  margin-top: 1px;
}


.elde-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .85);
  color: #1f2937;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  z-index: 10;
  transition: background .15s, transform .15s;
  padding: 0;
}

.elde-slide-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.elde-slide-prev {
  left: 10px;
}

.elde-slide-next {
  right: 10px;
}

.elde-slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.elde-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}

.elde-slide-dot.active {
  background: #fff;
  transform: scale(1.25);
}