/* style/promotions.css */

:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

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

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

.page-promotions__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-promotions__light-bg {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
}

/* Hero Banner */
.page-promotions__hero-banner {
    padding: calc(var(--header-offset, 120px) + 60px) 0 60px 0; /* Apply header offset here if body doesn't have it */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__main-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions__intro-text {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

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

.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: 18px;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-promotions__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

/* Section Headings & Descriptions */
.page-promotions__section-heading {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
}

.page-promotions__section-description {
    font-size: 17px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
    color: inherit;
}

.page-promotions__sub-heading {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    color: inherit;
}

/* Advantages Section */
.page-promotions__advantages-section {
    padding: 80px 0;
}

.page-promotions__advantages-section .page-promotions__section-heading,
.page-promotions__advantages-section .page-promotions__section-description {
    color: var(--text-dark);
}

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

.page-promotions__advantage-card {
    background-color: var(--card-bg-dark);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

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

.page-promotions__advantage-card img {
    width: 200px;
    
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
}

.page-promotions__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-promotions__card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    flex-grow: 1;
}

.page-promotions__commitment-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-promotions__commitment-list li {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--text-dark);
}

.page-promotions__list-icon {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

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

/* Featured Promotions Section */
.page-promotions__featured-promos {
    padding: 80px 0;
}

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

.page-promotions__promo-card {
    background-color: var(--card-bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 550px;
}

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

.page-promotions__promo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-promotions__promo-card .page-promotions__card-title {
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
    text-align: left;
    font-size: 24px;
}

.page-promotions__promo-card .page-promotions__card-text {
    color: var(--text-dark);
    font-size: 16px;
    margin: 0 20px 20px 20px;
    text-align: left;
    flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn-primary {
    margin: 0 20px 20px 20px;
    text-align: center;
    width: calc(100% - 40px);
    font-size: 16px;
    padding: 12px 25px;
}

/* Guide Section */
.page-promotions__guide-section {
    padding: 80px 0;
}

.page-promotions__guide-section .page-promotions__section-heading,
.page-promotions__guide-section .page-promotions__section-description {
    color: var(--text-dark);
}

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

.page-promotions__step-item {
    background-color: var(--card-bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
}

.page-promotions__step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.page-promotions__step-icon img {
    
    
    object-fit: contain;
    display: block;
}

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

.page-promotions__step-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    flex-grow: 1;
}

.page-promotions__note-text {
    font-size: 16px;
    text-align: center;
    max-width: 900px;
    margin: 30px auto 0 auto;
    line-height: 1.6;
    color: inherit;
}

/* Terms Section */
.page-promotions__terms-section {
    padding: 80px 0;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-promotions__terms-list li {
    font-size: 17px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--text-light);
}

.page-promotions__terms-list li .page-promotions__list-icon {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

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

.page-promotions__faq-section .page-promotions__section-heading,
.page-promotions__faq-section .page-promotions__section-description {
    color: var(--text-dark);
}

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

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg-light);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

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

.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-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.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, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    color: var(--text-dark);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
}

.page-promotions__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 42px;
    }
    .page-promotions__section-heading {
        font-size: 32px;
    }
    .page-promotions__sub-heading {
        font-size: 26px;
    }
    .page-promotions__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .page-promotions__promo-card {
        min-height: 520px;
    }
    .page-promotions__advantage-card {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-banner {
        padding: calc(var(--header-offset, 120px) + 40px) 0 40px 0;
    }
    .page-promotions__main-title {
        font-size: 32px;
    }
    .page-promotions__intro-text {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        font-size: 16px;
        padding: 12px 25px;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__section-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-promotions__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-promotions__advantages-section,
    .page-promotions__featured-promos,
    .page-promotions__guide-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-bottom {
        padding: 50px 0;
    }
    .page-promotions__sub-heading {
        font-size: 22px;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-promotions__grid,
    .page-promotions__promo-grid,
    .page-promotions__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__advantage-card,
    .page-promotions__promo-card,
    .page-promotions__step-item {
        min-height: auto;
        padding: 25px;
    }
    .page-promotions__advantage-card img {
        
        
        margin-bottom: 15px;
    }
    .page-promotions__card-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .page-promotions__card-text {
        font-size: 14px;
    }
    .page-promotions__commitment-list li,
    .page-promotions__terms-list li {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .page-promotions__list-icon {
        font-size: 18px;
        margin-right: 10px;
    }
    .page-promotions__step-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    .page-promotions__step-icon img {
        
        
    }
    .page-promotions__step-title {
        font-size: 18px;
    }
    .page-promotions__step-text {
        font-size: 14px;
    }
    .page-promotions__note-text {
        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-answer {
        padding: 0 20px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px !important;
    }
    .page-promotions__faq-answer p {
        font-size: 14px;
    }
    /* Mobile image specific rules */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__container,
    .page-promotions__promo-card,
    .page-promotions__advantage-card,
    .page-promotions__step-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__hero-banner .page-promotions__container,
    .page-promotions__advantages-section .page-promotions__container,
    .page-promotions__featured-promos .page-promotions__container,
    .page-promotions__guide-section .page-promotions__container,
    .page-promotions__terms-section .page-promotions__container,
    .page-promotions__faq-section .page-promotions__container,
    .page-promotions__cta-bottom .page-promotions__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}