/* True North Aspiration LLC — Corporate Website */
/* Color Palette: Deep Navy, White, Muted Gold */

:root {
  --navy: #0a1428;
  --navy-dark: #050a12;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --gold: #c9a961;
  --gold-hover: #b39450;
  --text-dark: #0a1428;
  --text-light: #6c757d;
  --border-color: #dee2e6;
  --shadow: 0 2px 8px rgba(10, 20, 40, 0.1);
  --shadow-lg: 0 4px 16px rgba(10, 20, 40, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  color: var(--navy);
}

h2 {
  font-size: 2rem;
  color: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--navy);
}

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.8;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-hover);
}

/* Header & Navigation */
header {
  background-color: var(--navy);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.compass-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  position: relative;
}

.compass-mark svg {
  width: 100%;
  height: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-container {
  display: none;
}

.footer-bottom {
  text-align: center;
  color: var(--white);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: var(--white);
  margin: 0;
}

.footer-bottom p + p {
  margin-top: 0.25rem;
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: underline;
}

body.privacy-page main a,
body.privacy-page main a:hover,
body.privacy-page main a:visited {
  color: var(--navy);
  text-decoration: underline;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

section {
  margin-bottom: 2.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2a4a 100%);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-style: italic;
}

.hero-description {
  color: var(--white) !important;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--navy);
}

/* Cards & Content Boxes */
.card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-left: 4px solid var(--gold);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 0;
  color: var(--navy);
}

/* Product Showcase */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Two-column grid for card layouts */
.how-to-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .how-to-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card img {
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 4px;
  display: block;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.featured-image {
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

main a[href^="mailto:"],
main a[href^="mailto:"]:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--navy);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* Lists */
ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
}

/* Code & Pre */
code {
  background: var(--light-gray);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

pre {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--navy);
    padding: 1rem;
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  nav a {
    display: block;
    padding: 0.5rem;
  }

  .header-container {
    padding: 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  main {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  nav ul {
    gap: 0;
  }

  .footer-bottom {
    font-size: 0.9rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles for Keyboard Navigation */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Skip to Main Content Link */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-main:focus {
  top: 0;
}
