/* ============================================================
   XAVSA.COM - Ana CSS
   ============================================================ */

/* ---- GOOGLE FONTS (yerel fallback) ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --primary:      #FF385C;
  --primary-dark: #E31C5F;
  --primary-light:#FFE8EC;
  --secondary:    #00A699;
  --dark:         #222222;
  --gray-900:     #1a1a1a;
  --gray-700:     #484848;
  --gray-500:     #717171;
  --gray-300:     #B0B0B0;
  --gray-100:     #F7F7F7;
  --white:        #FFFFFF;
  --border:       #DDDDDD;
  --shadow-sm:    0 1px 2px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05);
  --shadow-md:    0 6px 16px rgba(0,0,0,.12);
  --shadow-lg:    0 14px 36px rgba(0,0,0,.15);
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-full:  999px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:   all .2s ease;
  --header-h:     80px;
  --max-w:        1760px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, select, textarea { font-family: var(--font); outline: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 600; color: var(--dark); }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm  { max-width: 960px;  margin: 0 auto; padding: 0 24px; }
.container-md  { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 32px;
  height: 32px;
  fill: var(--primary);
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

/* Arama çubuğu (header) */
.header-search {
  flex: 1;
  max-width: 560px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  height: 48px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
  cursor: pointer;
}
.header-search:hover {
  box-shadow: var(--shadow-md);
}
.hs-item {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  border-right: 1px solid var(--border);
  height: 100%;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.hs-item:last-of-type { border-right: none; }
.hs-item:hover { background: var(--gray-100); }
.hs-label {
  font-size: .7rem;
  font-weight: 600;
  color: var(--dark);
}
.hs-val {
  font-size: .8rem;
  color: var(--gray-500);
  white-space: nowrap;
}
.hs-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  flex-shrink: 0;
  transition: var(--transition);
}
.hs-btn:hover { background: var(--primary-dark); }
.hs-btn svg { width: 16px; height: 16px; }

/* Sağ nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.header-nav a {
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  white-space: nowrap;
}
.header-nav a:hover { background: var(--gray-100); text-decoration: none; }

/* Kullanıcı menüsü */
.user-menu { position: relative; }
.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
}
.user-menu-btn:hover { box-shadow: var(--shadow-sm); }
.hamburger-icon { width: 18px; height: 18px; color: var(--dark); }
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-500);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  flex-shrink: 0;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  display: none;
  z-index: 999;
}
.user-dropdown.open { display: block; }
.user-dropdown a,
.user-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 20px;
  font-size: .875rem;
  color: var(--dark);
  text-align: left;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
}
.user-dropdown a:hover,
.user-dropdown button:hover {
  background: var(--gray-100);
  text-decoration: none;
}
.user-dropdown hr {
  margin: 8px 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* ============================================================
   KATEGORİ BARI
   ============================================================ */
.category-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.category-bar::-webkit-scrollbar { display: none; }
.category-bar-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 24px;
  white-space: nowrap;
  max-width: var(--max-w);
  margin: 0 auto;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .75rem;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  flex-shrink: 0;
}
.cat-item:hover { color: var(--dark); text-decoration: none; }
.cat-item.active {
  color: var(--dark);
  border-bottom-color: var(--dark);
}
.cat-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ============================================================
   HERO - ANA SAYFA BANNER
   ============================================================ */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  color: var(--white);
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--white);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 1.1rem;
  opacity: .85;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Hero Arama */
.hero-search {
  background: var(--white);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: stretch;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 580px;
}
.hs-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.hs-group:hover { background: var(--gray-100); }
.hs-group:last-child { border-right: none; }
.hs-group label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .4px;
  cursor: pointer;
}
.hs-group input,
.hs-group select {
  border: none;
  background: transparent;
  font-size: .9rem;
  color: var(--gray-500);
  padding: 2px 0;
  width: 100%;
  cursor: pointer;
  appearance: none;
}
.hs-group input::placeholder { color: var(--gray-300); }
.hero-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.hero-search-btn:hover { background: var(--primary-dark); }
.hero-search-btn svg { width: 18px; height: 18px; }

