/* style/guides.css */

:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f9f9f9;
    --bg-dark: #0A192F;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

.page-guides {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    padding-top: 10px; /* Space for fixed header */
}

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

.page-guides__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-guides__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-guides__text-center {
    text-align: center;
}

.page-guides__hero-banner {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), rgba(255, 215, 0, 0.5));
    border-bottom: 5px solid var(--secondary-color);
}

.page-guides__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-guides__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-guides__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-guides__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-guides__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-guides__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-guides__content-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-guides__content-block--reversed {
    flex-direction: row-reverse;
}

.page-guides__text-content {
    flex: 1;
}

.page-guides__image-content {
    flex: 1;
    text-align: center;
}

.page-guides__image-full {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px var(--shadow-color);
}

.page-guides__image-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px var(--shadow-color);
}

.page-guides__sub-title {
    font-size: 1.8em;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

.page-guides__step-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--text-light);
}

.page-guides__step-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 215, 0, 0.1);
}

.page-guides__step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-guides__step-img {
    max-width: 80%;
    max-height: 80%;
    height: auto;
    display: block;
}

.page-guides__step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-guides__step-text {
    font-size: 1em;
    margin-bottom: 20px;
}

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

.page-guides__info-item {
    background-color: #ffffff;
    color: var(--text-dark);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

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

.page-guides__info-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-guides__payment-flow {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.page-guides__payment-card {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 12px;
    padding: 35px;
    flex: 1;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--secondary-color);
}

.page-guides__payment-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-guides__app-download {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.page-guides__app-info {
    flex: 1;
}

.page-guides__app-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-guides__app-info ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.15"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.page-guides__app-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-guides__btn-app {
    min-width: 180px;
}

.page-guides__app-image {
    flex: 1;
    text-align: center;
}

.page-guides__faq-list {
    margin-top: 40px;
}

.page-guides__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    color: var(--text-dark);
}

.page-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-guides__faq-item.active .page-guides__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-guides__faq-question:hover {
    background: var(--bg-light);
}

.page-guides__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-guides__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.page-guides__faq-item.active .page-guides__faq-toggle {
    color: var(--text-light);
    transform: rotate(45deg); /* Change to X for active state */
    background-color: var(--secondary-color);
}

.page-guides__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

.page-guides__faq-item.active .page-guides__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

/* Buttons */
.page-guides__btn-primary,
.page-guides__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    margin: 10px 0;
}

.page-guides__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-guides__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: var(--primary-color);
}

.page-guides__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-guides__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-guides__btn-large {
    padding: 16px 35px;
    font-size: 1.2em;
    margin: 15px 10px;
}

.page-guides__call-to-action {
    text-align: center;
    margin-top: 40px;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .page-guides__main-title {
        font-size: 2.8em;
    }
    .page-guides__section-title {
        font-size: 2em;
    }
    .page-guides__sub-title {
        font-size: 1.6em;
    }
    .page-guides__content-block {
        flex-direction: column;
    }
    .page-guides__content-block--reversed {
        flex-direction: column;
    }
    .page-guides__app-download {
        flex-direction: column;
    }
    .page-guides__app-info ul li {
        font-size: 1em;
    }
    .page-guides__payment-flow {
        flex-direction: column;
        align-items: center;
    }
    .page-guides__payment-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-guides {
        padding-top: 10px !important; /* Ensure spacing for mobile fixed header */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-guides__container {
        padding: 25px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-guides__hero-banner {
        padding: 60px 15px;
    }
    .page-guides__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-guides__subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-guides__section {
        padding: 40px 0;
    }
    .page-guides__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-guides__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-guides__content-block {
        gap: 30px;
    }
    .page-guides__sub-title {
        font-size: 1.4em;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .page-guides__steps-grid {
        gap: 20px;
    }
    .page-guides__step-card {
        padding: 25px;
    }
    .page-guides__step-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    .page-guides__step-title {
        font-size: 1.3em;
    }
    .page-guides__info-grid {
        gap: 20px;
    }
    .page-guides__info-item {
        padding: 25px;
    }
    .page-guides__info-title {
        font-size: 1.4em;
    }
    .page-guides__payment-flow {
        gap: 20px;
    }
    .page-guides__payment-card {
        padding: 25px;
    }
    .page-guides__payment-title {
        font-size: 1.5em;
    }
    .page-guides__app-download {
        gap: 30px;
    }
    .page-guides__app-info ul li {
        font-size: 0.95em;
        padding-left: 25px;
        background-size: 18px;
    }
    .page-guides__app-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-guides__btn-primary, .page-guides__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%;
        box-sizing: border-box;
    }
    .page-guides__btn-large {
        padding: 14px 30px;
        font-size: 1.1em;
    }
    .page-guides__faq-question {
        padding: 15px;
    }
    .page-guides__faq-question h3 {
        font-size: 1em;
    }
    .page-guides__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-guides__faq-item.active .page-guides__faq-answer {
        padding: 15px !important;
    }
    .page-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}