/* Cars4Work Website Styles */

:root {
  --green: #2E7D32;
  --green-light: #4CAF50;
  --blue: #1976D2;
  --blue-light: #2196F3;
  --yellow: #FFC107;
  --dark: #1a1a1a;
  --gray: #666;
  --gray-light: #f5f5f5;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--dark);
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--green); }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

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

a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

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

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo img {
  height: 50px;
  width: auto;
}

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

nav a {
  color: var(--dark);
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--green);
  text-decoration: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
}

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

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}

/* Problem Statement */
.problem-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.problem-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left: 4px solid var(--yellow);
}

.problem-item h4 {
  color: var(--blue);
  margin-bottom: 0.5rem;
}

/* Problem Statements */
.problem-statements {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.problem-statement {
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left: 4px solid var(--yellow);
}

.problem-statement ul {
  margin-left: 1.25rem;
  margin-top: 0.75rem;
}

.problem-statement li {
  margin-bottom: 0.4rem;
}

.problem-statement p:last-child {
  margin-bottom: 0;
}

/* How It Works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
  padding: 2rem 1rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step h3 {
  color: var(--blue);
}

/* Collaborators */
.collaborators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

.collaborator-card h3 {
  color: var(--green);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--yellow);
}

.collaborator-card ul {
  margin-left: 1.25rem;
  color: var(--gray);
}

.collaborator-card li {
  margin-bottom: 0.5rem;
}

/* Donate Section */
.donate-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.donate-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.donate-card h3 {
  color: var(--blue);
}

/* Volunteer Section */
.volunteer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.volunteer-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.volunteer-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--gray);
}

/* Forms */
.form-section {
  max-width: 600px;
  margin: 0 auto;
}

.form-intro {
  text-align: center;
  margin-bottom: 2rem;
}

form {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-section-heading {
  color: var(--blue);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: normal;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  width: auto;
}

/* Success Stories Placeholder */
.placeholder-section {
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: 8px;
  border: 2px dashed #ddd;
  margin-top: 2rem;
}

.placeholder-section p {
  color: var(--gray);
  font-style: italic;
}

/* TODO markers */
.todo-marker {
  background: var(--yellow);
  color: var(--dark);
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
  font-weight: 500;
}

.todo-marker::before {
  content: "TODO: ";
  font-weight: 700;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.testimonial-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.testimonial-content {
  padding: 1.5rem;
}

.testimonial-content h3 {
  color: var(--green);
  margin-bottom: 0.25rem;
}

.testimonial-subtitle {
  color: var(--gray);
  font-style: italic;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--blue);
}

/* Story Pages */
.story-page {
  padding-top: 2rem;
}

.story-page .container {
  max-width: 800px;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--blue);
  font-weight: 500;
}

.story-subtitle {
  font-style: italic;
  color: var(--gray);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.story-hero {
  margin-bottom: 2rem;
}

.story-hero img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.story-body p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* Collaborator Logos */
.collaborator-logo {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.collaborator-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* Donate Section */
.donate-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.donate-logo {
  height: 60px;
  margin-bottom: 1rem;
}

.donate-intro p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.zeffy-embed {
  max-width: 700px;
  margin: 0 auto;
}

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

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

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

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

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

  section { padding: 3rem 0; }

  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  nav ul.active {
    display: flex;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .volunteer-content {
    grid-template-columns: 1fr;
  }

  .volunteer-image {
    order: -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
