:root {
  --clr-orange: #F97316;
  --clr-orange-dark: #EA580C;
  --clr-orange-light: rgba(249, 115, 22, 0.1);
  --clr-orange-glow: rgba(249, 115, 22, 0.28);
  --clr-navy: #0F172A;
  --clr-navy2: #1E293B;
  --clr-navy3: #334155;
  --clr-slate: #334155;
  --clr-gray: #64748B;
  --clr-gray-light: #94A3B8;
  --clr-light: #F1F5F9;
  --clr-white: #FFFFFF;
  --clr-green: #10B981;
  --clr-green-dark: #059669;
  --clr-red: #EF4444;
  --clr-surface: #F8FAFC;
  --radius-xl: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-orange: 0 8px 25px -4px rgba(249, 115, 22, 0.45);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-h: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── BASE & NATIVE MOBILE RESET ─────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overscroll-behavior-y: none;
  background-color: var(--clr-navy);
}

body {
  font-family: var(--font);
  background: var(--clr-surface);
  color: var(--clr-navy);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
  padding-bottom: calc(var(--safe-bottom) + 1rem);
}

img {
  max-width: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  touch-action: manipulation;
  user-select: none;
}

input, textarea, select {
  font-family: var(--font);
  font-size: 16px !important; /* iOS Safari zoom engelleyici */
  -webkit-appearance: none;
  appearance: none;
}

