/* Travel Page Styles — OliBene warm light theme */

/* Hero Section */
.travel-hero {
  background: linear-gradient(to bottom, rgba(62, 39, 20, 0.4), rgba(40, 25, 12, 0.65)),
              url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1400&h=500&fit=crop') center/cover no-repeat;
  padding: 60px 30px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: -20px;
  margin-right: -20px;
}

.travel-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" x="10" font-size="60" opacity="0.06">✈️</text><text y="90" x="60" font-size="40" opacity="0.05">🏨</text><text y="30" x="70" font-size="35" opacity="0.05">🗺️</text></svg>') repeat;
  pointer-events: none;
}

.travel-hero__content {
  position: relative;
  z-index: 1;
}

.travel-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-style: italic;
}

.travel-hero__subtitle {
  font-family: 'Mulish', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 400;
}

/* Quick Links */
.travel-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 24px;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid #e0dbd4;
}

.travel-quick-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 18px;
  background: #faf8f5;
  color: #333;
  text-decoration: none;
  border-radius: 50px;
  font-family: 'Mulish', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #e0dbd4;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.travel-quick-link:hover {
  background: #b5704d;
  color: #fff;
  border-color: #b5704d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(181, 112, 77, 0.25);
}

.travel-quick-link .tql-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.travel-quick-link .tql-hint {
  font-size: 0.7rem;
  color: #9a8e82;
  font-weight: 400;
}

.travel-quick-link:hover .tql-hint {
  color: rgba(255, 255, 255, 0.75);
}

.travel-quick-link i {
  font-size: 0.9rem;
}

/* Tooltip (JS-generated, fixed position) */
.travel-tooltip {
  position: fixed;
  background: #1a1a1a;
  color: #fff;
  font-family: 'Mulish', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 10px;
  width: 230px;
  text-align: center;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}

.travel-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

.travel-tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #1a1a1a;
}

[data-theme="dark"] .travel-tooltip {
  background: #2a2d3d;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

[data-theme="dark"] .travel-tooltip::before {
  border-bottom-color: #2a2d3d;
}

/* Travel Cards with thumbnails */
.travel-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-thumb {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  margin: -20px -20px 12px -20px;
  width: calc(100% + 40px);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.travel-card:hover .card-thumb img {
  transform: scale(1.05);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body .card-desc {
  flex: 1;
}

.card-source-label {
  font-family: 'Mulish', sans-serif;
  font-size: 0.75rem;
  color: #999;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .travel-hero {
    padding: 40px 20px 35px;
  }

  .travel-hero__title {
    font-size: 1.8rem;
  }

  .travel-hero__subtitle {
    font-size: 0.95rem;
  }

  .travel-quick-links {
    gap: 8px;
    padding: 15px 16px;
  }

  .travel-quick-link {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .card-thumb {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .travel-hero__title {
    font-size: 1.5rem;
  }

  .travel-quick-links {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .travel-quick-links::-webkit-scrollbar {
    display: none;
  }
}
