/* style/promotions.css */

/* Variables for color scheme */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --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;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Default text color for light-on-dark sections */
    background-color: var(--color-background); /* Default background for the whole page */
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
    background-color: var(--color-deep-green);
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Slightly transparent to let content stand out */
    max-width: 100%; /* Ensure responsiveness */
    display: block;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: 50px; /* Space from top */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__main-title {
    color: var(--color-gold);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

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

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    color: var(--color-text-main);
    background: var(--button-gradient);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-promotions__section {
    padding: 60px 20px;
    text-align: center;
    box-sizing: border-box;
}

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

.page-promotions__section-title {
    color: var(--color-gold);
    font-size: 2.5em;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.03em;
}

.page-promotions__text-block {
    color: var(--color-text-secondary);
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
}

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

/* Light and Dark Backgrounds for contrast */
.page-promotions__light-bg {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

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

/* Promotion Types Grid */
.page-promotions__grid-container {
    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: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-sizing: border-box;
    color: var(--color-text-main);
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__card-title {
    color: var(--color-primary);
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.4;
}

.page-promotions__card-text {
    color: var(--color-text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
}

/* Guide Steps */
.page-promotions__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__step-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    color: var(--color-text-main);
}

.page-promotions__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    max-width: 100%;
    display: block;
}

.page-promotions__step-title {
    color: var(--color-primary);
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-promotions__step-text {
    color: var(--color-text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
}

.page-promotions__cta-wrapper {
    margin-top: 50px;
    text-align: center;
}

/* Terms and Conditions */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-promotions__terms-item {
    background-color: var(--color-background);
    border-left: 4px solid var(--color-primary);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-promotions__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--color-text-main);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    border-bottom: 1px solid var(--color-divider);
    list-style: none; /* For details tag */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main);
}

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: '−';
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
}

/* Conclusion Section */
.page-promotions__conclusion .page-promotions__section-title {
    color: var(--color-gold);
}

.page-promotions__conclusion .page-promotions__text-block {
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__main-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-promotions__main-title {
        font-size: 2em;
    }
    .page-promotions__description {
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__cta-button,
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        font-size: 1em;
    }
    .page-promotions__grid-container,
    .page-promotions__steps-container {
        grid-template-columns: 1fr;
    }
    .page-promotions__card,
    .page-promotions__step-card,
    .page-promotions__faq-item {
        padding: 20px;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-promotions__faq-answer {
        padding: 15px 20px;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__hero-section {
        padding: 10px 0 40px;
    }
    .page-promotions__hero-content {
        margin-top: 30px;
        padding: 15px;
    }
    .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: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-promotions__cta-buttons {
        display: flex;
        flex-direction: column; 
    }
    .page-promotions__video-section {
        padding-top: 10px !important;
    }
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__main-title {
        font-size: 1.8em;
    }
    .page-promotions__cta-button {
        font-size: 0.95em;
        padding: 10px 20px;
    }
    .page-promotions__card-title,
    .page-promotions__step-title {
        font-size: 1.2em;
    }
}