/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #000000; /* Body background is dark */
}

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

.page-promotions__section-title,
.page-promotions__card-title,
.page-promotions__guide-title,
.page-promotions__cta-title {
    text-align: center;
    color: #26A9E0; /* Brand primary color for titles */
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.3;
}

.page-promotions__section-title {
    font-size: 2.5em;
    padding-top: 40px;
}

.page-promotions__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly off-white for body text */
}

.page-promotions__text-block a {
    color: #26A9E0; /* Brand primary color for links */
    text-decoration: none;
}

.page-promotions__text-block a:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    color: #ffffff;
    overflow: hidden;
    min-height: 600px;
}

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

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Darken image for text readability */
    /* NO CSS FILTER TO CHANGE COLOR */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF; /* White for hero title */
}

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

.page-promotions__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* 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;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    max-width: 100%; /* Ensure button doesn't overflow */
}

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

.page-promotions__btn-primary:hover {
    background-color: #1a7bb7; /* Darker shade of primary */
    border-color: #1a7bb7;
}

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

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

.page-promotions__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* General Section Styles */
.page-promotions__dark-bg {
    background-color: #000000;
    color: #ffffff;
}

.page-promotions__light-bg {
    background-color: #1a1a1a; /* Dark gray to ensure contrast with white text, but still dark themed */
    color: #ffffff;
}

/* Content Images */
.page-promotions__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    object-fit: cover;
    /* NO CSS FILTER TO CHANGE COLOR */
}

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

.page-promotions__promo-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    /* NO CSS FILTER TO CHANGE COLOR */
}

.page-promotions__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand primary color */
}

.page-promotions__card-text {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to take available space */
}

/* Lists */
.page-promotions__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-promotions__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #26A9E0;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: #f0f0f0;
    font-size: 1.1em;
}

.page-promotions__list-item strong {
    color: #ffffff;
}

/* Guide List */
.page-promotions__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__guide-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__guide-item:last-child {
    margin-bottom: 0;
}

.page-promotions__guide-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
    text-align: left;
}

.page-promotions__guide-text {
    font-size: 1.1em;
    color: #e0e0e0;
}

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

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

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 0;
}

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #26A9E0; /* Brand primary color for question background */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

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

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'X' or '−' */
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #e0e0e0;
    font-size: 1.1em;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Use !important to ensure it expands */
    padding: 15px 25px 25px;
}

.page-promotions__faq-answer p {
    margin-top: 0;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-promotions__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

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

/* CTA Section */
.page-promotions__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #1a1a1a; /* Light bg for contrast */
}

.page-promotions__cta-content {
    max-width: 800px;
}

.page-promotions__cta-title {
    font-size: 2.8em;
    color: #26A9E0;
    margin-bottom: 25px;
}

.page-promotions__cta-description {
    font-size: 1.2em;
    color: #f0f0f0;
    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__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
        min-height: 500px;
    }

    .page-promotions__hero-title {
        font-size: 2.5em;
    }

    .page-promotions__hero-description {
        font-size: 1.1em;
    }

    .page-promotions__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button container for multiple buttons in a row */
    .page-promotions__hero-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
    }

    .page-promotions__text-block,
    .page-promotions__card-text,
    .page-promotions__list-item,
    .page-promotions__guide-text,
    .page-promotions__faq-answer p,
    .page-promotions__cta-description {
        font-size: 1em;
    }

    /* Images responsiveness for content area */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__card-image {
        height: auto; /* Allow height to adjust for mobile */
    }

    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-promotions__faq-question h3 {
        font-size: 1.1em;
    }

    .page-promotions__faq-answer {
        padding: 0 20px;
    }

    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 10px 20px 20px;
    }

    .page-promotions__cta-title {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 2em;
    }
    .page-promotions__hero-description {
        font-size: 0.95em;
    }
    .page-promotions__section-title {
        font-size: 1.6em;
    }
    .page-promotions__card-title {
        font-size: 1.5em;
    }
    .page-promotions__guide-title {
        font-size: 1.4em;
    }
    .page-promotions__cta-title {
        font-size: 1.6em;
    }
}