/* style/beginner-guide.css */

/* Biến CSS */
:root {
    --page-beginner-guide-primary-color: #0D1B2A; /* Midnight Blue */
    --page-beginner-guide-accent-color: #FFD700; /* Gold */
    --page-beginner-guide-text-light: #FFFFFF; /* White */
    --page-beginner-guide-text-dark: #0D1B2A; /* Midnight Blue for contrast */
    --page-beginner-guide-background-light: #F0F2F5; /* Light Grey */
    --page-beginner-guide-border-color: #3B4A5C;
    --page-beginner-guide-shadow: rgba(0, 0, 0, 0.2);
}

.page-beginner-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-beginner-guide-text-light);
    background-color: var(--page-beginner-guide-primary-color);
}

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

.page-beginner-guide__section {
    padding: 60px 0;
    text-align: center;
}

.page-beginner-guide__section:nth-of-type(even) {
    background-color: #1A2B3E; /* Slightly lighter dark background */
}

.page-beginner-guide__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-beginner-guide-text-light);
    font-weight: bold;
}

.page-beginner-guide__section-intro {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.page-beginner-guide__hero {
    background: linear-gradient(135deg, var(--page-beginner-guide-primary-color) 0%, #1A2B3E 100%);
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--page-beginner-guide-text-light);
    position: relative;
    overflow: hidden;
}

.page-beginner-guide__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-beginner-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-beginner-guide-text-light);
}

.page-beginner-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-beginner-guide__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-beginner-guide__btn--primary {
    background-color: var(--page-beginner-guide-accent-color);
    color: var(--page-beginner-guide-text-dark);
    box-shadow: 0 4px 15px var(--page-beginner-guide-shadow);
}

.page-beginner-guide__btn--primary:hover {
    background-color: #E6C200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--page-beginner-guide-shadow);
}

.page-beginner-guide__btn--secondary {
    background-color: transparent;
    color: var(--page-beginner-guide-accent-color);
    border: 2px solid var(--page-beginner-guide-accent-color);
}

.page-beginner-guide__btn--secondary:hover {
    background-color: var(--page-beginner-guide-accent-color);
    color: var(--page-beginner-guide-text-dark);
    transform: translateY(-2px);
}

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

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

.page-beginner-guide__hero-image {
    margin-top: 40px;
    max-width: 600px;
    width: 100%;
}

.page-beginner-guide__image-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Why Choose Section */
.page-beginner-guide__why-choose {
    background-color: var(--page-beginner-guide-primary-color);
}

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

.page-beginner-guide__feature-item {
    background-color: #1A2B3E;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--page-beginner-guide-shadow);
    transition: transform 0.3s ease;
}

.page-beginner-guide__feature-item:hover {
    transform: translateY(-5px);
}

.page-beginner-guide__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-beginner-guide-accent-color));
}

.page-beginner-guide__feature-title {
    font-size: 1.5em;
    color: var(--page-beginner-guide-accent-color);
    margin-bottom: 15px;
}

.page-beginner-guide__feature-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* Steps Section */
.page-beginner-guide__steps {
    background-color: #1A2B3E;
}

.page-beginner-guide__step-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    text-align: left;
    margin-bottom: 60px;
    background-color: var(--page-beginner-guide-primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--page-beginner-guide-shadow);
}

.page-beginner-guide__step-item:nth-child(even) {
    flex-direction: row-reverse; /* Alternate layout */
    text-align: right;
}

.page-beginner-guide__step-icon {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--page-beginner-guide-accent-color);
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--page-beginner-guide-accent-color);
    border-radius: 50%;
}

.page-beginner-guide__step-content {
    flex: 1;
}

.page-beginner-guide__step-title {
    font-size: 2em;
    color: var(--page-beginner-guide-accent-color);
    margin-bottom: 15px;
}

.page-beginner-guide__step-content p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.page-beginner-guide__step-image {
    margin-top: 20px;
    border: 1px solid var(--page-beginner-guide-border-color);
}

/* Tips Section */
.page-beginner-guide__tips {
    background-color: var(--page-beginner-guide-primary-color);
}

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

.page-beginner-guide__tip-item {
    background-color: #1A2B3E;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px var(--page-beginner-guide-shadow);
}

.page-beginner-guide__tip-title {
    font-size: 1.8em;
    color: var(--page-beginner-guide-accent-color);
    margin-bottom: 20px;
}

.page-beginner-guide__tip-item ul {
    list-style: none;
    padding: 0;
}

.page-beginner-guide__tip-item li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 25px;
}

.page-beginner-guide__tip-item li::before {
    content: '✓';
    color: var(--page-beginner-guide-accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-beginner-guide__tips-image {
    margin-top: 50px;
    max-width: 800px;
    width: 100%;
}

/* FAQ Section */
.page-beginner-guide__faq {
    background-color: #1A2B3E;
}

.page-beginner-guide__faq-item {
    background-color: var(--page-beginner-guide-primary-color);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 3px 10px var(--page-beginner-guide-shadow);
}

.page-beginner-guide__faq-question {
    font-size: 1.5em;
    color: var(--page-beginner-guide-accent-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.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.1em;
    color: rgba(255, 255, 255, 0.7);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding-top: 0;
}

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

.page-beginner-guide__faq-image {
    margin-top: 50px;
    max-width: 700px;
    width: 100%;
}

/* Related Guides Section */
.page-beginner-guide__related-guides {
    background-color: var(--page-beginner-guide-primary-color);
}

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

.page-beginner-guide__guide-item {
    background-color: #1A2B3E;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px var(--page-beginner-guide-shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-beginner-guide__guide-item:hover {
    transform: translateY(-5px);
}

.page-beginner-guide__guide-title {
    font-size: 1.6em;
    color: var(--page-beginner-guide-accent-color);
    margin-bottom: 15px;
}

.page-beginner-guide__guide-title a {
    color: inherit;
    text-decoration: none;
}

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

.page-beginner-guide__guide-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Conclusion Section */
.page-beginner-guide__conclusion {
    background: linear-gradient(135deg, #1A2B3E 0%, var(--page-beginner-guide-primary-color) 100%);
    padding: 80px 0;
}

/* Text Highlight */
.page-beginner-guide .text-highlight {
    color: var(--page-beginner-guide-accent-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-beginner-guide__hero-title {
        font-size: 2.8em;
    }
    .page-beginner-guide__section-title {
        font-size: 2.2em;
    }
    .page-beginner-guide__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-beginner-guide__step-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    .page-beginner-guide__step-content {
        text-align: center;
    }
    .page-beginner-guide__step-image {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page-beginner-guide__hero {
        padding: 60px 0;
    }
    .page-beginner-guide__hero-title {
        font-size: 2.2em;
    }
    .page-beginner-guide__hero-description {
        font-size: 1.1em;
    }
    .page-beginner-guide__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-beginner-guide__section {
        padding: 40px 0;
    }
    .page-beginner-guide__section-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__section-intro {
        font-size: 1em;
    }
    .page-beginner-guide__btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-beginner-guide__hero-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__feature-title {
        font-size: 1.3em;
    }
    .page-beginner-guide__step-title {
        font-size: 1.6em;
    }
    .page-beginner-guide__tip-title {
        font-size: 1.5em;
    }
    .page-beginner-guide__faq-question {
        font-size: 1.3em;
    }
    .page-beginner-guide__guide-title {
        font-size: 1.4em;
    }
}