/* style/beginner-guide.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --background-dark: #0A0A0A;
    --card-background: #111111;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Base styles for the page */
.page-beginner-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--background-dark);
}

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

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

.page-beginner-guide__dark-section {
    background-color: var(--background-dark);
    color: var(--text-main);
}

.page-beginner-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small padding, body takes --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
    text-align: center;
}

.page-beginner-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-beginner-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-beginner-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin-top: 100px; /* Adjust as needed to not overlap header */
}

.page-beginner-guide__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: 1px;
}

.page-beginner-guide__hero-description {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 30px;
}

.page-beginner-guide__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-beginner-guide__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--text-main);
}

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

.page-beginner-guide__card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-beginner-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-beginner-guide__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-beginner-guide__card p {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-beginner-guide__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.page-beginner-guide__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-main);
}

.page-beginner-guide__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.page-beginner-guide__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-beginner-guide__cta-button:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

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

.page-beginner-guide__cta-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-beginner-guide__image-full-width {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
    display: block;
}

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

.page-beginner-guide__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-beginner-guide__faq-item {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
    list-style: none; /* For details/summary */
}

.page-beginner-guide__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-beginner-guide__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.page-beginner-guide__faq-item[open] .page-beginner-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-beginner-guide__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--text-main);
    text-align: left;
}

.page-beginner-guide__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-beginner-guide__conclusion-section {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-beginner-guide__container {
        padding: 0 15px;
    }

    .page-beginner-guide__section {
        padding: 40px 0;
    }

    .page-beginner-guide__hero-content {
        padding: 20px 15px;
        margin-top: 60px;
    }

    .page-beginner-guide__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-beginner-guide__hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-beginner-guide__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-beginner-guide__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-beginner-guide__content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-beginner-guide__card {
        padding: 20px;
    }

    .page-beginner-guide__card-title {
        font-size: 1.5em;
    }

    .page-beginner-guide__card-image {
        max-height: 200px;
    }

    /* Mobile image responsive */
    .page-beginner-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsive */
    .page-beginner-guide video,
    .page-beginner-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Video containers mobile adaptation */
    .page-beginner-guide__video-section,
    .page-beginner-guide__video-container,
    .page-beginner-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-beginner-guide__video-section {
        padding-top: 10px !important;
    }
    
    .page-beginner-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile button responsive */
    .page-beginner-guide__cta-button,
    .page-beginner-guide__btn-primary,
    .page-beginner-guide__btn-secondary,
    .page-beginner-guide a[class*="button"],
    .page-beginner-guide a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-beginner-guide__cta-row,
    .page-beginner-guide__button-group,
    .page-beginner-guide__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-beginner-guide__cta-row {
        flex-direction: column;
    }

    .page-beginner-guide__cta-button--large {
        font-size: 1.1em;
        padding: 15px 25px;
    }

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

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