/* baionic.net — custom dark theme on top of Bootstrap 5.3 */

:root {
  --bg-base: #0a0d12;
  --bg-elevated: #11151c;
  --bg-alt: #0d1117;
  --border-subtle: #1f2530;
  --text-primary: #f0f1f3;
  --text-muted: #9aa0a8;
  --accent: #6ea8fe;
  --accent-strong: #87b8ff;
  --accent-soft: rgba(110, 168, 254, 0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(circle at 15% -10%, rgba(110, 168, 254, 0.10), transparent 50%),
    radial-gradient(circle at 85% 0%, rgba(110, 168, 254, 0.05), transparent 45%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}

.text-accent { color: var(--accent) !important; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }

/* Navbar */
.site-navbar {
  background: rgba(10, 13, 18, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-navbar .nav-link {
  color: var(--text-muted);
  font-weight: 500;
  padding-inline: 0.85rem;
  transition: color 0.15s ease;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus { color: var(--text-primary); }
.navbar-logo { display: block; }

/* Buttons */
.btn-accent {
  background: var(--accent);
  color: #0a0d12;
  border: 1px solid var(--accent);
  font-weight: 600;
}
.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #0a0d12;
}
.btn-outline-light {
  border-color: rgba(240, 241, 243, 0.25);
  color: var(--text-primary);
}
.btn-outline-light:hover { background: rgba(240, 241, 243, 0.06); }

/* Hero */
.hero-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  color: var(--accent);
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  background: var(--accent-soft);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 168, 254, 0.2);
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hero-title {
  background: linear-gradient(180deg, #ffffff 0%, #c4c8cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-mark img {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(110, 168, 254, 0.15));
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Section structure */
.section-alt { background: var(--bg-alt); }
.section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 1.4rem;
  background: var(--accent);
  border-radius: 2px;
}

/* Cards */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: rgba(110, 168, 254, 0.35);
}

/* Timeline */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  opacity: 0.4;
}
.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline-card { color: var(--text-primary); }
.timeline-card ul { color: var(--text-muted); }
.timeline-card ul li { margin-bottom: 0.25rem; }

/* Projects */
.project-card { color: var(--text-primary); }
.project-card:hover { transform: translateY(-3px); }
.project-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid rgba(110, 168, 254, 0.2);
}

/* Tech chips / badges */
.tech-chip {
  background: rgba(240, 241, 243, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-weight: 500;
  font-size: 0.78rem;
  padding: 0.4em 0.7em;
  border-radius: 6px;
}

/* Skill groups */
.skill-group {
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  height: 100%;
}

/* Languages */
.lang-pill {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Contact form */
.contact-form .form-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-form .form-control {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form .form-control:focus {
  background: var(--bg-elevated);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  color: var(--text-primary);
}
.contact-form .form-control::placeholder { color: #5a6068; }

#contact-status .alert {
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}
#contact-status .alert-success {
  border-color: rgba(74, 222, 128, 0.4);
  color: #a7f3d0;
}
#contact-status .alert-danger {
  border-color: rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-alt);
}
.footer-social {
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: color 0.15s ease;
}
.footer-social:hover { color: var(--accent); }

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-section { min-height: auto; padding-top: 3rem; padding-bottom: 3rem; }
  .hero-title { font-size: 2.5rem; }
}
