/* Opportunities Page Styles */
/* This stylesheet creates a clean, organized layout for the opportunities page
   with 3 large, clickable cards for Management, Staff, and Volunteer positions */

.opportunities-section {
  width: 75%;
  margin: 0 auto;
  padding: 40px 0;
}

.opportunities-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #34495e;
}

/* Intro text provides context about the blanket application system */
.opportunities-section .intro-text {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid layout for the 3 opportunity cards */
#opportunity-listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Individual opportunity card styling */
.opportunity-card {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  border: 2px solid #ddd;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

/* Hover effect to make cards interactive and inviting */
.opportunity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  border-color: #007bff;
}

/* Card title styling */
.opportunity-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 600;
}

/* Card description text */
.opportunity-card p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #555;
  line-height: 1.5;
}

/* Apply button within each card - main CTA */
.opportunity-card .apply-button {
  display: inline-block;
  text-decoration: none;
  color: white;
  background-color: #007bff;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Button hover effect for better user feedback */
.opportunity-card .apply-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Responsive design for tablets */
@media (max-width: 768px) {
  .opportunities-section {
    width: 90%;
  }

  .opportunities-section h2 {
    font-size: 2rem;
  }

  #opportunity-listings {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .opportunity-card {
    padding: 30px 20px;
  }
}

/* Responsive design for mobile devices */
@media (max-width: 480px) {
  .opportunities-section h2 {
    font-size: 1.8rem;
  }

  .opportunities-section .intro-text {
    font-size: 1rem;
  }

  .opportunity-card h3 {
    font-size: 1.5rem;
  }

  .opportunity-card p {
    font-size: 0.95rem;
  }
}
