/* ================================================================
   PEACH KNOB MEADOWS ROAD MAINTENANCE ASSOCIATION
   ================================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Lora&family=Lato&display=swap');

/* --- Design Tokens --- */
:root {
  --sky-deep:    #16273d;
  --sky-mid:     #23496b;
  --haze:        #8abfc8;
  --forest:      #1a3828;
  --cream:       #f6f1e9;
  --white:       #ffffff;
  --slate:       #4a78a8;
  --slate-light: #6a9ac8;
  --text-dark:   #1e1a14;
  --text-mid:    #4a3f30;
  --text-white:  #f0ece4;

  --font-heading: 'Lora', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;
  --max-width:    1140px;
  --nav-h:        72px;
  --section-v:    5rem;
  --radius-lg:    18px;
  --shadow:       0 4px 24px rgba(0,0,0,0.09);
  --transition:   0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--slate); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--slate-light); }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; color: var(--text-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
p  { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(22, 39, 61, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.35); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-brand { line-height: 1; }
.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.02em;
}
.nav-brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--haze);
  margin-top: 3px;
  display: block;
}

/* ================================================================
   HERO — FULL PAGE
   ================================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #0f1e30  0%,
    #16273d 10%,
    #1c3a55 22%,
    #23506e 34%,
    #3a7880 44%,
    #4a8870 54%,
    #3a7060 64%,
    #2a5540 76%,
    #1e4030 87%,
    #182e22 100%
  );
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 8%,  rgba(255,255,255,0.65) 0%, transparent 100%),
    radial-gradient(1px   1px   at 28% 14%, rgba(255,255,255,0.50) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 52% 5%,  rgba(255,255,255,0.70) 0%, transparent 100%),
    radial-gradient(1px   1px   at 70% 11%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 7%,  rgba(255,255,255,0.60) 0%, transparent 100%),
    radial-gradient(1px   1px   at 38% 22%, rgba(255,255,255,0.40) 0%, transparent 100%),
    radial-gradient(1px   1px   at 63% 19%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(1px   1px   at 92% 18%, rgba(255,255,255,0.40) 0%, transparent 100%);
  pointer-events: none;
}

.hero-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 8rem;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--haze);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  margin-bottom: 0.4rem;
}
.hero h1 .subtitle-line {
  display: block;
  font-size: 0.48em;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 1.75rem auto 0;
  line-height: 1.85;
}

.hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-chevron {
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(255,255,255,0.35);
  border-bottom: 2px solid rgba(255,255,255,0.35);
  animation: chevBounce 2.2s ease-in-out infinite;
}
@keyframes chevBounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50%       { transform: translateY(6px) rotate(45deg); }
}

/* ================================================================
   MAIN CONTENT
   ================================================================ */
.about-section {
  padding: var(--section-v) 1.5rem;
  background: var(--cream);
}
.about-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
.about-body h2 {
  color: var(--forest);
  margin-bottom: 1.25rem;
}
.about-body h3 {
  color: var(--sky-mid);
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}
.about-body p { font-size: 1rem; }

/* Sidebar */
.about-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(210,195,170,0.6);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.sidebar-card-header {
  background: var(--forest);
  padding: 1rem 1.5rem;
}
.sidebar-card-header h3 {
  color: var(--slate-light);
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}
.sidebar-list {
  list-style: none;
  padding: 0.5rem 0;
}
.sidebar-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.5rem;
  border-bottom: 1px solid var(--cream);
  font-size: 0.9rem;
  color: var(--text-mid);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-icon { color: var(--slate); font-size: 1rem; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--sky-deep);
  padding: 3.5rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  margin-bottom: 2.5rem;
}
.footer-brand .nav-brand-name {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
  display: block;
}
.footer-brand p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin: 0;
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.09);
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
  .about-grid    { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
}
@media (max-width: 680px) {
  :root { --section-v: 3.5rem; }
}
