/* style/promotions.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --register-btn-color: #C30808;
    --login-btn-color: #C30808;
    --register-login-font-color: #FFFF00;
}

.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for dark body background */
    background-color: #000000; /* Body background from shared.css */
}

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
    box-sizing: border-box;
}

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

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

.page-promotions__hero-content {
    position: relative;
    z-index: 3;
    color: var(--text-on-dark);
    max-width: 900px;
    padding: 20px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-on-dark);
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-on-dark);
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-on-light);
}

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

.page-promotions__overview-section, 
.page-promotions__how-to-claim-section, 
.page-promotions__faq-section {
    background-color: var(--secondary-color);
    color: var(--text-on-light);
    padding: 80px 0;
}

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

.page-promotions__overview-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-promotions__overview-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-promotions__item-text {
    font-size: 1em;
    color: #555;
}

.page-promotions__categories-section, 
.page-promotions__terms-section, 
.page-promotions__cta-section {
    background-color: var(--primary-color);
    color: var(--text-on-dark);
    padding: 80px 0;
}

.page-promotions__categories-section .page-promotions__section-title, 
.page-promotions__categories-section .page-promotions__section-description,
.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__terms-section .page-promotions__section-description,
.page-promotions__cta-section .page-promotions__section-title,
.page-promotions__cta-section .page-promotions__section-description {
    color: var(--text-on-dark);
}

.page-promotions__category-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 40px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__category-title {
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-on-dark);
}

.page-promotions__category-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.page-promotions__category-content--reverse {
    flex-direction: row-reverse;
}

.page-promotions__category-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.page-promotions__category-text {
    flex: 1;
    max-width: 50%;
}

.page-promotions__category-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-promotions__category-text ul {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-promotions__category-text li {
    margin-bottom: 8px;
}

.page-promotions__category-text .page-promotions__btn-primary,
.page-promotions__category-text .page-promotions__btn-secondary {
    margin-top: 15px;
    display: inline-block;
    margin-right: 10px;
}

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

.page-promotions__step-item {
    background: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-promotions__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.page-promotions__step-item p {
    color: #555;
}

.page-promotions__claim-cta {
    text-align: center;
    margin-top: 50px;
}

.page-promotions__terms-list {
    list-style: disc inside;
    max-width: 800px;
    margin: 40px auto 0 auto;
    padding-left: 20px;
    font-size: 1.1em;
    color: var(--text-on-dark);
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
}

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

.page-promotions__faq-item {
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #e8f5e9; /* Light green for questions */
    border-bottom: 1px solid #dcdcdc;
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--secondary-color);
    color: var(--text-on-light);
}

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

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

.page-promotions__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

.page-promotions__btn-primary {
    background-color: var(--register-btn-color); /* Specific color for Register/Login */
    color: var(--register-login-font-color); /* Specific font color */
    border: 2px solid var(--register-btn-color);
}

.page-promotions__btn-primary:hover {
    background-color: #a30707;
    border-color: #a30707;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--text-on-dark);
    border: 2px solid var(--text-on-dark);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-promotions__overview-section a,
.page-promotions__how-to-claim-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__overview-section a:hover,
.page-promotions__how-to-claim-section a:hover {
    text-decoration: underline;
}

.page-promotions__terms-section a,
.page-promotions__cta-section a {
    color: var(--register-login-font-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__terms-section a:hover,
.page-promotions__cta-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 3em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__category-content {
        flex-direction: column;
        text-align: center;
    }
    .page-promotions__category-content--reverse {
        flex-direction: column;
    }
    .page-promotions__category-image,
    .page-promotions__category-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__hero-cta-buttons,
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-promotions__overview-section,
    .page-promotions__categories-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding: 40px 0;
    }
    .page-promotions__container,
    .page-promotions__overview-item,
    .page-promotions__category-card,
    .page-promotions__step-item,
    .page-promotions__faq-item {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .page-promotions__overview-item img,
    .page-promotions__category-image,
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover;
    }
    .page-promotions__category-text {
        padding-left: 0;
        padding-right: 0;
    }
    .page-promotions__faq-question,
    .page-promotions__faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px !important;
    }
    .page-promotions__terms-list {
        padding-left: 35px;
    }
}

@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__category-title {
        font-size: 1.5em;
    }
    .page-promotions__faq-question {
        font-size: 1em;
    }
}