/* =============================
   Rivers of Hope — pages.css
   Styling for About, Blog, Contact, Causes, etc.
   Matches rivershope.html design
=============================== */

/* Use the same root variables */
:root{
  --green: #2e8b57;
  --green-dark: #23664a;
  --white: #ffffff;
  --muted: #6b7280;
  --text: #1f2937;
  --container: 1150px;
}

/* Reset & base */
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  background:#f7faf8;
  color:var(--text);
  line-height:1.5;
}
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

/* Use the SAME HEADER as homepage */
.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:var(--green-dark);
  color:var(--white);
  z-index:1200;
  box-shadow:0 6px 30px rgba(0,0,0,0.12);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.logo{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:8px;
}
.brand-text h1{
  font-size:18px;
  color:var(--white);
  margin:0;
}
.brand-text small{
  font-size:12px;
  color:rgba(255,255,255,0.9);
}

.main-nav{margin-left:auto}
.nav-links{
  display:flex;
  gap:18px;
  list-style:none;
}
.nav-links a{
  color:var(--white);
  font-weight:600;
  text-decoration:none;
  padding:8px 10px;
  border-radius:6px;
}
.nav-links a:hover{
  background:rgba(255,255,255,0.06);
}

.hamburger{
  display:none;
  background:transparent;
  border:0;
  font-size:20px;
  color:var(--white);
}

/* Page top spacing */
main{
  padding-top:100px;
}

/* PAGE TITLES */
.page-header{
  background:var(--green-dark);
  padding:40px 0;
  color:var(--white);
  text-align:center;
}
.page-header h1{
  font-size:32px;
  margin-bottom:10px;
}
.page-header p{
  font-size:1rem;
  opacity:0.9;
}

/* GENERAL CONTENT SECTIONS */
.section{
  padding:50px 0;
}

/* ABOUT PAGE */
.about-wrapper{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:30px;
  padding:20px;
}
.about-text{
  flex:1 1 550px;
  background:var(--white);
  padding:24px;
  border-radius:12px;
  box-shadow:0 6px 20px rgba(2,6,23,0.06);
}
.about-text h2{
  color:var(--green-dark);
  margin-bottom:12px;
}
.about-text p{
  margin-bottom:14px;
  line-height:1.7;
}

.about-image{
  flex:1 1 400px;
}
.about-image img{
  width:100%;
  border-radius:12px;
  object-fit:cover;
  box-shadow:0 6px 20px rgba(2,6,23,0.05);
}

/* FOOTER (same as homepage) */
.site-footer{
  background:var(--green-dark);
  color:var(--white);
  padding:36px 0 16px;
  margin-top:24px;
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:30px;
  padding:0 20px;
}
.footer-col h4{margin-bottom:12px}
.footer-col a{
  color:var(--white);
  text-decoration:none;
}
.socials a{
  color:var(--white);
  margin-right:12px;
  font-size:18px;
}
.footer-bottom{
  background:rgba(0,0,0,0.06);
  padding:12px 0;
  text-align:center;
  margin-top:20px;
}

/* RESPONSIVENESS */
@media(max-width:900px){
  .about-wrapper{
    flex-direction:column;
  }
}

/* MOBILE NAV */
@media(max-width:800px){
  .nav-links{
    display:none;
    flex-direction:column;
    background:var(--green-dark);
    position:absolute;
    right:12px;
    top:80px;
    padding:12px;
    width:220px;
    border-radius:10px;
  }
  .nav-links.open{display:flex}
  .hamburger{display:block}
  .nav-links {
    display: none;
}

.nav-links.active {
    display: flex;
}
}
