/* ============================================================
   GO Advisors LLC — Styles
   Professional government affairs consulting website
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

/* ── Custom Properties ── */
:root {
  --navy: #1B3A5C;
  --dark-navy: #0F2440;
  --medium-blue: #2D6EB5;
  --teal: #2AA5A0;
  --teal-dark: #238F8A;
  --teal-light: #E6F5F5;
  --charcoal: #2C3E50;
  --medium-gray: #6C757D;
  --light-gray: #E9ECEF;
  --off-white: #F8F9FA;
  --light-blue: #E8F1F8;
  --white: #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Roboto, -apple-system, sans-serif;

  --container-width: 1140px;
  --section-padding: clamp(60px, 8vw, 110px);
  --transition: 0.3s ease;
  --header-height: 80px;
}

/* ── Base ── */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--teal);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

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

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 14px 40px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 165, 160, 0.3);
}

/* ── Section Utilities ── */
.section {
  padding: var(--section-padding) 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}

.section-title--light {
  color: var(--white);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--medium-blue));
  margin: 0 auto 40px;
  border-radius: 2px;
}

.section-divider--light {
  background: linear-gradient(90deg, var(--teal), rgba(255,255,255,0.4));
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: var(--medium-gray);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  height: var(--header-height);
  transition: box-shadow var(--transition), height var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  height: 68px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition);
}

.site-header.scrolled .logo {
  height: 48px;
}

/* Nav */
.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--teal);
}

.nav-link--cta {
  background-color: var(--teal);
  color: var(--white) !important;
  margin-left: 8px;
}

.nav-link--cta:hover {
  background-color: var(--teal-dark);
  color: var(--white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--navy);
  margin: 6px 0;
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: calc(var(--header-height) + 40px) 24px 80px;
  background: linear-gradient(135deg, #0F2440 0%, #1B3A5C 40%, #1a4a6e 60%, #0F2440 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Network node dots */
  background-image:
    radial-gradient(circle at 10% 20%, rgba(42, 165, 160, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(42, 165, 160, 0.10) 1.5px, transparent 1.5px),
    radial-gradient(circle at 70% 75%, rgba(42, 165, 160, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 25% 80%, rgba(45, 110, 181, 0.10) 1.5px, transparent 1.5px),
    radial-gradient(circle at 50% 50%, rgba(42, 165, 160, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 90% 60%, rgba(45, 110, 181, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 15% 55%, rgba(42, 165, 160, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 40% 30%, rgba(45, 110, 181, 0.06) 1.5px, transparent 1.5px),
    /* Connection lines */
    linear-gradient(25deg, transparent 48%, rgba(42, 165, 160, 0.04) 49%, rgba(42, 165, 160, 0.04) 51%, transparent 52%),
    linear-gradient(155deg, transparent 48%, rgba(45, 110, 181, 0.03) 49%, rgba(45, 110, 181, 0.03) 51%, transparent 52%),
    linear-gradient(80deg, transparent 48%, rgba(42, 165, 160, 0.03) 49%, rgba(42, 165, 160, 0.03) 51%, transparent 52%);
  background-size:
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%;
}

/* Subtle teal glow accent bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, var(--teal) 30%, var(--medium-blue) 70%, transparent 95%);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background-color: var(--white);
}

.about-container {
  max-width: 820px;
  margin: 0 auto;
}

.about-text {
  text-align: center;
  margin-bottom: 50px;
}

.about-text p {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Highlights */
.about-highlights {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.highlight-item {
  text-align: center;
  padding: 28px 24px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  min-width: 180px;
  flex: 1;
  max-width: 220px;
  transition: all var(--transition);
}

.highlight-item:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(42, 165, 160, 0.1);
}

.highlight-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
  margin-bottom: 6px;
}

.highlight-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background-color: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  max-width: 1060px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: all var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* 6-column grid: top 3 each span 2 cols */
.service-card:nth-child(1) { grid-column: 1 / 3; }
.service-card:nth-child(2) { grid-column: 3 / 5; }
.service-card:nth-child(3) { grid-column: 5 / 7; }

/* Bottom 2 centered: offset by 1 col each side */
.service-card:nth-child(4) { grid-column: 2 / 4; }
.service-card:nth-child(5) { grid-column: 4 / 6; }

.service-icon {
  color: var(--teal);
  margin-bottom: 18px;
}

.service-icon svg {
  width: 44px;
  height: 44px;
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--medium-gray);
  line-height: 1.65;
}

/* ============================================================
   LEADERSHIP
   ============================================================ */
.leadership {
  background-color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 960px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
}

.member-photo-wrapper {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 4px solid var(--light-blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background-color: #eef3f8;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.03) brightness(1.02);
}

.member-photo--steven {
  object-position: center 15%;
}

.member-photo--ron {
  object-position: center 15%;
}

.member-name {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.member-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.member-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 420px;
  margin: 0 auto 14px;
}

.member-email {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--medium-blue);
}

.member-email:hover {
  color: var(--teal);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background-color: var(--dark-navy);
  color: var(--white);
}

.contact-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.contact-person {
  margin-bottom: 36px;
}

.contact-person:last-child {
  margin-bottom: 0;
}

.contact-name {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--teal);
}

.contact-link svg {
  flex-shrink: 0;
  color: var(--teal);
}

/* Contact form */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: all var(--transition);
  outline: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
  border-color: var(--teal);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(42, 165, 160, 0.15);
}

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

.btn-submit {
  width: 100%;
  margin-top: 6px;
  font-size: 0.95rem;
  padding: 14px 24px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #0B1C31;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-logo-wrapper {
  background: var(--white);
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  height: 36px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--teal);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger service cards */
.service-card.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.service-card.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.service-card.animate-on-scroll:nth-child(4) { transition-delay: 0.15s; }
.service-card.animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }

/* Stagger highlights */
.highlight-item.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.highlight-item.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

/* Stagger team members */
.team-member.animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }

/* ============================================================
   RESPONSIVE — Tablet (768px)
   ============================================================ */
@media (max-width: 768px) {

  :root {
    --header-height: 70px;
  }

  .hamburger {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    transition: right var(--transition);
    padding: calc(var(--header-height) + 20px) 32px 32px;
    z-index: 999;
  }

  .main-nav.is-open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 6px;
  }

  .nav-link:hover {
    background-color: var(--off-white);
  }

  .nav-link--cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }

  /* Services grid — reset to simple 2-col on tablet */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    grid-column: auto;
  }

  /* 5th card centered on last row */
  .service-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 380px;
    margin: 0 auto;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .contact-person {
    margin-bottom: 0;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (480px)
   ============================================================ */
@media (max-width: 480px) {

  .hero {
    min-height: 70vh;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .about-highlights {
    flex-direction: column;
    align-items: center;
  }

  .highlight-item {
    max-width: 280px;
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
    max-width: none;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-wrapper {
    padding: 24px 20px;
  }

  .member-photo-wrapper {
    width: 190px;
    height: 190px;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

/* ============================================================
   RESPONSIVE — Large desktop (1200px+)
   ============================================================ */
@media (min-width: 1200px) {
  .hero {
    min-height: 85vh;
  }
}
