/* ── Custom Fonts ── */
/* Place the Cloudsky Italic font file at: website/assets/fonts/CloudskyItalic.ttf
   (rename the file to match exactly, or update the src path below) */
@font-face {
  font-family: 'Cloudsky';
  src: url('Cloudsky.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* ── Variables ── */
:root {
  --generic_background: #0c0f18;
  --ink: #cdd2e0;
  --ink-soft: #6b7491;
  --accent: #3d8fa6;
  --accent-light: #1b3d4f;
  --card-bg: rgba(14, 18, 30, 0.88);
  --card-border: rgba(61, 143, 166, 0.14);
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  --radius: 20px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }

/* ── Base ── */
body {
  background-color: var(--generic_background);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow: hidden;
}

/* ── Banner ── */
.banner {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  display: block;
  opacity: 0;
}

.banner-img.loaded {
  opacity: 1;
}

/* ── Cloud Name ── */
.cloud-name {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 5;
  font-family: 'Cloudsky', cursive;
  font-size: clamp(64px, 10vw, 128px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  color: rgba(255, 255, 255, 0.78);
  mix-blend-mode: screen;
  filter: blur(0.6px);
  text-shadow:
    0 0 8px  rgba(255, 255, 255, 1.00),
    0 0 20px rgba(255, 255, 255, 0.90),
    0 0 45px rgba(255, 255, 255, 0.65),
    0 0 90px rgba(255, 255, 255, 0.40),
    0 0 160px rgba(255, 255, 255, 0.18);
}

/* ── Travels Nav ── */
.travels-nav {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

/* The clickable vertical tab handle */
.travels-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-right: none;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: background 0.2s ease;
  color: var(--ink-soft);
}

.travels-tab:hover {
  background: rgba(61, 143, 166, 0.15);
  color: var(--ink);
}

.travels-tab-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  user-select: none;
}

.travels-tab-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.3s ease;
  user-select: none;
}

/* The expandable panel */
.travels-panel {
  width: 0;
  overflow: hidden;
  transition: width 0.3s ease;
  background: var(--card-bg);
  border: none;
  border-radius: 12px 0 0 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.travels-nav.open .travels-panel {
  width: 220px;
  padding: 12px 0;
  border: 1px solid var(--card-border);
  border-right: none;
}

.travels-link {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
  overflow: hidden;
}

.travels-link:hover {
  color: var(--ink);
  background: rgba(61, 143, 166, 0.1);
  padding-left: 26px;
}

/* ── Animation (also used by map.css) ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
