/* John's Tech Help
   Simple one-page website.
   Main colors are stored below so they are easy to change. */

:root {
  --navy: #0b2f67;
  --blue: #1667d9;
  --light-blue: #eef6ff;
  --text: #1f2937;
  --muted: #5b6470;
  --white: #ffffff;
  --max-width: 1120px;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(11, 47, 103, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 18px;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 36px, var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: 800px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e7edf5;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 195px;
  height: auto;
}

nav {
  display: flex;
  gap: 26px;
  font-size: 16px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
  color: var(--navy);
}

nav a:hover,
nav a:focus {
  color: var(--blue);
}

.hero {
  min-height: 620px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(5, 25, 55, 0.88) 0%, rgba(5, 25, 55, 0.62) 48%, rgba(5, 25, 55, 0.15) 100%);
}

.hero-content {
  position: relative;
  color: var(--white);
  padding-block: 90px;
    max-width: 650px;
  margin-left: 7%;
}

.hero-line {
  display: block;
}

.hero-content h1 {
  max-width: 760px;
  margin: 10px 0 20px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 700px;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.86rem;
  font-weight: 800;
}

.eyebrow.blue {
  color: var(--blue);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-row.centered {
  justify-content: center;
}

.button {
  display: inline-block;
  padding: 15px 22px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
}

.secondary {
  background: var(--white);
  color: var(--navy);
}

.intro {
  padding: 60px 0;
  background: var(--light-blue);
}

.intro h2,
.section h2,
.contact-section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 8px 0 16px;
}

.intro p,
.section p {
  color: var(--muted);
}

.section {
  padding: 84px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.services-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.small-note {
  text-align: center;
  font-size: 1rem;
  margin-top: 24px;
}

.soft {
  background: #f7f9fc;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 58px;
}

.about-photo {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin: 12px 0;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--blue);
  font-weight: 900;
}

.contact-section {
  padding: 86px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  text-align: center;
}

.contact-section h2,
.contact-section p {
  color: var(--white);
}

.light {
  background: var(--white);
  color: var(--navy);
}

.outline-light {
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.85);
}

.service-area {
  margin-top: 28px;
  font-size: 0.98rem;
  opacity: 0.9;
}

footer {
  background: #081d3d;
  color: rgba(255, 255, 255, 0.86);
  padding: 30px 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 800px) {
  body {
    font-size: 17px;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 155px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 610px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(5, 25, 55, 0.90) 0%, rgba(5, 25, 55, 0.65) 65%, rgba(5, 25, 55, 0.30) 100%);
  }

  .hero-content {
    padding-top: 220px;
    padding-bottom: 55px;
  }

  .hero-content h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section {
    padding: 62px 0;
  }

  .footer-inner {
    display: block;
    text-align: center;
  }

  .footer-inner p + p {
    margin-top: 6px;
  }
}
