/* travel-info-hotels.css — page-specific styles */
/* ============================================================
   ADDITIONAL COMPONENTS — Hotels page
   ============================================================ */

/* ── HOTEL NAVIGATION TABS ──────────────────────────────── */
.ti-hotel-tabs {
  background: var(--ti-navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(14,45,69,0.22);
}
.ti-hotel-tabs__inner {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ti-hotel-tabs__inner::-webkit-scrollbar { display: none; }
.ti-hotel-tab {
  flex-shrink: 0;
  padding: 18px 22px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: color 0.28s, border-color 0.28s;
  white-space: nowrap;
}
.ti-hotel-tab:hover { color: var(--ti-gold); }
.ti-hotel-tab--active {
  color: var(--ti-gold);
  border-bottom-color: var(--ti-gold);
}

/* ── HOTELS LAYOUT ──────────────────────────────────────── */
.ti-hotels-bg { background: #F4F8FC; }
.ti-hotels-layout {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  padding: 72px 0 80px;
}

/* ── HOTEL SECTION LABEL ────────────────────────────────── */
.ti-hotel-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.ti-hotel-label::before {
  content: '';
  display: block;
  width: 3px; height: 20px;
  background: var(--ti-gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.ti-hotel-label span {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ti-gold-dark);
}
.ti-hotel-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--ti-navy);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.ti-hotel-body {
  font-size: 0.94rem;
  color: #4a5d55;
  line-height: 1.85;
  margin-bottom: 16px;
}
.ti-hotel-body a {
  color: var(--ti-navy-mid);
  text-decoration: underline;
  text-decoration-color: var(--ti-gold);
  text-underline-offset: 3px;
}
.ti-hotel-body a:hover { color: var(--ti-gold-dark); }

/* ── HOTEL CATEGORY CARDS ───────────────────────────────── */
.ti-hotel-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 48px;
}
.ti-hotel-cat-card {
  background: #fff;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius);
  padding: 28px 24px;
  transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s;
}
.ti-hotel-cat-card:hover {
  border-color: var(--ti-gold-bdr);
  box-shadow: var(--ti-shadow-md);
  transform: translateY(-2px);
}
.ti-hotel-cat-icon { font-size: 1.6rem; margin-bottom: 12px; display: block; line-height: 1; }
.ti-hotel-cat-title { font-size: 1rem; font-weight: 700; color: var(--ti-navy); margin-bottom: 8px; }
.ti-hotel-cat-desc  { font-size: 0.82rem; color: var(--ti-text-soft); line-height: 1.65; }
.ti-hotel-cat-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ti-hotel-cat-card--luxury .ti-hotel-cat-badge { background: var(--ti-gold-pale); color: var(--ti-gold-dark); }
.ti-hotel-cat-card--mid .ti-hotel-cat-badge    { background: rgba(20,61,89,0.08); color: var(--ti-navy); }
.ti-hotel-cat-card--boutique .ti-hotel-cat-badge { background: rgba(20,61,89,0.06); color: #7a5c1e; }
.ti-hotel-cat-card--eco .ti-hotel-cat-badge    { background: rgba(20,61,89,0.06); color: #0e5a2a; }

/* ── HOTEL TIPS LIST ────────────────────────────────────── */
.ti-hotel-tips {
  background: #fff;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius);
  overflow: hidden;
  box-shadow: var(--ti-shadow-sm);
}
.ti-hotel-tip {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--ti-border);
  transition: background 0.22s;
}
.ti-hotel-tip:last-child { border-bottom: none; }
.ti-hotel-tip:hover { background: var(--ti-gold-pale); }
.ti-hotel-tip__num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ti-navy);
  color: var(--ti-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 1px;
}
.ti-hotel-tip__title { font-size: 0.87rem; font-weight: 700; color: var(--ti-navy); margin-bottom: 4px; }
.ti-hotel-tip__desc  { font-size: 0.82rem; color: var(--ti-text-soft); line-height: 1.6; }

/* ── HOTEL CONTENT SECTION ──────────────────────────────── */
.ti-hotel-section { margin-bottom: 64px; }
.ti-hotel-section:last-child { margin-bottom: 0; }
[id^="ti-hotel-"] { scroll-margin-top: 80px; }

/* ── HOTEL SEARCH WIDGET ────────────────────────────────── */
.ti-hotel-sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
}
.ti-search-widget {
  background: #fff;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius);
  overflow: hidden;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ti-shadow-sm);
}
.ti-search-widget__header {
  background: var(--ti-navy);
  padding: 24px 24px 20px;
}
.ti-search-widget__title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.ti-search-widget__sub   { font-size: 0.74rem; color: rgba(255,255,255,0.55); }
.ti-search-widget__filters {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--ti-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ti-field { display: flex; flex-direction: column; gap: 5px; }
.ti-field label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ti-text-soft);
}
.ti-field select {
  width: 100%;
  padding: 10px 34px 10px 14px;
  border: 1px solid var(--ti-border);
  border-radius: 4px;
  font-size: 0.86rem;
  color: var(--ti-navy);
  background: #F4F8FC;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7c74' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
  cursor: pointer;
  transition: border-color 0.22s, background 0.22s;
}
.ti-field select:focus { outline: none; border-color: var(--ti-navy-mid); background: #fff; }
.ti-search-btn {
  width: 100%;
  padding: 12px;
  background: var(--ti-navy);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.22s, transform 0.22s;
}
.ti-search-btn:hover { background: var(--ti-navy-mid); transform: translateY(-1px); }
.ti-results-meta {
  padding: 10px 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ti-results-count { font-size: 0.72rem; color: var(--ti-text-soft); font-weight: 500; }
.ti-results-reset {
  font-size: 0.7rem;
  color: var(--ti-gold-dark);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-weight: 500;
  transition: color 0.22s;
}
.ti-results-reset:hover { color: var(--ti-navy); }
.ti-hotel-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--ti-border) transparent;
}
.ti-hotel-list::-webkit-scrollbar { width: 4px; }
.ti-hotel-list::-webkit-scrollbar-thumb { background: var(--ti-border); border-radius: 4px; }

