/* Superhero PC Repair - Legacy Site */
/* Dark theme with electric blue accents */

:root {
  --bg-primary: #0d0d0d;
  --bg-secondary: #1a1a1a;
  --bg-card: #141414;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;
  --accent: #0066ff;
  --accent-hover: #0052cc;
  --accent-glow: rgba(0, 102, 255, 0.3);
  --border: #2a2a2a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Navigation */
header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.logo img {
  height: 48px;
  width: auto;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%);
  padding: 4px;
}

/* Searchlight sweep animation */
.logo::after {
  content: "";
  position: absolute;
  top: -35%;
  left: -60%;
  width: 40%;
  height: 170%;
  transform: skewX(-20deg);
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
  animation: spcr_sweep_auto 9s ease-in-out 2s infinite;
}

/* Sweep takes ~13% of 9s cycle, then pauses */
@keyframes spcr_sweep_auto {
  0%   { left: -60%; opacity: 0; }
  2%   { opacity: 1; }
  13%  { left: 130%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .logo::after {
    animation: none;
  }
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* Hero Section */
.hero {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-logo {
  width: 150px;
  height: 150px;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}

.hero-banner-wrap {
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  border-radius: 8px;
  animation: glow-pulse 4s ease-in-out infinite;
}

.hero-banner {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4), 0 0 40px rgba(0, 102, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.8), 0 0 60px rgba(0, 102, 255, 0.5), 0 0 90px rgba(0, 102, 255, 0.3);
  }
}

/* Hero banner searchlight sweep */
.hero-banner-wrap::after {
  content: "";
  position: absolute;
  top: -35%;
  left: -60%;
  width: 40%;
  height: 170%;
  transform: skewX(-20deg);
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
  animation: spcr_sweep_auto 9s ease-in-out 2s infinite;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero .highlight {
  color: var(--accent);
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero .legacy-badge {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero .legacy-badge strong {
  color: var(--accent);
}

/* Sections */
section {
  padding: 80px 24px;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

section .section-intro {
  text-align: center;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 48px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card .icon {
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.testimonial .stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.testimonial blockquote {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.testimonial .author {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial .date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Story / About Page */
.story-section {
  max-width: 800px;
  margin: 0 auto;
}

.story-section h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.story-section .lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.story-content {
  color: var(--text-secondary);
  line-height: 1.8;
}

.story-content p {
  margin-bottom: 24px;
}

.story-content h2 {
  text-align: left;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 48px 0 16px;
}

.credentials {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin: 40px 0;
}

.credentials h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.credentials ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.credentials li {
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
}

.credentials li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Timeline */
.timeline {
  margin: 48px 0;
  border-left: 2px solid var(--border);
  padding-left: 32px;
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-item .year {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Contact Page */
.contact-section {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-section h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-section .lead {
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  margin-bottom: 32px;
}

.contact-card .email-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  padding: 16px 32px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid var(--accent);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.contact-card .email-link:hover {
  background: rgba(0, 102, 255, 0.2);
}

.contact-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.service-area {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.service-area h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-list span {
  background: var(--bg-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer .footer-links {
  margin-top: 16px;
}

footer .footer-links a {
  color: var(--text-secondary);
  margin: 0 12px;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }

  section {
    padding: 60px 20px;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  nav {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .credentials ul {
    grid-template-columns: 1fr;
  }
}
