/* style/promotions.css */

/* Base styles for the promotions page */
.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 20px;
    box-sizing: border-box;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    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: #26A9E0;
    border-radius: 2px;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    overflow: hidden;
    background-color: #0a0a0a; /* Ensure a dark background for the hero if image doesn't cover */
}

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

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Slightly dim the image to make text pop */
    filter: none; /* Ensure no filter is applied */
}

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

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__hero-cta-button,
.page-promotions__card-button,
.page-promotions__step-button,
.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-promotions__btn-primary,
.page-promotions__hero-cta-button,
.page-promotions__card-button.page-promotions__btn-primary,
.page-promotions__step-button.page-promotions__btn-primary,
.page-promotions__cta-button.page-promotions__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover,
.page-promotions__hero-cta-button:hover,
.page-promotions__card-button.page-promotions__btn-primary:hover,
.page-promotions__step-button.page-promotions__btn-primary:hover,
.page-promotions__cta-button.page-promotions__btn-primary:hover {
    background-color: #1e87b7; /* Darker shade for hover */
    border-color: #1e87b7;
}

.page-promotions__btn-secondary,
.page-promotions__card-button.page-promotions__btn-secondary,
.page-promotions__step-button.page-promotions__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover,
.page-promotions__card-button.page-promotions__btn-secondary:hover,
.page-promotions__step-button.page-promotions__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Section specific backgrounds */
.page-promotions__dark-section {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast with body */
    color: #f0f0f0;
    padding: 60px 0;
}

.page-promotions__light-bg {
    background-color: #0d0d0d; /* Another dark shade, darker than the dark-section to differentiate */
    color: #f0f0f0;
    padding: 60px 0;
}

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

.page-promotions__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0; /* Light text for card content */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-promotions__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter is applied */
    object-fit: cover;
    width: 100%; /* Ensure it takes full width of card */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-promotions__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to grow and push button to bottom */
}

.page-promotions__card-button {
    margin-top: auto; /* Push button to the bottom */
    width: 100%;
    max-width: 250px; /* Constrain button width */
}

/* How to Claim Steps */
.page-promotions__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__step-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__step-button {
    margin-top: auto;
    width: 100%;
    max-width: 200px;
}

/* Terms & Conditions List */
.page-promotions__terms-list,
.page-promotions__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__terms-list li,
.page-promotions__benefits-list li {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-left: 5px solid #26A9E0;
    color: #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__terms-list li p,
.page-promotions__benefits-list li p {
    margin-top: 10px;
    font-size: 1em;
    color: #e0e0e0;
}

.page-promotions__list-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 5px;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
}