/* ===========================
   Night Heron Imaging — CSS
   =========================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --text: #1f1f1f;
  --gray: #3e3f41; /* night heron gray */
  --muted: #6b7280; /* gray-500 */
  --brand: #928a7a; /* olive */
  --brand-dark: #767060; /* dark olive for contrast */
  --brand-2: color-mix(in oklab, var(--brand), white 45%); /* lighter brand for gradients */
  --accent: #3f4059; /* blue */
  --dark: #2f2f2f;
  --card-stroke: #4a4a4a;

  --font-family-base: "futura-pt", sans-serif;
  --font-size-base: 18px;
  --radius: 1rem; /* 16px */
  --container: 75rem; /* 1200px */
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --shadow-soft: 0 8px 18px rgba(0,0,0,.25);
  --shadow-slight: 3px 3px 5px rgba(0,0,0,.25);
  --gap: clamp(12px, 2vw, 20px);
  --maxw: 1200px;
  --icon-size: 32px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { font-size: var(--font-size-base); }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-family-base);
  font-weight: 300;
  font-style: normal;
  color: var(--gray);
  background: var(--bg);
  font-size: 1rem; /* equals --font-size-base */
  line-height: 1.5;
  letter-spacing: 0.015em;
}

a:link, a:visited { color: var(--gray); text-decoration: underline; }
a:hover, a:active { color: var(--brand); }
a:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--brand-dark), white 35%);
  outline-offset: 2px;
  text-decoration: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .big-text {
  font-family: "the-seasons", Georgia, ui-serif, serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1, .big-text { font-size: 1.5rem; }
h2 { font-size: 1.35rem; }
h2::after {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  background: var(--accent);
  margin-top: 0.5rem;
}
h3 { font-size: 1.25rem; }
h4 { font-size: 1.15rem; }
.lead { font-size: 1.25rem; line-height: 1.5; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.stack-h { display: flex; align-items: center; gap: 1.5rem; }
.stack-h.between { justify-content: space-between; }
.stack-v { display: flex; flex-direction: column; gap: 1rem; }

/* Progressive rendering */
#services, #support, footer {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

/* ---------- Header / Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.75);
  border-bottom: 1px solid #eee;
  padding: 0.75rem 0;
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
}
nav a, nav a:link, nav a:visited {
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
}
nav a:hover { text-decoration: underline; }

.brand { font-weight: 700; color: var(--text); text-decoration: none; }
.logo-dot { width: 1.75rem; height: 1.75rem; background: #111; border-radius: 0.375rem; }
.logo-wrap { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.site-logo { height: 6rem; width: auto; display: block; }
.tagline { font-size: 0.75rem; margin-top: 0.25rem; font-style: italic; line-height: 1.3; }

/* ---------- Buttons ---------- */
.btn, 
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.25em;
  background: var(--brand-dark);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 0.25rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: var(--shadow-slight);
}
.btn-light {
  background: var(--brand-2);
  color: var(--text) !important;
}
.btn:hover, 
.btn-light:hover { 
  filter: brightness(1.25); 
}
.btn:focus,
.btn-light:focus {
  outline: 2px solid color-mix(in oklab, var(--brand-dark), white 35%);
  outline-offset: 2px;
}





/* ---------- Sections ---------- */
.section { 
  padding: 5rem 0; 
}       /* default */

.section.nh { 
  padding: 3.5rem 0; 
}  /* compact variant */


/* ---------- Alternating backgrounds ---------- */

/* Tan (strong olive) */
.section.nh.nh-alt-tan {
  background: var(--brand);
  color: #fff;
}
.section.nh.nh-alt-tan h2,
.section.nh.nh-alt-tan h3,
.section.nh.nh-alt-tan summary { 
  color: #fff; 
}
.section.nh.nh-alt-tan p,
.section.nh.nh-alt-tan small,
.section.nh.nh-alt-tan li { 
  color: #f9f9f9; 
}
.section.nh.nh-alt-tan a.btn {
  background: var(--brand-dark);
  color: #fff !important;
}

/* Cream (soft variant) */
.section.nh.nh-alt-cream {
  background: color-mix(in oklab, var(--brand), white 85%);
  color: var(--text);
}
.section.nh.nh-alt-cream h2::after {
  background: var(--accent);
}
.section.nh.nh-alt-cream a.btn {
  background: var(--brand-dark);
  color: #fff !important;
}


/* ---------- Hero ---------- */
.hero { padding-top: 6rem; padding-bottom: 3rem; }
.grid-2 {
  display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; align-items: start;
}
.grid-3-2 {
  display: grid; grid-template-columns: 3fr 2fr; gap: 2.5rem; align-items: start;
}
.hero-img {
  width: 100%; max-height: 35rem; object-fit: cover;
  border-radius: var(--radius); background: #f4f4f5;
}
.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); margin: 0 0 1rem; }

