/* === BODZA CMS – TechStyle v2 (Green–Blue–Black) === */

:root {
  --bg: #05090f;
  --card: #0b1220;
  --elev: #111a2e;
  --text: #e6edf6;
  --muted: #8fa1c2;
  --brand: #00d084; /* Zöld */
  --brand-2: #00a8ff; /* Kék */
  --accent: #00ffc6;
  --line: rgba(255,255,255,0.08);
  --ring: rgba(0,200,255,0.4);
  --shadow: 0 8px 24px rgba(0,0,0,0.3);
}

:root.light {
  --bg: #f4f7fa;
  --card: #ffffff;
  --elev: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #00b76b;
  --brand-2: #0092ff;
  --accent: #00ffd0;
  --line: #d7e0ea;
  --ring: rgba(0,200,255,0.25);
  --shadow: 0 10px 30px rgba(2,12,27,0.08);
}

* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  background-image:
    radial-gradient(80rem 50rem at 10% -10%, rgba(0,200,255,0.08), transparent),
    radial-gradient(60rem 40rem at 90% 0%, rgba(0,255,150,0.06), transparent),
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
}

a {
  color: var(--brand-2);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover {
  color: var(--accent);
}

/* ==== HEADER ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(10,15,25,0.7);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.brand__logo {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,200,255,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.brand__logo:hover {
  transform: rotate(10deg) scale(1.05);
  box-shadow: 0 0 25px rgba(0,255,200,0.6);
}

/* ==== NAVIGATION ==== */
.nav__toggle, .theme__toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  margin-left: 10px;
  box-shadow: var(--shadow);
  transition: background 0.3s ease, color 0.3s ease;
}
.nav__toggle:hover, .theme__toggle:hover {
  background: var(--brand-2);
  color: #fff;
}

.nav__list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
}
.nav__link:hover {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 0 12px rgba(0,255,180,0.4);
}

/* ==== MAIN + CARDS ==== */
.main {
  padding: 40px 0;
}
.card {
  background: linear-gradient(180deg, var(--card), var(--elev));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 8px 26px rgba(0,255,180,0.25);
}
.tile, .dashboard-card {
  background: linear-gradient(160deg, var(--card), var(--elev));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover, .dashboard-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,255,200,0.25);
}

/* ==== BUTTONS ==== */
button, .btn, a.button {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,255,200,0.25);
  text-decoration: none;
  display: inline-block;
  transition: box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}
button:hover, .btn:hover, a.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 8px 28px rgba(0,255,200,0.35);
}

/* ==== FOOTER ==== */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.site-footer a {
  color: var(--brand);
}
.site-footer a:hover {
  color: var(--brand-2);
}

/* ==== MOBILE ==== */
@media (max-width: 900px) {
  .nav__list {
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 10px;
    background: var(--card);
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .nav__list.open {
    display: flex;
  }
  .nav__link {
    padding: 12px;
    border-radius: 10px;
  }
}