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

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

.page-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    background-color: #000080; /* Dark blue background for hero */
    overflow: hidden;
    padding-bottom: 40px;
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

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

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

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background-color: #FFD700;
    color: #000080; /* Dark blue text on gold button */
    border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
    background-color: #e6c200;
    color: #000050;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
}

.page-promotions__btn-link {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-promotions__btn-link:hover {
    background-color: #FFD700;
    color: #000080;
}

.page-promotions__intro-section,
.page-promotions__why-choose,
.page-promotions__promo-categories,
.page-promotions__featured-promo,
.page-promotions__video-section,
.page-promotions__how-to-claim,
.page-promotions__terms-conditions,
.page-promotions__faq-section,
.page-promotions__cta-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-promotions__intro-section,
.page-promotions__how-to-claim,
.page-promotions__terms-conditions {
    background-color: #000000;
}

.page-promotions__why-choose {
    background-color: #000080; /* Dark blue section */
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-promotions__section-description,
.page-promotions__section-text {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

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

.page-promotions__category-card,
.page-promotions__benefit-card,
.page-promotions__step-card {
    background-color: rgba(255, 255, 255, 0.05);
    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;
    justify-content: space-between;
}

.page-promotions__category-card:hover,
.page-promotions__benefit-card:hover,
.page-promotions__step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-promotions__card-title,
.page-promotions__benefit-title,
.page-promotions__step-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-promotions__card-text,
.page-promotions__benefit-description,
.page-promotions__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-promotions__promo-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__promo-item--reverse {
    flex-direction: row-reverse;
}

.page-promotions__promo-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.page-promotions__promo-details {
    width: 50%;
    color: #ffffff;
}

.page-promotions__promo-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-promotions__promo-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.page-promotions__promo-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1em;
    color: #f0f0f0;
}

.page-promotions__promo-features li::before {
    content: '✓';
    color: #FFD700;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    margin: 40px auto 20px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.page-promotions__video-caption {
    text-align: center;
    font-size: 1em;
    color: #f0f0f0;
    margin-top: 10px;
}

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FFD700;
    color: #000080;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.page-promotions__terms-list li {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #FFD700;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-promotions__terms-list li strong {
    color: #FFD700;
}

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    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;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    cursor: pointer;
    background-color: #000080;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: #000060;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 20px;
    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; /* Ensure it expands sufficiently */
    padding: 20px;
}

.page-promotions__faq-answer p {
    margin: 0;
    line-height: 1.6;
}

.page-promotions__cta-section {
    text-align: center;
    padding-bottom: 100px;
}

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

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

    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__promo-item {
        flex-direction: column;
        text-align: center;
    }

    .page-promotions__promo-item--reverse {
        flex-direction: column;
    }

    .page-promotions__promo-image,
    .page-promotions__promo-details {
        width: 100%;
    }

    .page-promotions__promo-features {
        text-align: left;
    }
}

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

    .page-promotions__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-promotions__hero-title {
        font-size: 2.2em;
    }

    .page-promotions__hero-description {
        font-size: 1em;
    }

    .page-promotions__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-link,
    .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 {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

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

    .page-promotions__intro-section,
    .page-promotions__why-choose,
    .page-promotions__promo-categories,
    .page-promotions__featured-promo,
    .page-promotions__video-section,
    .page-promotions__how-to-claim,
    .page-promotions__terms-conditions,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding: 40px 0;
    }

    .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__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .page-promotions__promo-item,
    .page-promotions__category-card,
    .page-promotions__benefit-card,
    .page-promotions__step-card,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-promotions__video-wrapper {
        padding-bottom: 75% !important; /* Adjust aspect ratio for mobile if needed, e.g., 4:3 */
    }

    .page-promotions__promo-item,
    .page-promotions__promo-item--reverse {
        padding: 20px;
    }

    .page-promotions__promo-title {
        font-size: 1.5em;
    }

    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px;
    }

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