/* =============================================
   Rogue Valley Renters Voices — Shared Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Lora:wght@400;600&display=swap');

:root {
  --green:      #2E6B4F;
  --green-dark: #1C4A35;
  --green-light:#4A9970;
  --amber:      #E07B2A;
  --amber-light:#F4A44E;
  --cream:      #F7F3EC;
  --cream-dark: #EDE6D8;
  --charcoal:   #2C2C2C;
  --mid:        #555;
  --white:      #FFFFFF;
  --shadow:     0 4px 18px rgba(0,0,0,0.10);
  --radius:     12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
}

/* ── NAV ── */
header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.logo-text {
  line-height: 1.1;
}

.logo-text .abbr {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.logo-text .full {
  font-size: 0.62rem;
  color: #aed4bf;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

nav ul a {
  display: block;
  padding: 0.45rem 1rem;
  color: #d0ead8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

nav ul a:hover,
nav ul a.active {
  background: var(--amber);
  color: var(--white);
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-light) 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero h1 span { color: var(--amber-light); }

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #c8e6d4;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.btn-primary {
  background: var(--amber);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  margin-left: 0.75rem;
}

.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ── MAIN CONTENT WRAPPER ── */
main { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── SECTION ── */
section { padding: 4rem 0; }

.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--mid);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--amber);
  border-radius: 2px;
  margin: 0.75rem 0 1.5rem;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
  transition: transform 0.2s;
}

.card:hover { transform: translateY(-4px); }

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.card p { color: var(--mid); font-size: 0.95rem; }

.card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--amber);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.card a:hover { text-decoration: underline; }

/* ── HIGHLIGHT BAND ── */
.band {
  background: var(--green-dark);
  color: var(--white);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.band h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.band p { color: #b8ddc8; max-width: 620px; margin: 0 auto 2rem; }

/* ── ACCORDION (Know Your Rights) ── */
.accordion { display: flex; flex-direction: column; gap: 1rem; }

.accordion-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.accordion-btn:hover { background: var(--cream-dark); }
.accordion-btn .chevron { font-style: normal; transition: transform 0.3s; }
.accordion-btn.open .chevron { transform: rotate(180deg); }

.accordion-body {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--mid);
  font-size: 0.97rem;
}

.accordion-body.open { display: block; }

.accordion-body ul { padding-left: 1.4rem; margin-top: 0.5rem; }
.accordion-body li { margin-bottom: 0.4rem; }

/* ── TWO-COL LAYOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

/* ── CALLOUT BOX ── */
.callout {
  background: var(--cream-dark);
  border-left: 5px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.callout h4 { color: var(--amber); margin-bottom: 0.4rem; font-size: 1rem; }
.callout p  { color: var(--charcoal); font-size: 0.95rem; margin: 0; }

/* ── RESOURCE LIST ── */
.resource-list { list-style: none; }
.resource-list li {
  background: var(--white);
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.resource-list .ri-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.resource-list strong { display: block; color: var(--green-dark); }
.resource-list a { color: var(--amber); font-size: 0.9rem; }

/* ── STORY PAGE ── */
.story-hero {
  background: linear-gradient(135deg, #1C3A28 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.story-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.story-hero p { color: #b8ddc8; max-width: 580px; margin: 0 auto; }

.timeline { position: relative; max-width: 700px; margin: 2rem auto 0; padding-left: 2.5rem; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--green-light);
  border-radius: 2px;
}

.tl-item { position: relative; margin-bottom: 2.5rem; }

.tl-dot {
  position: absolute;
  left: -2.05rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--amber);
}

.tl-date { font-size: 0.8rem; font-weight: 800; color: var(--amber); letter-spacing: 0.5px; text-transform: uppercase; }
.tl-item h4 { color: var(--green-dark); font-size: 1.05rem; margin: 0.15rem 0 0.35rem; }
.tl-item p { color: var(--mid); font-size: 0.93rem; }

/* ── FOOTER ── */
footer {
  background: var(--green-dark);
  color: #9ac8ae;
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.88rem;
  margin-top: 3rem;
}

footer a { color: var(--amber-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .disclaimer {
  max-width: 600px;
  margin: 0.75rem auto 0;
  font-size: 0.78rem;
  color: #6a9e7e;
  line-height: 1.5;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.page-hero p { color: #c8e6d4; max-width: 560px; margin: 0 auto; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--green-dark); padding: 1rem 1.5rem 1.5rem; gap: 0.25rem; }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .btn-outline { margin-left: 0; margin-top: 0.75rem; display: block; text-align: center; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
}
