/* =========================================================
   Clackamas River RV Park — Stylesheet
   Headings: Spectral | Body/UI: Work Sans
   ========================================================= */

:root {
  --color-text: #2a2a2a;
  --color-maroon: #8a1c05;
  --color-maroon-dark: #6e1704;
  --color-btn: #0064d5;
  --color-btn-hover: #0154b2;
  --color-cream: #faf4e3;
  --color-cream-light: #fcf8ee;
  --color-border: #d8d2c4;
  --color-white: #ffffff;
  --font-heading: 'Spectral', Georgia, serif;
  --font-body: 'Work Sans', Helvetica, Arial, sans-serif;
  --container-width: 1200px;
  --gap: 32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--color-text);
}

h2 { font-size: clamp(28px, 3.4vw, 38px); }
h3 { font-size: 22px; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 800px; }

.container.center { text-align: center; }

.section { padding: 48px 0; }

/* ---------- Buttons ---------- */

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  display: inline-block;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--color-btn);
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-solid {
  background-color: var(--color-btn);
  color: var(--color-white);
}
.btn-solid:hover { background-color: var(--color-btn-hover); border-color: var(--color-btn-hover); }

.btn-outline {
  background-color: transparent;
  color: var(--color-btn);
}
.btn-outline:hover { background-color: var(--color-btn); color: var(--color-white); }

/* =========================================================
   Header / Hero
   ========================================================= */

.site-header { position: relative; }

.header-bg {
  background: linear-gradient(180deg, rgba(6, 14, 18, 0.72) 0%, rgba(6, 14, 18, 0.42) 30%, rgba(6, 14, 18, 0.32) 55%, rgba(6, 14, 18, 0.5) 100%),
              url('../images/header-hero-background.jpg') center top / cover no-repeat;
  min-height: 780px;
  display: flex;
  flex-direction: column;
}

.header-bg--inner {
  min-height: 460px;
  padding-bottom: 30px;
  background: linear-gradient(180deg, rgba(6, 10, 8, 0.72) 0%, rgba(6, 10, 8, 0.6) 45%, rgba(6, 10, 8, 0.72) 100%),
              url('../images/clackamas-area-02.jpg') center 60% / cover no-repeat;
}

.topbar {
  font-size: 14px;
  color: var(--color-white);
  padding: 18px 0 0;
}

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

.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contact a:hover,
.topbar-address a:hover { text-decoration: underline; }

.branding {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
  position: relative;
  z-index: 5;
}

.logo { width: 220px; height: auto; }

.main-nav {
  display: flex;
  justify-content: center;
  padding: 14px 24px 0;
  position: relative;
  z-index: 5;
}

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

.nav-list a {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-list a:hover { opacity: 0.8; }

.nav-list a.current {
  border-bottom: 2px solid var(--color-white);
  padding-bottom: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 40px 24px 90px;
  transform: translateY(-100px);
}

.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(34px, 5.5vw, 56px);
  margin-bottom: 0.25em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
}

.hero-content--inner {
  padding: 20px 24px 40px;
  transform: none;
}

.hero-content--inner h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  margin-bottom: 0;
}

/* =========================================================
   Content sections
   ========================================================= */

.intro-photo { padding-bottom: 0; }

.intro-text { padding-top: 64px; }

.inset-photo {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  border: 5px solid var(--color-white);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  margin-top: -300px;
  position: relative;
  z-index: 2;
}

.intro-text .subheading {
  font-family: var(--font-heading);
  font-size: 23px;
  font-style: italic;
  color: var(--color-text);
  margin-top: -0.4em;
  margin-bottom: 0.9em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.split-reverse .split-media { order: 2; }
.split-reverse .split-copy { order: 1; }

.split-tint { background: var(--color-cream-light); }

.split-media img {
  border-radius: 2px;
  border: 5px solid var(--color-white);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Plan your stay / cards */

.plan-stay { background: var(--color-cream-light); padding: 64px 0 88px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 40px;
  margin-bottom: 48px;
}

.card img { border-radius: 2px; margin-bottom: 20px; }
.card h3 { margin-bottom: 0.4em; }
.card p { font-size: 15.5px; color: #4a4a4a; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer { color: var(--color-white); }

.footer-bg {
  background: linear-gradient(180deg, rgba(6,11,10,0.6) 0%, rgba(6,11,10,0.78) 55%, rgba(4,7,6,0.92) 100%),
              url('../images/footer-background.jpg') center bottom / cover no-repeat;
  padding: 60px 0 0;
}

.footer-inner { text-align: center; }

.footer-branding { display: flex; justify-content: center; margin-bottom: 24px; }
.footer-branding .logo { width: 260px; }

.footer-columns {
  display: flex;
  gap: 40px;
  margin-bottom: 52px;
  text-align: center;
}

.footer-col { flex: 1 1 0; min-width: 0; }

.footer-col-heading {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  opacity: 1;
  color: var(--color-white);
  margin: 0 0 16px;
}

.footer-col-contact { display: flex; flex-direction: column; align-items: center; }

.footer-address {
  display: block;
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  text-align: center;
}

.footer-hours {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  opacity: 0.95;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}
.footer-nav a:hover { text-decoration: underline; }
.footer-nav a.current { text-decoration: underline; }

.footer-contact a:hover { text-decoration: underline; }
.footer-address:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  background-color: rgba(2, 4, 3, 0.55);
}

.footer-bottom-inner {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  opacity: 0.6;
}

.footer-bottom p { margin: 0; }
.footer-bottom a:hover { text-decoration: underline; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .split,
  .split-reverse .split { grid-template-columns: 1fr; }
  .split-reverse .split-media,
  .split-reverse .split-copy { order: initial; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .section { padding: 36px 0; }
  .intro-text { padding-top: 48px; }
  .plan-stay { padding: 48px 0 68px; }
  .cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }

  .topbar-inner { flex-direction: column; align-items: center; text-align: center; gap: 4px; }

  .branding { justify-content: space-between; padding: 0 20px; }

  .nav-toggle { display: flex; }

  .main-nav { padding-top: 10px; }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 20, 26, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 10px 0;
    z-index: 10;
  }

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

  .nav-list li { width: 100%; text-align: center; }

  .nav-list a {
    display: block;
    padding: 14px 20px;
  }

  .header-bg { min-height: 460px; }
  .header-bg--inner { min-height: 340px; }

  .hero-content { padding: 15px 20px 30px; transform: translateY(-10px); }

  .hero-content--inner { padding: 15px 20px 30px; transform: none; }

  .inset-photo { margin-top: -85px; border-width: 4px; }
  .split-media img { border-width: 4px; }

  .footer-branding .logo { width: 210px; }
  .footer-columns { flex-direction: column; align-items: center; text-align: center; gap: 32px; }
  .footer-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-col-contact { align-items: center; }
  .footer-address { flex-direction: column; align-items: center; text-align: center; }
  .footer-contact { align-items: center; text-align: center; }
  .footer-nav ul { align-items: center; }
  .footer-bottom-inner { flex-direction: column; justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .btn-group { justify-content: center; width: 100%; }
  .btn { flex: 1; text-align: center; }
}
