/* ============================================================
   GLS Tech — Gaming PC Repairs Page Styles
   ============================================================ */

:root {
  --accent-purple: #9b59b6;
  --bg-dark: #ffffff;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

body {
  display: flex;
  flex-direction: column;
}

/* ── HERO ── */
.gaming-hero {
  margin-top: 70px;
  background: #ffffff;
  padding: 80px 30px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gaming-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
}
.gaming-hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.gaming-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: 2px;
  text-shadow: none;
}
.gaming-hero h1 span { color: var(--primary-color); }
.gaming-hero p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}
.badge {
  background: rgba(0,0,0,0.05);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: none;
}
.badge.red { border-color: var(--primary-color); color: var(--primary-color); background: rgba(231,76,60,0.1); }
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: var(--font-secondary);
}
.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(231,76,60,0.4); }
.btn-outline { background: transparent; color: var(--text-dark); border: 2px solid var(--text-dark); margin-left: 12px; }
.btn-outline:hover { background: var(--text-dark); color: white; transform: translateY(-2px); }

/* ── SECTIONS ── */
section { padding: 70px 30px; }
section h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 12px auto 40px;
  border-radius: 2px;
}
.section-intro {
  text-align: center;
  max-width: 650px;
  margin: -28px auto 40px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; flex: 1; }
.service-card-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 9px 20px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  transition: background 0.3s ease;
  align-self: flex-start;
}
.service-card-btn:hover { background: var(--primary-dark); }
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover { border-color: var(--primary-color); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.service-card h3 {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* ── DARK SECTION ── */
.dark-section {
  background: #ffffff;
  color: var(--text-dark);
}
.dark-section h2 { color: var(--text-dark); }
.dark-section .section-intro { color: var(--text-gray); }

/* ── SYMPTOMS ── */
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.symptom-item {
  background: rgba(0,0,0,0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.symptom-item span:first-child { font-size: 1.3rem; flex-shrink: 0; }

/* ── PROCESS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  counter-reset: step;
}
.process-step {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.step-number {
  width: 52px;
  height: 52px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.process-step p { font-size: 0.9rem; color: var(--text-gray); line-height: 1.6; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 2px solid var(--border-light); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; transition: border-color var(--transition-normal); }
.faq-item.open { border-color: var(--primary-color); }
.faq-question { width: 100%; background: white; border: none; padding: 20px 24px; text-align: left; font-size: 1rem; font-weight: 600; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-secondary); transition: background var(--transition-normal); }
.faq-question:hover { background: #fafafa; }
.faq-icon { font-size: 1.4rem; color: var(--primary-color); transition: transform var(--transition-normal); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 24px; color: var(--text-gray); line-height: 1.8; font-size: 1rem; }
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 20px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--primary-color);
  padding: 60px 30px;
  text-align: center;
}
.cta-banner h2 { color: white; font-family: var(--font-primary); margin-bottom: 0; }
.cta-banner h2::after { background: rgba(255,255,255,0.4); }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 30px; }
.cta-banner .btn-outline { border-color: white; color: white; }
.cta-banner .btn-outline:hover { background: white; color: var(--primary-color); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border-light);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  color: var(--text-gray);
  background: var(--bg-light);
}

/* ── RESPONSIVE ── */
@media(max-width: 768px) {
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .gaming-hero { padding: 60px 20px 50px; }
  section { padding: 50px 20px; }
}