/* ============================================================
   İLAN KARTLARI (GRID)
   ============================================================ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 32px 0;
}

.listing-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  background: var(--white);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }

/* Fotoğraf */
.card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.listing-card:hover .card-img img { transform: scale(1.04); }

/* Favori butonu */
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.wishlist-btn:hover { background: var(--white); transform: scale(1.1); }
.wishlist-btn svg { width: 18px; height: 18px; }
.wishlist-btn.active svg { fill: var(--primary); stroke: var(--primary); }

/* Fotoğraf navigation dots */
.card-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}
.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  transition: var(--transition);
}
.card-dot.active { background: var(--white); width: 18px; border-radius: 3px; }

/* Badge: Süper Host */
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--dark);
  z-index: 2;
}

/* Kart içeriği */
.card-body { padding: 12px 0 4px; }
.card-row-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 2px;
}
.card-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: .875rem;
  font-weight: 500;
  flex-shrink: 0;
}
.card-rating svg { width: 12px; height: 12px; fill: var(--dark); }
.card-sub { font-size: .875rem; color: var(--gray-500); margin-bottom: 4px; }
.card-dates { font-size: .875rem; color: var(--gray-500); margin-bottom: 6px; }
.card-price {
  font-size: .95rem;
  color: var(--dark);
}
.card-price strong { font-weight: 700; }
.card-price span { color: var(--gray-500); font-weight: 400; }

/* ============================================================
   BÖLÜM BAŞLIKLARI
   ============================================================ */
.section { padding: 48px 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--dark);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  margin-top: 6px;
}
.see-all {
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: underline;
  white-space: nowrap;
}

/* ============================================================
   ARAMA FİLTRELERİ
   ============================================================ */
