/* style/promotions.css */

:root {
    --page-promotions-primary-color: #FFD700; /* Gold */
    --page-promotions-secondary-color: #000080; /* Navy Blue */
    --page-promotions-text-light: #F0F0F0; /* Light gray for dark backgrounds */
    --page-promotions-text-dark: #1a1a1a; /* Dark gray for light backgrounds */
    --page-promotions-accent-color: #0028ff; /* Complementary to primary for emphasis */
    --page-promotions-bg-dark-light: #12123a; /* Slightly lighter navy for sections */
    --page-promotions-bg-light-dark: #e6c200; /* Slightly darker gold for sections */
}

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

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

.page-promotions__hero-section {
    background: linear-gradient(135deg, var(--page-promotions-primary-color) 0%, var(--page-promotions-bg-light-dark) 50%, var(--page-promotions-secondary-color) 100%);
    color: var(--page-promotions-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-promotions-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-promotions-text-light);
}

.page-promotions__hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-promotions__btn--primary {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-text-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-promotions__btn--secondary {
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 128, 0.4);
}

.page-promotions__btn--secondary:hover {
    background-color: #000066;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 128, 0.6);
}

.page-promotions__btn--detail {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-text-dark);
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-promotions__btn--detail:hover {
    background-color: #e6c200;
    transform: translateY(-1px);
}

.page-promotions__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-text-light);
}

.page-promotions__btn--small:hover {
    background-color: #000066;
    transform: translateY(-1px);
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--page-promotions-secondary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-promotions-primary-color);
    border-radius: 2px;
}

.page-promotions__introduction-section, 
.page-promotions__how-to-claim-section, 
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
    color: var(--page-promotions-text-dark);
}

.page-promotions__featured-promotions-section {
    padding: 60px 0;
    background-color: var(--page-promotions-bg-dark-light); /* Darker background for contrast */
    color: var(--page-promotions-text-light);
}

.page-promotions__featured-promotions-section .page-promotions__section-title {
    color: var(--page-promotions-primary-color);
}

.page-promotions__featured-promotions-section .page-promotions__section-title::after {
    background-color: var(--page-promotions-text-light);
}

.page-promotions__text-content {
    font-size: 1.1em;
    margin-bottom: 25px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__introduction-section .page-promotions__text-content {
    color: var(--page-promotions-text-dark);
}

.page-promotions__featured-promotions-section .page-promotions__text-content {
    color: var(--page-promotions-text-light);
}

.page-promotions__inline-link {
    color: var(--page-promotions-secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions__inline-link:hover {
    color: var(--page-promotions-primary-color);
}

.page-promotions__featured-promotions-section .page-promotions__inline-link {
    color: var(--page-promotions-primary-color);
}

.page-promotions__featured-promotions-section .page-promotions__inline-link:hover {
    color: var(--page-promotions-text-light);
}

.page-promotions__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-promotions__benefit-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--page-promotions-primary-color);
}

.page-promotions__benefit-title {
    font-size: 1.5em;
    color: var(--page-promotions-secondary-color);
    margin-bottom: 15px;
}

.page-promotions__benefit-description {
    color: var(--page-promotions-text-dark);
    font-size: 1em;
}

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

.page-promotions__promotion-card {
    background-color: var(--page-promotions-bg-dark-light);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-promotions-text-light);
}

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

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

.page-promotions__card-title {
    font-size: 1.6em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-promotions__card-description {
    font-size: 1em;
    color: var(--page-promotions-text-light);
    padding: 0 15px;
    margin-bottom: 25px;
    min-height: 90px; /* Ensure consistent card height */
}

.page-promotions__how-to-claim-section {
    background-color: #f0f4f8;
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__step-item {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--page-promotions-secondary-color);
}

.page-promotions__step-title {
    font-size: 1.8em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 10px;
}

.page-promotions__step-description {
    color: var(--page-promotions-text-dark);
    font-size: 1.1em;
}

.page-promotions__faq-section {
    background-color: #ffffff;
}

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

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

.page-promotions__faq-question {
    font-size: 1.3em;
    color: var(--page-promotions-secondary-color);
    padding: 20px;
    margin: 0;
    cursor: pointer;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.page-promotions__faq-answer {
    font-size: 1.1em;
    color: var(--page-promotions-text-dark);
    padding: 0 20px 20px;
    margin: 0;
    display: none; /* Hidden by default, JS will toggle */
}

/* Responsive Design */
@media (max-width: 992px) {
    .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__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-promotions__card-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 60px 0;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__introduction-section, 
    .page-promotions__how-to-claim-section, 
    .page-promotions__faq-section,
    .page-promotions__featured-promotions-section {
        padding: 40px 0;
    }
    .page-promotions__benefits-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__card-description {
        min-height: auto;
    }
    .page-promotions__step-title {
        font-size: 1.5em;
    }
    .page-promotions__faq-question {
        font-size: 1.1em;
    }
    .page-promotions__faq-answer {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-description {
        font-size: 0.9em;
    }
    .page-promotions__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__text-content {
        font-size: 0.95em;
    }
    .page-promotions__benefit-title {
        font-size: 1.3em;
    }
    .page-promotions__card-title {
        font-size: 1.2em;
    }
    .page-promotions__step-title {
        font-size: 1.3em;
    }
    .page-promotions__faq-question {
        font-size: 1em;
    }
}