/* Copyright 2024-2026 Jakub Kopřiva <khubick@protonmail.com> */
/* Licensed under the Apache License, Version 2.0 */
/* khubick.cz — site-specific overrides (reset + base in _shared/) */

/* === THEME OVERRIDE — dark cyberpunk, no CSS variables === */
body {
  font-family: system-ui, sans-serif;
  background: #020608;
  color: #f1f5f9;
}

/* === CONTAINER OVERRIDE — khubick uses 1100px === */
.container { max-width: 1100px; padding: 0 1.5rem; }

/* === PARTICLE CANVAS === */
#pc {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Vše nad canvas */
header, nav, main, section, footer, .page, .container, .hero-wrap,
form, input, textarea, button, label, a {
  position: relative;
  z-index: 1;
}

/* === NAVBAR === */
.navbar {
  background: rgba(4, 8, 14, 0.95);
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(80, 20, 20, 0.4);
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.nav-brand {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: #ffffff; }
.nav-erp { color: #ef4444 !important; font-weight: 500; }

/* === HERO === */
.hero-wrap {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #ef4444;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 3px 14px;
  border-radius: 20px;
  display: inline-block;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero h1 span { color: #ef4444; }

.hero p {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 400px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  background: #b91c1c;
  color: #fff;
  padding: 0.6rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  background: #991b1b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.btn:active { transform: translateY(0) scale(0.97); box-shadow: none; }

/* === SECTIONS === */
.page { padding: 2rem 0; }
.page h1 { font-size: 1.5rem; font-weight: 500; margin-bottom: 1.25rem; color: #ffffff; }

/* === SERVICE CARDS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 1rem;
}

.service-card {
  background: #0a0404;
  border: 1px solid rgba(80, 20, 20, 0.5);
  border-radius: 10px;
  padding: 1.1rem;
  transition: border-color 0.2s, transform 0.18s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(139, 0, 0, 0.2);
}

.service-card h2 { font-size: 0.88rem; font-weight: 500; color: #ffffff; margin-bottom: 6px; }
.service-card p { font-size: 0.8rem; color: #94a3b8; line-height: 1.5; }

/* === ABOUT === */
.about-text { color: #e2e8f0; font-size: 0.95rem; line-height: 1.8; }

/* === FOOTER === */
footer {
  background: #010406;
  border-top: 1px solid rgba(80, 20, 20, 0.3);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.75rem;
}

footer a { color: #64748b; text-decoration: none; }

/* === STATUS DOT === */
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* === RESPONSIVE === */
@media (max-width: 520px) {
  .navbar { flex-direction: column; align-items: flex-start; }
  .nav-links { width: 100%; padding-top: 0.5rem; border-top: 1px solid rgba(80, 20, 20, 0.3); }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 0.88rem; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (min-width: 521px) and (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
}
