/* ── ELBRU-P.A. Base Styles ── */

:root {
  --blue: #2900CE;
  --blue-bright: #6b93ff;
  --blue-glow: rgba(41,0,206,0.4);
  --dark: #080c14;
  --dark2: #0e1520;
  --dark3: #131c2e;
  --text: #f0f4ff;
  --muted: #c8d4f0;
  --white: #ffffff;
  --focus: #ffcc00;
  --error: #ff5566;
  --success: #44cc88;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(8,12,20,0.97) 0%, rgba(8,12,20,0.9) 100%);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

nav img { height: 52px; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,12,20,0.98);
  z-index: 500;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--white); }

/* ── FOOTER ── */
footer {
  padding: 2rem 3rem;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(192,204,235,0.4);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.08em;
}
footer img { height: 36px; opacity: 0.7; }
footer a { color: var(--muted); text-underline-offset: 3px; }
footer a:hover { color: var(--white); }

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -40px; left: 1rem;
  background: var(--focus);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-family: 'Barlow Condensed', sans-serif;
  text-decoration: none;
}
.skip-link:focus { top: 0.5rem; }

/* ── FOCUS ── */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ── MOBILE ── */
@media (max-width: 700px) {
  nav { padding: 1rem 1.5rem; }
  nav img { height: 36px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}
