/* style/promotions.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-dark: #0a0a0a;
    --background-light: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Default for dark body background */
    background-color: var(--background-dark);
}

/* Ensure content is not hidden by fixed header */
.page-promotions__intro-section {
    padding-top: 120px; /* Desktop: Adjust based on shared header height */
}

/* Sections */
.page-promotions__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-color-light);
}

.page-promotions__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-color-light);
}

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

/* Dark Background Section */
.page-promotions__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-promotions__dark-bg .page-promotions__section-title,
.page-promotions__dark-bg .page-promotions__section-description {
    color: var(--text-color-light);
}

/* Light Background Section */
.page-promotions__light-bg {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.page-promotions__light-bg .page-promotions__section-title,
.page-promotions__light-bg .page-promotions__section-description,
.page-promotions__light-bg h3,
.page-promotions__light-bg p {
    color: var(--text-color-dark);
}

/* Intro Section */
.page-promotions__intro-section {
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a70 100%); /* Darker gradient for contrast */
}

.page-promotions__main-heading {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--text-color-light);
    line-height: 1.2;
}

.page-promotions__intro-text {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-color-light);
}

.page-promotions__intro-text strong {
    color: var(--secondary-color);
}

.page-promotions__intro-image-wrapper {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__intro-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* CTA Button General */
.page-promotions__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button:hover {
    background: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Types Section */
.page-promotions__types-section {
    padding: 80px 0;
}

.page-promotions__type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__type-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-promotions__type-icon {
    width: 150px; /* Larger icons for content display */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.page-promotions__type-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-promotions__type-text {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-color-dark);
}

.page-promotions__type-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-promotions__type-button:hover {
    background: #1a3a70;
}

/* Featured Section */
.page-promotions__featured-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a3a70 0%, var(--primary-color) 100%);
}

.page-promotions__featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-promotions__featured-card {
    background: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.page-promotions__featured-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__featured-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-promotions__featured-text {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-color-dark);
    flex-grow: 1;
}

.page-promotions__featured-card .page-promotions__cta-button {
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    box-shadow: none;
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-promotions__featured-card .page-promotions__cta-button:hover {
    background: #ffc107;
    transform: translateY(-2px);
}

/* News Section */
.page-promotions__news-section {
    padding: 80px 0;
}

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

.page-promotions__news-item {
    background: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

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

.page-promotions__news-content {
    padding: 20px;
}

.page-promotions__news-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-promotions__news-title .page-promotions__news-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__news-title .page-promotions__news-link:hover {
    color: #1a3a70;
    text-decoration: underline;
}

.page-promotions__news-excerpt {
    font-size: 15px;
    color: var(--text-color-dark);
    margin-bottom: 15px;
}

.page-promotions__news-date {
    font-size: 14px;
    color: #777777;
    display: block;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.page-promotions__faq-section .page-promotions__section-title {
    color: var(--text-color-light);
}

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

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    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: 18px 25px;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-promotions__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-promotions__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-promotions__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: var(--text-color-dark);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any answer */
    padding: 20px 25px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Change + to X or similar visual */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-heading {
        font-size: 40px;
    }
    .page-promotions__section-title {
        font-size: 30px;
    }
    .page-promotions__intro-text {
        font-size: 18px;
    }
    .page-promotions__type-grid,
    .page-promotions__featured-grid,
    .page-promotions__news-grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-promotions__intro-section {
        padding-top: 100px !important; /* Mobile: Adjust based on shared header height */
        padding-bottom: 40px;
    }

    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__main-heading {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-promotions__intro-text {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-promotions__cta-button {
        padding: 15px 30px;
        font-size: 18px;
    }

    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-promotions__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-promotions__types-section,
    .page-promotions__featured-section,
    .page-promotions__news-section,
    .page-promotions__faq-section {
        padding: 60px 0;
    }

    .page-promotions__type-grid,
    .page-promotions__featured-grid,
    .page-promotions__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__type-card,
    .page-promotions__featured-card,
    .page-promotions__news-item {
        padding: 20px;
    }

    .page-promotions__type-icon {
        width: 120px;
        margin-bottom: 15px;
    }

    .page-promotions__type-title {
        font-size: 20px;
    }

    .page-promotions__type-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-promotions__type-button {
        padding: 10px 20px;
        font-size: 15px;
    }

    .page-promotions__featured-image {
        height: 200px;
    }

    .page-promotions__featured-content {
        padding: 20px;
    }

    .page-promotions__featured-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .page-promotions__featured-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-promotions__news-image {
        height: 180px;
    }

    .page-promotions__news-content {
        padding: 15px;
    }

    .page-promotions__news-title {
        font-size: 18px;
    }

    .page-promotions__news-excerpt {
        font-size: 14px;
    }

    .page-promotions__faq-question {
        padding: 15px 20px;
    }

    .page-promotions__faq-question h3 {
        font-size: 16px;
    }

    .page-promotions__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
        margin-left: 15px;
    }

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

    /* General image responsive styles for all images */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__intro-section,
    .page-promotions__types-section,
    .page-promotions__featured-section,
    .page-promotions__news-section,
    .page-promotions__faq-section,
    .page-promotions__type-card,
    .page-promotions__featured-card,
    .page-promotions__news-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right handled by .page-promotions__container for main sections */
    }
}

@media (max-width: 480px) {
    .page-promotions__main-heading {
        font-size: 28px;
    }
    .page-promotions__section-title {
        font-size: 24px;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-promotions__type-icon {
        width: 100px;
    }
}