/* ============================================================
   higgins.ag — Main Stylesheet
   Fonts: Lora (headings) + Source Sans 3 (body) via Google Fonts
   ============================================================ */

/* --- Custom properties --- */
:root {
  --forest:  #2E4A2E;
  --cream:   #F5F1EB;
  --charcoal:#1E2420;
  --ochre:   #8B6914;
  --sage:    #E8EEE4;

  --font-heading: 'Lora', Georgia, serif;
  --font-body:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1100px;
  --section-pad: 5rem 1.5rem;
  --radius: 3px;
  --transition: 0.2s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Base typography --- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
  color: var(--charcoal);
   margin-bottom: 1.25rem;
}

h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.2rem; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
  display: block;
  margin-bottom: 0.6rem;
}

blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal);
  border-left: 3px solid var(--ochre);
  padding-left: 1.5rem;
  margin: 2rem 0;
  max-width: 60ch;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ochre);
  margin-top: 0.75rem;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: var(--section-pad); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.btn-primary:hover {
  background: #3d6340;
  border-color: #3d6340;
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.btn-light {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
}
.btn-light:hover {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

/* --- Navigation --- */
.site-nav {
  background: var(--forest);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

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

.nav-wordmark {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-subtitle {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: rgba(245, 241, 235, 0.6);
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(245, 241, 235, 0.8);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--cream); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
@media (max-width: 680px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--forest);
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 0.6rem 0;
    font-size: 1rem;
    color: var(--cream);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

/* --- Hero --- */
.hero {
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 7rem 1.5rem 6rem;
  text-align: center;
}

.hero-content {
  display: inline-block;
  background: rgba(245, 241, 235, 0.75);
  padding: 2.75rem 3rem;
  border-radius: var(--radius);
  max-width: 620px;
  width: 100%;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h3 {
  margin-bottom: 1.25rem;
}


.hero p {
  font-size: 1.1rem;
  color: #4a4a4a;
  max-width: 52ch;
  margin: 0 auto 2.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Section styles --- */
.section-cream  { background: var(--cream); }
.section-sage   { background: var(--sage); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-forest h2,
.section-forest p { color: var(--cream); }

.section-intro {
  padding: var(--section-pad);
  text-align: center;
}
.section-intro p {
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

/* --- Service cards (home) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  border-top: 3px solid var(--forest);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.service-card p { font-size: 0.9375rem; color: #444; }

/* --- Who this is for (home) --- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.audience-block h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--forest);
}

/* --- CTA band --- */
.cta-band {
  background: var(--forest);
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.cta-band h2 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.cta-band p {
  color: rgba(245,241,235,0.85);
  margin: 0 auto 2rem;
  max-width: 50ch;
}

/* --- Page header (interior pages) --- */
.page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(46, 74, 46, 0.68);
  z-index: 0;
}
.page-header .container {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-header h1 {
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 3rem);
}

/* --- Landscape break (home) --- */
.landscape-break {
  width: 100%;
  height: 420px;
  overflow: hidden;
  display: block;
}
.landscape-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- About page --- */
.about-body { padding: var(--section-pad); }
.about-body p { font-size: 1rem; }

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}
.about-portrait img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}
@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-portrait { max-width: 280px; }
}
.expertise-list {
  list-style: none;
  margin-top: 0.75rem;
}
.expertise-list li {
  padding: 0.45rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.expertise-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ochre);
}

/* --- Services page --- */
.services-list { padding: var(--section-pad); }
.services-list .container { max-width: 860px; }

.service-item {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.service-item:last-child { border-bottom: none; }

.service-item-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
}

.service-item h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-item ul {
  list-style: none;
  margin-top: 1rem;
}
.service-item ul li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9375rem;
  color: #444;
}
.service-item ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ochre);
}

/* --- Contact page --- */
.contact-body {
  padding: var(--section-pad);
}
.contact-body .container {
  max-width: 640px;
}

.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border: 1px solid #c8c4be;
  border-radius: var(--radius);
  background: white;
  color: var(--charcoal);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--forest);
}

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

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: rgba(245,241,235,0.65);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.site-footer a {
  color: rgba(245,241,235,0.65);
  text-decoration: underline;
}
.site-footer a:hover { color: var(--cream); }
.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(245,241,235,0.5);
}