.filters-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
}
.filters-row {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.filters-row::-webkit-scrollbar { display: none; }
.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 500;
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.filter-btn:hover { border-color: var(--dark); }
.filter-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.filter-btn svg { width: 16px; height: 16px; }

/* ============================================================
   FORM ELEMENTLERİ
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--dark);
  box-shadow: 0 0 0 2px rgba(0,0,0,.08);
}
.form-control.error { border-color: var(--primary); }
.form-error {
  font-size: .8rem;
  color: var(--primary);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23717171' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ============================================================
   BUTONLAR
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover { background: #333; border-color: #333; }
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--gray-100); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; border-radius: 50%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Gradient buton */
.btn-gradient {
  background: linear-gradient(135deg, #FF385C 0%, #E31C5F 100%);
  color: var(--white);
  border: none;
}
.btn-gradient:hover { opacity: .92; box-shadow: 0 4px 16px rgba(255,56,92,.4); }

/* ============================================================
   FLASH MESAJLARI
   ============================================================ */
.flash-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}
.flash {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  animation: slideInRight .3s ease;
  position: relative;
  overflow: hidden;
}
.flash::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.flash-success { background: #F0FAF0; color: #1A7F3C; }
.flash-success::before { background: #1A7F3C; }
.flash-error   { background: #FFF0F2; color: #C13515; }
.flash-error::before   { background: #C13515; }
.flash-info    { background: #EEF4FF; color: #1A56DB; }
.flash-info::before    { background: #1A56DB; }
.flash-warning { background: #FFFBEB; color: #92400E; }
.flash-warning::before { background: #D97706; }
.flash-msg { font-size: .875rem; font-weight: 500; line-height: 1.4; }
.flash-close {
  margin-left: auto;
  opacity: .6;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}
.flash-close:hover { opacity: 1; }
@keyframes slideInRight {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ============================================================
   BADGES & PILLS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
}
.badge-primary { background: var(--primary-light); color: var(--primary-dark); }
.badge-success { background: #DCFCE7; color: #166534; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger  { background: #FEE2E2; color: #B91C1C; }
.badge-dark    { background: var(--dark); color: var(--white); }
.badge-gray    { background: var(--gray-100); color: var(--gray-700); }

/* ============================================================
   YORUM KARTLARI
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-name { font-weight: 600; font-size: .95rem; }
.review-date { font-size: .8rem; color: var(--gray-500); margin-top: 2px; }
.review-text { font-size: .9rem; color: var(--gray-700); line-height: 1.6; }
.review-stars { display: flex; gap: 2px; margin-bottom: 8px; }
.review-stars span { color: var(--dark); font-size: .9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: #B0B0B0;
  padding: 56px 0 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .875rem;
  color: #B0B0B0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text { color: var(--white); }
.footer-desc { font-size: .875rem; line-height: 1.6; margin-bottom: 20px; max-width: 280px; }
.footer-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B0B0B0;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--white); color: var(--white); text-decoration: none; }
.social-link svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: .8rem; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a {
  font-size: .8rem;
  color: #B0B0B0;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--white); text-decoration: none; }

/* ============================================================
   YARDIMCI SINIFLARI
   ============================================================ */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--gray-500); }
.text-primary { color: var(--primary); }
.text-dark    { color: var(--dark); }
.text-sm      { font-size: .875rem; }
.text-xs      { font-size: .75rem; }
.fw-bold      { font-weight: 700; }
.fw-semibold  { font-weight: 600; }
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.d-flex   { display: flex; }
.d-grid   { display: grid; }
.d-none   { display: none; }
.d-block  { display: block; }
.align-center   { align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-8    { gap: 8px; }
.gap-16   { gap: 16px; }
.gap-24   { gap: 24px; }
.w-full   { width: 100%; }
.rounded  { border-radius: var(--radius-md); }
.rounded-full { border-radius: var(--radius-full); }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.pointer  { cursor: pointer; }

/* ============================================================
   LOADER / SKELETON
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, #ececec 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
.skeleton-card { height: 320px; border-radius: var(--radius-lg); }
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform .3s ease;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}
.modal-title { font-size: 1.1rem; font-weight: 700; }
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  font-size: 1.2rem;
  color: var(--dark);
}
.modal-close:hover { background: var(--gray-100); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ============================================================
   REZERVASYON KUTUSU
   ============================================================ */
.booking-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.booking-price {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.booking-price span { font-size: 1rem; font-weight: 400; color: var(--gray-500); }
.booking-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}
.booking-dates-item {
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
}
.booking-dates-item:first-child { border-right: 1px solid var(--border); }
.booking-dates-item:hover { background: var(--gray-100); }
.booking-dates-item label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 2px;
}
.booking-dates-item input {
  border: none;
  background: none;
  font-size: .9rem;
  color: var(--gray-500);
  width: 100%;
  cursor: pointer;
}
.booking-guests {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  cursor: pointer;
}
.booking-guests label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  display: block;
  margin-bottom: 2px;
}
.booking-guests select {
  border: none;
  background: none;
  font-size: .9rem;
  color: var(--gray-500);
  width: 100%;
  cursor: pointer;
  appearance: none;
}
.booking-breakdown {
  margin: 16px 0;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.booking-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: .9rem;
}
.booking-row.total {
  font-weight: 700;
  font-size: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

/* ============================================================
   KONUM HARİTASI
   ============================================================ */
#map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; padding: 48px 0 0; }
.pagination ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.pagination li a,
.pagination li.active {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  text-decoration: none;
}
.pagination li a:hover { background: var(--gray-100); }
.pagination li.active { background: var(--dark); color: var(--white); }
.pagination li.dots { width: 40px; text-align: center; color: var(--gray-500); }

/* ============================================================
   RESPONSİVE
   ============================================================ */
@media (max-width: 1024px) {
  .listings-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .header-search { display: none; }
  .header-nav .nav-links { display: none; }
  .listings-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero { min-height: 420px; }
  .hero-content { padding: 48px 0; }
  .hero-search { flex-direction: column; border-radius: var(--radius-lg); }
  .hs-group { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 480px) {
  .listings-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .section { padding: 32px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .booking-box { position: static; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .header, .footer, .flash-container, .filters-bar { display: none; }
  body { font-size: 12pt; }
}
