/* Kart taban ayarları */
:root {
  --card-bg: #0f1220;
  --card-fg: #ffffff;
  --muted: #9ba3af;
  --stroke: #1f2433;
  --accent: #6c5ce7;    /* morumsu accent */
  --accent-2: #00d4ff;  /* turkuaz geçiş */
  --shadow: 0 10px 30px rgba(0,0,0,0.15);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 12px;
}

@media (prefers-color-scheme: light) {
  :root {
    --card-bg: #ffffff;
    --card-fg: #0f1220;
    --muted: #64748b;
    --stroke: #e5e7eb;
    --shadow: 0 10px 25px rgba(2,6,23,0.06);
  }
}

.wpo-room-area-s2 {
  position: relative;
}

/* GRID içinde kart */
.room-card {
  background: var(--card-bg);
  color: var(--card-fg);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  border-color: rgba(108,92,231,.35);
}

/* MEDYA alanı */
.room-media {
  position: relative;
  aspect-ratio: 16/11;
  background: linear-gradient(135deg, #12152a, #0b0e1b);
  overflow: hidden;
}

.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .35s ease;
}

.room-card:hover .room-media img {
  transform: scale(1.06);
}

/* Fiyat rozeti */
.price-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(0, 212, 255, 0.25);
}

.price-badge small {
  font-weight: 500;
  opacity: .95;
}

/* BODY alanı */
.room-body {
  padding: 16px 16px 18px;
}

.room-title {
  font-size: 18px;
  line-height: 1.35;
  margin: 2px 0 10px;
  font-weight: 700;
  letter-spacing: .2px;
}

.room-title a {
  color: inherit;
  text-decoration: none;
}

.room-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Meta liste (ikonlu) */
.room-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-weight: 600;
}

.room-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.room-meta i {
  font-size: 14px;
  opacity: .9;
}

/* Aksiyon butonu */
.room-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-details {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--stroke);
  color: var(--card-fg);
  transition: background .25s ease, border-color .25s ease, transform .2s ease;
  background: linear-gradient(180deg, transparent, transparent);
}

.btn-details i {
  transition: transform .2s ease;
}

.btn-details:hover {
  border-color: rgba(108,92,231,.4);
  background: linear-gradient(135deg, rgba(108,92,231,.12), rgba(0,212,255,.12));
}

.btn-details:hover i {
  transform: translateX(3px);
}

/* PAGINATION */
.pagination-wrapper {
  width: 100%;
}

.pg-pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pg-pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  text-decoration: none;
  color: var(--card-fg);
  font-weight: 700;
  letter-spacing: .2px;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}

.pg-pagination li:hover a {
  border-color: rgba(108,92,231,.4);
  background: linear-gradient(135deg, rgba(108,92,231,.10), rgba(0,212,255,.10));
  transform: translateY(-1px);
}

.pg-pagination li.active a {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(108,92,231,.25);
}

/* Küçük ekran düzenlemeleri */
@media (max-width: 575.98px) {
  .room-body { padding: 14px; }
  .room-title { font-size: 17px; }
  .pg-pagination li a { min-width: 36px; height: 36px; }
}
