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

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for the page */
    background-color: var(--body-bg-color);
}

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

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit hero image height */
    margin-bottom: 20px; /* Space between image and content */
    border-radius: 10px;
}

.page-promotions__hero-content {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-secondary-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.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: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid var(--glow-color);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-promotions__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--body-bg-color);
    transform: translateY(-3px);
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.page-promotions__btn-large {
    padding: 18px 35px;
    font-size: 1.2rem;
}

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

.page-promotions__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-promotions__sub-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--glow-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.page-promotions__feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--glow-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-promotions__text-block p,
.page-promotions ul,
.page-promotions ol {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary-color);
    margin-bottom: 15px;
}

.page-promotions ul,
.page-promotions ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-promotions ul li,
.page-promotions ol li {
    margin-bottom: 10px;
    position: relative;
}

.page-promotions ul li::before {
    content: '•';
    color: var(--glow-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.page-promotions__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-promotions__grid-layout--three-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-promotions__grid-layout--two-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.page-promotions__image-block {
    text-align: center;
}

.page-promotions__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Sections */
.page-promotions__overview-section,
.page-promotions__guide-section,
.page-promotions__conclusion-section {
    background-color: var(--body-bg-color);
    padding: 60px 0;
}

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

.page-promotions__card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    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;
    color: var(--text-main-color);
}

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

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card images */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
    margin-bottom: 15px;
}

.page-promotions__card-content .page-promotions__btn-primary {
    margin-top: auto; /* Push button to the bottom */
    align-self: flex-start;
}

.page-promotions__product-promo-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--divider-color);
}

.page-promotions__steps {
    margin-top: 40px;
}

.page-promotions__step-list {
    list-style: none;
    padding: 0;
}

.page-promotions__step-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.page-promotions__step-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-promotions__step-item p {
    color: var(--text-secondary-color);
}

.page-promotions__faq-section {
    background-color: var(--body-bg-color);
    padding: 60px 0;
}

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

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

.page-promotions__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--glow-color);
    cursor: pointer;
    list-style: none; /* Remove default marker */
    outline: none;
}

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

.page-promotions__faq-question {
    flex-grow: 1;
    color: var(--glow-color);
}

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--gold-color);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
    border-top: 1px solid var(--divider-color);
    margin-top: -1px; /* Overlap border */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__grid-layout--three-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-promotions__card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions__hero-section {
        padding: 10px 15px 40px;
    }

    .page-promotions__hero-image {
        max-height: 400px;
        margin-bottom: 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 15px;
    }

    .page-promotions__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-promotions__sub-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-bottom: 20px;
    }

    .page-promotions__grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-promotions__grid-layout--three-cols,
    .page-promotions__grid-layout--two-cols {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-promotions__card-image {
        height: 160px;
    }

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

    .page-promotions__card-content {
        padding: 20px;
    }

    .page-promotions__product-promo-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .page-promotions__step-item {
        padding: 20px;
    }

    .page-promotions__step-title {
        font-size: 1.25rem;
    }

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

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

    .page-promotions__image,
    .page-promotions img {
        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__overview-section,
    .page-promotions__types-section,
    .page-promotions__guide-section,
    .page-promotions__tips-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section,
    .page-promotions__product-promo-section,
    .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;
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-promotions__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-image {
        max-height: 250px;
    }
    .page-promotions__card-image {
        height: 140px;
    }
    .page-promotions__card-title {
        font-size: 1.25rem;
    }
    .page-promotions__card-content {
        padding: 15px;
    }
    .page-promotions__btn-small {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    .page-promotions__faq-item summary {
        font-size: 1rem;
        padding: 12px 15px;
    }
    .page-promotions__faq-toggle {
        font-size: 1.5rem;
    }
    .page-promotions__faq-answer {
        padding: 0 15px 12px;
    }
}