/* ── SCROLLBAR ────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-orange); }

/* ── CONTAINER ─────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 1.25rem; }

/* ── NAVBAR (GLASS HEADER) ─────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--safe-top);
  transition: var(--transition);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--clr-white);
  letter-spacing: -.02em;
  flex-shrink: 0;
  transition: var(--transition);
}
.nav-logo:active { transform: scale(0.96); }
.nav-logo span { color: var(--clr-orange); }
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--clr-orange) 0%, var(--clr-orange-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}
.nav-links { display: flex; gap: 0.25rem; }
.nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .875rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link:active {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.08);
}
.nav-link.active {
  color: var(--clr-orange);
  background: rgba(249, 115, 22, 0.12);
}
.nav-actions { display: flex; align-items: center; gap: .75rem; }

.btn-nav-primary {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--clr-orange) 0%, var(--clr-orange-dark) 100%);
  color: var(--clr-white);
  font-weight: 700;
  font-size: .875rem;
  padding: .625rem 1.25rem;
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-orange);
}
.btn-nav-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(249, 115, 22, 0.55);
}
.btn-nav-primary:active {
  transform: scale(0.96);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: .5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}
.hamburger:active { background: rgba(255, 255, 255, 0.15); transform: scale(0.95); }
.hamburger span {
  width: 22px;
  height: 2.5px;
  background: #fff;
  border-radius: 99px;
  transition: var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scale(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 1.25rem 1.5rem calc(var(--safe-bottom) + 1.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 998;
  flex-direction: column;
  gap: .625rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .9375rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
  position: relative;
  overflow: hidden;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: linear-gradient(135deg, var(--clr-orange) 0%, var(--clr-orange-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(249, 115, 22, 0.55);
}
.btn-outline {
  background: transparent;
  color: var(--clr-orange);
  border: 2px solid var(--clr-orange);
}
.btn-outline:hover, .btn-outline:active {
  background: var(--clr-orange);
  color: #fff;
}
.btn-dark {
  background: var(--clr-navy);
  color: #fff;
}
.btn-dark:hover {
  background: var(--clr-navy2);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
  border-radius: var(--radius);
}
.btn-sm {
  padding: .5rem 1rem;
  font-size: .8125rem;
  border-radius: var(--radius-sm);
}

/* ── HERO ───────────────────────────────────────── */
.hero {
  background: linear-gradient(145deg, #0b1120 0%, #152238 50%, #0f1c2e 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 40%, rgba(249, 115, 22, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--clr-surface), transparent);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #fed7aa;
  font-size: .8125rem;
  font-weight: 600;
  padding: .375rem .875rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.15;
  letter-spacing: -.035em;
  margin-bottom: 1.25rem;
}
.hero-title .accent {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat-num {
  font-family: var(--font-h);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--clr-orange);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8125rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  margin-top: .35rem;
}

/* ── SECTION ────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-title {
  font-family: var(--font-h);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--clr-navy);
  letter-spacing: -.03em;
}
.section-sub {
  color: var(--clr-gray);
  font-size: .9375rem;
  margin-top: .35rem;
}

/* ── QUICK FILTER CHIPS (HORIZONTAL SCROLL) ──────── */
.filter-chips-container {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.25rem;
  padding-bottom: 4px;
}
.filter-chips-container::-webkit-scrollbar { display: none; }
.filter-chips-row {
  display: flex;
  gap: .5rem;
  min-width: max-content;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--clr-white);
  color: var(--clr-slate);
  font-size: .8125rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 99px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.filter-chip:active { transform: scale(0.95); }
.filter-chip.active {
  background: var(--clr-orange);
  color: #fff;
  border-color: var(--clr-orange);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

/* ── FILTER BAR ─────────────────────────────────── */
.filter-bar {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #edf2f7;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  min-width: 140px;
  flex: 1;
}
.filter-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--clr-gray);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.filter-input {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: .625rem .875rem;
  font-size: .9375rem;
  color: var(--clr-navy);
  font-family: var(--font);
  transition: var(--transition);
  background: #fff;
  width: 100%;
}
.filter-input:focus {
  outline: none;
  border-color: var(--clr-orange);
  box-shadow: 0 0 0 3px var(--clr-orange-light);
}
.filter-sep {
  width: 1px;
  height: 40px;
  background: #edf2f7;
  flex-shrink: 0;
}

/* ── LISTINGS GRID & CARDS ──────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.listing-card {
  background: var(--clr-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.8);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249, 115, 22, 0.3);
}
.listing-card:active {
  transform: scale(0.985);
}
.listing-card-img {
  position: relative;
  height: 195px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  overflow: hidden;
}
.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.listing-card:hover .listing-card-img img {
  transform: scale(1.06);
}
.listing-card-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: .5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: .875rem;
}
.listing-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .65rem;
  border-radius: 99px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.listing-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.listing-route {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--clr-navy);
  margin-bottom: .625rem;
  font-family: var(--font-h);
}
.listing-route-arrow {
  color: var(--clr-orange);
  flex-shrink: 0;
  font-size: 1.1rem;
}
.listing-meta {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-bottom: .875rem;
}
.listing-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #f1f5f9;
  color: #475569;
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 8px;
  white-space: nowrap;
}
.listing-tag.orange {
  background: var(--clr-orange-light);
  color: var(--clr-orange-dark);
  border: 1px solid rgba(249, 115, 22, 0.2);
}
.listing-desc {
  font-size: .8375rem;
  color: var(--clr-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .875rem;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}
.listing-owner {
  font-size: .8125rem;
  color: var(--clr-slate);
  font-weight: 600;
}
.listing-date {
  font-size: .75rem;
  color: #94a3b8;
}
.listing-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: linear-gradient(135deg, var(--clr-green) 0%, var(--clr-green-dark) 100%);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: var(--transition);
}
.listing-phone-btn:active {
  transform: scale(0.95);
}

/* ── MODAL & BOTTOM SHEET (NATIVE APP FEEL) ──────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  will-change: transform, opacity;
  transform: scale(0.94) translateY(24px);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  position: relative;
  display: flex;
  flex-direction: column;
}
.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

/* Drag bar indicator for native bottom sheets */
.modal-drag-bar {
  display: none;
  width: 44px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 99px;
  margin: 10px auto 4px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
}
.modal-title {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-navy);
}
.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--clr-gray);
  transition: var(--transition);
}
.modal-close:hover {
  background: #fee2e2;
  color: var(--clr-red);
}
.modal-close:active {
  transform: scale(0.92);
}
.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-footer {
  padding: 1.25rem 1.75rem calc(var(--safe-bottom) + 1.25rem);
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
  background: var(--clr-white);
  position: sticky;
  bottom: 0;
  z-index: 10;
}

