/* style/promotions.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-color-light: #f9f9f9;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-text-yellow: #FFFF00;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-dark);
    background-color: var(--secondary-color); /* Body background is white */
    line-height: 1.6;
}

.page-promotions h1, .page-promotions h2, .page-promotions h3, .page-promotions h4, .page-promotions h5, .page-promotions h6 {
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions p {
    margin-bottom: 15px;
}

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

.page-promotions__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    color: var(--primary-color);
}

.page-promotions__text-content {
    font-size: 17px;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 20px;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background: linear-gradient(135deg, var(--primary-color), #004d2b);
    overflow: hidden;
}

.page-promotions__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-promotions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.page-promotions__main-title {
    color: var(--text-color-light);
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-promotions__description {
    color: var(--text-color-light);
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--button-register); /* Red for urgency */
    color: var(--button-text-yellow); /* Yellow text for contrast */
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

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

/* Section Styling */
.page-promotions__intro-section, .page-promotions__terms-section, .page-promotions__faq-section {
    padding: 60px 0;
}

.page-promotions__types-section {
    padding: 60px 0;
    background-color: var(--bg-color-light);
}

.page-promotions__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 60px 0;
}

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

/* Grid Layout for Promotion Types */
.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-promotions__card {
    background: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
}

.page-promotions__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

.page-promotions__card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 15px 10px;
    color: var(--primary-color);
}

.page-promotions__card-description {
    font-size: 16px;
    color: var(--text-color-dark);
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-promotions__card-button:hover {
    background: #005f2f;
}

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

.page-promotions__terms-list li {
    background: var(--secondary-color);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__terms-list li p {
    margin: 0;
    font-size: 16px;
    color: var(--text-color-dark);
}

.page-promotions__terms-list li p strong {
    color: var(--primary-color);
}

.page-promotions__link-text {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
}

.page-promotions__link-text:hover {
    text-decoration: underline;
}

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

.page-promotions__step-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-promotions__step-card:hover {
    transform: translateY(-5px);
}

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color-light);
}

.page-promotions__step-description {
    font-size: 16px;
    color: var(--text-color-light);
}

.page-promotions__center-button {
    text-align: center;
    margin-top: 50px;
}

.page-promotions__cta-button--inverted {
    background: var(--button-register);
    color: var(--button-text-yellow);
}

.page-promotions__cta-button--inverted:hover {
    background: #e02f2f;
}

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

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

details.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-promotions__faq-item summary.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-color-dark);
    font-weight: 600;
}

details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}

details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
    background: var(--bg-color-light);
}

.page-promotions__faq-qtext {
    flex: 1;
    font-size: 17px;
    line-height: 1.5;
    text-align: left;
    color: var(--primary-color);
}

.page-promotions__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 20px 20px;
    background: var(--bg-color-light);
    border-radius: 0 0 8px 8px;
    font-size: 16px;
    color: var(--text-color-dark);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__section-title {
        font-size: 32px;
    }
    .page-promotions__hero-image img {
        border-radius: 8px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-promotions__description {
        font-size: 1.1rem;
    }
    .page-promotions__cta-button {
        padding: 15px 35px;
        font-size: 18px;
    }
    .page-promotions__card-title {
        font-size: 20px;
    }
    .page-promotions__card-description {
        font-size: 15px;
    }
    .page-promotions__step-title {
        font-size: 22px;
    }
    .page-promotions__faq-qtext {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-promotions__hero-image {
        margin-bottom: 20px;
    }
    .page-promotions__hero-image img {
        border-radius: 6px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-promotions__description {
        font-size: 1rem;
        max-width: 90%;
    }
    .page-promotions__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-promotions__intro-section, .page-promotions__types-section, .page-promotions__terms-section, .page-promotions__dark-bg, .page-promotions__faq-section {
        padding: 40px 0;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-promotions__card {
        margin-bottom: 20px;
    }
    .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 18px;
        margin: 15px 10px 8px;
    }
    .page-promotions__card-description {
        font-size: 14px;
        padding: 0 15px 15px;
    }
    .page-promotions__card-button {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-promotions__terms-list li {
        padding: 12px 15px;
    }
    .page-promotions__terms-list li p {
        font-size: 15px;
    }
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-promotions__step-card {
        padding: 25px;
    }
    .page-promotions__step-number {
        width: 50px;
        height: 50px;
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-promotions__step-title {
        font-size: 20px;
    }
    .page-promotions__step-description {
        font-size: 14px;
    }
    details.page-promotions__faq-item summary.page-promotions__faq-question {
        padding: 15px;
    }
    .page-promotions__faq-qtext {
        font-size: 15px;
    }
    .page-promotions__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    details.page-promotions__faq-item .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }

    /* Image responsive force */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__section, .page-promotions__card, .page-promotions__container, .page-promotions__hero-section, .page-promotions__intro-section, .page-promotions__types-section, .page-promotions__terms-section, .page-promotions__claim-guide-section, .page-promotions__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .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;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-promotions__section-title {
        font-size: 24px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-promotions__cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }
    .page-promotions__card-title {
        font-size: 16px;
    }
    .page-promotions__card-description {
        font-size: 13px;
    }
    .page-promotions__step-title {
        font-size: 18px;
    }
    .page-promotions__step-description {
        font-size: 13px;
    }
    .page-promotions__faq-qtext {
        font-size: 14px;
    }
    .page-promotions__faq-toggle {
        font-size: 22px;
    }
}