/* style/promotions.css */

/* Base Styles & Typography */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

.page-promotions h1,
.page-promotions h2,
.page-promotions h3 {
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-promotions p {
    margin-bottom: 15px;
    color: #A7D9B8; /* Text Secondary */
}

.page-promotions__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6;
    border: none;
}

.page-promotions__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
    margin-left: 15px;
}

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

.page-promotions__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-promotions__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stacks image on top, then content */
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2FFF6;
}

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

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

/* Promotions Grid */
.page-promotions__promotions-grid {
    padding: 80px 20px;
    background-color: #08160F; /* Background */
    text-align: center;
}

.page-promotions__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__promotion-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__card-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__card-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #F2FFF6;
}

.page-promotions__card-text {
    font-size: 0.95em;
    color: #A7D9B8;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-promotions__cta-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F2FFF6;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
    padding: 80px 20px;
    background-color: #0A4B2C; /* Deep Green for a slightly different background */
    color: #F2FFF6;
}

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

.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__step-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__step-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #F2FFF6;
}

.page-promotions__step-text {
    color: #A7D9B8;
    margin-bottom: 20px;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
    padding: 80px 20px;
    background-color: #08160F; /* Background */
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-promotions__terms-item {
    background-color: #11271B; /* Card BG */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 5px;
    color: #A7D9B8;
    border-left: 5px solid #2AD16F;
    font-size: 1.0em;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 20px;
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-promotions__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    color: #F2FFF6;
    background-color: #11271B;
    position: relative;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}

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

.page-promotions__faq-question:hover {
    background-color: #1E3A2A; /* Divider for hover */
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #2AD16F;
    transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #A7D9B8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
    max-height: 500px; /* Sufficiently large for content */
    padding-top: 10px;
}

/* Contact Us Section */
.page-promotions__contact-us {
    padding: 80px 20px;
    background-color: #08160F; /* Background */
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__grid-container,
    .page-promotions__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__hero-content {
        padding: 0 15px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-promotions__btn-secondary {
        margin-left: 0;
    }

    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__hero-image {
        margin-bottom: 20px;
    }
    .page-promotions__card-image {
        height: auto !important;
    }

    /* Mobile video responsiveness (if any) */
    .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: 10px !important;
    }

    /* Mobile button responsiveness */
    .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;
        padding-left: 15px;
        padding-right: 15px;
    }
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
    }

    /* General content area padding for mobile */
    .page-promotions__content-area,
    .page-promotions__promotions-grid,
    .page-promotions__how-to-claim,
    .page-promotions__terms-conditions,
    .page-promotions__faq-section,
    .page-promotions__contact-us {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__promotion-card,
    .page-promotions__step-card {
        padding: 20px;
    }
    .page-promotions__card-title {
        font-size: 1.1em;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

/* Color Contrast Fixes */
.page-promotions__dark-section {
  background: #08160F;
  color: #F2FFF6;
}

.page-promotions__light-bg {
  background: #0A4B2C;
  color: #F2FFF6;
}

.page-promotions p,
.page-promotions li,
.page-promotions__card-text,
.page-promotions__step-text,
.page-promotions__terms-item,
.page-promotions__faq-answer {
  color: #A7D9B8;
}

.page-promotions__card-title,
.page-promotions__step-title,
.page-promotions__faq-question {
  color: #F2FFF6;
}