/* ── FORM ────────────────────────────────────────── */
.form-section { margin-bottom: 1.5rem; }
.form-section-title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--clr-orange);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.form-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #f1f5f9;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--clr-slate);
}
.form-label .req {
  color: var(--clr-red);
  margin-left: .2rem;
}
.form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: 16px !important; /* iOS zoom prevention */
  font-family: var(--font);
  color: var(--clr-navy);
  transition: var(--transition);
  background: #fff;
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--clr-orange);
  box-shadow: 0 0 0 3px var(--clr-orange-light);
}
.form-control::placeholder { color: #94a3b8; }
select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}
.form-hint {
  font-size: .76rem;
  color: #94a3b8;
  margin-top: .2rem;
}

/* ── PHOTO UPLOAD ────────────────────────────────── */
.photo-drop {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: #f8fafc;
}
.photo-drop:hover, .photo-drop:active {
  border-color: var(--clr-orange);
  background: rgba(249, 115, 22, 0.04);
}
.photo-drop.drag-over {
  border-color: var(--clr-orange);
  background: rgba(249, 115, 22, 0.08);
}
.photo-drop-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.photo-drop-text { font-size: .9rem; color: var(--clr-gray); }
.photo-drop-text strong { color: var(--clr-orange); }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .625rem;
  margin-top: .875rem;
}
.photo-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: var(--shadow-sm);
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb-del {
  position: absolute;
  top: .35rem;
  right: .35rem;
  width: 26px;
  height: 26px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.photo-thumb-del:hover, .photo-thumb-del:active {
  background: var(--clr-red);
}

/* ── LIMIT BOX ───────────────────────────────────── */
.limit-box {
  background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: none;
}
.limit-box-label {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--clr-orange-dark);
  margin-bottom: .625rem;
}
.limit-dots { display: flex; gap: .5rem; }
.limit-dot {
  width: 32px;
  height: 8px;
  border-radius: 99px;
  background: #e2e8f0;
  transition: var(--transition);
}
.limit-dot.used { background: var(--clr-orange); }
.limit-text { font-size: .8125rem; color: var(--clr-gray); margin-top: .5rem; }

/* ── TOAST ───────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: calc(var(--safe-bottom) + 1.5rem);
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: slideInToast 300ms cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 340px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: all;
}
.toast.success { background: rgba(16, 185, 129, 0.94); }
.toast.error   { background: rgba(239, 68, 68, 0.94); }
.toast.info    { background: rgba(14, 165, 233, 0.94); }
@keyframes slideInToast {
  from { transform: translateY(20px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* ── DETAIL MODAL VIEW ───────────────────────────── */
.detail-gallery {
  border-radius: 16px;
  overflow: hidden;
  background: var(--clr-navy);
  position: relative;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-sm);
}
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs-row {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: none;
}
.gallery-thumbs-row::-webkit-scrollbar { display: none; }
.gallery-thumb-sm {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-thumb-sm.active {
  border-color: var(--clr-orange);
  transform: scale(1.05);
}
.gallery-thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.detail-route {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--clr-navy);
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.detail-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
  margin-bottom: 1.5rem;
}
.detail-item {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: .875rem 1rem;
}
.detail-item-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--clr-gray);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .25rem;
}
.detail-item-value {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--clr-navy);
}
.phone-reveal-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  background: linear-gradient(135deg, var(--clr-green) 0%, var(--clr-green-dark) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.0625rem;
  padding: 1.125rem;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}
.phone-reveal-btn:active {
  transform: scale(0.97);
}

