/* ROOT DEĞİŞKENLER */
:root {
  /* Renk Paleti */
  --bg-primary: #F5F5F7;
  --bg-secondary: #FFFFFF;
  --text-primary: #1D1D1F;
  --text-secondary: #6e6e73;
  --accent-color: #0071E3;
  --accent-hover: #0077ED;
  --dark-section: #000000;
  --danger-color: #FF3B30;
  --success-color: #30D158;
  --warning-color: #FF9500;
  --border-color: #D2D2D7;
  --bg-input: #FAFAFA;
  
  /* Köşe Yuvarlaklığı */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 100px;
  
  /* Gölgeler */
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  
  /* Geçişler */
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  line-height: 1.5;
  overflow-x: clip;
}

input, select, .btn {
  min-height: 44px;
}

/* UTILITY */
.hidden { display: none !important; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #C7C7CC;
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* HEADER */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow var(--transition-base);
}

#header.header-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 90px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0;
  transition: opacity var(--transition-base);
}

.logo-btn:hover {
  opacity: 0.8;
}

.logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.nav-link:hover {
  opacity: 1;
}

.admin-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-badge {
  background: var(--accent-color);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--text-primary);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* HERO SECTION */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  background-image: 
    radial-gradient(at 15% 20%, rgba(0, 113, 227, 0.2) 0px, transparent 50vw),
    radial-gradient(at 85% 85%, rgba(0, 113, 227, 0.12) 0px, transparent 50vw),
    radial-gradient(circle at center, #1c1c1e 0%, #000000 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  opacity: 0.8;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* SECTIONS */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-primary);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

/* FILTER BAR */
.filter-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-select {
  appearance: none;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231D1D1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 40px 12px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-select:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

/* LISTINGS GRID */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* LISTING CARD */
.card {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-image-placeholder {
  height: 240px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  z-index: 2;
}

.badge-satilik { background: var(--accent-color); }
.badge-kiralik { background: var(--success-color); }
.badge-gunluk { background: var(--warning-color); }

.card-price {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 2;
}

.card-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.card-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-features {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-primary);
  margin-top: auto;
}

.card-feature {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.card-feature span:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.card-admin-actions {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--bg-primary);
  background: var(--bg-input);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: inherit;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-color);
}

.btn-ghost:hover {
  background: rgba(0, 113, 227, 0.1);
}

.btn-danger {
  background: var(--danger-color);
  color: white;
}

.btn-danger:hover {
  background: #FF453A;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #22C55E;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-full { width: 100%; }
.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 14px;
}
.btn-small {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* MODALS */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

.modal-small {
  width: 90%;
  max-width: 420px;
  padding: 36px;
}

.modal-large {
  width: 90%;
  max-width: 800px;
  padding: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-primary);
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: background var(--transition-base);
}

.modal-close:hover {
  background: #E8E8ED;
}

.modal-header {
  padding: 28px 32px 0;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 8px 0 0;
}

.modal-body {
  padding: 24px 32px 32px;
}

/* FORMS */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-input);
  transition: all var(--transition-base);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

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

.form-file {
  padding: 10px;
  background: white;
}

.form-error {
  color: var(--danger-color);
  font-size: 0.8rem;
  margin-top: 6px;
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--bg-primary);
}

.image-preview {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.image-preview-item {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LISTING DETAIL MODAL İÇERİĞİ */
.detail-gallery {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #000;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.gallery-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
}

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.gallery-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
}

.detail-content {
  padding: 32px;
}

.detail-header {
  margin-bottom: 24px;
}

.detail-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.detail-location {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
}

.detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0 0 24px 0;
}

