/* Additional CSS for lightbox functionality */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
  border: 3px solid white;
}

.lightbox-content p {
  color: white;
  text-align: center;
  margin-top: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Timeline animations */
.timeline-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Form styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-control.error {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
}

/* Social media sharing buttons */
.share-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  transition: background-color 0.3s ease;
}

.share-btn.facebook {
  background-color: #3b5998;
}

.share-btn.twitter {
  background-color: #1da1f2;
}

.share-btn.email {
  background-color: #6c757d;
}

.share-btn:hover {
  opacity: 0.9;
}

/* Document viewer */
.document-viewer {
  width: 100%;
  height: 600px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Call to action banner */
.cta-banner {
  background-color: var(--primary-color);
  color: var(--accent-color);
  padding: 3rem 0;
  text-align: center;
  margin: 4rem 0;
}

.cta-banner h2 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

/* Petition counter */
.petition-counter {
  background-color: var(--accent-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.counter-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.counter-label {
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* Quote styling */
blockquote {
  font-style: italic;
  border-left: 4px solid var(--secondary-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-weight: bold;
  margin-top: 1rem;
}

/* Print styles */
@media print {
  header, footer, .cta-buttons, .share-buttons, .mobile-menu-btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .container {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
}
