/* style/resources.css */

/* General Page Styling */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for the main content area */
}

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

.page-resources__section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources__section-title {
    font-size: 36px;
    color: #000080; /* Dark blue for main titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources__section-description {
    font-size: 18px;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-resources__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px;
}

.page-resources__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark blue text on gold */
    border: 2px solid #FFD700;
}

.page-resources__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #000060;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources__btn-secondary {
    background-color: #000080; /* Dark blue */
    color: #FFD700; /* Gold text on dark blue */
    border: 2px solid #000080;
}

.page-resources__btn-secondary:hover {
    background-color: #000060;
    border-color: #000060;
    color: #ffe033;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources__btn-link {
    display: inline-block;
    color: #000080;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.page-resources__btn-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

.page-resources__btn-small {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 15px;
    background-color: #FFD700;
    color: #000080;
    border: 1px solid #FFD700;
}

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

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, #FFD700, #000080); /* Gradient background */
    color: #ffffff; /* White text on dark/gradient background */
    overflow: hidden;
}

.page-resources__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-resources__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 900px; /* Adjust max-width for image */
}

.page-resources__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-resources__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff; /* White text for contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources__intro-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f0f0f0; /* Slightly off-white for body text */
}

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

/* Introduction Section */
.page-resources__introduction {
    background-color: #f8f8f8;
    color: #333333;
}

.page-resources__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-resources__image-left, .page-resources__image-right {
    flex: 1;
    min-width: 300px;
}

.page-resources__image-left img, .page-resources__image-right img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources__text-content {
    flex: 2;
    min-width: 300px;
}

.page-resources__text-content h2 {
    color: #000080;
    font-size: 28px;
    margin-bottom: 15px;
}

.page-resources__text-content p {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.7;
}

/* Guides Section */
.page-resources__guides {
    background-color: #ffffff;
}

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

.page-resources__guide-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-resources__card-title {
    font-size: 22px;
    color: #000080;
    margin: 20px 15px 10px;
    font-weight: bold;
}

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

.page-resources__card-title a:hover {
    color: #FFD700;
}

.page-resources__card-text {
    font-size: 16px;
    color: #555555;
    padding: 0 15px;
    margin-bottom: 20px;
}

/* Game Types Section */
.page-resources__game-types {
    background-color: #f0f2f5;
}

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

.page-resources__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__game-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

.page-resources__game-title {
    font-size: 20px;
    color: #000080;
    margin: 15px 10px 5px;
    font-weight: bold;
}

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

.page-resources__game-title a:hover {
    color: #FFD700;
}

.page-resources__game-description {
    font-size: 15px;
    color: #666666;
    padding: 0 10px;
}