/* =========================================================
   SALTY DOG NETWORKS — SITE STYLES
   =========================================================
   HOW TO EDIT COLORS:
   All the site colors are set once below, at the very top of
   this file. Change a value here and it updates everywhere.
   ========================================================= */

:root {
  --navy: #12233F;        /* primary brand color (header, footer, headings) */
  --navy-dark: #0B1830;    /* darker navy for hover/contrast */
  --gold: #E8B84B;         /* accent color (buttons, highlights) */
  --gold-dark: #CC9C33;    /* gold hover state */
  --wave-blue: #2E6DA4;    /* secondary accent (links) */
  --bg-light: #F7F8FA;     /* light section background */
  --text-dark: #1F2937;    /* body text */
  --text-muted: #5B6472;   /* secondary text */
  --white: #FFFFFF;
  --border: #E4E7EC;
  --max-width: 1140px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: var(--wave-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: 2.6rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 16px 0;
}

.text-muted {
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
}

.btn-outline-navy {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
}

.nav-links a:hover {
  color: var(--wave-blue);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--wave-blue);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--navy-dark);
  text-decoration: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    border-top: 1px solid var(--border);
  }
  .nav-links a {
    display: block;
    padding: 16px 24px;
  }
  .nav-cta {
    margin: 16px 24px;
    display: inline-block;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--wave-blue) 0%, var(--navy) 65%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 90px 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  flex: 1.2;
}

.hero-art {
  flex: 1;
  text-align: center;
}

/* White "badge" card behind the logo so it stays legible no matter what
   color sits behind it (navy, gradients, photos, etc.) */
.logo-badge {
  display: inline-block;
  background: var(--white);
  border-radius: 20px;
  padding: 28px 34px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hero-art .logo-badge img {
  max-width: 260px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: 1.2rem;
  color: #C9D3E0;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .hero .container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
}

/* ---------- Page header (non-home pages) ---------- */

.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.page-header p {
  color: #C9D3E0;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Sections ---------- */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wave-blue);
  margin-bottom: 10px;
  display: block;
}

/* ---------- Cards / Grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(18, 35, 63, 0.08);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- Service detail blocks ---------- */

.service-block {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.reverse {
  flex-direction: row-reverse;
}

.service-block-icon {
  flex: 0 0 180px;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-block-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block-icon.wide {
  flex-basis: 380px;
  height: 280px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px;
}

.service-block-icon.wide img {
  object-fit: contain;
}

@media (max-width: 700px) {
  .service-block-icon.wide {
    flex-basis: auto;
    width: 100%;
  }
}

/* Text-initial variant (used where there's no logo/illustration, e.g. our own brand mark) */
.service-block-icon.brand {
  background: var(--navy);
  color: var(--gold);
  font-size: 3rem;
  font-weight: 800;
}

.service-block-copy {
  flex: 1;
}

.service-block ul {
  padding-left: 20px;
  color: var(--text-muted);
}

.service-block li {
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .service-block,
  .service-block.reverse {
    flex-direction: column;
    text-align: center;
  }
  .service-block-icon {
    margin: 0 auto;
  }
}

/* ---------- Stats strip ---------- */

.stats {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
}

.stats .grid {
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stats .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
}

.stats .stat-label {
  color: #C9D3E0;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .stats .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: #C9D3E0;
  max-width: 520px;
  margin: 0 auto 26px auto;
}

/* ---------- About page ---------- */

.about-hero {
  display: flex;
  gap: 48px;
  align-items: center;
}

.about-hero img {
  max-width: 260px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .about-hero {
    flex-direction: column;
    text-align: center;
  }
}

.values-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 800px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact page ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}

@media (max-width: 800px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-info-icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--wave-blue);
}

.contact-form-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: #AAB6C6;
  padding: 56px 0 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid .logo-badge {
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: none;
  margin-bottom: 14px;
}

.footer-grid .logo-badge img {
  height: 40px;
  display: block;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: #AAB6C6;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  text-align: center;
  color: #7C89A0;
}
