@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --ink:     #1a1a18;
  --stone:   #8c8880;
  --dust:    #e8e4de;
  --paper:   #f7f5f2;
  --white:   #ffffff;
  --accent:  #c4a882;

  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;

  --max:     1200px;
  --gap:     clamp(1.5rem, 4vw, 3rem);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* ─── Nav ────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem var(--gap);
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.scrolled { border-color: var(--dust); }

.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.nav-logo span { font-style: italic; color: var(--accent); }

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 5rem;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gap) var(--gap) var(--gap) calc(var(--gap) * 1.5);
}
.hero-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--stone); }
.hero-desc {
  font-size: 0.95rem; color: var(--stone);
  max-width: 38ch; line-height: 1.8; margin-bottom: 2.5rem;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--accent); padding-bottom: 0.25rem;
  width: fit-content; transition: gap 0.3s;
}
.hero-cta:hover { gap: 1.25rem; }

.hero-image {
  position: relative; overflow: hidden;
}
.hero-image img {
  width: 100%; height: 100%;
  transition: transform 0.8s ease;
}
.hero-image:hover img { transform: scale(1.03); }
.hero-counter {
  position: absolute; bottom: 2rem; right: 2rem;
  font-family: var(--serif); font-size: 4rem; font-weight: 300;
  color: rgba(255,255,255,0.15); line-height: 1; pointer-events: none;
}

/* ─── Section Layout ─────────────────────────────────────────── */
section { padding: clamp(3rem, 8vw, 7rem) var(--gap); }
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--dust); padding-top: 1.5rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.1;
}
.section-title em { font-style: italic; }
.section-link {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--stone); border-bottom: 1px solid var(--dust);
  padding-bottom: 0.15rem; transition: color 0.2s, border-color 0.2s;
}
.section-link:hover { color: var(--ink); border-color: var(--ink); }

/* ─── Destinations Grid ──────────────────────────────────────── */
.destinations { max-width: var(--max); margin: 0 auto; }

.dest-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
}
.dest-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--dust);
}
.dest-card:nth-child(1) { grid-column: span 7; grid-row: span 2; aspect-ratio: unset; min-height: 520px; }
.dest-card:nth-child(2) { grid-column: span 5; min-height: 250px; }
.dest-card:nth-child(3) { grid-column: span 5; min-height: 250px; }
.dest-card:nth-child(4) { grid-column: span 4; min-height: 300px; }
.dest-card:nth-child(5) { grid-column: span 4; min-height: 300px; }
.dest-card:nth-child(6) { grid-column: span 4; min-height: 300px; }

.dest-card img { transition: transform 0.6s ease; }
.dest-card:hover img { transform: scale(1.05); }

.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,12,8,0.75) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
}
.dest-region {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 0.4rem;
}
.dest-name {
  font-family: var(--serif); font-weight: 300;
  color: white; line-height: 1.1;
}
.dest-card:nth-child(1) .dest-name { font-size: 2.4rem; }
.dest-card:nth-child(n+2) .dest-name { font-size: 1.4rem; }
.dest-count {
  font-size: 0.7rem; color: rgba(255,255,255,0.5); margin-top: 0.5rem;
}

/* ─── Latest Stories ─────────────────────────────────────────── */
.stories { background: var(--white); }
.stories-inner { max-width: var(--max); margin: 0 auto; }

.story-list { display: flex; flex-direction: column; gap: 0; }
.story-item {
  display: grid; grid-template-columns: 1fr 2fr 1fr;
  align-items: center; gap: 2rem;
  padding: 2rem 0; border-bottom: 1px solid var(--dust);
  transition: background 0.2s;
}
.story-item:hover { background: var(--paper); margin: 0 -2rem; padding-left: 2rem; padding-right: 2rem; }
.story-thumb { aspect-ratio: 4/3; overflow: hidden; }
.story-thumb img { transition: transform 0.5s; }
.story-item:hover .story-thumb img { transform: scale(1.06); }

.story-meta {
  display: flex; gap: 1.5rem; align-items: center;
  margin-bottom: 0.75rem;
}
.story-tag {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent);
}
.story-date { font-size: 0.75rem; color: var(--stone); }
.story-title {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 300;
  line-height: 1.2; margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.story-item:hover .story-title { color: var(--accent); }
.story-excerpt { font-size: 0.875rem; color: var(--stone); line-height: 1.7; }
.story-read {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--stone); display: flex; align-items: center; gap: 0.5rem;
  justify-self: end; transition: color 0.2s;
}
.story-item:hover .story-read { color: var(--ink); }

