/* 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: transparent; /* Body background is handled by shared.css var(--dark-bg-1) */
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero section */
}

.page-promotions__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

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

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

/* Section Titles and Descriptions */
.page-promotions__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-promotions__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
    background-color: #1a7fb0;
    border-color: #1a7fb0;
}

.page-promotions__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7fb0;
    border-color: #1a7fb0;
}

/* Video Section */
.page-promotions__video-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
    text-align: center;
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    background: #000; /* Black background for video */
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block; /* Ensure it behaves like a block element for max-width */
    cursor: pointer;
}

/* Top Promotions Grid */
.page-promotions__top-promotions {
    padding: 60px 0;
}

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

.page-promotions__promotion-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

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

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

.page-promotions__card-text {
    font-size: 1em;
    color: #f0f0f0;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Detailed Promotions */
.page-promotions__detailed-promotions {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions__promo-category {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-promotions__category-text {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-promotions__promo-category ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 25px;
    color: #f0f0f0;
}

.page-promotions__promo-category ul li {
    margin-bottom: 10px;
}

.page-promotions__promo-category strong {
    color: #26A9E0;
}

/* How-To Claim Section */
.page-promotions__how-to-claim {
    padding: 60px 0;
}

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

.page-promotions__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__step-card .page-promotions__card-image {
    height: 180px; /* Adjust height for guide images */
}

.page-promotions__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px 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: #ffffff;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    transition: background-color 0.3s ease;
}

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

.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, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for answer */
    color: #f0f0f0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important;
    padding: 20px !important;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__category-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 400px;
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header for mobile */
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 0.9em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px; /* Space between stacked buttons */
    }

    /* Button containers for mobile stacking */
    .page-promotions__hero-content .page-promotions__btn-primary {
        margin-bottom: 20px;
    }
    .page-promotions__promotion-card .page-promotions__btn-secondary {
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-promotions__cta-bottom .page-promotions__btn-primary {
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-promotions__promo-category .page-promotions__btn-primary {
        margin-left: 15px;
        margin-right: 15px;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
        padding-top: 30px;
    }
    .page-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-promotions__promotion-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promotion-card,
    .page-promotions__step-card,
    .page-promotions__promo-category,
    .page-promotions__video-section,
    .page-promotions__top-promotions,
    .page-promotions__detailed-promotions,
    .page-promotions__how-to-claim,
    .page-promotions__faq-section {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-promotions__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-promotions__faq-answer {
        padding: 15px !important;
    }
    .page-promotions__faq-list {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-description {
        font-size: 0.9em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__faq-question {
        font-size: 1em;
    }
}