/* ============================================
   OTELLER – Profesyonel liste sayfası
   .sayfa-oteller-wrap ile yüksek özgüllük (Bootstrap / diğer stillerin ezmesini önler)
   ============================================ */

@keyframes oteller-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes oteller-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sayfa-oteller-wrap .oteller-cerceve {
  padding: 0 24px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Hero header */
.sayfa-oteller-wrap .oteller-header {
  height: 280px;
  min-height: 240px;
  background-size: cover;
  background-position: center;
  background-color: #0d4f5c;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sayfa-oteller-wrap .oteller-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,79,92,0.88) 0%, rgba(26,107,122,0.8) 50%, rgba(21,152,149,0.75) 100%);
}
.sayfa-oteller-wrap .oteller-header-icerik {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  animation: oteller-fadeInUp 0.7s ease-out both;
}
.sayfa-oteller-wrap .oteller-header-icerik h1 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.sayfa-oteller-wrap .oteller-header-alt {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.95;
  animation: oteller-fadeIn 0.6s ease-out 0.2s both;
}

/* Breadcrumb */
.sayfa-oteller-wrap .oteller-breadcrumb {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
}
.sayfa-oteller-wrap .oteller-breadcrumb a {
  color: #1a5f7a;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.sayfa-oteller-wrap .oteller-breadcrumb a:hover { color: #30ade6; }
.sayfa-oteller-wrap .oteller-breadcrumb .oteller-breadcrumb-sep {
  width: 6px; height: 6px;
  border-right: 1.5px solid #94a3b8;
  border-bottom: 1.5px solid #94a3b8;
  transform: rotate(-45deg);
  margin: 0 10px;
  flex-shrink: 0;
}
.sayfa-oteller-wrap .oteller-breadcrumb .oteller-breadcrumb-current {
  color: #0d4f5c;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sayfa-oteller-wrap .oteller-breadcrumb .oteller-breadcrumb-current i { color: #30ade6; font-size: 13px; }

/* Bölüm başlık */
.sayfa-oteller-wrap .oteller-baslik {
  font-size: 24px;
  font-weight: 700;
  color: #0d4f5c;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #30ade6;
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sayfa-oteller-wrap .oteller-baslik.oteller-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Kart grid */
.sayfa-oteller-wrap .oteller-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.sayfa-oteller-wrap .oteller-grid > * {
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 100%;
}
.sayfa-oteller-wrap .oteller-grid .otel-kart-wrap {
  height: 100%;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sayfa-oteller-wrap .oteller-grid .otel-kart-wrap.oteller-visible {
  opacity: 1;
  transform: translateY(0);
}
.sayfa-oteller-wrap .oteller-grid .otel-kart {
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.03);
  border: 1px solid #e8ecf0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.sayfa-oteller-wrap .oteller-grid .otel-kart:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13,79,92,0.12);
}
.sayfa-oteller-wrap .oteller-grid .otel-kart-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 62%;
  height: 0;
  overflow: hidden;
  background: #f0f2f5;
}
.sayfa-oteller-wrap .oteller-grid .otel-kart img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.sayfa-oteller-wrap .oteller-grid .otel-kart:hover img {
  transform: scale(1.04);
}
.sayfa-oteller-wrap .oteller-grid .otel-kart-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 0;
}
.sayfa-oteller-wrap .oteller-grid .otel-kart h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0d4f5c;
  margin: 0 0 8px;
  line-height: 1.3;
}
.sayfa-oteller-wrap .oteller-grid .otel-kart .otel-kart-lokasyon {
  font-size: 14px;
  color: #5a6573;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sayfa-oteller-wrap .oteller-grid .otel-kart .otel-kart-lokasyon i { color: #30ade6; }

/* Detaylar CTA */
.sayfa-oteller-wrap .oteller-grid .otel-kart .detay-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-top: 16px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #30ade6 0%, #1b90c4 100%);
  border-radius: 0 0 16px 16px;
  transition: background 0.3s ease, gap 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(48, 173, 230, 0.35);
}
.sayfa-oteller-wrap .oteller-grid .otel-kart:hover .detay-link {
  background: linear-gradient(135deg, #1a5f7a 0%, #0d4f5c 100%);
  box-shadow: 0 6px 20px rgba(13, 79, 92, 0.4);
  gap: 12px;
}
.sayfa-oteller-wrap .oteller-grid .otel-kart .detay-link::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  transition: transform 0.25s ease;
}
.sayfa-oteller-wrap .oteller-grid .otel-kart:hover .detay-link::after {
  transform: translateX(4px);
}

/* SEO blok */
.sayfa-oteller-wrap .oteller-seo-blok {
  background: #f8fafc;
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 40px;
  border: 1px solid #eef2f6;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}
.sayfa-oteller-wrap .oteller-seo-blok.oteller-visible {
  opacity: 1;
  transform: translateY(0);
}
.sayfa-oteller-wrap .oteller-seo-blok h2,
.sayfa-oteller-wrap .oteller-seo-blok h3 {
  font-size: 20px;
  color: #0d4f5c;
  margin: 0 0 12px;
  font-weight: 700;
}
.sayfa-oteller-wrap .oteller-seo-blok h3 { font-size: 18px; margin-top: 20px; }
.sayfa-oteller-wrap .oteller-seo-blok p {
  margin: 0 0 12px;
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
}
.sayfa-oteller-wrap .oteller-seo-blok p:last-child { margin-bottom: 0; }
.sayfa-oteller-wrap .oteller-seo-blok a {
  color: #1a5f7a;
  font-weight: 500;
  text-decoration: none;
}
.sayfa-oteller-wrap .oteller-seo-blok a:hover { text-decoration: underline; color: #30ade6; }

/* Eski DataList sınıfı (geri uyumluluk) */
.sayfa-oteller-wrap .otel-listesi {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  border: none !important;
}
.sayfa-oteller-wrap .otel-listesi table,
.sayfa-oteller-wrap .otel-listesi tbody,
.sayfa-oteller-wrap .otel-listesi tr,
.sayfa-oteller-wrap .otel-listesi td {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  border: none !important;
}
.sayfa-oteller-wrap .otel-listesi tr {
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 100%;
}

/* Stagger kart animasyon gecikmesi */
.sayfa-oteller-wrap .oteller-grid .otel-kart-wrap.oteller-visible:nth-child(1) { transition-delay: 0.05s; }
.sayfa-oteller-wrap .oteller-grid .otel-kart-wrap.oteller-visible:nth-child(2) { transition-delay: 0.1s; }
.sayfa-oteller-wrap .oteller-grid .otel-kart-wrap.oteller-visible:nth-child(3) { transition-delay: 0.15s; }
.sayfa-oteller-wrap .oteller-grid .otel-kart-wrap.oteller-visible:nth-child(4) { transition-delay: 0.2s; }
.sayfa-oteller-wrap .oteller-grid .otel-kart-wrap.oteller-visible:nth-child(5) { transition-delay: 0.25s; }
.sayfa-oteller-wrap .oteller-grid .otel-kart-wrap.oteller-visible:nth-child(6) { transition-delay: 0.3s; }
.sayfa-oteller-wrap .oteller-grid .otel-kart-wrap.oteller-visible:nth-child(n+7) { transition-delay: 0.35s; }

@media (max-width: 768px) {
  .sayfa-oteller-wrap .oteller-cerceve { padding: 0 16px 32px; }
  .sayfa-oteller-wrap .oteller-header { height: 220px; }
  .sayfa-oteller-wrap .oteller-header-icerik h1 { font-size: 26px; }
  .sayfa-oteller-wrap .oteller-header-alt { font-size: 14px; }
  .sayfa-oteller-wrap .oteller-grid .otel-kart-wrap,
  .sayfa-oteller-wrap .otel-listesi tr { flex: 1 1 100%; min-width: 0; }
  .sayfa-oteller-wrap .otel-listesi { gap: 16px; }
  .sayfa-oteller-wrap .oteller-grid .otel-kart .detay-link { padding: 12px 18px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .sayfa-oteller-wrap .oteller-header-icerik,
  .sayfa-oteller-wrap .oteller-header-alt,
  .sayfa-oteller-wrap .oteller-baslik,
  .sayfa-oteller-wrap .oteller-grid .otel-kart-wrap,
  .sayfa-oteller-wrap .oteller-seo-blok { animation: none; transition: none; }
  .sayfa-oteller-wrap .oteller-grid .otel-kart-wrap { opacity: 1; transform: none; }
  .sayfa-oteller-wrap .oteller-baslik,
  .sayfa-oteller-wrap .oteller-seo-blok { opacity: 1; transform: none; }
}
