/* =========================================
   ROOT VARIABLES — CINEMATIC PALETTE
========================================= */
:root {
  --silver: #e5e5e5;
  --silver-soft: #c7c7c7;
  --green-main: #1f6b3a;
  --green-glow: #2fa85a;
  --accent-red: #b7332e;
  --dark: #050607;
  --panel: rgba(255,255,255,0.06);
  --panel-border: rgba(255,255,255,0.18);
}

/* =========================================
   GLOBAL RESET
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: var(--dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--silver);
  overflow-x: hidden;
  position: relative;
}

/* =========================================
   BACKGROUND LOGO
========================================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../public/img/kev-log.png") center/contain no-repeat;
  opacity: 0.12;
  filter: blur(18px);
  transform: scale(1.25);
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,0.55), rgba(0,0,0,0.95));
  z-index: -2;
}

/* =========================================
   SPARK PARTICLES
========================================= */
@keyframes sparks {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(120vh) translateX(40px) rotate(360deg); opacity: 0; }
}

.spark {
  position: fixed;
  top: -20px;
  width: 6px;
  height: 6px;
  background: linear-gradient(45deg, #ffcc66, #ff3300);
  border-radius: 50%;
  filter: blur(1px);
  animation: sparks linear infinite;
  z-index: -1;
}

/* =========================================
   SILVER TEXT
========================================= */
.silver-text {
  color: var(--silver);
  text-shadow: 0 0 6px rgba(255,255,255,0.25);
  font-weight: 600;
}

.silver-soft {
  color: var(--silver-soft);
  text-shadow: 0 0 4px rgba(255,255,255,0.15);
}

/* =========================================
   NAVIGATION
========================================= */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 10;
}

.nav-logo {
  width: 42px;
  height: 42px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s;
}

.nav-links a:hover {
  color: var(--green-glow);
}

.nav-links a.active {
  border-bottom: 2px solid var(--green-glow);
}

/* BURGER MENU */
.burger {
  width: 28px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  height: 3px;
  width: 100%;
  background: var(--silver);
  border-radius: 4px;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70vw;
  height: 100vh;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: 0.3s ease;
  z-index: 9999;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  color: var(--silver);
  text-decoration: none;
  font-size: 1.2rem;
}

.mobile-back {
  margin-bottom: 20px;
}

/* SHOW BURGER ON MOBILE */
@media (max-width: 900px) {
  .burger { display: flex; }
  .nav-links { display: none; }
}

/* =========================================
   HERO
========================================= */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 6vw;
  text-align: center;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* =========================================
   BUTTONS
========================================= */
.bubble-btn {
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.bubble-btn.primary {
  background: var(--green-main);
  color: #fff;
  box-shadow: 0 0 12px rgba(0,255,0,0.25);
}

.bubble-btn.secondary {
  background: rgba(255,255,255,0.1);
  color: var(--silver);
  border: 1px solid rgba(255,255,255,0.3);
}

.bubble-btn:hover {
  transform: translateY(-2px);
}

/* =========================================
   SECTIONS
========================================= */
.section {
  padding: 50px 6vw;
  margin: 20px 0;
}

.section.light {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  backdrop-filter: blur(6px);
}

.section.dark {
  background: rgba(0,0,0,0.7);
  border-radius: 16px;
}

/* =========================================
   CARDS
========================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--panel-border);
  padding: 20px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

/* =========================================
   FOOTER
========================================= */
.footer {
  padding: 20px;
  text-align: center;
  color: var(--silver-soft);
}
.nav-logo {
  height: 140px;      /* Bigger logo */
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

/* Keep brand aligned with bigger logo */
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Ensure navbar stays clean with larger logo */
.navbar {
  position: relative;
  z-index: 10;
  padding: 12px 4vw;
}
