/* style/promotions.css */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text on dark body background */
    background-color: var(--dark-bg-1); /* Inherited from shared.css, assumed dark */
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #1A2E44;
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for title */
    text-transform: uppercase;
    font-weight: bold;
}

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

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal; /* Allow text wrapping for buttons */
    word-wrap: break-word; /* Allow text wrapping for buttons */
    max-width: 100%; /* Ensure button fits container */
    box-sizing: border-box;
}

.page-promotions__cta-button--primary {
    background-color: #FFD700;
    color: #1A2E44;
    border: 2px solid #FFD700;
}

.page-promotions__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-promotions__cta-button--secondary {
    background-color: #1A2E44;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-promotions__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #1A2E44;
    transform: translateY(-2px);
}

.page-promotions__intro-section,
.page-promotions__terms-section,
.page-promotions__cta-final-section {
    padding: 60px 0;
    background-color: var(--dark-bg-1);
    color: #f0f0f0;
}

.page-promotions__dark-section {
    background-color: #1A2E44;
    color: #ffffff;
}

.page-promotions__types-section {
    padding: 80px 0;
    background-color: #0c1a29; /* Slightly lighter dark background */
    color: #f0f0f0;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__text-block--center {
    text-align: center;
}

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

.page-promotions__card {
    background-color: #1A2E44;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #f0f0f0;
}

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

.page-promotions__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

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

.page-promotions__card-text {
    font-size: 1em;
    margin: 0 20px 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__card-link {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2E44;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.page-promotions__card-link:hover {
    background-color: #e6c200;
}

.page-promotions__ordered-list,
.page-promotions__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-promotions__ordered-list li,
.page-promotions__unordered-list li {
    margin-bottom: 10px;
    text-align: justify;
}

.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    background-color: #0c1a29;
    border: 1px solid #FFD700;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #1A2E44;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-question h3 {
    margin: 0;
    color: #FFD700;
    font-size: 1.2em;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    color: #FFD700;
    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;
    color: #f0f0f0;
}

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

.page-promotions__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: justify;
}

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

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__cta-button {
        padding: 12px 20px;
        font-size: 0.9em;
        margin-left: 0 !important; /* Remove margin for stack */
        width: 100% !important; /* Full width for mobile buttons */
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__cta-button--secondary {
        margin-top: 15px; /* Add top margin when stacked */
    }
    .page-promotions__button-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__cards-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .page-promotions__card {
        margin: 0 auto;
        max-width: 450px;
    }
}