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

/* Variables for color scheme */
:root {
    --page-index-latest-promotions-overview-primary-color: #0A1931; /* Deep Blue/Navy */
    --page-index-latest-promotions-overview-accent-color: #FFD700; /* Gold */
    --page-index-latest-promotions-overview-text-light: #F0F0F0; /* Light text for dark backgrounds */
    --page-index-latest-promotions-overview-text-dark: #333333; /* Dark text for light backgrounds */
    --page-index-latest-promotions-overview-background-dark: #0A1931;
    --page-index-latest-promotions-overview-background-light: #FFFFFF;
    --page-index-latest-promotions-overview-secondary-bg: #1A2E4B; /* Slightly lighter dark blue */
}

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

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

.page-index-latest-promotions-overview__hero-section {
    background: linear-gradient(135deg, var(--page-index-latest-promotions-overview-primary-color) 0%, #1A2E4B 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--page-index-latest-promotions-overview-accent-color);
}

.page-index-latest-promotions-overview__hero-title {
    font-size: 3.5em;
    color: var(--page-index-latest-promotions-overview-text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions-overview__hero-subtitle {
    font-size: 1.5em;
    color: #CCCCCC;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-promotions-overview__cta-button {
    display: inline-block;
    background-color: var(--page-index-latest-promotions-overview-accent-color);
    color: var(--page-index-latest-promotions-overview-primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-index-latest-promotions-overview__cta-button:hover {
    background-color: #E6C200; /* Slightly darker gold */
    transform: translateY(-3px);
}

.page-index-latest-promotions-overview__cta-button--outline {
    background-color: transparent;
    border: 2px solid var(--page-index-latest-promotions-overview-accent-color);
    color: var(--page-index-latest-promotions-overview-accent-color);
    margin-left: 20px;
}

.page-index-latest-promotions-overview__cta-button--outline:hover {
    background-color: var(--page-index-latest-promotions-overview-accent-color);
    color: var(--page-index-latest-promotions-overview-primary-color);
}

.page-index-latest-promotions-overview__promotions-grid,
.page-index-latest-promotions-overview__strategy-section,
.page-index-latest-promotions-overview__faq-section,
.page-index-latest-promotions-overview__cta-final {
    padding: 60px 0;
    background-color: var(--page-index-latest-promotions-overview-secondary-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-latest-promotions-overview__promotions-grid {
    background-color: var(--page-index-latest-promotions-overview-background-dark);
}

.page-index-latest-promotions-overview__section-title {
    font-size: 2.8em;
    color: var(--page-index-latest-promotions-overview-text-light);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions-overview__section-description {
    font-size: 1.1em;
    color: #B0B0B0;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-promotions-overview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-index-latest-promotions-overview__promo-card {
    background-color: var(--page-index-latest-promotions-overview-secondary-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index-latest-promotions-overview__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions-overview__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--page-index-latest-promotions-overview-accent-color);
}

.page-index-latest-promotions-overview__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-index-latest-promotions-overview__promo-title {
    font-size: 1.8em;
    color: var(--page-index-latest-promotions-overview-accent-color);
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions-overview__promo-text {
    font-size: 1em;
    color: #E0E0E0;
    margin-bottom: 15px;
}

.page-index-latest-promotions-overview__promo-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: #D0D0D0;
}

.page-index-latest-promotions-overview__promo-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.page-index-latest-promotions-overview__promo-features li::before {
    content: '★'; /* Star icon */
    color: var(--page-index-latest-promotions-overview-accent-color);
    position: absolute;
    left: 0;
    top: 0;
}

.page-index-latest-promotions-overview__promo-detail {
    font-size: 0.95em;
    color: #B0B0B0;
    margin-top: auto; /* Pushes the button to the bottom */
    margin-bottom: 25px;
}

.page-index-latest-promotions-overview__promo-button {
    display: inline-block;
    background-color: var(--page-index-latest-promotions-overview-accent-color);
    color: var(--page-index-latest-promotions-overview-primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto; /* Ensures button is at the bottom */
    border: none;
    cursor: pointer;
}

.page-index-latest-promotions-overview__promo-button:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
}

.page-index-latest-promotions-overview__highlight {
    color: var(--page-index-latest-promotions-overview-accent-color);
    font-weight: bold;
}

.page-index-latest-promotions-overview__strategy-section {
    background-color: var(--page-index-latest-promotions-overview-secondary-bg);
    text-align: center;
}

.page-index-latest-promotions-overview__strategy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-index-latest-promotions-overview__strategy-item {
    background-color: var(--page-index-latest-promotions-overview-primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-index-latest-promotions-overview__strategy-item:hover {
    transform: translateY(-5px);
}

.page-index-latest-promotions-overview__strategy-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-index-latest-promotions-overview-accent-color));
}

.page-index-latest-promotions-overview__strategy-heading {
    font-size: 1.5em;
    color: var(--page-index-latest-promotions-overview-accent-color);
    margin-bottom: 15px;
}

.page-index-latest-promotions-overview__strategy-text {
    color: #E0E0E0;
    font-size: 1em;
}

.page-index-latest-promotions-overview__cta-button--secondary {
    margin-top: 50px;
    background-color: transparent;
    border: 2px solid var(--page-index-latest-promotions-overview-accent-color);
    color: var(--page-index-latest-promotions-overview-accent-color);
}

.page-index-latest-promotions-overview__cta-button--secondary:hover {
    background-color: var(--page-index-latest-promotions-overview-accent-color);
    color: var(--page-index-latest-promotions-overview-primary-color);
}

.page-index-latest-promotions-overview__faq-section {
    background-color: var(--page-index-latest-promotions-overview-background-dark);
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-index-latest-promotions-overview__faq-item {
    background-color: var(--page-index-latest-promotions-overview-secondary-bg);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions-overview__faq-question {
    font-size: 1.4em;
    color: var(--page-index-latest-promotions-overview-accent-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-index-latest-promotions-overview__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-index-latest-promotions-overview__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-index-latest-promotions-overview__faq-answer {
    font-size: 1em;
    color: #E0E0E0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-index-latest-promotions-overview__faq-answer.active {
    max-height: 200px; /* Adjust based on expected content length */
    padding-top: 15px;
}

.page-index-latest-promotions-overview__faq-answer a {
    color: var(--page-index-latest-promotions-overview-accent-color);
    text-decoration: underline;
}

.page-index-latest-promotions-overview__cta-final {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--page-index-latest-promotions-overview-primary-color) 0%, #1A2E4B 100%);
}

.page-index-latest-promotions-overview__cta-title {
    font-size: 3em;
    color: var(--page-index-latest-promotions-overview-text-light);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-index-latest-promotions-overview__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-index-latest-promotions-overview__hero-title {
        font-size: 2.8em;
    }
    .page-index-latest-promotions-overview__hero-subtitle {
        font-size: 1.3em;
    }
    .page-index-latest-promotions-overview__section-title {
        font-size: 2.2em;
    }
    .page-index-latest-promotions-overview__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .page-index-latest-promotions-overview__cta-title {
        font-size: 2.5em;
    }
    .page-index-latest-promotions-overview__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-index-latest-promotions-overview__hero-section,
    .page-index-latest-promotions-overview__promotions-grid,
    .page-index-latest-promotions-overview__strategy-section,
    .page-index-latest-promotions-overview__faq-section,
    .page-index-latest-promotions-overview__cta-final {
        padding: 40px 0;
    }
    .page-index-latest-promotions-overview__hero-title {
        font-size: 2.2em;
    }
    .page-index-latest-promotions-overview__hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-latest-promotions-overview__section-title {
        font-size: 1.8em;
    }
    .page-index-latest-promotions-overview__section-description {
        font-size: 1em;
    }
    .page-index-latest-promotions-overview__grid {
        grid-template-columns: 1fr;
    }
    .page-index-latest-promotions-overview__promo-image {
        height: 180px;
    }
    .page-index-latest-promotions-overview__promo-title {
        font-size: 1.5em;
    }
    .page-index-latest-promotions-overview__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-latest-promotions-overview__cta-button--outline {
        margin-left: 0;
    }
    .page-index-latest-promotions-overview__cta-title {
        font-size: 2em;
    }
    .page-index-latest-promotions-overview__faq-question {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-index-latest-promotions-overview__hero-title {
        font-size: 1.8em;
    }
    .page-index-latest-promotions-overview__hero-subtitle {
        font-size: 0.95em;
    }
    .page-index-latest-promotions-overview__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-index-latest-promotions-overview__section-title {
        font-size: 1.6em;
    }
    .page-index-latest-promotions-overview__promo-card {
        margin-left: 10px;
        margin-right: 10px;
    }
    .page-index-latest-promotions-overview__cta-title {
        font-size: 1.8em;
    }
}