/* style/newbie-guide.css */

/* Base styles for the newbie guide page */
.page-newbie-guide {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

.page-newbie-guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-newbie-guide-highlight {
    color: #007bff; /* Primary brand color */
}

/* Buttons */
.page-newbie-guide-btn {
    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, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.page-newbie-guide-btn-primary {
    background-color: #007bff; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #007bff;
}

.page-newbie-guide-btn-primary:hover {
    background-color: #0056b3; /* Darker primary */
    border-color: #0056b3;
    transform: translateY(-2px);
}

.page-newbie-guide-btn-secondary {
    background-color: #28a745; /* Auxiliary brand color */
    color: #ffffff;
    border: 2px solid #28a745;
}

.page-newbie-guide-btn-secondary:hover {
    background-color: #1e7e34; /* Darker auxiliary */
    border-color: #1e7e34;
    transform: translateY(-2px);
}

.page-newbie-guide-btn-outline {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.page-newbie-guide-btn-outline:hover {
    background-color: #007bff;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-newbie-guide-btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-newbie-guide-btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Hero Section */
.page-newbie-guide-hero {
    background: linear-gradient(135deg, #007bff, #28a745);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-newbie-guide-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><pattern id="pattern-chevrons" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0 10 L10 0 L20 10 L10 20 Z" fill="rgba(255,255,255,0.1)" /></pattern><rect width="100%" height="100%" fill="url(%23pattern-chevrons)" /></svg>');
    opacity: 0.1;
    z-index: 1;
}

.page-newbie-guide-hero > .page-newbie-guide-container {
    position: relative;
    z-index: 2;
}

.page-newbie-guide-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-newbie-guide-hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.page-newbie-guide-hero-actions .page-newbie-guide-btn {
    margin: 10px;
}

/* General Section Styling */
.page-newbie-guide-section {
    padding: 60px 0;
}

.page-newbie-guide-section:nth-of-type(even) {
    background-color: #f8f9fa; /* Light gray for alternating sections */
}

.page-newbie-guide-section-title {
    font-size: 2.5em;
    color: #212529;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

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

/* Intro Section */
.page-newbie-guide-intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-newbie-guide-intro-text {
    flex: 1;
    font-size: 1.1em;
}

.page-newbie-guide-intro-image {
    flex: 1;
    text-align: center;
}

.page-newbie-guide-intro-image .page-newbie-guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-newbie-guide-feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-newbie-guide-feature-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05em;
}

.page-newbie-guide-feature-list li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #28a745; /* Auxiliary brand color */
    font-size: 1.2em;
}

/* Steps Section */
.page-newbie-guide-step-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-newbie-guide-step-item:last-child {
    margin-bottom: 0;
}

.page-newbie-guide-step-item.page-newbie-guide-step-reverse {
    flex-direction: row-reverse;
}

.page-newbie-guide-step-content {
    flex: 1;
}

.page-newbie-guide-step-image {
    flex: 1;
    text-align: center;
}

.page-newbie-guide-step-image .page-newbie-guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.page-newbie-guide-step-title {
    font-size: 2em;
    color: #212529;
    margin-bottom: 20px;
}

.page-newbie-guide-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.page-newbie-guide-list li {
    margin-bottom: 8px;
}

/* FAQ Section */
.page-newbie-guide-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-newbie-guide-faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.page-newbie-guide-faq-question {
    font-size: 1.3em;
    color: #007bff;
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    background-color: #f0f8ff; /* Lighter blue background */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-newbie-guide-faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-newbie-guide-faq-item.active .page-newbie-guide-faq-question::after {
    transform: rotate(45deg);
}

.page-newbie-guide-faq-answer {
    padding: 0 25px 20px 25px;
    margin: 0;
    display: none; /* Hidden by default, toggled by JS */
    border-top: 1px solid #e9ecef;
    background-color: #ffffff;
}

.page-newbie-guide-faq-item.active .page-newbie-guide-faq-answer {
    display: block;
}

/* Related Guides Section */
.page-newbie-guide-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-newbie-guide-detail-item {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide-detail-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-newbie-guide-detail-title {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-newbie-guide-detail-title a {
    color: #007bff;
    text-decoration: none;
}

.page-newbie-guide-detail-title a:hover {
    text-decoration: underline;
}

.page-newbie-guide-detail-description {
    color: #555;
    margin-bottom: 25px;
}

/* Call to Action Section */
.page-newbie-guide-cta {
    background: linear-gradient(90deg, #007bff, #28a745);
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
    border-radius: 15px;
    margin: 60px auto;
    max-width: 1000px;
}

.page-newbie-guide-cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide-cta-description {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.page-newbie-guide-cta-actions .page-newbie-guide-btn {
    margin: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-newbie-guide-hero-title {
        font-size: 2.8em;
    }
    .page-newbie-guide-section-title {
        font-size: 2em;
    }
    .page-newbie-guide-intro-content,
    .page-newbie-guide-step-item {
        flex-direction: column;
        text-align: center;
    }
    .page-newbie-guide-step-item.page-newbie-guide-step-reverse {
        flex-direction: column;
    }
    .page-newbie-guide-intro-image,
    .page-newbie-guide-step-image {
        margin-top: 30px;
    }
    .page-newbie-guide-cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-newbie-guide-hero {
        padding: 80px 0;
    }
    .page-newbie-guide-hero-title {
        font-size: 2.2em;
    }
    .page-newbie-guide-hero-description {
        font-size: 1em;
    }
    .page-newbie-guide-section {
        padding: 40px 0;
    }
    .page-newbie-guide-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-newbie-guide-step-item {
        padding: 20px;
        margin-bottom: 50px;
    }
    .page-newbie-guide-step-title {
        font-size: 1.6em;
    }
    .page-newbie-guide-detail-list {
        grid-template-columns: 1fr;
    }
    .page-newbie-guide-cta {
        padding: 50px 0;
        margin: 40px auto;
    }
    .page-newbie-guide-cta-title {
        font-size: 1.8em;
    }
    .page-newbie-guide-cta-description {
        font-size: 1em;
    }
    .page-newbie-guide-hero-actions .page-newbie-guide-btn,
    .page-newbie-guide-cta-actions .page-newbie-guide-btn {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
}