/* style/promotions.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

/* Base styles for the page-promotions scope */
.page-promotions {
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    background-color: var(--color-background);
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay for text readability */
    display: block;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 8px;
}

.page-promotions__main-title {
    color: var(--color-text-main);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.page-promotions__description {
    color: var(--color-text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

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

.page-promotions__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__btn-secondary:hover {
    background: rgba(var(--color-glow), 0.1);
    color: var(--color-glow);
    transform: translateY(-2px);
}

/* Section common styles */
.page-promotions__section {
    padding: 60px 0;
    background-color: var(--color-background);
}

.page-promotions__dark-section {
    background-color: var(--color-card-bg);
}

.page-promotions__section-title {
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    font-size: 2.5em;
}

.page-promotions__section-title--gold {
    color: var(--color-gold);
}

.page-promotions__text-block {
    color: var(--color-text-secondary);
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__text-block a {
    color: var(--color-glow);
    text-decoration: underline;
}

.page-promotions__cta-text {
    text-align: center;
    font-size: 1.2em;
    margin-top: 40px;
    margin-bottom: 0;
}

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

.page-promotions__card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.page-promotions__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

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

.page-promotions__card-text {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__card .page-promotions__btn {
    width: auto; /* Allow buttons to size based on content */
    max-width: 100%;
}

/* How-To Steps List */
.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__step-item {
    background-color: var(--color-card-bg);
    border-left: 5px solid var(--color-primary);
    margin-bottom: 25px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--color-text-secondary);
}

.page-promotions__step-title {
    color: var(--color-text-main);
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-promotions__step-description a {
    color: var(--color-glow);
    text-decoration: underline;
}

/* Terms and Conditions */
.page-promotions__terms-conditions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__terms-conditions .page-promotions__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__image-right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    max-width: 450px;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
    color: var(--color-text-secondary);
}

.page-promotions__list-item {
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

.page-promotions__list-item strong {
    color: var(--color-text-main);
}

.page-promotions__list-item a {
    color: var(--color-glow);
    text-decoration: underline;
}

/* Why Choose Section */
.page-promotions__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__feature-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.page-promotions__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px;
}

.page-promotions__feature-title {
    color: var(--color-gold);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-promotions__feature-text {
    color: var(--color-text-secondary);
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__feature-text a {
    color: var(--color-glow);
    text-decoration: underline;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--color-text-main);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: rgba(var(--color-deep-green), 0.8);
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-glow);
}

/* For <details> tag, hide default marker */
.page-promotions__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-promotions__faq-item summary {
    list-style: none;
}

.page-promotions__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.05em;
    color: var(--color-text-secondary);
    text-align: justify;
}

.page-promotions__faq-answer p {
    margin-bottom: 10px;
}

.page-promotions__faq-answer a {
    color: var(--color-glow);
    text-decoration: underline;
}

/* Call to Action Bottom */
.page-promotions__cta-bottom .page-promotions__container {
    background-color: var(--color-card-bg);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--color-border);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__hero-content {
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: 2.2em;
    }
    .page-promotions__description {
        font-size: 1em;
    }
    .page-promotions__image-right {
        float: none;
        margin: 20px auto;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__main-title {
        font-size: 1.8em;
    }
    .page-promotions__description {
        font-size: 0.95em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 0.95em;
    }
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__text-block {
        font-size: 1em;
    }
    .page-promotions__card {
        padding: 20px;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__feature-card {
        padding: 20px;
    }
    .page-promotions__feature-icon {
        width: 60px;
        height: 60px;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px 15px;
    }
    .page-promotions__cta-bottom .page-promotions__container {
        padding: 30px 20px;
    }

    /* Image responsive adaptions */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__hero-image,
    .page-promotions__card-image,
    .page-promotions__image-right,
    .page-promotions__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Button responsive adaptions */
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 15px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.5em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__cta-bottom .page-promotions__container {
        padding: 25px 15px;
    }
}