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

:root {
  --c-bg: #1a2744;
  --c-surface: #1f2f54;
  --c-text: #ffffff;
  --c-muted: rgba(255,255,255,0.6);
  --c-border: rgba(255,255,255,0.12);
  --c-accent: #ffffff;
  --c-accent-light: rgba(255,255,255,0.08);
  --c-highlight: #ffffff;
  --font-body: "Inter", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --max-w: 1200px;
  --radius: 4px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--c-bg); color: var(--c-text); font-family: var(--font-body); line-height: 1.7; }

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ── Header ── */
.site-header { background: var(--c-bg); color: #fff; padding: 1.1rem 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--c-border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-logo { display: flex; align-items: center; gap: 0.5rem; color: #fff; font-family: var(--font-ui); font-weight: 700; font-size: 1rem; text-decoration: none; letter-spacing: 0.01em; }
.logo-mark { height: 2rem; width: auto; display: block; }
.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a { color: rgba(255,255,255,.75); font-family: var(--font-ui); font-size: 0.88rem; font-weight: 500; text-decoration: none; letter-spacing: 0.02em; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.site-nav .nav-submit { border: 1px solid rgba(255,255,255,.45); color: #fff; padding: 0.4rem 1rem; border-radius: 2px; font-weight: 600; }
.site-nav .nav-submit:hover { background: rgba(255,255,255,.1); }

/* ── Hero ── */
.hero { background: var(--c-bg); color: #fff; padding: 5rem 0 4rem; }
.hero h1 { font-family: var(--font-body); font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.15; margin-bottom: 1rem; font-weight: 700; }
.hero-sub { font-size: 1.05rem; color: var(--c-muted); max-width: 560px; }

/* ── Trip grid ── */
.recent-trips { padding: 3rem 0 5rem; }
.recent-trips h2 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 2.5rem; }

.trip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 3.5rem 2.5rem; }

.trip-card { display: flex; flex-direction: column; }
.trip-card:hover .card-image img { transform: scale(1.03); }

.card-image { display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--c-surface); margin-bottom: 1rem; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-image--placeholder { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.15); font-size: 3rem; }

.card-body { flex: 1; display: flex; flex-direction: column; }
.card-meta { margin-bottom: 0.4rem; }
.card-meta time { font-size: 0.8rem; color: var(--c-muted); letter-spacing: 0.02em; }
.region { display: none; }
.card-body h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 0.5rem; font-weight: 700; }
.card-body h3 a { color: var(--c-text); }
.card-body h3 a:hover { text-decoration: underline; }
.card-author { font-size: 0.85rem; color: var(--c-muted); margin-bottom: 0.45rem; }
.card-excerpt { font-size: 0.9rem; color: var(--c-muted); line-height: 1.6; flex: 1; margin-bottom: 0.75rem; }

.view-all { text-align: center; margin-top: 3rem; }

/* ── Buttons ── */
.btn { display: inline-block; border: 1px solid rgba(255,255,255,.45); color: #fff; font-family: var(--font-ui); font-weight: 600; font-size: 0.88rem; padding: 0.6rem 1.4rem; border-radius: 2px; text-decoration: none; transition: background .2s; letter-spacing: 0.03em; }
.btn:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.btn--outline { background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,.1); }

/* ── Page header ── */
.page-header { padding: 3.5rem 0 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--c-border); }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
.page-desc { color: var(--c-muted); margin-top: 0.5rem; }

/* ── Filter bar ── */
.filter-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; font-size: 0.88rem; }
.filter-label { color: var(--c-muted); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.filter-bar a { color: var(--c-muted); border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 2px; }
.filter-bar a:hover { color: var(--c-text); border-color: rgba(255,255,255,.6); text-decoration: none; }

/* ── Trip report single — hero ── */
.report-hero { background: var(--c-bg); padding: 4rem 0 3rem; }
.report-hero-meta { font-size: 0.8rem; color: var(--c-muted); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.2rem; }
.report-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.12; margin-bottom: 1.25rem; max-width: 860px; }
.report-hero-byline { font-size: 0.95rem; color: var(--c-muted); }
.report-hero-byline a { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; }

.report-cover-full { margin-bottom: 0; overflow: hidden; max-height: 580px; }
.report-cover-full img { width: 100%; object-fit: cover; display: block; max-height: 580px; }

/* ── Trip report single — body ── */
.trip-report { padding: 3rem 0 5rem; max-width: 820px; }

.report-meta { display: none; }
.report-header h1 { display: none; }
.report-author { display: none; }
.report-cover { display: none; }

