/* style/promotions.css */

/* General Styles */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text for dark background */
    line-height: 1.6;
    background-color: transparent; /* Inherit from shared.css body */
}

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

.page-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold primary color */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promotions__section-description {
    font-size: 1.1em;
    color: #cccccc; /* Slightly lighter than main text for contrast */
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 80px 20px;
    background-color: var(--dark-bg-1, #1a1a1a); /* Ensure dark background */
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Dim the background image for text readability */
    transition: transform 0.3s ease-in-out;
}

.page-promotions__hero-image:hover {
    transform: scale(1.03);
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    color: #ffffff;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

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

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

.page-promotions__hero-cta-button,
.page-promotions__cta-button {
    display: inline-block;
    background-color: #FF4500; /* Orange-red for CTA */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-promotions__hero-cta-button:hover,
.page-promotions__cta-button:hover {
    background-color: #e63900;
    transform: translateY(-3px);
}

.page-promotions__cta-button--bottom {
    margin-top: 30px;
}

.page-promotions__cta-button--large {
    padding: 20px 40px;
    font-size: 1.4em;
    margin-top: 40px;
}

/* Overview Section */
.page-promotions__overview-section .page-promotions__section-description {
    text-align: left;
    max-width: 100%;
}

/* Card Grid Section */
.page-promotions__card-grid {
    background-color: var(--dark-bg-2, #2a2a2a); /* Slightly lighter dark background */
    padding-bottom: 80px;
}

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

.page-promotions__card {
    background-color: var(--dark-bg-3, #333333); /* Darker card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-promotions__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-promotions__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 3px solid #FFD700;
}

.page-promotions__card-title {
    font-size: 1.6em;
    color: #FFD700;
    padding: 20px 20px 10px 20px;
    font-weight: bold;
}

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

.page-promotions__card-title a:hover {
    color: #00BFFF; /* Accent color on hover */
}

.page-promotions__card-text {
    font-size: 1em;
    color: #cccccc;
    padding: 0 20px 20px 20px;
    flex-grow: 1; /* Make text fill available space */
}

.page-promotions__card-button {
    display: block;
    background-color: #00BFFF; /* Secondary color for card buttons */
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 0 0 12px 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-promotions__card-button:hover {
    background-color: #009acd;
}

/* Benefits Section */
.page-promotions__benefits-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-promotions__benefits-item {
    background-color: var(--dark-bg-3, #333333);
    border-left: 5px solid #FFD700;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.page-promotions__benefits-item:hover {
    background-color: var(--dark-bg-2, #2a2a2a);
}

.page-promotions__benefits-item strong {
    color: #FFD700;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
    background-color: var(--dark-bg-2, #2a2a2a);
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
    counter-reset: step-counter;
    text-align: left;
}

.page-promotions__steps-item {
    background-color: var(--dark-bg-3, #333333);
    padding: 25px 25px 25px 70px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 1.1em;
    color: #f0f0f0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-promotions__steps-item:hover {
    transform: translateY(-5px);
}

.page-promotions__steps-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FFD700;
    color: #1a1a1a; /* Dark text for gold background */
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-promotions__steps-item strong {
    color: #FFD700;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding-bottom: 80px;
}

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

.page-promotions__faq-item {
    background-color: var(--dark-bg-3, #333333);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    cursor: pointer;
    background-color: var(--dark-bg-2, #2a2a2a);
    transition: background-color 0.3s ease;
}

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

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

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

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--dark-bg-3, #333333);
    color: #cccccc;
}

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

.page-promotions__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

.page-promotions__faq-answer a {
    color: #00BFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__faq-answer a:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
    background-color: #FFD700; /* Gold background for strong CTA */
    color: #1a1a1a; /* Dark text for gold background */
    padding: 80px 0;
    border-radius: 15px;
    margin: 60px auto;
    max-width: 1000px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__final-cta-section .page-promotions__section-title {
    color: #1a1a1a; /* Dark text on gold background */
    text-shadow: none;
}

.page-promotions__final-cta-section .page-promotions__section-description {
    color: #333333; /* Darker text for description */
    margin-bottom: 40px;
}

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }
    .page-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__hero-cta-button,
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-promotions__grid {
        grid-template-columns: 1fr; /* Single column layout for cards */
    }
    .page-promotions__card-image {
        height: 200px;
    }
    .page-promotions__card-title {
        font-size: 1.4em;
    }
    .page-promotions__card-text {
        font-size: 0.9em;
    }
    .page-promotions__benefits-item,
    .page-promotions__steps-item,
    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-promotions__steps-item {
        padding-left: 60px;
    }
    .page-promotions__steps-item::before {
        width: 30px;
        height: 30px;
        font-size: 1em;
        left: 15px;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px 20px 20px;
    }
    .page-promotions__final-cta-section {
        padding: 50px 20px;
        margin: 40px 20px;
    }

    /* Force responsive image, video, button sizing */
    .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__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .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;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-promotions__cta-button,
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__cta-buttons {
        flex-direction: column !important;
        gap: 10px;
    }
}