/* SpeedyTech Computer Repair - Style Sheet */
/* Dark theme with red/orange accents, mobile-first */

:root {
  --bg-primary: #0d0d0d;
  --bg-secondary: #1a1a1a;
  --bg-card: #222;
  --bg-card-hover: #2a2a2a;
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0b0;
  --text-muted: #888;
  --accent: #e63946;
  --accent-light: #ff6b35;
  --accent-gradient: linear-gradient(135deg, #e63946, #ff6b35);
  --border-color: #333;
  --shadow: 0 2px 20px rgba(0,0,0,0.4);
  --radius: 8px;
  --max-width: 1200px;
  --nav-height: 70px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

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

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* === HEADER / NAV === */
.site-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
}

.nav-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { height: 45px; width: auto; }
.logo-link span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--text-secondary);
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
  display: block;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--text-primary);
  background: rgba(230,57,70,0.1);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  min-width: 240px;
  box-shadow: var(--shadow);
  padding: 8px 0;
  z-index: 100;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  padding: 10px 18px;
  font-size: 0.9rem;
  border-radius: 0;
}
.dropdown-menu a:hover { background: rgba(230,57,70,0.15); }

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 12px 16px; font-size: 1rem; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    display: none;
    min-width: auto;
  }
  .dropdown.open .dropdown-menu { display: block; }
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(230,57,70,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(255,107,53,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero h1 span { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.15rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 30px; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent-gradient); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(230,57,70,0.3); color: #fff; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent-light);
  margin-left: 12px;
}
.btn-outline:hover { background: var(--accent); color: #fff; }

@media (max-width: 600px) {
  .hero { padding: 50px 0; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .btn { display: block; margin: 10px auto; max-width: 280px; }
  .btn-outline { margin-left: 0; }
}

/* === SECTIONS === */
section { padding: 60px 0; }
section:nth-child(even) { background: var(--bg-secondary); }

.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
.section-title .accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* === CARDS GRID === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  transition: all 0.3s;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 0.95rem; }
.card .card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* === INFO BAR === */
.info-bar {
  background: var(--accent-gradient);
  padding: 20px 0;
  text-align: center;
}
.info-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.info-item { color: #fff; font-weight: 600; font-size: 0.95rem; }
.info-item a { color: #fff; }

/* === WHY US === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.feature {
  text-align: center;
  padding: 24px;
}
.feature-icon {
  width: 60px; height: 60px;
  background: rgba(230,57,70,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--text-secondary); font-size: 0.9rem; }

/* === HOURS TABLE === */
.hours-table {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-collapse: collapse;
}
.hours-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-color);
}
.hours-table td:first-child { font-weight: 600; }
.hours-table td:last-child { text-align: right; color: var(--text-secondary); }
.hours-table tr.today td { color: var(--accent-light); }

/* === FAQ ACCORDION === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  background: var(--bg-card);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-item summary:hover { background: var(--bg-card-hover); }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  content: '-';
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  background: var(--bg-card);
}
.faq-category {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 30px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  color: var(--accent-light);
}
.faq-category:first-child { margin-top: 0; }

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-block { padding: 24px 0; }
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-info-item .icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(230,57,70,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-info-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-secondary); font-size: 0.95rem; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.map-embed iframe { width: 100%; height: 400px; border: 0; }

/* === SERVICE PAGE === */
.service-hero {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  padding: 60px 0;
  text-align: center;
}
.service-hero h1 { font-size: 2.2rem; margin-bottom: 12px; }
.service-hero p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

.service-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.service-content h2 { font-size: 1.5rem; margin: 30px 0 12px; color: var(--text-primary); }
.service-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }
.service-content ul {
  color: var(--text-secondary);
  margin: 0 0 20px 20px;
  line-height: 1.8;
}
.service-content li { margin-bottom: 6px; }

.price-badge {
  display: inline-block;
  background: rgba(230,57,70,0.1);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 16px 0;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  margin-top: 40px;
}
.cta-box h3 { margin-bottom: 12px; font-size: 1.3rem; }
.cta-box p { color: var(--text-secondary); margin-bottom: 20px; }

/* About page */
.about-content { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.about-content h2 { font-size: 1.5rem; margin: 30px 0 12px; }
.about-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }

/* === FOOTER === */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.footer-col p, .footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent-light); }

/* === BREADCRUMBS === */
.breadcrumbs {
  padding: 12px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}
.breadcrumbs .container {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent-light); }
.breadcrumbs .separator { color: var(--text-muted); }

/* === SURCHARGE NOTICE === */
.surcharge-notice {
  background: rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 20px;
}

/* Cities served */
.cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.city-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Legal pages */
.legal-content { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.legal-content h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-content .last-updated { color: var(--text-muted); margin-bottom: 30px; font-size: 0.9rem; }
.legal-content h2 { font-size: 1.3rem; margin: 28px 0 10px; }
.legal-content p { color: var(--text-secondary); margin-bottom: 14px; line-height: 1.7; }
.legal-content ul { color: var(--text-secondary); margin: 0 0 16px 20px; line-height: 1.7; }

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 10px; color: #fff; }

/* Print */
@media print {
  .site-header, .site-footer, .info-bar { display: none; }
  body { background: #fff; color: #000; }
}