.participants { font-size: 0.88rem; color: var(--c-muted); background: rgba(255,255,255,.05); padding: 0.7rem 1rem; border-radius: var(--radius); margin-bottom: 2rem; border-left: 2px solid rgba(255,255,255,.2); }

.report-body { font-size: 1.05rem; line-height: 1.85; }
.report-body p { margin-bottom: 1.3em; }
.report-body h2 { margin: 2em 0 0.6em; font-weight: 700; font-size: 1.25rem; }
.report-body h3 { margin: 1.8em 0 0.5em; font-weight: 600; font-size: 1.1rem; }
.report-body img { max-width: 100%; height: auto; border-radius: 2px; margin: 1.5rem 0; display: block; }
.report-body blockquote { border-left: 2px solid rgba(255,255,255,.25); padding-left: 1.2rem; color: var(--c-muted); margin: 1.5rem 0; font-style: italic; }

.report-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--c-border); display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { color: var(--c-muted); font-size: 0.8rem; border: 1px solid var(--c-border); padding: 0.2rem 0.6rem; border-radius: 2px; }
.tag:hover { color: var(--c-text); border-color: rgba(255,255,255,.4); text-decoration: none; }
.source-note { font-size: 0.8rem; color: var(--c-muted); font-style: italic; }

/* ── Taxonomy ── */
.term-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; }
.term-item { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--c-border); padding: 0.8rem 1rem; border-radius: var(--radius); color: var(--c-text); }
.term-item:hover { border-color: rgba(255,255,255,.4); text-decoration: none; background: var(--c-accent-light); }
.term-name { font-weight: 500; }
.term-count { font-size: 0.8rem; color: var(--c-muted); }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 0.85rem; color: var(--c-muted); margin-bottom: 0.25rem; }

/* ── Footer ── */
.site-footer { background: rgba(0,0,0,.25); color: var(--c-muted); text-align: center; padding: 2.5rem 0; margin-top: 5rem; font-size: 0.85rem; border-top: 1px solid var(--c-border); }
.site-footer p + p { margin-top: 0.3rem; }
.footer-note { font-size: 0.78rem; opacity: 0.6; }

/* ── Video embed ── */
.video-embed { margin: 1.5rem 0; }

/* ── Submit form ── */
.submit-page { max-width: 720px; padding: 2.5rem 0 5rem; }
.submit-header { margin-bottom: 2.5rem; }
.submit-header h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 0.5rem; }
.submit-header p { color: var(--c-muted); }

.submit-form { display: flex; flex-direction: column; gap: 2rem; }
.form-section { background: rgba(255,255,255,.04); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.5rem; }
.form-section h2 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 1.2rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--c-border); }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,.8); }
.required { color: rgba(255,120,120,.9); }
.optional { font-weight: 400; color: var(--c-muted); }
input[type="text"], input[type="email"], input[type="date"], textarea {
  font-family: var(--font-ui); font-size: 0.95rem; color: var(--c-text);
  background: rgba(255,255,255,.06); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 0.6rem 0.85rem; width: 100%; transition: border-color .15s, box-shadow .15s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="date"]:focus, textarea:focus {
  outline: none; border-color: rgba(255,255,255,.5); box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}
input[type="text"]::placeholder, input[type="email"]::placeholder, textarea::placeholder { color: rgba(255,255,255,.3); }
textarea { resize: vertical; min-height: 220px; line-height: 1.6; }
input[type="file"] { font-size: 0.88rem; color: var(--c-muted); }
.field-hint { font-size: 0.8rem; color: var(--c-muted); margin-top: 0.25rem; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 0.25rem; }
.checkbox-label { font-size: 0.88rem; font-weight: 400; display: flex; align-items: center; gap: 0.4rem; cursor: pointer; color: rgba(255,255,255,.8); }
.hidden { display: none; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.photo-previews img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--c-border); }
.form-error { background: rgba(180,40,40,.2); border: 1px solid rgba(255,100,100,.3); color: rgba(255,180,180,1); font-size: 0.9rem; padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.form-actions { display: flex; justify-content: flex-end; }
.btn--submit { border: none; cursor: pointer; font-size: 1rem; padding: 0.8rem 2rem; background: rgba(255,255,255,.15); }
.btn--submit:hover { background: rgba(255,255,255,.25); }

.submit-success { text-align: center; padding: 4rem 2rem; background: rgba(255,255,255,.04); border: 1px solid var(--c-border); border-radius: var(--radius); }
.success-icon { font-size: 3rem; color: #fff; margin-bottom: 1rem; }
.submit-success h2 { margin-bottom: 0.75rem; }
.submit-success p { color: var(--c-muted); margin-bottom: 1.5rem; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .site-nav a:not(.nav-submit) { display: none; }
  .trip-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
}
