/* style/payment-methods.css */
.page-payment-methods {
    background-color: #0a0a0a; /* Matches body background from shared.css */
    color: #ffffff; /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-payment-methods__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    min-height: 600px; /* Minimum height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff;
}

.page-payment-methods__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-payment-methods__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-payment-methods__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-payment-methods__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Yellow for prominence */
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-payment-methods__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-payment-methods__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom color for Register/Login font */
    border: 2px solid #C30808;
}

.page-payment-methods__btn-primary:hover {
    background-color: #e01010;
    border-color: #e01010;
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Custom color for Register/Login font */
    border: 2px solid #FFFF00;
}

.page-payment-methods__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
}

.page-payment-methods__section {
    padding: 60px 0;
    text-align: center;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #017439; /* Brand color for titles */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: #cccccc;
}

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

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

.page-payment-methods__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #ffffff; /* Light text for cards */
    min-height: 200px; /* Ensure cards are not too small */
}

.page-payment-methods__card-title {
    font-size: 1.8em;
    color: #FFFF00; /* Yellow for card titles */
    margin-bottom: 15px;
}

.page-payment-methods__image-full-width {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 40px;
    object-fit: cover;
    min-height: 200px; /* Enforce min image size */
}

.page-payment-methods__method-card {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-payment-methods__method-card--reverse {
    flex-direction: row-reverse;
}

.page-payment-methods__method-content {
    flex: 1;
    color: #ffffff;
}

.page-payment-methods__method-image-wrapper {
    flex: 1;
    min-width: 400px; /* Ensure image wrapper is not too small */
}

.page-payment-methods__method-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-payment-methods__method-title {
    font-size: 2em;
    color: #017439; /* Brand color */
    margin-bottom: 15px;
}

.page-payment-methods__method-subtitle {
    font-size: 1.4em;
    color: #FFFF00; /* Yellow */
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-payment-methods ol,
.page-payment-methods ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-payment-methods ol li,
.page-payment-methods ul li {
    margin-bottom: 10px;
}

.page-payment-methods__faq {
    background-color: #1a1a1a; /* Slightly lighter dark background for FAQ section */
}

.page-payment-methods__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-payment-methods__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFF00; /* Yellow for FAQ questions */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-payment-methods__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
}

.page-payment-methods__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.1em;
    line-height: 1.8;
    color: #e0e0e0;
}

.page-payment-methods__cta-section {
    background-color: #017439; /* Brand color for CTA background */
    color: #ffffff;
    padding: 80px 0;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
    color: #FFFF00; /* Yellow for CTA title */
    text-shadow: none;
}

.page-payment-methods__cta-section .page-payment-methods__section-intro {
    color: #f0f0f0;
}

.page-payment-methods__cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 3em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__method-card {
        flex-direction: column;
    }
    .page-payment-methods__method-card--reverse {
        flex-direction: column;
    }
    .page-payment-methods__method-image-wrapper {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-payment-methods {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-payment-methods__hero-section {
        min-height: 500px;
        height: auto;
        padding: 100px 0;
    }
    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-payment-methods__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-payment-methods__section {
        padding: 40px 0;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-intro {
        font-size: 1em;
    }
    .page-payment-methods__container {
        padding: 0 15px;
    }
    .page-payment-methods__grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-payment-methods__card {
        padding: 20px;
    }
    .page-payment-methods__card-title {
        font-size: 1.5em;
    }
    .page-payment-methods__method-card {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        margin-bottom: 40px;
    }
    .page-payment-methods__method-card--reverse {
        flex-direction: column;
    }
    .page-payment-methods__method-title {
        font-size: 1.6em;
    }
    .page-payment-methods__method-subtitle {
        font-size: 1.2em;
    }
    .page-payment-methods img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__method-card,
    .page-payment-methods__method-image-wrapper,
    .page-payment-methods__faq-item,
    .page-payment-methods__cta-section,
    .page-payment-methods__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-payment-methods__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset to hero on mobile */
    }
    .page-payment-methods__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-payment-methods__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 1em;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}