/* ============================================
   Travel Page — Overall
   ============================================ */
.view-travel {
  overflow-y: auto;
  height: 100vh;
}

.travel-page {
  min-height: 100vh;
  background: transparent;
}

/* --- Hero Section --- */
.travel-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  padding: 120px 24px 60px;
  overflow: hidden;
}

.travel-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
  animation: travelGlow 8s ease-in-out infinite alternate;
}

@keyframes travelGlow {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}

.travel-hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.travel-hero-title {
  font-size: 2.2rem;
  font-weight: 200;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.travel-hero-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
  letter-spacing: 0.06em;
}

body.light-theme .travel-hero-title {
  color: rgba(0, 0, 0, 0.8);
}

body.light-theme .travel-hero-sub {
  color: rgba(0, 0, 0, 0.45);
}

/* --- Section Common --- */
.travel-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 24px;
}

.travel-section-title {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.travel-section-title .section-icon {
  font-size: 1.2rem;
}

.travel-section-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

body.light-theme .travel-section-title {
  color: rgba(0, 0, 0, 0.6);
}

body.light-theme .travel-section-sub {
  color: rgba(0, 0, 0, 0.35);
}

/* --- Section Divider --- */
.travel-section + .travel-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.light-theme .travel-section + .travel-section {
  border-top-color: rgba(0, 0, 0, 0.06);
}

/* --- Travel Log Table --- */
.travel-log-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

body.light-theme .travel-log-wrap {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

.travel-log-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.travel-log-table th,
.travel-log-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.travel-log-table th {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.02);
}

.travel-log-table tbody tr:last-child td {
  border-bottom: none;
}

.travel-log-table td {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

body.light-theme .travel-log-table th,
body.light-theme .travel-log-table td {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .travel-log-table th {
  color: rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.02);
}

body.light-theme .travel-log-table td {
  color: rgba(0, 0, 0, 0.55);
}

.travel-log-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: rgba(52, 211, 153, 0.85);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.travel-log-link:hover {
  color: rgba(110, 231, 183, 1);
  text-decoration: underline;
}

body.light-theme .travel-log-link {
  color: rgba(5, 150, 105, 0.9);
}

body.light-theme .travel-log-link:hover {
  color: rgba(4, 120, 87, 1);
}

.travel-log-muted {
  color: rgba(255, 255, 255, 0.25);
}

body.light-theme .travel-log-muted {
  color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 720px) {
  .travel-log-table thead {
    display: none;
  }

  .travel-log-table tbody tr {
    display: block;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .travel-log-table tbody tr:last-child {
    border-bottom: none;
  }

  .travel-log-table td {
    display: flex;
    gap: 12px;
    padding: 6px 0;
    border-bottom: none;
  }

  .travel-log-table td::before {
    content: attr(data-label);
    flex: 0 0 4.5em;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.72rem;
  }

  body.light-theme .travel-log-table tbody tr {
    border-bottom-color: rgba(0, 0, 0, 0.06);
  }

  body.light-theme .travel-log-table td::before {
    color: rgba(0, 0, 0, 0.35);
  }
}

/* --- Card Grid --- */
.travel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.travel-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.travel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

body.light-theme .travel-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .travel-card:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.15);
}

.travel-card-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
}

.travel-card-title {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.travel-card-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

body.light-theme .travel-card-title {
  color: rgba(0, 0, 0, 0.7);
}

body.light-theme .travel-card-desc {
  color: rgba(0, 0, 0, 0.4);
}

/* --- Placeholder Card --- */
.travel-card--placeholder {
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.travel-card--placeholder .travel-card-desc {
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
}

body.light-theme .travel-card--placeholder .travel-card-desc {
  color: rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
.travel-footer {
  text-align: center;
  padding: 40px 24px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.08em;
}

body.light-theme .travel-footer {
  color: rgba(0, 0, 0, 0.25);
}

/* --- Section Reveal Animation --- */
.travel-section--hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.travel-section--visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .travel-hero {
    min-height: 40vh;
    padding: 100px 20px 40px;
  }

  .travel-hero-title {
    font-size: 1.6rem;
  }

  .travel-section {
    padding: 40px 16px;
  }

  .travel-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
