/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0;
    line-height: 1.6;
    background-color: #0A192F;
}

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

.page-resources__hero {
    background: linear-gradient(135deg, #0A192F, #1A3047);
    padding: 100px 0;
    text-align: center;
    color: #FFD700;
    position: relative;
    overflow: hidden;
}

.page-resources__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    animation: page-resources-pulse 3s infinite alternate;
}

.page-resources__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    animation: page-resources-pulse 4s infinite alternate reverse;
}

@keyframes page-resources-pulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 0.9; }
}

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

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

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

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

.page-resources__btn--primary {
    background-color: #FFD700;
    color: #0A192F;
}

.page-resources__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.page-resources__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}

.page-resources__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-resources__introduction p,
.page-resources__detail-pages p,
.page-resources__cta p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #CCCCCC;
    text-align: justify;
}

.page-resources__introduction {
    padding: 60px 0;
    background-color: #0F2038;
}

.page-resources__introduction p strong {
    color: #FFD700;
}

.page-resources__image--fullwidth {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-resources__content-grid {
    padding: 60px 0;
    background-color: #0A192F;
}

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

.page-resources__grid-item {
    background-color: #0F2038;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-resources__item-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources__item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.page-resources__grid-item:hover .page-resources__item-image {
    filter: brightness(1);
}

.page-resources__detail-pages {
    padding: 60px 0;
    background-color: #0F2038;
}

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

.page-resources__article-item {
    background-color: #1A3047;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-resources__article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

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

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

.page-resources__article-title a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-resources__article-description {
    font-size: 0.95em;
    color: #B0B0B0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    align-self: flex-start;
    background-color: #FFD700;
    color: #0A192F;
    border: none;
}

.page-resources__btn--small:hover {
    background-color: #e6c200;
}

.page-resources__cta {
    background-color: #1A3047;
    padding: 80px 0;
    text-align: center;
    color: #E0E0E0;
}

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

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

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

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 80px 0;
    }
    .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__item-title {
        font-size: 1.5em;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__introduction p,
    .page-resources__detail-pages p,
    .page-resources__cta p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-resources__hero {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__hero-description {
        font-size: 0.9em;
    }
    .page-resources__btn {
        padding: 12px 20px;
        font-size: 1em;
        width: 90%;
    }
    .page-resources__section-title {
        font-size: 1.5em;
        margin-bottom: 25px;
        padding-top: 40px;
    }
    .page-resources__grid-item,
    .page-resources__article-item {
        padding: 20px;
    }
    .page-resources__item-title {
        font-size: 1.3em;
    }
    .page-resources__article-title {
        font-size: 1.2em;
    }
    .page-resources__btn--small {
        padding: 8px 15px;
        font-size: 0.85em;
    }
    .page-resources__cta-title {
        font-size: 1.5em;
    }
}