/* =========================
   Services Page CSS
   ========================= */

/* Base Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  background: url('/static/services-bg.png') no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

/* Light overlay fade on background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 245, 245, 0.10);
  z-index: -1;
}

/* =========================
   Hero Banner (page-local)
   ========================= */
.hero-banner {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  text-align: center;
  color: #ffffff;
}

/* Navigation Bar (if you ever use nav inside hero-banner — safe to keep) */
.hero-banner nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1.3rem 0;
  z-index: 10;
}

.hero-banner nav ul {
  list-style: none;
  display: flex;
  gap: 3.2rem;
  margin: 0;
  padding: 0;
}

.hero-banner nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Hero text content */
.hero-text {
  margin-top: 60px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.hero-text p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.90);
}

/* =========================
   Services Content Section
   ========================= */

/* Keep .container standard-ish but not insane on this page */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 6rem;
  position: relative;
  z-index: 2;
}

/* Tighten spacing only on the Services page containers */
.services-container {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Section headings like: "Home & Personal IT" / "Business IT" */
.services-container h2,
.services-container > h2 {
  color: #ffffff !important;
  margin-bottom: 1.25rem;
}

/* Service cards */
.service {
  background: #ffffff;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.10);
}

/* Card titles like "Computer & Laptop Repairs" */
.service h3,
.service h2 {
  color: #003366;
  margin-bottom: 0.5rem;
}

/* =========================
   Footer Styles
   ========================= */
footer {
  background: #003366;
  color: #ffffff;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 1rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* =========================
   Mobile tweaks
   ========================= */
@media (max-width: 768px) {
  .container {
    padding: 2rem 1.25rem;
  }

  .services-container {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .hero-text h1 {
    font-size: 2.0rem;
  }

  .hero-text p {
    font-size: 1.05rem;
  }
}