.detail-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.detail-badges .card-badge {
  position: static;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  padding: 24px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.spec-item {
  text-align: center;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.spec-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
  display: block;
}

.detail-description {
  line-height: 1.7;
  color: #424245;
  font-size: 1rem;
  margin-bottom: 24px;
  white-space: pre-wrap;
}

.detail-video {
  margin-bottom: 24px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.detail-actions {
  display: flex;
  gap: 12px;
}

/* CONTACT SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  background: white;
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: inline-block;
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--text-primary);
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  background-color: #000000;
  background-image: 
    radial-gradient(at 15% 20%, rgba(0, 113, 227, 0.2) 0px, transparent 50vw),
    radial-gradient(at 85% 85%, rgba(0, 113, 227, 0.12) 0px, transparent 50vw),
    radial-gradient(circle at center, #1c1c1e 0%, #000000 100%);
}

.testimonials-wrapper {
  position: relative;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  font-size: 1.1rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all var(--transition-base);
}

.testimonial-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.testimonial-nav-prev {
  left: -60px;
}

.testimonial-nav-next {
  right: -60px;
}

.testimonials-grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scroll-behavior: smooth;
}

.testimonials-grid::-webkit-scrollbar {
  height: 6px;
}

.testimonials-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
}

.testimonials-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  position: relative;
  min-width: 300px;
  max-width: 340px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 113, 227, 0.15);
}

.testimonial-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.testimonial-card:hover .testimonial-image {
  transform: scale(1.05);
}

.testimonial-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.testimonial-card-content {
  padding: 24px 28px;
  position: relative;
}

.testimonial-card-content::before {
  content: '"';
  position: absolute;
  top: -8px;
  right: 20px;
  font-size: 4rem;
  color: rgba(0, 113, 227, 0.25);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 12px 0;
}

.testimonial-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0;
}

.testimonial-admin-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
  display: block;
}

.empty-state h3 {
  color: var(--text-primary);
  font-weight: 600;
  margin: 0 0 8px 0;
}

.empty-state p {
  color: var(--text-secondary);
  margin: 0;
}

/* FOOTER */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 32px 0;
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  opacity: 0.6;
  margin: 0;
}

/* TOAST */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  box-shadow: var(--shadow-md);
  animation: slideUp 0.3s ease;
  pointer-events: auto;
}

.toast-success { background: var(--success-color); }
.toast-error { background: var(--danger-color); }

/* ANIMASYONLAR */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes modalSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  .listings-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .card-image {
    height: 150px;
  }
  .card-image-placeholder {
    height: 150px;
    font-size: 2.5rem;
  }
  .card-info {
    padding: 10px;
  }
  .card-title {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  .card-location {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }
  .card-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 0.65rem;
  }
  .card-price {
    bottom: 8px;
    right: 8px;
    padding: 4px 10px;
    font-size: 0.85rem;
  }
  .card-features {
    padding-top: 8px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .card-feature {
    font-size: 0.7rem;
  }
  .card-admin-actions {
    padding: 8px 10px;
    flex-direction: column;
    gap: 4px;
  }
  .card-admin-actions .btn {
    width: 100%;
  }
  
  .filter-bar {
    flex-direction: column;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .detail-gallery {
    height: 250px;
  }
  
  .detail-content {
    padding: 16px 12px;
  }

  .detail-specs {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px;
    gap: 12px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    gap: 16px;
    padding-bottom: 12px;
  }
  
  .testimonial-card {
    min-width: 260px;
  }
  
  .section {
    padding: 40px 0;
  }

  .testimonial-nav-prev {
    left: 10px;
  }
  .testimonial-nav-next {
    right: 10px;
  }
  .testimonial-nav {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  footer {
    padding-bottom: env(safe-area-inset-bottom, 20px);
  }
  
  .modal-small {
    padding: 24px;
  }
  
  .modal-header {
    padding: 20px 24px 0;
  }
  
  .modal-body {
    padding: 20px 24px 24px;
  }
  
  .detail-actions {
    flex-direction: column;
  }
}

/* Küçük telefonlar (iPhone SE, Galaxy S vb.) */
@media (max-width: 480px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .card-image {
    height: 120px;
  }
  .card-image-placeholder {
    height: 120px;
    font-size: 2rem;
  }
  .card-title {
    font-size: 0.85rem;
  }
  .card-feature {
    font-size: 0.65rem;
  }
  .card-badge {
    padding: 3px 6px;
    font-size: 0.6rem;
  }
  .card-price {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
  .detail-specs {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
  }
  .detail-title {
    font-size: 1.1rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
}

/* Çok dar ekranlar */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }
  .card-features {
    display: none;
  }
  .card-info {
    padding: 8px;
  }
}
/* LOADING SPINNER */
.loading-container {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 20px;
}

.loading-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* LIGHTBOX (Tam Ekran Fotoğraf) */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.lightbox-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  user-select: none;
  border-radius: var(--radius-sm);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.4);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  background: rgba(0,0,0,0.5);
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 10001;
}
@media (max-width: 768px) {
  .lightbox-prev, .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close {
    width: 50px;
    height: 50px;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
  }
}
