/* style/resources.css */
/* 
  Page-specific styles for the Resources page.
  All class names adhere to BEM naming convention: .page-resources__element-name
  Styles are scoped to .page-resources to avoid conflicts.
  Body background is #121212 (dark), so main text color should be #ffffff.
*/

.page-resources {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Main content background will be handled by sections */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-resources__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 80px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff; /* Ensure text is white on dark background */
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4); /* Darken background image for text readability */
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-resources__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Section Styling */
.page-resources__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  line-height: 1.3;
}

.page-resources__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources__dark-section {
  background-color: #017439; /* Brand primary color for dark sections */
  padding: 60px 0;
  color: #ffffff;
}

.page-resources__light-bg {
  background-color: #ffffff; /* Auxiliary color for light sections */
  padding: 60px 0;
  color: #333333; /* Dark text on light background for contrast */
}