/* Hotel card in widget */
.ti-hotel-card-widget {
  display: flex;
  gap: 14px;
  padding: 12px 6px;
  border-bottom: 1px solid var(--ti-border);
  opacity: 0;
  transform: translateY(8px);
  animation: tiSlideIn 0.32s ease forwards;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  margin: 0 -6px;
  transition: background 0.22s;
}
.ti-hotel-card-widget:hover { background: rgba(244,248,252,0.8); }
@keyframes tiSlideIn { to { opacity: 1; transform: translateY(0); } }
.ti-hotel-card__thumb {
  flex-shrink: 0;
  width: 72px; height: 64px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ti-bg-light);
}
.ti-hotel-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ti-hotel-card-widget:hover .ti-hotel-card__thumb img { transform: scale(1.08); }
.ti-hotel-card__name { font-size: 0.95rem; font-weight: 700; color: var(--ti-navy); line-height: 1.2; margin-bottom: 3px; }
.ti-hotel-card__loc  { font-size: 0.7rem; color: var(--ti-text-soft); margin-bottom: 6px; display: flex; align-items: center; gap: 3px; }
.ti-hotel-card__stars span { font-size: 0.62rem; color: var(--ti-gold); line-height: 1; }
.ti-hotel-no-results { padding: 32px 16px; text-align: center; font-size: 0.86rem; color: var(--ti-text-soft); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ti-hotels-layout { grid-template-columns: 1fr; gap: 48px; padding: 52px 0 64px; }
  .ti-hotel-sidebar { position: static; max-height: none; }
  .ti-search-widget { max-height: 560px; }
  .ti-hotel-cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .ti-hotel-cat-grid { grid-template-columns: 1fr; }
  .ti-hotels-layout { width: 94%; }
}

