/* style/resources.css */

/* General Page Styling */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

/* Hero Section */
.page-resources__hero-section {
    background: linear-gradient(135deg, #003366, #1a4d80);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric,dark_blue]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 1;
}

.page-resources__hero-section > div {
    position: relative;
    z-index: 2;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFCC00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: #e0e0e0;
}

/* Buttons */
.page-resources__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-resources__btn--primary {
    background-color: #FFCC00;
    color: #003366;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.page-resources__btn--primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

.page-resources__btn--secondary {
    background-color: #003366;
    color: #FFCC00;
    border: 2px solid #FFCC00;
    margin-left: 15px;
}

.page-resources__btn--secondary:hover {
    background-color: #FFCC00;
    color: #003366;
    border-color: #003366;
    transform: translateY(-2px);
}

/* Section Titles */
.page-resources__section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources__section-subtitle {
    font-size: 1.2em;
    color: #555;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-resources__intro-section {
    padding: 80px 0;
    background-color: #f0f2f5;
}

.page-resources__intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources__intro-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-resources__intro-item:hover {
    transform: translateY(-10px);
}

.page-resources__intro-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 51, 102, 0.2));
}

.page-resources__intro-item h3 {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 15px;
}

.page-resources__intro-item p {
    color: #666;
}

/* Detail List Section */
.page-resources__detail-list-section {
    padding: 80px 0;
    background-color: #fff;
}

.page-resources__articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources__article-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources__article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-resources__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources__article-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources__article-title a {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
    color: #FFCC00;
}

.page-resources__article-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-resources__article-card .page-resources__btn--secondary {
    margin-left: 0;
    padding: 10px 20px;
    font-size: 0.9em;
    align-self: flex-start;
}

/* Call to Action Section */
.page-resources__cta-section {
    background: linear-gradient(90deg, #003366, #0055aa);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_geometric_pattern,blue_gradient,subtle]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 1;
}

.page-resources__cta-section > div {
    position: relative;
    z-index: 2;
}

.page-resources__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFCC00;
    font-weight: bold;
}

.page-resources__cta-description {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #e0e0e0;
}

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

/* Additional Info Section */
.page-resources__additional-info {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.page-resources__additional-info p {
    margin-bottom: 20px;
    color: #444;
    font-size: 1.1em;
}

.page-resources__additional-info a {
    color: #003366;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__additional-info a:hover {
    color: #FFCC00;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 3em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__cta-title {
        font-size: 2.2em;
    }
    .page-resources__cta-description {
        font-size: 1.1em;
    }
    .page-resources__intro-grid, .page-resources__articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources__hero-section, .page-resources__intro-section, .page-resources__detail-list-section, .page-resources__cta-section, .page-resources__additional-info {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-resources__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__cta-buttons .page-resources__btn {
        width: 80%;
        max-width: 300px;
    }
    .page-resources__intro-grid, .page-resources__articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__hero-description, .page-resources__cta-description, .page-resources__section-subtitle {
        font-size: 0.9em;
    }
    .page-resources__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-resources__cta-buttons .page-resources__btn {
        width: 100%;
    }
    .page-resources__article-title {
        font-size: 1.2em;
    }
    .page-resources__article-description {
        font-size: 0.85em;
    }
}