/* ---------- Scrolling thumbnail strip ---------- */
.thumb-wrap { overflow: hidden; }
.thumb-row { display: inline-flex; gap: 1.5rem; will-change: transform; }
.thumb {
  width: 15.25rem; /* 244px */
  height: 10.5rem; /* 168px */
  border-radius: 1rem;
  object-fit: cover;
  background: #e5e7eb;
  flex: 0 0 auto;
}

/* ---------- Features (dark) ---------- */
.dark { background: var(--dark); color: #e9e9e9; }
.card-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem;
}
.card {
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius);
  padding: 1.75em;
  background: transparent;
  transform-origin: 50% 80%;
  opacity: 0;
  transform: translateY(1.5rem) rotate(-6deg);
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}
.card-copy { font-size: 1.15rem; }
.card:nth-child(even) { transform: translateY(1.5rem) rotate(6deg); }
.card.visible { opacity: 1; transform: translateY(0) rotate(0); }

/* Material icon helper (kept) */
.material-icons-outlined {
  color: var(--brand);
  min-height: 1em;
  font-size: var(--icon-size);
  display: inline-block;
  width: 1em; height: 1em; line-height:1; vertical-align:-0.125em;
}
.icon-inline .material-icons-outlined { display: inline-block; }

/* ---------- New sections: About / Packages / Steps / FAQ ---------- */

.about-flex {
  display: flex;
  align-items: center;
  gap: 2rem;          
}
.about-text {
  flex: 2; 
}
.about-img {
  flex: 1;  
  display: flex;
  justify-content: center;
}
.about-img img {
  border-radius: 50%; 
  object-fit: cover;
  width: 220px;     
  height: 220px;
  box-shadow: var(--shadow-slight);
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
    text-align: center;
  }
  .about-img img {
    width: 60%;
    height: auto;       /* maintain aspect ratio when stacked */
    max-width: 280px;
    margin: 1rem auto;
  }
}

/* Packages preview (uses .card-grid + .card) */
.nh-packages .card h3 { margin-top: 0; }
.nh-packages .card .desc { color: var(--muted); }
.nh-addons { color: var(--muted); margin-top: .75rem; }

/* Steps */
.nh-steps {
  list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 12px; 
}

.nh-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius);
  padding: 12px;
  background: #f7f7f8;
  align-items: center;
  color: var(--text) !important; /* force dark text */
}
.nh-steps small { color: var(--muted) !important; }

.nh-step-icon {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-slight);
}

/* FAQ */
.nh-faq details {
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 10px 0;
  background: #f9f9fb;
}
.nh-faq summary {
  cursor: pointer; font-weight: 600; color: var(--text);
  list-style: none;
}
.nh-faq summary::-webkit-details-marker { display: none; }
.nh-faq details[open] { background: #fff; }
.nh-faq details p { margin: 8px 0 0; color: var(--gray); }

.nh-actions { margin-top: .75rem; }

/* ---------- CTA ---------- */
.cta-grid {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 2.5rem; align-items: center;
}

/* ---------- Footer ---------- */
footer {
  padding: 1.5rem 0;
  border-top: 1px solid #eee;
  font-size: 0.875rem;
  color: #6b7280;
}
footer .tagline {
  font-size: 0.9rem; font-style: italic; white-space: normal;
}
footer .container { flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-2, .grid-3-2 { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  header .stack-h { gap: 1rem; }
}
@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .thumb { width: 44%; max-width: 8rem; height: auto; margin: 0 auto; }
  .card-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 600px) {
  .site-logo { max-height: 72px; width: auto; }
  header nav a.btn { padding: 6px 12px; font-size: 0.85rem; }
  header .container { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
}

/* ---------- Motion reduce ---------- */
@media (prefers-reduced-motion: reduce) {
  .thumb-row { transition: none !important; }
  .card { transition: none !important; }
}
