/* Thompson IT Partners — site styles */

:root {
  --navy: #062A45;
  --deep-blue: #0B3B5A;
  --coastal-blue: #2F6B9A;
  --slate-blue: #8FB3D9;
  --copper: #C7783B;
  --light-gray: #E8EEF3;
  --white: #FFFFFF;

  --font-head: 'Merriweather', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.75em;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-copper {
  background: var(--copper);
  color: var(--white);
}
.btn-copper:hover { background: #b3691f; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.btn-small { padding: 0.5em 1.1em; font-size: 0.85rem; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
  flex-wrap: wrap;
}
.site-logo { width: min(300px, 100%); height: auto; }
.header-nav { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 0.95rem; }
.header-nav a:not(.btn) { text-decoration: none; color: var(--navy); }
.header-nav a:not(.btn):hover { color: var(--coastal-blue); }

/* Hero — crisp banner photo, copy anchored left */
.hero {
  background:
    linear-gradient(90deg, rgba(6,42,69,0.85) 0%, rgba(6,42,69,0.62) 32%, rgba(6,42,69,0.18) 55%, rgba(6,42,69,0) 70%),
    url('../assets/hero-lighthouse.jpg');
  background-size: cover;
  background-position: center 55%;
  color: var(--white);
  text-align: left;
  padding: 100px 0;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero-inner { max-width: 480px; margin: 0; }
.hero h1 {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  color: var(--white);
  margin-bottom: 0.55em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero h1 strong { font-weight: 700; }
.hero-rule {
  width: 260px;
  max-width: 60%;
  height: 2px;
  background: var(--copper);
  border: none;
  margin: 0 0 0.9em;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--white);
  margin-bottom: 1.5em;
}
.eyebrow .dot { color: var(--copper); margin: 0 0.2em; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--light-gray);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.hero-ctas {
  margin-top: 1.5em;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  /* Photo drops out on mobile — cropped banner doesn't read well narrow;
     plain gradient keeps the same palette without fighting for legibility. */
  .hero {
    background: linear-gradient(160deg, var(--navy) 0%, var(--deep-blue) 60%, var(--coastal-blue) 130%);
    text-align: center;
    padding: 72px 0;
    min-height: 0;
  }
  .hero-inner { max-width: 100%; margin: 0 auto; }
  .hero h1, .hero-sub { text-shadow: none; }
  .hero-rule { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
}

/* Hook band */
.hook {
  background: var(--light-gray);
  padding: 64px 0;
  text-align: center;
}
.hook h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hook p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--deep-blue);
}

/* Services */
.services { padding: 80px 0; }
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1em;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.service-card {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 28px 24px;
  border-top: 3px solid var(--coastal-blue);
}
.service-card-lead {
  border-top-color: var(--copper);
  background: #fdf3ea;
}
.service-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.4em;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--deep-blue);
  margin-bottom: 0;
}

/* Why section */
.why {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
}
.why-inner { max-width: 720px; text-align: center; margin: 0 auto; }
.why h2 { color: var(--white); }
.why p { color: var(--light-gray); }

/* About */
.about { padding: 72px 0; }
.about-inner { max-width: 680px; margin: 0 auto; text-align: center; }

/* Contact */
.contact {
  background: var(--light-gray);
  padding: 80px 0;
  text-align: center;
}
.contact-lede { font-size: 1.1rem; color: var(--deep-blue); }
.contact-methods {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.contact-method {
  background: var(--white);
  border-radius: 8px;
  padding: 24px 32px;
  text-decoration: none;
  color: var(--navy);
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(6, 42, 69, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 42, 69, 0.14);
}
.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coastal-blue);
  margin-bottom: 0.5em;
}
.contact-value {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--light-gray);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  text-align: center;
  flex-wrap: wrap;
}
.footer-mark { border-radius: 6px; }

@media (max-width: 600px) {
  .hero { padding: 72px 0 64px; }
  .header-nav { gap: 14px; }
  .contact-method { min-width: 100%; }
}
