/* style/promotions.css */

/* Base Styles */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Light text for dark sections */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #ffffff; /* Light text for dark sections */
}

.page-promotions__dark-section {
    background-color: #017439; /* Brand color for dark sections */
    padding: 60px 0;
    color: #ffffff;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
    color: #ffffff;
}

.page-promotions__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Brand color */
    border: 2px solid #017439;
}

.page-promotions__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
    border-color: #ffffff;
}

.page-promotions__btn-large {
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #0a0a0a; /* Ensure hero section has a dark background */
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4; /* Slightly dim image for text readability */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
    padding: 20px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

/* Introduction Section */
.page-promotions__introduction-section .page-promotions__section-title {
    color: #ffffff;
}

.page-promotions__introduction-section .page-promotions__text-block {
    color: #ffffff;
}

.page-promotions__introduction-section a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: underline;
}

.page-promotions__introduction-section a:hover {
    color: #fff;
}


/* Promotion Categories */
.page-promotions__promo-categories {
    padding: 60px 0;
    background-color: #0a0a0a; /* Body background color */
}

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

.page-promotions__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-promotions__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 15px 15px 10px;
    color: #FFFF00; /* Yellow for card titles */
}

.page-promotions__card-link {
    color: #FFFF00; /* Yellow for card title links */
    text-decoration: none;
}

.page-promotions__card-link:hover {
    text-decoration: underline;
}

.page-promotions__card-description {
    font-size: 1em;
    margin: 0 15px 20px;
    flex-grow: 1;
    color: #f0f0f0;
}

.page-promotions__promo-card .page-promotions__btn-primary {
    margin: 0 15px 15px;
    width: calc(100% - 30px);
}

/* Video Section */
.page-promotions__video-section .page-promotions__section-title,
.page-promotions__video-section .page-promotions__text-block {
    color: #ffffff;
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 30px;
    border-radius: 10px;
}

.page-promotions__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* How-to-Claim Section */
.page-promotions__how-to-claim {
    padding: 60px 0;
    background-color: #0a0a0a; /* Body background color */
    color: #ffffff;
}

.page-promotions__how-to-claim .page-promotions__section-title {
    color: #ffffff;
}

.page-promotions__how-to-claim .page-promotions__text-block {
    color: #f0f0f0;
}

.page-promotions__how-to-claim a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: underline;
}

.page-promotions__how-to-claim a:hover {
    color: #fff;
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #017439;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #ffffff;
}

.page-promotions__list-item strong {
    color: #FFFF00; /* Yellow for strong text in list items */
}

/* Tips Section */
.page-promotions__tips-section .page-promotions__section-title,
.page-promotions__tips-section .page-promotions__text-block {
    color: #ffffff;
}

.page-promotions__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__tips-list .page-promotions__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #FFFF00; /* Yellow border for tips */
}

.page-promotions__tips-list .page-promotions__list-item strong {
    color: #FFFF00; /* Yellow for strong text in tips */
}


/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: #0a0a0a; /* Body background color */
    color: #ffffff;
}

.page-promotions__faq-section .page-promotions__section-title {
    color: #ffffff;
}

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-heading {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFF00; /* Yellow toggle icon */
    transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px 25px;
}

.page-promotions__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

/* Call to Action Section */
.page-promotions__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #017439; /* Brand color background */
}

.page-promotions__cta-section .page-promotions__section-title {
    font-size: 3em;
    color: #ffffff;
    margin-bottom: 25px;
}

.page-promotions__cta-section .page-promotions__text-block {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #ffffff;
}

.page-promotions__cta-section a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: underline;
}

.page-promotions__cta-section a:hover {
    color: #fff;
}


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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__text-block {
        font-size: 1em;
    }

    /* Images responsiveness */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsiveness */
    .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-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section has correct padding-top on mobile */
    }

    /* FAQ */
    .page-promotions__faq-question {
        padding: 15px 20px;
    }
    .page-promotions__faq-heading {
        font-size: 1.1em;
    }
    .page-promotions__faq-answer {
        padding: 0 20px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 10px 20px 20px;
    }

    /* CTA Section */
    .page-promotions__cta-section .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__cta-section .page-promotions__text-block {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 2em;
    }
    .page-promotions__hero-description {
        font-size: 0.9em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
}

/* Contrast Fixes (as per instructions) */
.page-promotions__content-area,
.page-promotions__text-block {
  color: #ffffff; /* Ensure light text on dark body background */
}

.page-promotions p,
.page-promotions li {
  color: #f0f0f0; /* Slightly lighter for paragraphs */
}

.page-promotions__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  color: #ffffff; /* Light text */
}

.page-promotions__dark-section {
  background: #017439;
  color: #ffffff; /* Forced white text */
}

.page-promotions__btn-primary {
  background: #C30808;
  color: #FFFF00; /* Button text always yellow for register/login */
  border: 2px solid transparent;
}

.page-promotions__btn-secondary {
  background: #ffffff;
  color: #017439; /* Use brand color for secondary button text */
  border: 2px solid #017439;
}