/* style/promotions.css */

/* --- General Styling --- */
.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for general content, as body background is dark */
    background-color: #08160F; /* Background color */
}

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

.page-promotions__section-title {
    font-size: clamp(2em, 5vw, 2.8em); /* H1 title cannot be fixed large, apply clamp for H2 */
    color: #F2C14E; /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-promotions__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
}

/* --- Buttons --- */
.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure buttons adapt to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main for button text */
    border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Use a brighter green for secondary */
    border: 2px solid #2AD16F;
}

.page-promotions__btn-secondary:hover {
    background-color: #2AD16F;
    color: #08160F; /* Dark background color for hover text */
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-height: 200px; /* Minimum image size */
    filter: none !important; /* Ensure no filter on images */
}

.page-promotions__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1; /* Ensure content is above any potential overlay */
}

.page-promotions__main-title {
    font-size: clamp(2.5em, 6vw, 3.5em);
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-promotions__description {
    font-size: clamp(1.1em, 2.5vw, 1.4em);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Overview Section --- */
.page-promotions__overview-section {
    padding: 60px 0;
    background-color: #11271B; /* Card BG */
    text-align: center;
}

/* --- Promotion Types Section --- */
.page-promotions__types-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

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

.page-promotions__promo-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
}

.page-promotions__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    filter: none !important; /* Ensure no filter on images */
}

.page-promotions__card-title {
    font-size: 1.6em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-promotions__card-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 25px;
    flex-grow: 1; /* Allow description to take available space */
    padding: 0 15px;
}

.page-promotions__promo-card .page-promotions__btn-primary {
    margin: 0 auto;
    width: fit-content;
}

/* --- How To Join Section --- */
.page-promotions__how-to-join {
    padding: 60px 0;
    background-color: #11271B; /* Card BG */
    text-align: center;
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__steps-list li {
    background-color: rgba(17, 168, 78, 0.1); /* Subtle green background */
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    color: #F2FFF6; /* Text Main */
    font-size: 1.1em;
    border-left: 5px solid #2AD16F;
}

.page-promotions__steps-list li strong {
    color: #F2C14E; /* Gold */
}

.page-promotions__steps-list li a {
    color: #57E38D; /* Glow color for links */
    text-decoration: underline;
}

.page-promotions__steps-list li a:hover {
    color: #2AD16F;
}

/* --- Terms & Conditions Section --- */
.page-promotions__terms-conditions {
    padding: 60px 0;
    background-color: #08160F; /* Background */
    text-align: center;
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #A7D9B8; /* Text Secondary */
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #F2FFF6; /* Text Main */
}

.page-promotions__terms-list li strong {
    color: #F2C14E; /* Gold */
}

/* --- FAQ Section --- */
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: #11271B; /* Card BG */
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-promotions__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    outline: none;
    list-style: none; /* Remove default marker */
}

.page-promotions__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit */
}

.page-promotions__faq-qtext {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #1E3A2A; /* Divider */
    margin-top: -1px; /* Overlap border */
}

/* --- Conclusion CTA Section --- */
.page-promotions__conclusion-cta {
    padding: 60px 0;
    background-color: #08160F; /* Background */
    text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-promotions__hero-image {
        height: 600px; /* Adjust hero image height */
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px; /* Smaller padding on mobile */
    }

    .page-promotions__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is for aesthetic spacing */
    }

    .page-promotions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-promotions__hero-content {
        padding: 30px 15px;
    }

    .page-promotions__main-title {
        font-size: 2em;
    }

    .page-promotions__description {
        font-size: 1em;
    }

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

    .page-promotions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }

    .page-promotions__promo-grid {
        grid-template-columns: 1fr; /* Single column for promo cards */
    }

    .page-promotions__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions__promo-card {
        padding-bottom: 15px;
    }

    .page-promotions__card-title {
        font-size: 1.4em;
    }

    .page-promotions__card-description {
        font-size: 0.95em;
    }

    .page-promotions__steps-list,
    .page-promotions__terms-list {
        padding-left: 15px;
    }

    .page-promotions__steps-list li,
    .page-promotions__terms-list li {
        font-size: 1em;
        padding: 15px;
    }

    .page-promotions__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-promotions__faq-answer {
        padding: 0 20px 15px;
    }

    /* Ensure all images are responsive on mobile */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all sections/containers containing images/content are responsive */
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__overview-section,
    .page-promotions__types-section,
    .page-promotions__how-to-join,
    .page-promotions__terms-conditions,
    .page-promotions__faq-section,
    .page-promotions__conclusion-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}