/* Volunteer Page Styles */

/* Hero Section */
.volunteer-hero {
  text-align: center;
  padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.volunteer-hero__tagline {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: var(--spacing-lg);
}

.volunteer-hero__intro {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text-primary);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto var(--spacing-xl);
}

/* Teams Section */
.volunteer-teams {
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.volunteer-teams h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

.volunteer-teams__intro {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

.volunteer-teams__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  max-width: 900px;
  margin: 0 auto;
}

/* Team Cards */
.volunteer-team-card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  padding: var(--spacing-xl) var(--spacing-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 4px solid var(--color-forest);
  text-align: left;
}

.volunteer-team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.volunteer-team-card__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-forest);
  margin-bottom: var(--spacing-xs);
}

/* Chip container */
.volunteer-team-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--spacing-sm);
}

/* Chip base */
.volunteer-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Role chips */
.volunteer-chip--easy {
  background: rgba(45, 80, 22, 0.1);
  color: #2d5016;
}

.volunteer-chip--leadership {
  background: rgba(106, 50, 140, 0.12);
  color: #6a328c;
}

/* Location chips */
.volunteer-chip--from-home {
  background: rgba(40, 100, 170, 0.1);
  color: #2864aa;
}

.volunteer-chip--indoor {
  background: rgba(75, 90, 115, 0.12);
  color: #4b5a73;
}

.volunteer-chip--outdoor {
  background: rgba(60, 130, 80, 0.1);
  color: #2e7d46;
}

/* Schedule chips */
.volunteer-chip--flexible {
  background: rgba(26, 95, 109, 0.1);
  color: #1a5f6d;
}

.volunteer-chip--fri-evening {
  background: rgba(150, 60, 90, 0.1);
  color: #963c5a;
}

.volunteer-chip--sat-morning {
  background: rgba(180, 130, 30, 0.1);
  color: #967018;
}

.volunteer-chip--sat-afternoon {
  background: rgba(160, 95, 40, 0.12);
  color: #a05f28;
}

.volunteer-chip--sat-full {
  background: rgba(140, 100, 50, 0.1);
  color: #7a5a28;
}

/* Physical chips */
.volunteer-chip--lifting {
  background: rgba(200, 110, 20, 0.1);
  color: #b06010;
}

.volunteer-team-card__description {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

.volunteer-team-card__actions {
  margin: var(--spacing-md) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

/* Featured card (Coastal Cleanup) */
.volunteer-team-card--featured {
  border: 2px solid rgba(45, 80, 22, 0.3);
  border-top: 4px solid var(--color-forest);
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.03) 0%, var(--color-card-bg) 100%);
}

/* Benefits Section */
.volunteer-benefits {
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.volunteer-benefits h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

.volunteer-benefits__intro {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

.volunteer-benefits__list {
  max-width: 600px;
  margin: 0 auto;
}

.volunteer-benefits__item {
  text-align: left;
  border-left: 4px solid var(--color-forest);
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  font-family: 'Poppins', sans-serif;
  color: var(--color-text-primary);
  font-size: 1rem;
  line-height: 1.6;
}

.volunteer-benefits__item:last-child {
  margin-bottom: 0;
}

.volunteer-benefits__item strong {
  color: var(--color-forest);
}

/* Sign-Up CTA Section */
.volunteer-signup {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.05) 0%, rgba(45, 80, 22, 0.02) 100%);
  border-radius: var(--border-radius);
  border: 1px solid rgba(45, 80, 22, 0.15);
}

.volunteer-signup h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: var(--color-forest);
  margin-bottom: var(--spacing-sm);
}

.volunteer-signup__note {
  max-width: 760px;
  margin: 0 auto var(--spacing-lg);
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
  border-left: 4px solid var(--color-coral-dark);
  border-radius: 8px;
  background: rgba(244, 126, 96, 0.12);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-primary);
}

.volunteer-signup__note a {
  color: var(--color-accent);
  font-weight: 600;
}

.volunteer-signup__note a:hover,
.volunteer-signup__note a:focus {
  color: var(--color-accent-dark);
}

/* Volunteer Form */
.volunteer-form__field {
  max-width: 400px;
  margin: 0 auto var(--spacing-lg);
  text-align: left;
}

.volunteer-form__label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.volunteer-form__input {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: var(--color-text-primary);
  box-sizing: border-box;
  min-height: 44px;
  transition: border-color 0.2s ease;
}

.volunteer-form__input:focus {
  outline: none;
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.15);
}

.volunteer-form__fieldset {
  border: none;
  padding: 0;
  margin: 0 auto var(--spacing-xl);
  max-width: 400px;
  text-align: left;
}

.volunteer-form__fieldset legend {
  margin-bottom: var(--spacing-xs);
}

.volunteer-form__radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.volunteer-form__radio-label,
.volunteer-form__checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  cursor: pointer;
  line-height: 1.4;
}

.volunteer-form__radio-label input,
.volunteer-form__checkbox-label input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-forest);
  cursor: pointer;
}

.volunteer-form__team-choices {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(45, 80, 22, 0.04);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.volunteer-form__team-choices[hidden],
.volunteer-form__conditional-field[hidden] {
  display: none;
}

.volunteer-form__conditional-field {
  margin-top: var(--spacing-md);
}

.volunteer-form__submit {
  margin-top: var(--spacing-sm);
}

.volunteer-form__success {
  display: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-forest);
  padding: var(--spacing-xl) var(--spacing-lg);
  line-height: 1.6;
}

/* Responsive */
@media (min-width: 768px) {
  .volunteer-teams__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .volunteer-teams h2,
  .volunteer-benefits h2,
  .volunteer-signup h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 374px) {
  .volunteer-team-card {
    padding: var(--spacing-lg) var(--spacing-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .volunteer-team-card {
    transition: none;
  }

  .volunteer-team-card:hover {
    transform: none;
  }
}
