/* style/beginner-guide.css */

/* Reset & Base Styles */
.page-beginner-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

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

.page-beginner-guide__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #26A9E0;
    font-weight: bold;
}

.page-beginner-guide__section-intro {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide__card-title {
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-beginner-guide__card-text {
    font-size: 1em;
    color: #e0e0e0;
}

/* Color Contrast Specifics */
.page-beginner-guide__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-beginner-guide__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-beginner-guide__light-bg .page-beginner-guide__section-title,
.page-beginner-guide__light-bg .page-beginner-guide__card-title {
    color: #26A9E0;
}

.page-beginner-guide__light-bg .page-beginner-guide__section-intro,
.page-beginner-guide__light-bg .page-beginner-guide__card-text,
.page-beginner-guide__light-bg p,
.page-beginner-guide__light-bg li {
    color: #333333;
}

/* Buttons */
.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt to screen width */
}

.page-beginner-guide__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-beginner-guide__btn-primary:hover {
    background-color: #1e87b6;
    border-color: #1e87b6;
}

.page-beginner-guide__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    margin-left: 15px;
}

.page-beginner-guide__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b6;
    border-color: #1e87b6;
}

.page-beginner-guide__btn-text-link {
    display: inline-block;
    color: #26A9E0;
    text-decoration: underline;
    margin-top: 15px;
    font-weight: bold;
}

.page-beginner-guide__btn-text-link:hover {
    color: #1e87b6;
}

/* Hero Section */
.page-beginner-guide__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
}

.page-beginner-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Subtle background image */
}

.page-beginner-guide__hero-container {
    z-index: 1;
    max-width: 900px;
}

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

.page-beginner-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

/* Why Choose Section */
.page-beginner-guide__why-choose {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-beginner-guide__feature-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333;
}

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

.page-beginner-guide__feature-icon {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-beginner-guide__feature-card .page-beginner-guide__card-title {
    color: #26A9E0;
}

.page-beginner-guide__feature-card .page-beginner-guide__card-text {
    color: #555555;
}

/* Step-by-Step Guide */
.page-beginner-guide__step-by-step {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-beginner-guide__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-beginner-guide__step-number {
    background-color: #26A9E0;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.page-beginner-guide__process-image {
    margin-top: 60px;
    width: 100%;
    height: auto;
    max-width: 1000px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Promotions Section */
.page-beginner-guide__promotions {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-beginner-guide__promo-card {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #333333;
}

.page-beginner-guide__promo-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-beginner-guide__promo-card .page-beginner-guide__card-title {
    color: #26A9E0;
}

.page-beginner-guide__promo-card .page-beginner-guide__card-text {
    color: #555555;
}

.page-beginner-guide__disclaimer-text {
    margin-top: 40px;
    font-size: 0.9em;
    color: #666666;
}

.page-beginner-guide__disclaimer-text a {
    color: #26A9E0;
    text-decoration: none;
}

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

/* Video Section */
.page-beginner-guide__video-section {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

.page-beginner-guide__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    margin: 40px auto 0 auto;
}

.page-beginner-guide__video-wrapper .page-beginner-guide__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}

.page-beginner-guide__video-link-overlay {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
    cursor: pointer;
}

/* FAQ Section */
.page-beginner-guide__faq-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-beginner-guide__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    border-bottom: 1px solid #e0e0e0;
}

.page-beginner-guide__faq-question:hover {
    background-color: #f0f0f0;
}

.page-beginner-guide__faq-item[open] .page-beginner-guide__faq-question {
    border-bottom: 1px solid #e0e0e0;
}

.page-beginner-guide__faq-qtext {
    flex-grow: 1;
    text-align: left;
    color: #26A9E0;
}

.page-beginner-guide__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #26A9E0;
}

.page-beginner-guide__faq-item details > summary {
    list-style: none;
}

.page-beginner-guide__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-beginner-guide__faq-answer {
    padding: 20px 25px;
    text-align: left;
    font-size: 1em;
    color: #555555;
}

/* Tips Section */
.page-beginner-guide__tips-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-beginner-guide__tip-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-beginner-guide__tips-image {
    margin-top: 60px;
    width: 100%;
    height: auto;
    max-width: 1000px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Bottom Section */
.page-beginner-guide__cta-bottom {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-beginner-guide__cta-bottom .page-beginner-guide__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-beginner-guide__hero-title {
        font-size: 3em;
    }
    .page-beginner-guide__section-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-beginner-guide {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-beginner-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
        min-height: 450px;
    }

    .page-beginner-guide__hero-title {
        font-size: 2.2em;
    }

    .page-beginner-guide__hero-description {
        font-size: 1em;
    }

    .page-beginner-guide__hero-cta-buttons,
    .page-beginner-guide__cta-bottom .page-beginner-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-beginner-guide__btn-primary,
    .page-beginner-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-beginner-guide__section-title {
        font-size: 2em;
    }

    .page-beginner-guide__section-intro {
        font-size: 1em;
    }

    .page-beginner-guide__feature-card,
    .page-beginner-guide__step-card,
    .page-beginner-guide__promo-card,
    .page-beginner-guide__tip-card {
        padding: 20px;
    }

    .page-beginner-guide__feature-icon,
    .page-beginner-guide__promo-image,
    .page-beginner-guide__process-image,
    .page-beginner-guide__tips-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-beginner-guide__video-wrapper {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .page-beginner-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-beginner-guide__container {
        padding: 0 15px;
    }

    .page-beginner-guide__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-beginner-guide__faq-answer {
        padding: 15px 20px;
    }

    .page-beginner-guide__faq-qtext {
        font-size: 0.95em;
    }

    .page-beginner-guide__faq-toggle {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .page-beginner-guide__hero-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__section-title {
        font-size: 1.8em;
    }
    .page-beginner-guide__hero-description {
        font-size: 0.9em;
    }
}