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

:root {
  --bg:        #0e0e0e;
  --surface:   #161616;
  --border:    #2a2a2a;
  --text:      #e8e6e1;
  --muted:     #888;
  --accent:    #c8a96e;   /* warm gold — sunlight on stone */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'bd-geminis', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; }

/* ── Layout ───────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ── Nav ──────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 2.5rem;
  background: rgba(14,14,14,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
nav .logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul a { color: var(--muted); font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
nav ul a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: radial-gradient(ellipse at 50% 60%, #1a1610 0%, var(--bg) 70%);
}
#hero .tagline {
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
#hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
#hero .bio {
  max-width: 520px; margin: 0 auto 2.5rem;
  color: var(--muted); font-size: 1.05rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 2px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--accent); color: var(--bg); text-decoration: none; }

/* ── Section Headers ──────────────────────────────────────────── */
.section-header {
  text-align: center;
  padding: 5rem 0 3rem;
}
.section-header h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.section-header p { color: var(--muted); max-width: 480px; margin: 0 auto; }

/* ── Trip Grid ────────────────────────────────────────────────── */
#trips { padding-bottom: 5rem; }

.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.trip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}
.trip-card:hover { transform: translateY(-4px); border-color: var(--accent); }

.trip-cover {
  width: 100%; aspect-ratio: 3/2; 
  object-fit: cover;
  display: block; background: #1c1c1c;
}
.trip-cover-placeholder {
  width: 100%; aspect-ratio: 3/2;
  background: linear-gradient(135deg, #1c1c1c, #222);
  display: flex; align-items: center; justify-content: center;
  color: var(--border); font-size: 2rem;
}

.trip-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.trip-meta { font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.trip-title { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 0.75rem; }
.trip-story { color: var(--muted); font-size: 0.95rem; line-height: 1.65; flex: 1; }
.trip-link { display: inline-block; margin-top: 1.25rem; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; }
.trip-link:hover { text-decoration: underline; }

/* ── Gallery Lightbox ─────────────────────────────────────────── */
.gallery-lightbox {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.95);
  animation: fadeIn 0.2s;
}

.gallery-lightbox.open {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.gallery-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.gallery-lightbox .close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--accent);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox .close-btn:hover { color: var(--text); }

.gallery-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── About ────────────────────────────────────────────────────── */
#about {
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-inner img {
  width: 100%; border-radius: 3px;
  filter: grayscale(20%);
}
.about-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.25rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; }

/* ── Footer ───────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 700px) {
  .about-inner { grid-template-columns: 1fr; }
  nav ul { gap: 1.2rem; }
}
