/* Northstar Horizons — Main Stylesheet
   Color palette derived from logo:
   - Dark navy:   #223140
   - Green:       #4dc629
   - Mid slate:   #37424b
   - Light bg:    #f5f7f9
   - White:       #ffffff
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', 'Arial', sans-serif;
  background: #f5f7f9;
  color: #223140;
  line-height: 1.7;
  min-height: 100vh;
}

/* ── Header ── */
header {
  background: #223140;
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.header-brand img {
  height: 36px;
  width: auto;
}

.header-brand .brand-text {
  display: flex;
  flex-direction: column;
}

.header-brand .brand-name {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.header-brand .brand-tagline {
  font-size: 0.78rem;
  color: #4dc629;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Inter', 'Arial', sans-serif;
}

/* ── Navigation ── */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

nav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: #c8d6e0;
  text-decoration: none;
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px 4px 0 0;
  transition: background 0.2s, color 0.2s;
  border-bottom: 3px solid transparent;
}

nav a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

nav a.active {
  color: #4dc629;
  border-bottom-color: #4dc629;
  background: rgba(77, 198, 41, 0.08);
}

/* ── Hero (home page only) ── */
.hero {
  background: linear-gradient(135deg, #223140 0%, #37424b 100%);
  color: #ffffff;
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.hero img.logo-main {
  width: 140px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(77,198,41,0.3));
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  color: #e8f0f5;
}

.hero .tagline {
  font-size: 1.1rem;
  color: #4dc629;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Inter', 'Arial', sans-serif;
  margin-bottom: 1.5rem;
}

.hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #c8d6e0;
  line-height: 1.8;
}

/* ── Page header (non-home pages) ── */
.page-header {
  background: linear-gradient(135deg, #223140 0%, #37424b 100%);
  color: #ffffff;
  padding: 3rem 2rem 2.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: #e8f0f5;
}

.page-header .accent-line {
  width: 60px;
  height: 4px;
  background: #4dc629;
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ── Main content ── */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

/* ── Typography ── */
h1, h2, h3 {
  color: #223140;
  line-height: 1.3;
}

h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #4dc629;
  display: inline-block;
}

h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.4rem;
  color: #37424b;
}

p {
  margin-bottom: 1.1rem;
}

ul, ol {
  margin: 0.5rem 0 1.1rem 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(34,49,64,0.08);
  border-top: 4px solid #4dc629;
}

.card h3 {
  margin-top: 0;
  color: #223140;
}

/* ── Service blocks ── */
.service-block {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(34,49,64,0.07);
  border-left: 5px solid #4dc629;
}

.service-block h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #223140;
}

/* ── Bio cards ── */
.bio-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(34,49,64,0.09);
}

.bio-card h3 {
  font-size: 1.3rem;
  color: #223140;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.bio-card .bio-title {
  color: #4dc629;
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
}

/* ── Who we work with list ── */
.who-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.who-list li {
  padding: 0.9rem 1.2rem 0.9rem 3rem;
  background: #ffffff;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 4px rgba(34,49,64,0.07);
  position: relative;
  font-size: 1.05rem;
}

.who-list li::before {
  content: '★';
  position: absolute;
  left: 1rem;
  color: #4dc629;
  font-size: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ── Contact form ── */
.contact-form {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(34,49,64,0.09);
  max-width: 600px;
}

.contact-form label {
  display: block;
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: 0.88rem;
  font-weight: bold;
  color: #37424b;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #c8d6e0;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Inter', 'Arial', sans-serif;
  color: #223140;
  background: #f5f7f9;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4dc629;
  background: #ffffff;
}

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

.btn {
  display: inline-block;
  background: #4dc629;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 5px;
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: #3aad1a;
  transform: translateY(-1px);
}

/* ── Placeholder notice ── */
.placeholder-notice {
  background: #fff8e1;
  border-left: 4px solid #f0b429;
  border-radius: 4px;
  padding: 1rem 1.25rem;
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: 0.9rem;
  color: #7a5c00;
  margin-bottom: 1.5rem;
}

/* ── Footer ── */
footer {
  background: #223140;
  color: #8aa0b0;
  text-align: center;
  padding: 2rem;
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: 0.85rem;
}

footer a {
  color: #4dc629;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  nav {
    width: 100%;
  }

  nav a {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  main {
    padding: 2rem 1.25rem 3rem;
  }
}
