/* ══════════════════════════════════════════════
   Traveliko SEO Pages — main.css
   RTL Hebrew, mobile-first, dark hero design
   ══════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Assistant', sans-serif;
  background: #f8f9fc;
  color: #1a1a2e;
  direction: rtl;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Nav Bar ── */
.nav-bar {
  background: #0f3460;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  color: white;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.nav-logo span { color: #7ec8e3; }
.nav-links { display: flex; gap: 20px; }
.nav-link {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link--active { color: white; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, rgba(15,52,96,0.88), rgba(26,33,62,0.92));
  background-size: cover;
  background-position: center;
  padding: 48px 28px 40px;
  position: relative;
}
.hero-content { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.hero--index { text-align: center; padding: 64px 28px 56px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb span { color: rgba(255,255,255,0.35); }
.breadcrumb-current { color: rgba(255,255,255,0.75); }

.hero h1 {
  color: white;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  max-width: 480px;
  line-height: 1.6;
}
.hero--index .hero-sub { margin: 0 auto; }
.city-intro { color: rgba(255,255,255,0.72); font-size: 15px; max-width: 480px; }

/* ── Trust Bar ── */
.trust-bar {
  background: white;
  border-bottom: 1px solid #e8e8f0;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
}
.trust-bar-inner {
  display: flex;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  flex: 1;
  border-left: 1px solid #f0f0f5;
}
.trust-item:last-child { border-left: none; }
.trust-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon-wrap.fb { background: #e7f0ff; }
.trust-icon-wrap.wa { background: #e6f9ef; }
.trust-icon-wrap.star { background: #fff8e7; }
.trust-text { flex: 1; }
.trust-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
}
.trust-text span { font-size: 12px; color: #888; }
.trust-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  border-radius: 9px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: white;
  flex-shrink: 0;
  font-family: 'Assistant', sans-serif;
  transition: filter 0.15s;
  white-space: nowrap;
}
.trust-btn:hover { filter: brightness(1.08); }
.trust-btn.fb { background: linear-gradient(135deg, #1877f2, #0c5ddb); }
.trust-btn.wa { background: linear-gradient(135deg, #25D366, #1aab52); }
.trust-btn svg { flex-shrink: 0; }

/* ── City Tabs ── */
.city-tabs {
  background: white;
  padding: 0 20px;
  border-bottom: 2px solid #f0f0f8;
  display: flex;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
}
.city-tab {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.2s;
}
.city-tab:hover { color: #555; }
.city-tab--active {
  color: #1a1a2e;
  border-bottom-color: #6c63ff;
}

/* ── Hotels Section ── */
.hotels-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a2e;
}
.section-count { font-size: 13px; color: #888; }

/* ── Hotel Grid ── */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hotel-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.15s;
}
.hotel-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.hotel-img {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: #eee;
}
.hotel-img img { width: 100%; height: 100%; object-fit: cover; }
.hotel-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #a8c8e8, #7ba3c8);
}
.hotel-stars {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,0.55);
  border-radius: 4px;
  padding: 2px 8px;
  color: #ffd700;
  font-size: 11px;
  letter-spacing: 1px;
}
.hotel-body { padding: 14px 16px 16px; }
.hotel-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 4px;
}
.hotel-desc {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  line-height: 1.5;
}
.hotel-loc {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}
.hotel-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.tag {
  background: #f0f0f8;
  color: #6c63ff;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
}

/* ── Community Booking Badge ── */
.community-booked {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fef3c7, #fef9e7);
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 10px;
}
.community-booked-icon {
  width: 20px; height: 20px;
  background: #f59e0b;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.community-booked-text {
  font-size: 12px;
  color: #92400e;
  font-weight: 500;
}
.community-booked-text strong {
  font-weight: 800;
  color: #78350f;
}

.hotel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.hotel-price {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a2e;
}
.book-btn {
  display: inline-block;
  background: linear-gradient(135deg, #003580, #0057b8);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Assistant', sans-serif;
  transition: filter 0.15s;
}
.book-btn:hover { filter: brightness(1.1); }

/* ── Best For Section ── */
.best-for-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 0;
}
.best-for-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.best-for-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: white;
  border-radius: 10px;
  padding: 14px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  min-width: 160px;
  text-align: center;
}
.best-for-category {
  font-size: 13px;
  font-weight: 700;
  color: #6c63ff;
}
.best-for-hotel {
  font-size: 12px;
  color: #555;
}

/* ── Comparison Table ── */
.comparison-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
}
.table-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.comparison-table thead { background: #f8f9fc; }
.comparison-table th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #888;
  text-align: right;
  border-bottom: 2px solid #f0f0f8;
}
.comparison-table td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid #f5f5fa;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover { background: #fafbfe; }
.td-name { font-weight: 700; color: #1a1a2e; }
.td-stars { color: #ffd700; letter-spacing: 1px; }
.td-price { font-weight: 600; }
.td-bestfor { color: #6c63ff; font-weight: 600; }
.table-book-btn {
  display: inline-block;
  background: #003580;
  color: white;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Assistant', sans-serif;
}

/* ── FAQ Section ── */
.faq-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
}
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::before {
  content: '▸';
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.2s;
  color: #6c63ff;
}
.faq-item[open] .faq-question::before { transform: rotate(90deg); }
.faq-answer {
  padding: 0 20px 16px;
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

/* ── Destinations Grid (Index Page) ── */
.destinations-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px;
}
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.destination-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}
.destination-img {
  height: 220px;
  background: linear-gradient(135deg, #0f3460, #16213e);
  background-size: cover;
  background-position: center;
  position: relative;
}
.destination-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.destination-name {
  color: white;
  font-size: 22px;
  font-weight: 800;
}
.destination-count {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-top: 4px;
}

/* ── Footer ── */
.site-footer {
  background: #1a1a2e;
  padding: 24px 20px;
  margin-top: 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.footer-brand {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ══════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero h1 { font-size: 26px; }
  .hero { padding: 36px 20px 32px; }
  .trust-bar-inner { flex-direction: column; }
  .trust-item { border-left: none; border-bottom: 1px solid #f0f0f5; }
  .trust-item:last-child { border-bottom: none; }
  .hotel-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .city-tabs { padding: 0 12px; }
  .nav-bar { padding: 0 16px; }
  .nav-links { gap: 12px; }
  .best-for-grid { gap: 8px; }
  .best-for-card { min-width: 140px; padding: 10px 14px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 22px; }
  .hero { padding: 28px 16px 24px; }
  .hotel-grid { grid-template-columns: 1fr; }
  .hotel-img { height: 180px; }
  .nav-links { display: none; }
  .trust-btn { padding: 8px 12px; font-size: 11px; }
  .destinations-grid { grid-template-columns: 1fr; }
  .comparison-table th, .comparison-table td { padding: 8px 10px; font-size: 11px; }
}
