/* TechNova Sky — Modern Theme Overrides & Polish */

/* Focus Ring Accessibility */
*:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Ambient Glows & Accents */
.glow-spot-cyan {
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.25);
}

.glow-spot-lime {
  box-shadow: 0 0 40px rgba(163, 230, 53, 0.25);
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Keep the interface calm and still. */
*, *::before, *::after { animation: none !important; }

/* Mobile navigation polish */
@media (max-width: 992px) {
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
  }
  .menu-toggle:hover,
  .menu-toggle[aria-expanded="true"] {
    background: rgba(56,189,248,.12);
    border-color: var(--accent-cyan);
    color: var(--accent-lime);
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 100% 0 auto;
    z-index: 30;
    max-height: calc(100vh - 116px);
    overflow-y: auto;
    padding: 10px 20px 18px;
    gap: 4px;
    background: rgba(14,23,42,.98);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 18px 34px rgba(0,0,0,.28);
  }
  .mobile-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 10px;
    border: 0;
    border-radius: 8px;
    color: var(--text-main);
    transition: background .2s ease, color .2s ease, transform .2s ease;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: rgba(56,189,248,.1);
    color: var(--accent-cyan);
    transform: translateX(3px);
  }
}

@media (max-width: 640px) {
  .header-actions { margin-left: auto; }
  .search-toggle { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .search-label, .search-badge { display: none; }
}

/* Contact form */
.contact-form {
  width: min(100%, 680px);
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  display: block;
  padding: 13px 14px;
  color: var(--text-main);
  background: rgba(255,255,255,.055);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  outline: 0;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent-cyan); background: rgba(56,189,248,.07); box-shadow: 0 0 0 3px rgba(56,189,248,.1); }
.contact-form .btn-primary { width: fit-content; box-shadow: none; }
.contact-form .btn-primary:hover { box-shadow: none; }
.about-profile{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:center;padding:24px;border:1px solid var(--line,#dce5e8);border-radius:18px;background:linear-gradient(135deg,rgba(30,211,196,.08),rgba(255,255,255,.7));margin:0 0 32px}.about-avatar{width:78px;height:78px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,var(--navy,#102236),var(--teal,#20c9b5));color:#fff;font:700 25px 'Space Grotesk',sans-serif}.about-eyebrow{margin:0 0 8px;color:var(--blue,#245cff);font-weight:700}.about-meta{margin:12px 0 0;color:#637183;font-size:14px}.about-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0 30px}.about-columns>div{padding:18px;border:1px solid var(--line,#dce5e8);border-radius:14px;background:#fff}.about-columns h3{margin:0 0 7px;font-size:17px}.about-columns p{margin:0;color:#637183;line-height:1.65}.about-list{display:grid;gap:14px;padding:0;list-style:none}.about-list li{display:grid;gap:4px;padding:16px 18px;border-left:3px solid var(--teal,#20c9b5);background:#f4f8f8;border-radius:0 12px 12px 0}.about-list span{color:#637183}.about-quote{padding:20px 24px;border-left:4px solid var(--blue,#245cff);background:#eef4ff;color:#18365a;font-style:italic;font-size:18px}@media(max-width:700px){.about-profile{grid-template-columns:1fr}.about-columns{grid-template-columns:1fr}.about-avatar{width:64px;height:64px}}
.about-avatar{background-image:linear-gradient(180deg,rgba(7,19,33,.06),rgba(7,19,33,.18)),url('/images/portfolio/profile.webp');background-size:cover;background-position:center top;font-size:0}
.footer-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.footer-social a{display:inline-flex!important;padding:7px 10px;border:1px solid var(--line,#dce5e8);border-radius:999px;background:#fff;color:var(--ink,#0d1b2b);font-size:12px;font-weight:700;transition:transform .2s,border-color .2s,color .2s}.footer-social a:hover{transform:translateY(-2px);border-color:var(--blue,#245cff);color:var(--blue,#245cff)}
