:root {
  --trip-forest: #16302b;
  --trip-forest-soft: #234a40;
  --trip-sand: #f7f2ea;
  --trip-amber: #e8a13c;
  --trip-ink: #243029;
  --font-display: Georgia, "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--trip-ink);
  background: var(--trip-sand);
}

main a {
  color: var(--trip-forest-soft);
  font-weight: 600;
  text-decoration: none;
}

main a:visited {
  color: var(--trip-forest-soft);
}

main a:hover {
  color: var(--trip-amber);
}

/* Navbar */
.trip-navbar {
  background: rgba(22, 48, 43, 0.92);
  backdrop-filter: blur(6px);
}

.trip-navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.trip-navbar .nav-link:hover {
  color: var(--trip-amber);
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: 7rem 0 5rem;
  background:
    linear-gradient(rgba(13, 30, 26, 0.55), rgba(13, 30, 26, 0.75)),
    url("../images/hero.jpg") center / cover no-repeat;
}

.hero-kicker {
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  color: var(--trip-amber);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.15;
}

.hero-accent {
  color: var(--trip-amber);
  font-style: italic;
}

.hero-lead {
  max-width: 640px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-route {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.hero-cta {
  background: var(--trip-amber);
  color: var(--trip-forest);
  font-weight: 600;
  border: none;
  padding: 0.75rem 2.5rem;
  border-radius: 999px;
}

.hero-cta:hover {
  background: #f0b35a;
  color: var(--trip-forest);
}

/* Overview */
.overview-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--trip-forest);
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #6b7a70;
}

.overview-text {
  max-width: 720px;
  font-size: 1.1rem;
}

/* Day sections */
.day-section {
  padding: 5rem 0;
}

.day-section-alt {
  background: #fff;
}

.day-image-wrap {
  position: relative;
}

.day-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 1.5rem 3rem rgba(22, 48, 43, 0.25);
}

.day-image-clickable {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.day-image-clickable:hover {
  transform: scale(1.015);
  box-shadow: 0 2rem 4rem rgba(22, 48, 43, 0.35);
}

.day-image-hint {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(13, 30, 26, 0.72);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Miniatyrer */
.day-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.day-thumb-btn {
  border: 2px solid transparent;
  border-radius: 0.55rem;
  padding: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  flex: 1 1 calc(50% - 0.25rem);
  max-width: calc(50% - 0.25rem);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.day-thumb-btn:hover,
.day-thumb-btn:focus-visible {
  border-color: var(--trip-amber);
  transform: scale(1.03);
  outline: none;
}

.day-thumb-btn img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 0.4rem;
}

/* Modal */
.img-modal-content {
  background: #0d1e1a;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
}

.img-modal-header {
  background: transparent;
  border-bottom: none;
  padding: 0.75rem 1rem 0.25rem;
}

.img-modal-caption {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.img-modal-body {
  padding: 0 1rem 1rem;
}

.img-modal-img {
  border-radius: 0.65rem;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.day-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--trip-amber);
  color: var(--trip-forest);
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.day-theme {
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--trip-amber);
  font-weight: 600;
}

.day-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--trip-forest);
}

.route-chip,
.time-chip {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  margin: 0.15rem 0.3rem 0.15rem 0;
}

.route-chip {
  background: var(--trip-forest);
  color: #fff;
}

.time-chip {
  background: rgba(232, 161, 60, 0.18);
  color: #9a6716;
}

.day-intro {
  font-size: 1.05rem;
}

.day-highlights {
  padding-left: 0;
  list-style: none;
}

.day-highlights li {
  padding: 0.3rem 0 0.3rem 1.8rem;
  position: relative;
}

.day-highlights li::before {
  content: "›";
  position: absolute;
  left: 0.4rem;
  color: var(--trip-amber);
  font-weight: 700;
}

.day-highlights a {
  color: var(--trip-forest-soft);
  font-weight: 600;
  text-decoration: none;
}

.day-highlights a:visited {
  color: var(--trip-forest-soft);
}

.day-highlights a:hover {
  color: var(--trip-amber);
}

.stay-heading {
  letter-spacing: 0.15em;
  color: #6b7a70;
}

.stay-card {
  background: rgba(35, 74, 64, 0.06);
  border-left: 3px solid var(--trip-forest-soft);
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
}

.stay-type {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7a70;
}

.stay-note {
  font-size: 0.92rem;
  color: #44524a;
}

.pro-tip {
  background: rgba(232, 161, 60, 0.14);
  border-left: 3px solid var(--trip-amber);
  border-radius: 0.5rem;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
}

/* Summary + tips */
.section-title {
  font-family: var(--font-display);
  color: var(--trip-forest);
}

.summary-section {
  background: #fff;
}

.trip-table thead {
  background: var(--trip-forest);
  color: #fff;
}

.tips-section {
  background: var(--trip-forest);
  color: rgba(255, 255, 255, 0.92);
}

.tips-section .section-title {
  color: #fff;
}

.tip-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 1.6rem;
}

.tip-card h3 {
  color: var(--trip-amber);
}

.tip-list {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.tip-list li {
  margin-bottom: 0.35rem;
}

/* Footer */
.trip-footer {
  background: #0e211d;
  color: rgba(255, 255, 255, 0.7);
}

.trip-footer .text-secondary {
  color: rgba(255, 255, 255, 0.45) !important;
}
