/* style/promotions.css */

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

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Apply header offset here */
    background-color: #000000; /* 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.5; /* Slightly dim the image for text readability */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text */
    border-radius: 10px;
}

.page-promotions__hero-title {
    font-size: 3.2em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-promotions__hero-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Buttons */
.page-promotions__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
    background-color: #1e87b7;
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Primary brand color for text */
    border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Promotions Overview Section */
.page-promotions__overview-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
}

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

.page-promotions__promotion-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    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;
    align-items: center;
    justify-content: space-between;
    color: #ffffff; /* Ensure text is light on dark card */
}

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

.page-promotions__card-image {
    width: 100%;
    max-width: 400px; /* Constrain image width within card */
    height: 300px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__card-title {
    font-size: 1.8em;
    color: #26A9E0; /* Brand color for titles */
    margin-bottom: 15px;
}

.page-promotions__card-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-promotions__card-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-promotions__card-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    margin-top: auto; /* Push button to bottom */
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Primary brand color as background */
    color: #ffffff; /* White text on brand color background */
}

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

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-promotions__step-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on brand color */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-promotions__step-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-promotions__step-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-promotions__step-description a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
}

.page-promotions__step-description a:hover {
    color: #e0e0e0;
}

.page-promotions__claim-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
}

/* Terms & Conditions Section */
.page-promotions__terms-section {
    padding: 80px 0;
    background-color: #000000; /* Dark background */
    color: #ffffff;
}

.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__terms-section .page-promotions__section-description {
    color: #ffffff;
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0 auto;
    max-width: 800px;
    color: #f0f0f0;
}

.page-promotions__term-item {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-promotions__terms-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-promotions__terms-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-promotions__why-choose-section .page-promotions__section-title,
.page-promotions__why-choose-section .page-promotions__section-description {
    color: #ffffff;
}

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

.page-promotions__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-promotions__feature-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-promotions__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #000000; /* Dark background */
    color: #ffffff;
}

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

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    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.3em;
    color: #ffffff;
    margin: 0;
}

.page-promotions__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

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

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px; /* Padding when active */
}

.page-promotions__faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
}

/* Call to Action Section */
.page-promotions__cta-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    text-align: center;
}

.page-promotions__cta-section .page-promotions__section-title,
.page-promotions__cta-section .page-promotions__section-description {
    color: #ffffff;
}

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

.page-promotions__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__card-title {
        font-size: 1.5em;
    }
}

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

    /* Hero Section adjustments for mobile */
    .page-promotions__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }
    .page-promotions__hero-content {
        padding: 20px;
    }
    .page-promotions__hero-title {
        font-size: 2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* General section padding */
    .page-promotions__overview-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__why-choose-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding: 60px 0;
    }

    .page-promotions__container {
        padding: 0 15px; /* Add horizontal padding for mobile content */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__card-image {
        height: auto; /* Allow height to adjust for mobile */
        max-height: 250px; /* Cap max height for card images */
    }

    /* Video responsive (if any, though not in this HTML) */
    .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;
    }


    /* Buttons responsive */
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__hero-button,
    .page-promotions__card-button,
    .page-promotions__claim-button,
    .page-promotions__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__claim-button {
        width: 100% !important;
    }

    /* FAQ adjustments */
    .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: 15px 20px;
    }
}

/* Dark and Light background classes for smart contrast, though explicit colors are used above */
.page-promotions__dark-bg {
    color: #ffffff; /* Deep dark background, use light text */
}

.page-promotions__light-bg {
    color: #333333; /* Light background, use dark text */
}
/* No explicit medium background is used, but if it were, it would need careful color selection */

/* Ensure content area images are not too small */
/* This rule applies to any img within .page-promotions, overriding smaller default img sizes */
.page-promotions img {
  min-width: 200px; /* Minimum width for content images */
  min-height: 200px; /* Minimum height for content images */
  /* If width/height attributes are smaller, this CSS rule will be overridden by !important in media queries for mobile */
}

/* Specific override for card images to ensure they meet minimum size requirements */
.page-promotions__card-image {
  min-width: 200px;
  min-height: 200px;
}