/* Leaf River Services, LLC — shared stylesheet */

:root {
  --forest-dark: #223822;
  --forest: #2f4a30;
  --forest-light: #4c6b4a;
  --river-blue: #1f4e6b;
  --river-light: #3d7ea6;
  --earth-brown: #6b4a2f;
  --cream: #f7f5ef;
  --paper: #ffffff;
  --ink: #26301f;
  --ink-soft: #4a5346;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PT Serif", "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, .brand-name {
  font-family: "Work Sans", "Trebuchet MS", "Segoe UI", sans-serif;
}

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

img { max-width: 100%; display: block; }

/* Header / Nav */
.site-header {
  background: var(--forest-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand img {
  height: 56px;
  width: auto;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: #fff;
}

.brand-name small {
  display: block;
  font-size: 0.62rem;
  font-weight: normal;
  letter-spacing: 0.14em;
  color: #cfe0cf;
  text-transform: uppercase;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: #eaf1ea;
  text-decoration: none;
  font-size: 0.98rem;
  padding: 10px 14px;
  border-radius: 4px;
  transition: background 0.15s ease;
}

nav.main-nav a:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

nav.main-nav a.active {
  background: var(--river-blue);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--forest-dark) 0%, var(--forest) 45%, var(--river-blue) 100%);
  color: #fff;
  padding: 90px 24px 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,0.06) 0, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,0.06) 0, transparent 45%);
}

.hero .inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.hero img.hero-logo {
  width: min(520px, 55vw);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}

.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.hero p.tagline {
  font-size: 1.25rem;
  margin: 0;
  color: #dcebe0;
  font-family: "Work Sans", "Trebuchet MS", "Segoe UI", sans-serif;
  font-style: italic;
}

/* Page hero (shorter, for interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--forest-dark) 0%, var(--forest) 60%, var(--river-blue) 130%);
  color: #fff;
  padding: 54px 24px;
  text-align: center;
}

.page-hero.bg-photo {
  background-size: cover;
  background-position: center;
  padding: 84px 24px;
}

.page-hero.bg-stream {
  background-image: linear-gradient(160deg, rgba(24,38,24,0.82) 0%, rgba(31,78,107,0.72) 100%), url('../assets/photo-stream.jpg');
}

.page-hero.bg-roots {
  background-image: linear-gradient(160deg, rgba(24,38,24,0.82) 0%, rgba(31,78,107,0.72) 100%), url('../assets/photo-roots.jpg');
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 2.1rem;
}

.page-hero p {
  margin: 0;
  color: #dcebe0;
  font-family: "Work Sans", "Trebuchet MS", "Segoe UI", sans-serif;
}

/* Content sections */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

section + section {
  margin-top: 48px;
}

h2 {
  color: var(--forest-dark);
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 22px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--river-blue);
  margin: 12px auto 0;
  border-radius: 2px;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.service-card {
  padding: 22px 0;
  border-bottom: 1px solid #e2e0d4;
}

.service-card:last-of-type { border-bottom: none; }

.service-card h3 {
  color: var(--forest);
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.about-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  margin: 32px 0;
}

.about-photo img {
  width: 100%;
  height: auto;
}

/* Photo gallery strip */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.14);
  aspect-ratio: 3 / 4;
  position: relative;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  font-family: "Work Sans", "Trebuchet MS", "Segoe UI", sans-serif;
}

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Contact box */
.contact-box {
  background: var(--paper);
  border: 1px solid #e2e0d4;
  border-radius: 10px;
  text-align: center;
  padding: 32px 24px;
  margin-top: 48px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.contact-box h2 { margin-top: 0; }

.contact-box a.email {
  display: inline-block;
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--river-blue);
  text-decoration: none;
  border-bottom: 2px solid var(--river-light);
}

.contact-box a.email:hover { color: var(--forest); border-color: var(--forest); }

/* Resource groups */
.resource-group {
  margin-bottom: 44px;
}

.resource-group h3 {
  color: var(--forest);
  border-left: 4px solid var(--river-blue);
  padding-left: 12px;
  margin-bottom: 14px;
}

.resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.resource-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--paper);
  border: 1px solid #e2e0d4;
  border-radius: 8px;
  padding: 14px 16px;
}

.resource-item .icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.resource-item .meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.empty-state {
  background: var(--paper);
  border: 2px dashed #cfd4c4;
  border-radius: 10px;
  padding: 34px 24px;
  text-align: center;
  color: var(--ink-soft);
}

.empty-state strong { color: var(--forest); }

/* Footer */
footer {
  background: var(--forest-dark);
  color: #cfe0cf;
  text-align: center;
  padding: 26px 24px;
  font-size: 0.88rem;
}

footer a { color: #fff; }

@media (max-width: 640px) {
  .site-header .inner { flex-direction: column; align-items: flex-start; }
  nav.main-nav ul { flex-wrap: wrap; }
  .hero { padding: 60px 20px 70px; }
  .hero h1 { font-size: 2rem; }
}
