/* style/beginner-guide.css */

.page-beginner-guide {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default text color for dark background */
    background-color: #1A2E47; /* Main background color */
}

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

/* Hero Section */
.page-beginner-guide__hero-section {
    background: linear-gradient(135deg, #1A2E47 0%, #3a5c88 100%); /* Darker gradient for hero */
    padding: 80px 0;
    text-align: center;
    color: #FFD700; /* Gold for main title */
}

.page-beginner-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    color: #FFD700; /* Gold */
}

.page-beginner-guide__hero-subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #e0e0e0;
}

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

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

.page-beginner-guide__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #1A2E47; /* Midnight Blue */
}

.page-beginner-guide__btn--primary:hover {
    background-color: #e6c200; /* Darker Gold */
    transform: translateY(-2px);
}

.page-beginner-guide__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
}

.page-beginner-guide__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2E47;
    transform: translateY(-2px);
}

.page-beginner-guide__btn--center {
    display: block;
    margin: 30px auto;
    max-width: 300px;
    text-align: center;
}

.page-beginner-guide__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-beginner-guide__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Content Section */
.page-beginner-guide__content-section {
    padding: 60px 0;
    background-color: #1A2E47;
}

.page-beginner-guide__article {
    background-color: #273D5C; /* Slightly lighter dark blue for article cards */
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.page-beginner-guide__subsection-title {
    font-size: 1.8em;
    color: #f0f0f0;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-beginner-guide__article p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #c0c0c0;
}

.page-beginner-guide__article ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #c0c0c0;
}

.page-beginner-guide__article ul li {
    margin-bottom: 8px;
}

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

.page-beginner-guide__article a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-beginner-guide__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Related Guides List */
.page-beginner-guide__related-guides-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-beginner-guide__guide-card {
    background-color: #1A2E47; /* Main dark blue for card background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #FFD70033;
}

.page-beginner-guide__guide-card-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-beginner-guide__guide-card-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-beginner-guide__guide-card-title a:hover {
    text-decoration: underline;
}

.page-beginner-guide__guide-card-description {
    font-size: 1em;
    color: #b0b0b0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-beginner-guide__faq-item {
    background-color: #273D5C; /* Slightly lighter dark blue */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__faq-question {
    font-size: 1.3em;
    color: #FFD700; /* Gold */
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: 600;
}

.page-beginner-guide__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-beginner-guide__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-beginner-guide__faq-answer {
    font-size: 1.05em;
    color: #c0c0c0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
}

.page-beginner-guide__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    padding-top: 10px;
}

/* Final CTA */
.page-beginner-guide__cta-final {
    text-align: center;
    padding: 60px 0;
    background-color: #1A2E47;
    border-top: 1px solid #FFD70033;
    margin-top: 40px;
}

.page-beginner-guide__cta-final p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-beginner-guide__hero-title {
        font-size: 2.8em;
    }
    .page-beginner-guide__section-title {
        font-size: 2em;
    }
    .page-beginner-guide__subsection-title {
        font-size: 1.5em;
    }
    .page-beginner-guide__article {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-beginner-guide__hero-title {
        font-size: 2.2em;
    }
    .page-beginner-guide__hero-subtitle {
        font-size: 1.1em;
    }
    .page-beginner-guide__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-beginner-guide__btn {
        width: 100%;
        max-width: 280px;
    }
    .page-beginner-guide__section-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__subsection-title {
        font-size: 1.3em;
    }
    .page-beginner-guide__article {
        padding: 20px;
    }
    .page-beginner-guide__article p, .page-beginner-guide__article ul li {
        font-size: 1em;
    }
    .page-beginner-guide__faq-question {
        font-size: 1.1em;
    }
    .page-beginner-guide__faq-answer {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-beginner-guide__hero-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__hero-section {
        padding: 60px 0;
    }
    .page-beginner-guide__section-title {
        font-size: 1.5em;
    }
    .page-beginner-guide__content-section {
        padding: 40px 0;
    }
    .page-beginner-guide__article {
        padding: 15px;
        margin-bottom: 25px;
    }
    .page-beginner-guide__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-beginner-guide__cta-final {
        padding: 40px 0;
    }
}