/* style/promotions.css */

/* General Styles for page-promotions */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

.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: #FFD700; /* Gold color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Darken image for text readability */
}

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

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

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

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

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    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;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #2F4F4F; /* Dark green text for contrast */
    border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
    background-color: #e6c200;
    color: #0a0a0a;
    border-color: #e6c200;
}

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

.page-promotions__btn-secondary:hover {
    background-color: #FFD700;
    color: #2F4F4F;
    border-color: #FFD700;
}

/* Introduction Section */
.page-promotions__introduction-section,
.page-promotions__guide-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__conclusion-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for sections */
}

/* Featured Promotions Grid */
.page-promotions__featured-promos-section {
    padding: 60px 0;
    background-color: #0a0a0a;
}

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

.page-promotions__promo-card {
    background-color: #2F4F4F; /* Dark green card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

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

.page-promotions__card-title {
    font-size: 1.8em;
    color: #FFD700; /* Gold title */
    margin-bottom: 15px;
    padding: 0 20px;
}

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

.page-promotions__card-button {
    margin-top: auto; /* Push button to bottom */
    margin-left: 20px;
    margin-right: 20px;
}

/* Guide Section */
.page-promotions__guide-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-promotions__guide-steps {
    flex: 1;
    min-width: 300px;
}

.page-promotions__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.page-promotions__step-number {
    background-color: #FFD700; /* Gold circle */
    color: #2F4F4F; /* Dark green text */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.page-promotions__step-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold title */
    margin-top: 0;
    margin-bottom: 10px;
}

.page-promotions__guide-image {
    flex: 1;
    min-width: 400px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-promotions__guide-cta {
    margin-top: 40px;
}

/* Terms Section */
.page-promotions__terms-list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}

.page-promotions__terms-list li {
    background-color: #2F4F4F; /* Dark green list item background */
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-promotions__terms-list li strong {
    color: #FFD700; /* Gold for strong text */
}

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

.page-promotions__faq-item {
    background-color: #2F4F4F; /* Dark green FAQ item background */
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700; /* Gold for question */
    background-color: #2F4F4F;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

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

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

.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 value */
    padding: 20px;
}

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

.page-promotions__faq-image-container {
    text-align: center;
    margin-top: 40px;
}

.page-promotions__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Conclusion Section */
.page-promotions__conclusion-section .page-promotions__cta-buttons {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__hero-description {
        font-size: 1.2em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promo-card {
        padding-bottom: 15px;
    }
    .page-promotions__card-title {
        font-size: 1.5em;
    }
    .page-promotions__card-description {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__text-block {
        font-size: 1em;
    }
    .page-promotions__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 90%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__introduction-section,
    .page-promotions__guide-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section {
        padding: 40px 0;
    }
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__guide-content {
        flex-direction: column;
    }
    .page-promotions__guide-image {
        min-width: unset;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
    .page-promotions img {
        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-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-promotions__faq-question {
        font-size: 1.1em;
    }
    .page-promotions__faq-answer {
        padding: 0 15px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px !important;
    }
}

@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__step-number {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .page-promotions__step-title {
        font-size: 1.3em;
    }
}