/* ============================================================
   Chris Johnson Rock Guiding — styles.css
   Color palette:
     --cream:       #f5f0e8  (page background)
     --sand:        #ede8df  (alternate section background)
     --tan:         #d5c9b8  (borders, chips)
     --brown:       #8b7355  (accents, labels)
     --brown-dark:  #6b5a3e  (secondary text)
     --espresso:    #2c1810  (headings, dark sections)
     --gold:        #c4a882  (hero/dark-bg text)
     --gold-light:  #d4b896  (hero subtitle)
   ============================================================ */

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

:root {
  --cream: #f5f0e8;
  --sand: #ede8df;
  --tan: #d5c9b8;
  --brown: #8b7355;
  --brown-dark: #6b5a3e;
  --espresso: #2c1810;
  --espresso-mid: #4a3728;
  --gold: #c4a882;
  --gold-light: #d4b896;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.6;
}

/* ── Nav ─────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  transition: background 0.3s, border-color 0.3s;
}

nav.scrolled {
  background: var(--cream);
  border-bottom-color: var(--tan);
}

/* Push hero down so it starts below the fixed nav */
#hero {
  padding-top: calc(48px + 52px);
  padding-bottom: 48px;
}

.nav-logo {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--espresso);
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s, color 0.3s;
}

nav.scrolled .nav-logo {
  opacity: 1;
  color: var(--espresso);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--cream);
}

nav.scrolled .nav-links a {
  color: var(--brown);
}

nav.scrolled .nav-links a:hover {
  color: var(--espresso);
}

/* mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--espresso);
  border-radius: 2px;
  transition: 0.2s;
}

@media (max-width: 600px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--tan);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px 24px;
  }
}

/* ── Hero ────────────────────────────────────────────────── */

#hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  padding: 48px 0;
}

/* Blurred full-bleed background — shows natural image colors on the sides */
#hero::before {
  content: '';
  position: absolute;
  inset: -40px;
  background-image: url('IMG_2757.png');
  background-size: cover;
  background-position: center;
  filter: blur(24px) brightness(0.75);
  z-index: 0;
}


/* Sharp image, centered and capped — no cropping on wide viewports */
.hero-sharp {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  background-image: url('IMG_2757.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 10, 5, 0.05) 0%,
    rgba(20, 10, 5, 0.28) 55%,
    rgba(20, 10, 5, 0.58) 100%
  );
  z-index: 2;
}

/* Constrains hero text to the same width as the photo */
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-content {
  max-width: 600px;
}

.hero-eyebrow {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero-name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: bold;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: normal;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 22px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--brown);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--brown-dark);
}

/* ── Shared section styles ───────────────────────────────── */

section {
  padding: 64px 40px;
}

.section-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brown);
  margin-bottom: 20px;
}

.section-inner {
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  section {
    padding: 48px 24px;
  }
}

/* ── About ───────────────────────────────────────────────── */

#about {
  background: var(--cream);
  border-bottom: 1px solid var(--tan);
}

.about-body {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.about-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.about-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--espresso);
  margin-bottom: 16px;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 2px;
}

.chip-dark {
  background: var(--espresso);
  color: var(--cream);
}

.chip-light {
  background: var(--tan);
  color: var(--espresso);
}

@media (max-width: 600px) {
  .about-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .chips {
    justify-content: center;
  }
}

/* ── Guiding ─────────────────────────────────────────────── */

#guiding {
  background: var(--sand);
  border-bottom: 1px solid var(--tan);
}

.guiding-heading {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--espresso);
  margin-bottom: 12px;
}

.guiding-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--espresso-mid);
  margin-bottom: 24px;
  max-width: 580px;
}

.capability-cards {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.capability-card {
  background: var(--cream);
  border: 1px solid var(--tan);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--espresso);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .capability-cards {
    flex-wrap: wrap;
  }
}

/* ── Where I Guide ───────────────────────────────────────── */

#areas {
  background: var(--cream);
  border-bottom: 1px solid var(--tan);
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.area-card {
  background: var(--sand);
  border-radius: 4px;
  padding: 14px 16px;
}

.area-name {
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--espresso);
  margin-bottom: 3px;
}

.area-desc {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
  color: var(--brown-dark);
}

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

/* ── Contact ─────────────────────────────────────────────── */

#contact {
  background: var(--espresso);
  text-align: center;
}

#contact .section-label {
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 2px;
  text-transform: none;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  margin-bottom: 28px;
}

.contact-cta {
  margin-bottom: 20px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
}

.contact-links a {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.contact-links a:hover {
  color: var(--cream);
}

.copyright {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  color: var(--brown-dark);
}
