/* style/promotions.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --button-register: #C30808;
    --button-login: #C30808;
    --font-register-login: #FFFF00;
    --border-color: #e0e0e0;
}

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

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

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

.page-promotions__dark-section {
    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: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    color: inherit;
}

.page-promotions__dark-section .page-promotions__section-title {
    color: var(--text-light);
}

.page-promotions__section-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

/* 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: var(--header-offset, 120px);
    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;
    width: 100%;
}

.page-promotions__hero-image-main {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
}

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

.page-promotions__hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

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

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-register);
    color: var(--font-register-login);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-promotions__cta-button:hover {
    background: #a30606; /* Darker red for hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Grid for Cards */
.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color);
}

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

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-promotions__card-text {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-dark);
    flex-grow: 1;
}

.page-promotions__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-promotions__btn-primary:hover {
    background: #005a2e; /* Darker green for hover */
    transform: translateY(-1px);
}

.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--primary-color);
    margin: 0 10px;
}

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

.page-promotions__offer-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    text-align: left;
}

.page-promotions__offer-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.page-promotions__offer-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-promotions__offer-item-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

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

.page-promotions__list {
    list-style: disc inside;
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
    padding-left: 20px;
}

.page-promotions__list li {
    margin-bottom: 10px;
    font-size: 17px;
    color: var(--text-dark);
}

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

.page-promotions__step-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.page-promotions__step-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 5px;
    min-width: 200px;
    min-height: 200px;
}

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

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

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border-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;
    padding: 0 15px;
    opacity: 0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--secondary-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    border: none; /* Border is on the item container */
}

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

.page-promotions__faq-question:active {
    background: #eeeeee;
}

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

.page-promotions__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    color: #333;
    transform: rotate(45deg); /* Change to X when active */
}

.page-promotions__faq-answer p {
    font-size: 16px;
    color: var(--text-dark);
}

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

.page-promotions__feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

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

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

.page-promotions__news-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-promotions__news-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__news-content {
    padding: 20px;
}

.page-promotions__news-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-promotions__news-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__news-title a:hover {
    color: #005a2e;
}

.page-promotions__news-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.page-promotions__news-excerpt {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-promotions__read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions__read-more:hover {
    color: #005a2e;
}

.page-promotions__button-group {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 40px;
    }
    .page-promotions__section-title {
        font-size: 32px;
    }
    .page-promotions__hero-description {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-title {
        font-size: 32px;
    }
    .page-promotions__hero-description {
        font-size: 16px;
    }
    .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;
    }

    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 28px;
    }
    .page-promotions__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__grid, .page-promotions__offer-list, .page-promotions__steps-grid, .page-promotions__features-grid, .page-promotions__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__card, .page-promotions__offer-item, .page-promotions__step-item, .page-promotions__feature-item, .page-promotions__news-card {
        padding: 20px;
    }
    .page-promotions__card-title, .page-promotions__offer-item-title, .page-promotions__step-title, .page-promotions__feature-title {
        font-size: 20px;
    }
    .page-promotions__card-text, .page-promotions__offer-item-text, .page-promotions__step-text, .page-promotions__feature-text, .page-promotions__news-excerpt {
        font-size: 15px;
    }
    .page-promotions__btn-primary, .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 5px 0;
    }
    .page-promotions__button-group {
        flex-direction: column;
        gap: 10px;
    }
    .page-promotions__list {
        padding-left: 15px;
        margin: 30px auto;
    }
    .page-promotions__list li {
        font-size: 15px;
    }

    /* FAQ Mobile */
    .page-promotions__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-promotions__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-promotions__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-promotions__faq-answer {
        padding: 0 15px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px !important;
    }

    /* Image Mobile */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__hero-image-main,
    .page-promotions__card-image,
    .page-promotions__step-image,
    .page-promotions__news-image {
        min-width: unset;
        min-height: unset;
        height: auto;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__offer-list,
    .page-promotions__steps-grid,
    .page-promotions__features-grid,
    .page-promotions__news-grid,
    .page-promotions__faq-list,
    .page-promotions__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__faq-list {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Ensure images don't get filtered */
.page-promotions img {
    filter: none; /* Absolutely no filter effects */
}