/* Save Russell House - Advocacy Website Styles */

:root {
  --color-primary: #2c5530;
  --color-primary-dark: #1e3a21;
  --color-primary-light: #e8f0e9;
  --color-accent: #8b4513;
  --color-urgent: #c41e3a;
  --color-update: #E07A5F;
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #faf9f7;
  --color-white: #fff;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1100px;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.3;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
}

.site-title:hover {
  text-decoration: none;
}

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

nav a {
  color: var(--color-white);
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  text-decoration: none;
  border-bottom-color: var(--color-white);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('../images/hero.webp') center/cover no-repeat;
  color: var(--color-white);
  padding: 6rem 0;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Urgent Banner */
.urgent-banner {
  background: var(--color-urgent);
  color: var(--color-white);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}

.urgent-banner a {
  color: var(--color-white);
  text-decoration: underline;
}

.urgent-banner.update {
  background: var(--color-update);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

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

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

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

.btn-urgent:hover {
  background: #a01830;
}

/* Sections */
section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* Timeline */
.timeline {
  max-width: 600px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-date {
  min-width: 120px;
  font-weight: 600;
  color: var(--color-primary);
}

.timeline-item.urgent .timeline-date {
  color: var(--color-urgent);
}

/* Info Box */
.info-box {
  background: #e8f0e9;
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem;
  margin: 2rem 0;
}

.info-box.urgent {
  background: #fce8eb;
  border-left-color: var(--color-urgent);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

/* Page Header */
.page-header {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
}

/* Content */
.content {
  padding: 4rem 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Info */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Team List */
.team-list {
  list-style: none;
}

.team-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.team-list li:last-child {
  border-bottom: none;
}

.team-name {
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* Signup Section */
.signup-section {
  background: var(--color-bg);
  padding: 4rem 0;
}

.signup-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border-top: 4px solid var(--color-primary);
}

.signup-card h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.signup-card > p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.signup-card iframe {
  width: 100%;
  min-height: 300px;
  border: none;
  margin: 1rem 0;
}

.form-placeholder {
  background: #f5f5f5;
  border: 2px dashed #ccc;
  border-radius: 4px;
  padding: 2rem;
  margin: 1.5rem 0;
}

.form-placeholder p {
  margin-bottom: 0.5rem;
}

.form-placeholder p:last-child {
  margin-bottom: 0;
}

.privacy-note {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Footer */
footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 3rem 0;
  margin-top: 4rem;
}

footer a {
  color: var(--color-white);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    justify-content: center;
  }

  .hero {
    padding: 4rem 0;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .timeline-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .timeline-date {
    min-width: auto;
  }
}
