/* === Reset === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  background: #1a1a2e;
  color: #e0e0e0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

/* === Custom Properties === */
:root {
  --bg-primary: #1a1a2e;
  --bg-card: #1e1e2e;
  --bg-tag: #2a2a3e;
  --border: #333;
  --text-primary: #e0e0e0;
  --text-secondary: #aaa;
  --text-muted: #888;
  --text-dim: #666;
  --color-greece: #4cc9f0;
  --color-greece-grad-start: #0077b6;
  --color-greece-grad-end: #00b4d8;
  --color-portugal: #f0a030;
  --color-portugal-grad-start: #e07b39;
  --color-portugal-grad-end: #f0c040;
  --color-croatia: #52b788;
  --color-croatia-grad-start: #2d6a4f;
  --color-croatia-grad-end: #52b788;
  --color-pro: #52b788;
  --color-con: #e07b7b;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 10px;
}

/* === Landing Page Header === */
.landing-header {
  position: relative;
  padding: 48px 20px 36px;
  text-align: center;
  background: linear-gradient(rgba(10, 10, 30, 0.65), rgba(10, 10, 30, 0.8)),
    url('https://images.unsplash.com/photo-1597001792539-75e5f541c762?w=1200&q=80') center/cover no-repeat;
  color: #fff;
}

.landing-header__date {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.landing-header__origin {
  font-size: 12px;
  opacity: 0.5;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.landing-header__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.landing-header__pronunciation {
  font-size: 11px;
  opacity: 0.35;
  font-style: italic;
  margin-bottom: 6px;
}

.landing-header__subtitle {
  font-size: 12px;
  opacity: 0.4;
}

/* === Comparison Table === */
.comparison {
  padding: 16px 12px;
}

.comparison__title {
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.comparison table {
  font-size: 11px;
  color: var(--text-secondary);
}

.comparison th {
  text-align: center;
  padding: 6px 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.comparison th:first-child {
  text-align: left;
  color: var(--text-dim);
}

.comparison td {
  padding: 8px 4px;
  text-align: center;
  border-bottom: 1px solid var(--bg-tag);
}

.comparison td:first-child {
  text-align: left;
  color: var(--text-muted);
}

.comparison tr:last-child td {
  border-bottom: none;
}

.comparison .col-greece { color: var(--color-greece); }
.comparison .col-portugal { color: var(--color-portugal); }
.comparison .col-croatia { color: var(--color-croatia); }

/* === Destination Section === */
.destination {
  padding: 16px 12px;
  border-top: 1px solid var(--bg-tag);
}

.destination__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.destination__flag {
  font-size: 20px;
}

.destination__name {
  font-size: 16px;
  font-weight: 700;
}

.destination__cities {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* === Pros / Cons === */
.pros-cons {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.pros-cons__col {
  flex: 1;
}

.pros-cons__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.pros-cons__label--pro { color: var(--color-pro); }
.pros-cons__label--con { color: var(--color-con); }

.pros-cons__list {
  padding-left: 14px;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.7;
  list-style: disc;
}

/* === CTA Button === */
.cta {
  display: block;
  padding: 10px;
  border-radius: var(--radius);
  text-align: center;
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.cta:hover { opacity: 0.85; }

.cta--greece {
  background: linear-gradient(135deg, var(--color-greece-grad-start), var(--color-greece-grad-end));
}

.cta--portugal {
  background: linear-gradient(135deg, var(--color-portugal-grad-start), var(--color-portugal-grad-end));
}

.cta--croatia {
  background: linear-gradient(135deg, var(--color-croatia-grad-start), var(--color-croatia-grad-end));
}

/* === Detail Page Hero === */
.hero {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.8));
}

.hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  color: white;
}

.hero__back {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 8px;
  display: inline-block;
  transition: opacity 0.2s;
}

.hero__back:hover { opacity: 1; }

.hero__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero__route {
  font-size: 12px;
  opacity: 0.7;
}

/* === Route Map Placeholder === */
.route-map {
  background: var(--bg-primary);
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.route-map__inner {
  background: var(--bg-tag);
  border-radius: var(--radius);
  padding: 30px 20px;
  color: var(--text-dim);
  font-size: 12px;
}

.route-map__label {
  font-size: 10px;
  opacity: 0.6;
  margin-top: 4px;
}

/* === Trip Stats === */
.trip-stats {
  display: flex;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.trip-stats__item {
  flex: 1;
  padding: 12px;
  text-align: center;
}

.trip-stats__item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.trip-stats__value {
  font-size: 16px;
  font-weight: 700;
}

.trip-stats__label {
  font-size: 10px;
  color: var(--text-muted);
}

/* === Day Card === */
.day-card {
  border-bottom: 1px solid var(--bg-tag);
}

.day-card__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.day-card__body {
  padding: 14px 12px;
}

.day-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.day-card__badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--bg-primary);
}

.day-card__badge--sm {
  font-size: 10px;
}

.day-card__title {
  font-size: 14px;
  font-weight: 600;
}

.day-card__location {
  font-size: 11px;
  color: var(--text-muted);
}

.day-card__activities {
  margin-left: 36px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === Tags === */
.tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-tag);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  color: var(--text-muted);
}

/* === Budget Table === */
.budget {
  padding: 16px 12px;
  border-bottom: 1px solid var(--bg-tag);
}

.budget__title,
.practical__title {
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 10px;
}

.budget table {
  font-size: 11px;
  color: var(--text-secondary);
}

.budget td {
  padding: 6px 4px;
  border-bottom: 1px solid var(--bg-tag);
}

.budget td:last-child {
  text-align: right;
}

.budget tr:last-child td {
  border-bottom: none;
  font-weight: 700;
  color: var(--text-primary);
  padding-top: 8px;
}

/* === Practical Info === */
.practical {
  padding: 16px 12px;
}

.practical__list {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.practical__list strong {
  color: var(--text-primary);
}

/* === Responsive (Desktop) === */
@media (min-width: 768px) {
  body {
    max-width: 480px;
    margin: 0 auto;
  }
}
