/* style/payment-methods.css */

/* Base styles for the payment-methods page */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text on dark body background */
    background-color: #1a1a2e; /* Inherited from shared, but explicit for clarity */
}

/* Ensure content is not hidden by fixed header */
.page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset */
}

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

.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px; /* Adjust as needed */
    overflow: hidden; /* For image positioning */
    background: linear-gradient(135deg, #017439, #005a2d); /* Brand color gradient */
    color: #ffffff;
}

.page-payment-methods__hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-payment-methods__hero-section > .page-payment-methods__container {
    position: relative;
    z-index: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-payment-methods__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFF00; /* Register/Login font color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.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;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box; /* Ensure padding is included in width */
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

.page-payment-methods__btn-primary:hover {
    background-color: #e01010;
    transform: translateY(-3px);
}

.page-payment-methods__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Main brand color */
    border: 2px solid #017439;
}

.page-payment-methods__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.page-payment-methods__btn-primary--large {
    padding: 18px 35px;
    font-size: 1.1em;
}

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

.page-payment-methods__dark-bg {
    background-color: #1a1a2e; /* Dark background */
    color: #f0f0f0; /* Light text */
}

.page-payment-methods__light-bg {
    background-color: #2a2a3e; /* Slightly lighter dark background for contrast */
    color: #f0f0f0; /* Light text */
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #FFFF00; /* Use accent color for titles */
}

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

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

.page-payment-methods__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-payment-methods__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-payment-methods__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Min size for images */
    min-height: 200px; /* Min size for images */
}

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

.page-payment-methods__card-text {
    font-size: 1em;
    line-height: 1.6;
}

.page-payment-methods__card--dark {
    background-color: rgba(0, 0, 0, 0.3); /* Even darker background for cards in dark sections */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods__info-block {
    background-color: #017439; /* Brand color background */
    color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    margin-top: 60px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__info-block-title {
    font-size: 2em;
    margin-bottom: 20px;
    color: #FFFF00;
}

.page-payment-methods__info-block-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.7;
}

.page-payment-methods__main-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size for images */
    min-height: 200px; /* Min size for images */
}

.page-payment-methods__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-payment-methods__faq-item summary {
    list-style: none; /* Hide default marker */
}

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

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    color: #FFFF00; /* Accent for questions */
}

.page-payment-methods__faq-question:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

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

.page-payment-methods__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

.page-payment-methods__cta-section {
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #017439, #005a2d); /* Brand color gradient */
    color: #ffffff;
}

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

.page-payment-methods__cta-section > .page-payment-methods__container {
    position: relative;
    z-index: 1;
}

.page-payment-methods__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Accent color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.5em;
    }
    .page-payment-methods__section-title,
    .page-payment-methods__cta-title {
        font-size: 2em;
    }
    .page-payment-methods__hero-description,
    .page-payment-methods__section-description,
    .page-payment-methods__section-text,
    .page-payment-methods__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-payment-methods__container,
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__info-block,
    .page-payment-methods__faq-list,
    .page-payment-methods__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-payment-methods__hero-title {
        font-size: 2em;
    }
    .page-payment-methods__section-title,
    .page-payment-methods__cta-title {
        font-size: 1.8em;
    }
    .page-payment-methods__card-title {
        font-size: 1.3em;
    }
    .page-payment-methods__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-payment-methods__faq-answer {
        padding: 10px 20px 15px;
    }

    /* Images responsive */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Buttons responsive */
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary,
    .page-payment-methods__btn-primary--large {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}