/* ===== HUB LANDING — vlakuba.com ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080808;
  --surface: #111;
  --border: rgba(255,255,255,0.07);
  --text: #ffffff;
  --muted: #8a8580;
  --accent: #d4c5a9;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  cursor: crosshair;
  height: 100%;
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.hub-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
}
.nav-logo-img { display: flex; align-items: center; }
.nav-logo-img img { height: 32px; width: auto; display: block; }

.lang-li { display: flex; align-items: center; gap: 0.4rem; }
.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  padding: 2px;
  transition: color 0.3s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.lang-sep { color: var(--muted); opacity: 0.4; font-size: 10px; }

/* ===== ROLLING ROAD (slow drift) ===== */
.hub-road {
  position: fixed;
  top: 0; left: 0;
  width: 400vw;
  height: 100vh;
  height: 100svh;
  display: flex;
  z-index: 0;
  pointer-events: none;
  animation: roadDrift 90s linear infinite;
  will-change: transform;
}
.road-tile {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  background: url('/public/hero.jpg') center/cover no-repeat;
}
.road-tile.mirrored { transform: scaleX(-1); }
.hub-road::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.72);
  pointer-events: none;
}
@keyframes roadDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(-200vw); }
}
@media (prefers-reduced-motion: reduce) {
  .hub-road { animation: none; }
}

/* ===== HUB LAYOUT ===== */
.hub {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100svh;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 1.8rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}

.hub-head { margin-bottom: 2.2rem; }
.hub-eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.hub-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.9), 0 0 80px rgba(0,0,0,0.5);
}
.hub-title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.18);
}
.hub-sub {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  max-width: 380px;
}

/* ===== TILES ===== */
.hub-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}
.hub-tile {
  position: relative;
  isolation: isolate;
  height: 36vh;
  min-height: 240px;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.8rem;
  transition: border-color 0.35s;
}
.hub-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.tile-photo::before {
  background: url('/public/SnowFlake%20-%20Kitztsteinhorn-1.jpg') center/cover no-repeat;
  filter: brightness(0.5) saturate(0.9);
}
.tile-print::before {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, #16130f, #0b0b0c 65%);
}
.tile-print::after {
  content: '3D';
  position: absolute;
  right: 0.5rem;
  bottom: -2.2rem;
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 14vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  pointer-events: none;
}
.hub-tile:hover { border-color: var(--accent); }
.hub-tile:hover::before { transform: scale(1.045); }

.tile-num {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.tile-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.tile-info p {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.6rem;
}
.tile-enter {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.hub-tile:hover .tile-enter { color: var(--text); }
.tile-arrow { font-size: 15px; transition: transform 0.3s; }
.hub-tile:hover .tile-arrow { transform: translateX(6px); }

/* ===== FOOTER ===== */
.hub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hub-links { display: flex; gap: 1.5rem; }
.hub-links a {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.3s;
}
.hub-links a:hover { color: var(--text); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  body { overflow-y: auto; }
  .hub-nav { padding: 1rem 1.5rem; }
  .hub {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    justify-content: flex-end;
    padding: 6rem 1.5rem 1.5rem;
  }
  .hub-tiles { grid-template-columns: 1fr; gap: 1rem; }
  .hub-tile { height: auto; min-height: 200px; padding: 1.4rem; }
  .hub-footer { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 2px; }
