/* style/resources.css */

/* Base styles for the page content, considering dark body background */
.page-resources {
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Assuming body has background from shared.css */
    padding-bottom: 60px; /* Space before footer */
}

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

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

.page-resources__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-resources__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFD700; /* Primary brand color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources__hero-description {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.page-resources__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-resources__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping on desktop */
}

.page-resources__cta-button--primary {
    background-color: #FFD700; /* Primary brand color */
    color: #2C3E50; /* Auxiliary brand color for text */
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-resources__cta-button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}