/* style/index-latest-promotions.css */

/* Variables */
:root {
    --page-index-latest-promotions-primary-color: #003366;
    --page-index-latest-promotions-secondary-color: #FFCC00;
    --page-index-latest-promotions-text-light: #ffffff;
    --page-index-latest-promotions-text-dark: #333333;
    --page-index-latest-promotions-bg-light: #f8f8f8;
    --page-index-latest-promotions-bg-dark: #002244;
    --page-index-latest-promotions-accent-light: #ffeb99;
}

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

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

/* Hero Section */
.page-index-latest-promotions__hero {
    background: linear-gradient(135deg, var(--page-index-latest-promotions-primary-color), var(--page-index-latest-promotions-secondary-color));
    color: var(--page-index-latest-promotions-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-latest-promotions__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,patterns,light_effect]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-index-latest-promotions__hero .page-index-latest-promotions__container {
    position: relative;
    z-index: 1;
}

.page-index-latest-promotions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-index-latest-promotions__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-index-latest-promotions__btn--primary {
    background-color: var(--page-index-latest-promotions-secondary-color);
    color: var(--page-index-latest-promotions-primary-color);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.page-index-latest-promotions__btn--primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.page-index-latest-promotions__btn--secondary {
    background-color: transparent;
    color: var(--page-index-latest-promotions-text-light);
    border: 2px solid var(--page-index-latest-promotions-secondary-color);
    margin-left: 20px;
}

.page-index-latest-promotions__btn--secondary:hover {
    background-color: var(--page-index-latest-promotions-secondary-color);
    color: var(--page-index-latest-promotions-primary-color);
    transform: translateY(-3px);
}

.page-index-latest-promotions__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: var(--page-index-latest-promotions-secondary-color);
    color: var(--page-index-latest-promotions-primary-color);
}

.page-index-latest-promotions__btn--small:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

/* Section Styling */
.page-index-latest-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-latest-promotions__section:nth-of-type(even) {
    background-color: var(--page-index-latest-promotions-bg-dark);
    color: var(--page-index-latest-promotions-text-light);
}

.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__section-title {
    color: var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--page-index-latest-promotions-primary-color);
    font-weight: bold;
}

.page-index-latest-promotions__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit; /* Ensure text color adapts to section background */
}

.page-index-latest-promotions__text-content--note {
    font-style: italic;
    font-size: 0.95em;
    color: #888;
    margin-top: 30px;
}

.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__text-content--note {
    color: #ccc;
}

/* List Styles */
.page-index-latest-promotions__list,
.page-index-latest-promotions__steps-list,
.page-index-latest-promotions__responsible-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

.page-index-latest-promotions__list li,
.page-index-latest-promotions__steps-list li,
.page-index-latest-promotions__responsible-list li {
    background-color: var(--page-index-latest-promotions-text-light);
    padding: 15px 25px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    display: flex;
    align-items: center;
    color: var(--page-index-latest-promotions-text-dark);
}

.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__list li,
.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__steps-list li,
.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__responsible-list li {
    background-color: var(--page-index-latest-promotions-primary-color);
    color: var(--page-index-latest-promotions-text-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__list li strong,
.page-index-latest-promotions__steps-list li strong {
    color: var(--page-index-latest-promotions-primary-color);
}

.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__list li strong,
.page-index-latest-promotions__section:nth-of-type(even) .page-index-latest-promotions__steps-list li strong {
    color: var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__list li::before {
    content: '✅';
    margin-right: 10px;
}

.page-index-latest-promotions__steps-list li::before {
    content: counter(step-counter) '. ';
    counter-increment: step-counter;
    font-weight: bold;
    color: var(--page-index-latest-promotions-secondary-color);
    margin-right: 10px;
    font-size: 1.2em;
}

.page-index-latest-promotions__steps-list {
    counter-reset: step-counter;
}

.page-index-latest-promotions__responsible-list li::before {
    content: '⚠️';
    margin-right: 10px;
}

/* Promo Grid */
.page-index-latest-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-index-latest-promotions__promo-card {
    background-color: var(--page-index-latest-promotions-text-light);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--page-index-latest-promotions-text-dark);
}

.page-index-latest-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index-latest-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-index-latest-promotions__promo-card .page-index-latest-promotions__card-title {
    font-size: 1.5em;
    color: var(--page-index-latest-promotions-primary-color);
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-index-latest-promotions__promo-card .page-index-latest-promotions__card-description {
    font-size: 1em;
    color: #666;
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-latest-promotions__promo-card .page-index-latest-promotions__btn--small {
    margin: 0 20px 20px;
    align-self: flex-start;
}

/* FAQ Section */
.page-index-latest-promotions__faq {
    background-color: var(--page-index-latest-promotions-bg-light);
    padding-bottom: 80px;
}

.page-index-latest-promotions__faq-item {
    background-color: var(--page-index-latest-promotions-text-light);
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-promotions__faq-question {
    font-size: 1.3em;
    color: var(--page-index-latest-promotions-primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-index-latest-promotions__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-index-latest-promotions__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index-latest-promotions__faq-answer {
    font-size: 1em;
    color: #555;
    margin-bottom: 0;
    display: none;
    padding-top: 10px;
    border-top: 1px dashed #eee;
    margin-top: 10px;
}

.page-index-latest-promotions__faq-answer.active {
    display: block;
}

/* CTA Bottom */
.page-index-latest-promotions__cta-bottom {
    background-color: var(--page-index-latest-promotions-primary-color);
    color: var(--page-index-latest-promotions-text-light);
    padding: 80px 0;
}

.page-index-latest-promotions__cta-bottom .page-index-latest-promotions__section-title {
    color: var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__cta-bottom .page-index-latest-promotions__btn {
    margin-top: 30px;
}

.page-index-latest-promotions__cta-bottom .page-index-latest-promotions__btn--secondary {
    color: var(--page-index-latest-promotions-secondary-color);
    border-color: var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__cta-bottom .page-index-latest-promotions__btn--secondary:hover {
    background-color: var(--page-index-latest-promotions-secondary-color);
    color: var(--page-index-latest-promotions-primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-index-latest-promotions__hero-title {
        font-size: 2.5em;
    }

    .page-index-latest-promotions__hero-description {
        font-size: 1.1em;
    }

    .page-index-latest-promotions__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-index-latest-promotions__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-index-latest-promotions__section-title {
        font-size: 2em;
    }

    .page-index-latest-promotions__promo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-index-latest-promotions__hero-title {
        font-size: 2em;
    }

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

    .page-index-latest-promotions__btn {
        width: 100%;
        margin-bottom: 15px;
    }

    .page-index-latest-promotions__btn--secondary {
        margin-top: 0;
    }

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

    .page-index-latest-promotions__list li,
    .page-index-latest-promotions__steps-list li,
    .page-index-latest-promotions__responsible-list li {
        font-size: 1em;
        padding: 12px 15px;
    }
}