/* ─── Map Teaser ─────────────────────────────────────────────── */
.map-teaser {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center;
}
.map-text { padding-right: 2rem; }
.map-text .section-title { margin-bottom: 1rem; border-top: none; padding-top: 0; }
.map-text p { color: var(--stone); line-height: 1.8; margin-bottom: 2rem; font-size: 0.95rem; }
.map-stats {
  display: flex; gap: 2.5rem; margin-bottom: 2.5rem;
}
.stat-num {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 300; line-height: 1;
  color: var(--accent);
}
.stat-label {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--stone); margin-top: 0.25rem;
}
.map-preview {
  aspect-ratio: 4/3; background: var(--dust); overflow: hidden;
  position: relative; cursor: pointer;
}
.map-preview svg { width: 100%; height: 100%; opacity: 0.4; transition: opacity 0.3s; }
.map-preview:hover svg { opacity: 0.6; }
.map-preview-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.75rem;
}
.map-preview-overlay span {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone);
}
.map-pin {
  width: 40px; height: 40px; border: 1px solid var(--stone); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--stone);
  font-size: 1.25rem; transition: all 0.3s;
}
.map-preview:hover .map-pin { border-color: var(--ink); color: var(--ink); transform: scale(1.1); }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--dust);
  padding: 3rem var(--gap);
  display: flex; justify-content: space-between; align-items: center;
  max-width: 100%;
}
.footer-logo {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 300;
}
.footer-logo span { font-style: italic; color: var(--accent); }
.footer-copy { font-size: 0.75rem; color: var(--stone); }

/* ─── Destination Page ───────────────────────────────────────── */
.dest-hero {
  height: 70vh; position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.dest-hero img { position: absolute; inset: 0; }
.dest-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,12,8,0.8) 0%, transparent 60%);
}
.dest-hero-text {
  position: relative; z-index: 1;
  padding: 3rem calc(var(--gap) * 1.5);
  width: 100%;
}
.dest-hero-text .dest-region {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 0.75rem;
}
.dest-hero-text h1 {
  font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 300; color: white; line-height: 1.0;
}

.dest-content { max-width: 800px; margin: 0 auto; padding: 4rem var(--gap); }
.dest-intro {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 300;
  line-height: 1.6; color: var(--ink); margin-bottom: 2.5rem;
}
.dest-body { font-size: 0.95rem; color: var(--stone); line-height: 1.9; }
.dest-body p + p { margin-top: 1.25em; }

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gap) 4rem;
}
.photo-item { aspect-ratio: 3/4; overflow: hidden; cursor: pointer; background: var(--dust); }
.photo-item:nth-child(4n+1) { grid-column: span 2; aspect-ratio: 16/10; }
.photo-item img { transition: transform 0.5s ease; }
.photo-item:hover img { transform: scale(1.04); }

/* ─── Map Page ───────────────────────────────────────────────── */
.map-page-header {
  padding: 8rem var(--gap) 3rem;
  max-width: var(--max); margin: 0 auto;
}
.map-page-header h1 {
  font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1.1; margin-bottom: 1rem;
}
.map-page-header p { color: var(--stone); max-width: 50ch; }
#world-map-container {
  width: 100%; height: 65vh; min-height: 400px;
  background: #e8e4de; position: relative; overflow: hidden;
}
.map-sidebar {
  max-width: var(--max); margin: 0 auto;
  padding: 3rem var(--gap);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem;
}
.map-dest-card {
  padding: 1.25rem; border: 1px solid var(--dust);
  cursor: pointer; transition: all 0.2s;
  display: flex; gap: 1rem; align-items: center;
}
.map-dest-card:hover { border-color: var(--accent); background: var(--white); }
.map-dest-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.map-dest-info .map-dest-region {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone);
}
.map-dest-info .map-dest-name {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 300; margin-top: 0.15rem;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { min-height: 50vw; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .dest-card:nth-child(n) { grid-column: span 1; min-height: 220px; }
  .dest-card:nth-child(1) { grid-column: span 2; }
  .story-item { grid-template-columns: 1fr 2fr; }
  .story-read { display: none; }
  .map-teaser { grid-template-columns: 1fr; }
  .map-text { padding-right: 0; }
  .photo-gallery { grid-template-columns: 1fr 1fr; }
  .photo-item:nth-child(4n+1) { grid-column: span 2; }
  .map-sidebar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card:nth-child(n) { grid-column: span 1; }
  .story-item { grid-template-columns: 1fr; }
  .story-thumb { aspect-ratio: 16/9; }
  .map-sidebar { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-item:nth-child(4n+1) { grid-column: span 1; aspect-ratio: 16/9; }
}
