/* style/guide.css */

/* General styling for the page content, ensuring it's within the .page-guide scope */
.page-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

/* Hero Section */
.page-guide__hero {
    background: linear-gradient(135deg, #0A2342, #1a4a8a);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-guide__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700;
    font-weight: bold;
}

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

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

/* Buttons */
.page-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;
    border: 2px solid transparent;
}

.page-guide__btn--primary {
    background-color: #FFD700;
    color: #0A2342;
    border-color: #FFD700;
}

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

.page-guide__btn--secondary {
    background-color: #0A2342;
    color: #FFD700;
    border-color: #0A2342;
}

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

.page-guide__btn--tertiary {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.page-guide__btn--tertiary:hover {
    background-color: #FFD700;
    color: #0A2342;
    transform: translateY(-2px);
}

/* Sections */
.page-guide__section {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-guide__section:nth-of-type(even) {
    background-color: #f0f4f8;
}

.page-guide__section-title {
    font-size: 2.2em;
    color: #0A2342;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-guide__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.page-guide__subtitle {
    font-size: 1.5em;
    color: #0A2342;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-guide__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-guide__step-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-guide__step-item p {
    color: #444;
    margin-bottom: 20px;
}

.page-guide__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 15px;
}

.page-guide__note {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: left;
}

.page-guide__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Lists */
.page-guide__list {
    list-style: disc inside;
    margin-left: 20px;
    color: #444;
}

.page-guide__list li {
    margin-bottom: 10px;
}

/* App Download Options */
.page-guide__app-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-guide__app-option {
    background-color: #0A2342;
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-guide__app-option .page-guide__subtitle {
    color: #FFD700;
    margin-top: 0;
}

.page-guide__qr-code {
    margin: 25px 0;
}

.page-guide__qr-image {
    width: 150px;
    height: 150px;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    display: block;
    margin: 0 auto 15px;
}

/* Features/Benefits */
.page-guide__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-guide__feature-item {
    text-align: center;
    padding: 30px;
    background-color: #fefefe;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-guide__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-guide__feature-title {
    font-size: 1.3em;
    color: #0A2342;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-guide__feature-item p {
    color: #555;
}

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

.page-guide__faq-item {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-guide__faq-question {
    padding: 20px 25px;
    font-size: 1.2em;
    color: #0A2342;
    cursor: pointer;
    position: relative;
    margin: 0;
    font-weight: bold;
}

.page-guide__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

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

.page-guide__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #555;
}

.page-guide__faq-answer p {
    padding-bottom: 20px;
}

.page-guide__faq-answer.active {
    max-height: 200px;
    padding-top: 10px;
}

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

.page-guide__detail-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-guide__detail-title {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.page-guide__detail-title a {
    color: #0A2342;
    text-decoration: none;
    font-weight: bold;
}

.page-guide__detail-title a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.page-guide__detail-description {
    color: #555;
    margin-bottom: 20px;
}

/* Final CTA */
.page-guide__final-cta {
    background: linear-gradient(45deg, #0A2342, #3a6fa6);
    color: #ffffff;
    padding: 70px 0;
    text-align: center;
    margin-bottom: 0;
    border-radius: 0;
}

.page-guide__final-cta .page-guide__section-title {
    color: #FFD700;
}

.page-guide__final-cta .page-guide__section-intro {
    color: #e0e0e0;
}

.page-guide__final-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-guide__hero-title {
        font-size: 2em;
    }

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

    .page-guide__hero-actions,
    .page-guide__final-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-guide__btn {
        width: 80%;
        max-width: 300px;
    }

    .page-guide__app-options {
        flex-direction: column;
        align-items: center;
    }

    .page-guide__app-option {
        max-width: 90%;
    }
}

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

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

    .page-guide__hero-description,
    .page-guide__section-intro {
        font-size: 1em;
    }

    .page-guide__step-title,
    .page-guide__feature-title,
    .page-guide__detail-title,
    .page-guide__faq-question {
        font-size: 1.1em;
    }
}