/* ── EMPTY STATE ─────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 1.5rem; }
.empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-title { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; color: var(--clr-navy); }
.empty-sub { color: var(--clr-gray); font-size: .9rem; margin-top: .5rem; }

/* ── MOBILE APP BOTTOM BAR (IOS/ANDROID TAB BAR) ─── */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px calc(var(--safe-bottom) + 6px);
  z-index: 990;
  justify-content: space-around;
  align-items: center;
}
.mobile-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(255, 255, 255, 0.6);
  font-size: .7rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 10px;
  transition: var(--transition);
}
.mobile-tab-item svg { width: 22px; height: 22px; stroke-width: 2.2; }
.mobile-tab-item:active { transform: scale(0.92); color: #fff; }
.mobile-tab-item.active { color: var(--clr-orange); }

.mobile-tab-center-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--clr-orange) 0%, var(--clr-orange-dark) 100%);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.5);
  margin-top: -16px;
  border: 3px solid #0f172a;
  transition: var(--transition);
}
.mobile-tab-center-btn:active { transform: scale(0.92); }

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  background: var(--clr-navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand p { font-size: .875rem; line-height: 1.7; margin-top: .75rem; }
.footer-col h4 { color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 1rem; letter-spacing: .03em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { font-size: .875rem; transition: color 200ms; }
.footer-col ul li a:hover { color: var(--clr-orange); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8125rem;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ── SKELETON ────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── RESPONSIVE OVERRIDES (MOBILE APP POLISH) ───── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .hero { padding: 3.5rem 0 2.5rem; }
  .hero-title { font-size: 2.15rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .listings-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(var(--safe-bottom) + 76px); /* Room for bottom bar */
  }

  .mobile-bottom-bar { display: flex; }

  /* Genel padding */
  .container, .container-wide { padding: 0 1rem; }

  /* Navbar */
  .navbar-inner { height: 56px; }
  .nav-logo { font-size: 1.15rem; }
  .nav-logo-icon { width: 32px; height: 32px; border-radius: 8px; }
  .btn-nav-primary { display: none; } /* Bottom bar + center button handles this */

  /* Hero section */
  .hero { padding: 2.5rem 0 2rem; }
  .hero-badge { font-size: .75rem; padding: .3rem .75rem; margin-bottom: 1rem; }
  .hero-title { font-size: 1.75rem; margin-bottom: .875rem; }
  .hero-subtitle { font-size: .9rem; margin-bottom: 1.75rem; line-height: 1.6; }
  .hero-cta { flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: .875rem 1.25rem; font-size: 1rem; }
  .hero-stats { gap: 1rem; justify-content: space-between; padding-top: 1.5rem; }
  .hero-stat-num { font-size: 1.45rem; }
  .hero-stat-label { font-size: .75rem; }

  /* How it works */
  #nasil-calisir > .container > div:last-child {
    grid-template-columns: 1fr !important;
    gap: .75rem !important;
  }
  #nasil-calisir div[style*="padding:2rem"] {
    padding: 1.25rem 1rem !important;
    background: #f8fafc;
    border-radius: var(--radius);
  }

  /* Filter bar */
  .filter-bar {
    flex-direction: column;
    gap: .625rem;
    padding: 1rem;
    border-radius: var(--radius);
  }
  .filter-sep { display: none; }
  .filter-group { width: 100%; min-width: 100%; }
  .filter-input { font-size: 16px !important; padding: .6875rem .875rem; }
  .filter-bar > button { width: 100%; padding: .75rem; }

  /* Listing kartları (Tek sütun, native mobile feed) */
  .listings-grid { grid-template-columns: 1fr; gap: 1.125rem; }
  .listing-card { border-radius: var(--radius); }
  .listing-card-img { height: 180px; }
  .listing-route { font-size: 1rem; }

  /* MODAL (BOTTOM SHEET STİLİ) */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal-box {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: 88vh;
    transform: translateY(100%);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .modal-overlay.open .modal-box {
    transform: translateY(0);
  }
  .modal-drag-bar { display: block; }
  .modal-header {
    padding: .875rem 1.25rem;
    border-radius: 24px 24px 0 0;
  }
  .modal-title { font-size: 1.1rem; }
  .modal-body { padding: 1.25rem; }
  .modal-footer {
    padding: 1rem 1.25rem calc(var(--safe-bottom) + 1rem);
    flex-direction: column-reverse;
  }
  .modal-footer .btn { width: 100%; justify-content: center; }

  /* Form */
  .form-grid { grid-template-columns: 1fr; gap: .75rem; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }

  /* Detay Modal */
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .detail-route { font-size: 1.25rem; }
  .phone-reveal-btn { font-size: 1rem; padding: 1rem; }

  /* Toast */
  #toast-container {
    bottom: calc(var(--safe-bottom) + 78px);
    right: 1rem;
    left: 1rem;
  }
  .toast { max-width: 100%; width: 100%; font-size: .8125rem; }

  /* Footer */
  .footer { padding: 2rem 0 calc(var(--safe-bottom) + 4rem); margin-top: 3rem; }
  .footer-grid { gap: 1.5rem; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.5rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
