/* style/promotions.css */

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

.page-promotions {
    background-color: var(--lt88-bg-dark); /* Ensure body background is dark */
    color: var(--lt88-text-main); /* Default text color for light contrast */
    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;
}

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

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

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

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 40px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

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

.page-promotions__description {
    font-size: 1.15rem;
    color: var(--lt88-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    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-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-promotions__btn-primary {
    background: var(--lt88-button-gradient);
    color: var(--lt88-text-main);
    border: 2px solid var(--lt88-green-primary);
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--lt88-green-secondary);
    color: var(--lt88-bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.2);
}

/* General Section Styling */
.page-promotions__introduction-section,
.page-promotions__categories-section,
.page-promotions__specific-promotions-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-conditions-section,
.page-promotions__why-choose-section,
.page-promotions__faq-section,
.page-promotions__final-cta-section {
    padding: 80px 0;
    border-top: 1px solid var(--lt88-divider);
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--lt88-green-secondary);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(34, 199, 104, 0.3);
}

.page-promotions__text-block {
    font-size: 1.05rem;
    color: var(--lt88-text-secondary);
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lt88-border);
}

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

.page-promotions__card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

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

.page-promotions__card-title {
    font-size: 1.4rem;
    color: var(--lt88-green-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__card-text {
    font-size: 0.95rem;
    color: var(--lt88-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__btn-text {
    color: var(--lt88-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.page-promotions__btn-text:hover {
    color: var(--lt88-glow);
    text-decoration: underline;
}

/* Product Promotion Layout */
.page-promotions__product-promo {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

.page-promotions__product-promo:last-child {
    margin-bottom: 0;
}

.page-promotions__product-promo--reverse {
    flex-direction: row-reverse;
}

.page-promotions__product-image-wrapper {
    flex: 1;
    min-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--lt88-border);
}

.page-promotions__product-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions__product-content {
    flex: 1;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--lt88-border);
}

.page-promotions__product-title {
    font-size: 2rem;
    color: var(--lt88-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-promotions__product-text {
    font-size: 1.05rem;
    color: var(--lt88-text-secondary);
    margin-bottom: 25px;
}

.page-promotions__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-promotions__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--lt88-text-main);
    font-size: 1rem;
}

.page-promotions__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--lt88-green-secondary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

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

/* Terms and Conditions */
.page-promotions__bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto;
    max-width: 900px;
}

.page-promotions__bullet-list .page-promotions__list-item {
    padding-left: 25px;
    margin-bottom: 15px;
    color: var(--lt88-text-secondary);
}

.page-promotions__bullet-list .page-promotions__list-item::before {
    content: '•';
    left: 0;
    color: var(--lt88-gold);
    font-size: 1.5rem;
    top: -5px;
}

.page-promotions__btn-text--link {
    display: block;
    text-align: center;
    margin-top: 30px;
}

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

.page-promotions__feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--lt88-border);
    transition: transform 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
}

.page-promotions__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block; /* Ensure it's treated as a block for margin auto */
    min-width: 200px; /* Enforce min-size for image */
    min-height: 200px; /* Enforce min-size for image */
}

.page-promotions__feature-title {
    font-size: 1.3rem;
    color: var(--lt88-green-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__feature-text {
    font-size: 0.95rem;
    color: var(--lt88-text-secondary);
}

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

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

.page-promotions__faq-item details > summary {
    list-style: none;
}

.page-promotions__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--lt88-text-main);
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--lt88-green-secondary);
    margin-left: 15px;
}

.page-promotions__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--lt88-text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--lt88-divider);
    background-color: var(--lt88-card-bg);
}

.page-promotions__faq-answer p {
    margin-top: 15px;
    margin-bottom: 0;
    text-align: left;
}

/* Final CTA */
.page-promotions__final-cta-section .page-promotions__cta-buttons {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-image-wrapper {
        max-height: 500px;
    }
    .page-promotions__product-promo {
        flex-direction: column;
        text-align: center;
    }
    .page-promotions__product-promo--reverse {
        flex-direction: column;
    }
    .page-promotions__product-content {
        margin-top: 30px;
    }
    .page-promotions__product-image-wrapper {
        min-width: unset;
    }
    .page-promotions__product-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* body already handles header offset */
    }
    .page-promotions__hero-image-wrapper {
        max-height: 350px;
        margin-bottom: 20px;
    }
    .page-promotions__hero-content {
        padding: 0 15px;
    }
    .page-promotions__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .page-promotions__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }
    .page-promotions__introduction-section,
    .page-promotions__categories-section,
    .page-promotions__specific-promotions-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-conditions-section,
    .page-promotions__why-choose-section,
    .page-promotions__faq-section,
    .page-promotions__final-cta-section {
        padding: 40px 0;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-promotions__text-block {
        font-size: 0.95rem;
        text-align: left;
    }
    .page-promotions__card-grid {
        gap: 20px;
    }
    .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 1.2rem;
    }
    .page-promotions__card-text {
        font-size: 0.9rem;
    }
    .page-promotions__product-promo {
        margin-bottom: 50px;
        gap: 20px;
    }
    .page-promotions__product-content {
        padding: 20px;
    }
    .page-promotions__product-title {
        font-size: 1.5rem;
    }
    .page-promotions__list-item {
        font-size: 0.95rem;
    }
    .page-promotions__feature-grid {
        gap: 20px;
    }
    .page-promotions__feature-item {
        padding: 25px;
    }
    .page-promotions__feature-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-promotions__feature-title {
        font-size: 1.1rem;
    }
    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* Mobile image and video responsive fix */
    .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__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .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: hidden !important; /* Ensure no overflow */
    }
    .page-promotions__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
    }
}