/* style/promotions.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --button-login: #EA7C07;
    --body-background: var(--secondary-color);
}

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-promotions__hero-content {
    max-width: 900px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
}

.page-promotions__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

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

.page-promotions__section {
    padding: 60px 20px;
    text-align: center;
}

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

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

.page-promotions__section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: inherit;
}

.page-promotions__section-intro {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-promotions__promo-grid,
.page-promotions__feature-grid,
.page-promotions__steps-grid,
.page-promotions__terms-grid,
.page-promotions__contact-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
}

.page-promotions__promo-card,
.page-promotions__feature-card,
.page-promotions__step-card,
.page-promotions__term-item,
.page-promotions__contact-item {
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__dark-bg .page-promotions__promo-card,
.page-promotions__dark-bg .page-promotions__feature-card,
.page-promotions__dark-bg .page-promotions__step-card,
.page-promotions__dark-bg .page-promotions__term-item,
.page-promotions__dark-bg .page-promotions__contact-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__promo-card:hover,
.page-promotions__feature-card:hover,
.page-promotions__step-card:hover,
.page-promotions__term-item:hover,
.page-promotions__contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-promotions__card-title,
.page-promotions__feature-card h3,
.page-promotions__step-card h3,
.page-promotions__term-title,
.page-promotions__contact-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: inherit;
}

.page-promotions__card-description {
    margin-bottom: 20px;
    font-size: 0.95em;
}

.page-promotions__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-promotions__list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-promotions__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-promotions__list-item-title {
    font-size: 1.1em;
    display: inline;
    color: inherit;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

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

.page-promotions__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

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

.page-promotions__dark-bg .page-promotions__btn-secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}

.page-promotions__dark-bg .page-promotions__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.page-promotions__btn-card {
    margin-top: auto;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-promotions__dark-bg .page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.03);
    color: inherit;
    transition: background-color 0.3s ease;
}

.page-promotions__dark-bg .page-promotions__faq-question {
    background-color: rgba(255, 255, 255, 0.08);
}

.page-promotions__faq-question:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.page-promotions__dark-bg .page-promotions__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: inherit;
}

.page-promotions__faq-item summary {
    list-style: none;
}

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

.page-promotions__cta-final {
    margin-top: 50px;
}

/* Ensure images are responsive and not too small */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Added for consistent image display */
}

/* Ensure content area images are at least 200px */
.page-promotions__container img, 
.page-promotions__promo-card img, 
.page-promotions__feature-card img, 
.page-promotions__step-card img {
    min-width: 200px;
    min-height: 200px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 400px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-promotions__hero-title {
        font-size: 2em;
    }

    .page-promotions__hero-description {
        font-size: 1em;
    }

    .page-promotions__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        box-sizing: border-box !important;
    }

    .page-promotions__section {
        padding: 40px 15px;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
    }

    .page-promotions__section-intro {
        font-size: 0.95em;
    }

    .page-promotions__promo-grid,
    .page-promotions__feature-grid,
    .page-promotions__steps-grid,
    .page-promotions__terms-grid,
    .page-promotions__contact-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__promo-card,
    .page-promotions__feature-card,
    .page-promotions__step-card,
    .page-promotions__term-item,
    .page-promotions__contact-item {
        padding: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__card-image {
        height: 200px;
        min-height: 200px !important;
        min-width: 200px !important;
    }

    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__container, 
    .page-promotions__promo-grid, 
    .page-promotions__feature-grid, 
    .page-promotions__steps-grid, 
    .page-promotions__terms-grid, 
    .page-promotions__contact-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden !important;
    }

    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-promotions__faq-answer {
        padding: 0 20px 15px;
    }
    
    .page-promotions__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}