/* style/promotions.css */

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

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

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: var(--page-promotions-bg);
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    max-width: 1200px; /* Adjust based on desired hero image display width */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    display: block;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    color: var(--page-promotions-text-main);
    max-width: 900px;
}

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

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

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.page-promotions__btn-primary {
    background: var(--page-promotions-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--page-promotions-glow);
    border: 2px solid var(--page-promotions-glow);
    box-shadow: 0 4px 10px rgba(87, 227, 141, 0.2);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--page-promotions-glow);
    color: var(--page-promotions-card-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(87, 227, 141, 0.4);
}

.page-promotions__introduction-section,
.page-promotions__guide-section,
.page-promotions__faq-section {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-promotions__types-section,
.page-promotions__tips-section,
.page-promotions__cta-section {
    background-color: var(--page-promotions-bg);
    color: var(--page-promotions-text-main);
    padding: 60px 0;
}

.page-promotions__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: inherit;
}

.page-promotions__introduction-section .page-promotions__section-title,
.page-promotions__guide-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
    color: #333333;
}

.page-promotions__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__text-block strong {
    color: var(--page-promotions-glow);
}

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

.page-promotions__card {
    background-color: var(--page-promotions-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

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

.page-promotions__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-promotions-text-main);
}

.page-promotions__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--page-promotions-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-promotions__step-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-promotions__step-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #11A84E;
}

.page-promotions__step-item ol,
.page-promotions__step-item ul {
    margin-top: 15px;
    padding-left: 25px;
    line-height: 1.8;
}

.page-promotions__step-item li {
    margin-bottom: 10px;
}

.page-promotions__step-item strong {
    color: #13994A;
}

.page-promotions__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.page-promotions__tips-list li {
    background-color: var(--page-promotions-card-bg);
    border-left: 5px solid var(--page-promotions-glow);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--page-promotions-text-secondary);
}

.page-promotions__tips-list li strong {
    color: var(--page-promotions-text-main);
}

.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-promotions__faq-item[open] > .page-promotions__faq-question {
    background-color: #e6e6e6;
    border-bottom-color: #d0d0d0;
}

.page-promotions__faq-question:hover {
    background-color: #e6e6e6;
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #11A84E;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    color: #13994A;
}

.page-promotions__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.05em;
    line-height: 1.7;
    color: #555555;
}

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

.page-promotions__faq-answer strong {
    color: #11A84E;
}

/* Ensure contrast for light background sections */
.page-promotions__introduction-section strong,
.page-promotions__guide-section strong,
.page-promotions__faq-section strong {
    color: #11A84E;
}

.page-promotions__cta-section {
    text-align: center;
    padding: 80px 20px;
}

.page-promotions__cta-section .page-promotions__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: var(--page-promotions-text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-promotions__main-title {
        font-size: 2em;
        line-height: 1.3;
    }
    .page-promotions__subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions__introduction-section,
    .page-promotions__guide-section,
    .page-promotions__faq-section,
    .page-promotions__types-section,
    .page-promotions__tips-section,
    .page-promotions__cta-section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions__text-block {
        font-size: 0.95em;
    }
    .page-promotions__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__card {
        padding: 20px;
    }
    .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-promotions__step-title {
        font-size: 1.5em;
    }
    .page-promotions__tips-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .page-promotions__tips-list li {
        font-size: 1em;
        padding: 15px;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }

    /* Mobile specific overrides for images, videos, buttons, and containers */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__introduction-section,
    .page-promotions__types-section,
    .page-promotions__guide-section,
    .page-promotions__tips-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section,
    .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 !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

    .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;
        margin-bottom: 10px; /* Add some space between stacked buttons */
    }

    .page-promotions__hero-content .page-promotions__cta-button {
        margin-left: 0;
        margin-right: 0;
    }

    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.6em;
    }
    .page-promotions__card-image {
        height: 150px;
    }
    .page-promotions__card-title {
        font-size: 1.2em;
    }
    .page-promotions__step-title {
        font-size: 1.3em;
    }
    .page-promotions__faq-question {
        font-size: 1em;
    }
}