/* =============================================
   Garrison Financial Group — Stylesheet
   ============================================= */

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

:root {
  --navy:       #0d1b2a;
  --navy-mid:   #1b2e45;
  --navy-light: #243b55;
  --gold:       #c9a84c;
  --gold-light: #e0c068;
  --white:      #ffffff;
  --off-white:  #f4f6f9;
  --text-muted: #8a9bb0;
  --border:     rgba(255,255,255,0.08);

  --font-sans: 'Georgia', 'Times New Roman', serif;
  --font-ui:   -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1100px;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-light);
}

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius);
  font-size: 0.85rem;
  transition: all 0.2s;
}

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

.btn-card {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  transition: color 0.2s;
}

.btn-card:hover {
  color: var(--gold-light);
}

/* --- Hero --- */
.hero {
  padding: 7rem 2rem 6rem;
  text-align: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* --- Sections --- */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* --- Tools Section --- */
.tools {
  padding: 5rem 2rem;
  background: var(--navy-mid);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  transition: transform 0.2s, border-color 0.2s;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.3);
}

.tool-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.tool-card h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.tool-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- About Section --- */
.about {
  padding: 5rem 2rem;
  background: var(--navy);
}

.about-inner {
  max-width: 680px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* --- Footer --- */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
  background: var(--navy);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 4rem 1.5rem; }
  .tools, .about { padding: 3rem 1.5rem; }
  .tool-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}
