/* style/resources.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #071a40;
    --border-color: #e0e0e0;
}

.page-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-resources .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-resources .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-resources .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-resources p {
    font-size: 1.1em;
    margin-bottom: 1em;
    line-height: 1.8;
}

.page-resources .cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources .cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources .cta-button.secondary {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources .cta-button.secondary:hover {
    background: var(--bg-dark);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Hero Section */
.page-resources .hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources .hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-resources .hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.page-resources .hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* Introduction Section */
.page-resources .introduction-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

/* Guides Section */
.page-resources .guides-section {
    padding: 80px 0;
    background-color: var(--text-light);
}

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

.page-resources .guide-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-resources .guide-card .card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-resources .guide-card .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources .guide-card .card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-resources .guide-card .card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources .guide-card .card-title a:hover {
    color: var(--secondary-color);
}

.page-resources .guide-card .card-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources .guide-card .read-more-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.page-resources .guide-card .read-more-link:hover {
    color: var(--primary-color);
}

/* Game Strategies Section */
.page-resources .game-strategies-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.page-resources .game-strategies-section .section-title {
    margin-bottom: 20px;
}

.page-resources .game-strategies-section > p {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.15em;
    color: #555;
}

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

.page-resources .strategy-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-resources .strategy-item:hover {
    transform: translateY(-5px);
}

.page-resources .strategy-item .strategy-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.page-resources .strategy-item .strategy-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources .strategy-item .strategy-description {
    font-size: 1em;
    color: #777;
}

.page-resources .text-center {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-resources .faq-section {
    padding: 80px 0;
    background-color: var(--text-light);
}

.page-resources .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-resources .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-resources .faq-question:hover {
    background: #f5f5f5;
}

.page-resources .faq-question h3 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin: 0;
    flex-grow: 1;
}

.page-resources .faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-resources .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-resources .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: #555;
}

.page-resources .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-resources .faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Contact CTA Section */
.page-resources .contact-cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--bg-dark), var(--primary-color));
    color: var(--text-light);
    text-align: center;
}

.page-resources .contact-cta-section .section-title {
    color: var(--secondary-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-resources .contact-cta-section p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.2em;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources .hero-title {
        font-size: 3em;
    }
    .page-resources .hero-description {
        font-size: 1.2em;
    }
    .page-resources .section-title {
        font-size: 2em;
    }
    .page-resources .guides-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-resources .strategy-item .strategy-icon {
        width: 100px;
        height: 100px;
    }
    .page-resources .strategy-item .strategy-title {
        font-size: 1.4em;
    }
    .page-resources .faq-question h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-resources .hero-section {
        padding: 80px 0;
    }
    .page-resources .hero-title {
        font-size: 2.5em;
    }
    .page-resources .hero-description {
        font-size: 1em;
    }
    .page-resources .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources .section-title {
        font-size: 1.8em;
    }
    .page-resources p {
        font-size: 1em;
    }
    .page-resources .guides-grid {
        grid-template-columns: 1fr;
    }
    .page-resources .guide-card .card-image {
        height: 180px;
    }
    .page-resources .guide-card .card-title {
        font-size: 1.3em;
    }
    .page-resources .strategy-items {
        grid-template-columns: 1fr;
    }
    .page-resources .faq-question {
        padding: 15px 20px;
    }
    .page-resources .faq-question h3 {
        font-size: 1.1em;
    }
    .page-resources .faq-toggle {
        font-size: 1.8em;
    }
    .page-resources .faq-answer {
        padding: 0 20px;
    }
    .page-resources .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-resources .contact-cta-section p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-resources .hero-section {
        padding: 60px 0;
    }
    .page-resources .hero-title {
        font-size: 2em;
    }
    .page-resources .hero-description {
        font-size: 0.9em;
    }
    .page-resources .section-title {
        font-size: 1.6em;
    }
    .page-resources .guide-card .card-content {
        padding: 15px;
    }
    .page-resources .guide-card .card-title {
        font-size: 1.2em;
    }
    .page-resources .strategy-item {
        padding: 20px;
    }
    .page-resources .strategy-item .strategy-icon {
        width: 80px;
        height: 80px;
    }
    .page-resources .strategy-item .strategy-title {
        font-size: 1.2em;
    }
    .page-resources .faq-question h3 {
        font-size: 1em;
    }
}