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

/* General styles for the page content area */
.page-index-latest-promotions {
    font-family: 'Arial', sans-serif;
    color: #f8f9fa; /* Light text for dark background */
    background-color: #1a1a1a; /* Dark background */
    line-height: 1.6;
    padding-bottom: 60px; /* Space for footer */
}

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

/* Hero Section */
.page-index-latest-promotions__hero-section {
    background: linear-gradient(135deg, #007BFF, #0056b3); /* Darker blue gradient */
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-index-latest-promotions__hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0) 70%);
    animation: page-index-latest-promotions__rotate 20s linear infinite;
    z-index: 0;
}

@keyframes page-index-latest-promotions__rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.page-index-latest-promotions__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* CTA Buttons */
.page-index-latest-promotions__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1a1a1a; /* Dark text for gold button */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-index-latest-promotions__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions__cta-button--small {
    font-size: 1em;
    padding: 10px 20px;
    margin-top: 20px;
}

.page-index-latest-promotions__cta-button--large {
    font-size: 1.4em;
    padding: 20px 40px;
    margin-top: 30px;
}

.page-index-latest-promotions__secondary-cta-button {
    display: inline-block;
    background-color: transparent;
    color: #FFD700;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 2px #FFD700 inset;
    margin-left: 20px;
}

.page-index-latest-promotions__secondary-cta-button:hover {
    background-color: #FFD700;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-index-latest-promotions__content-section {
    padding: 60px 0;
}

.page-index-latest-promotions__section-title {
    font-size: 2.5em;
    color: #007BFF; /* Blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: bold;
    position: relative;
}

.page-index-latest-promotions__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-index-latest-promotions__sub-title {
    font-size: 1.8em;
    color: #007BFF;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-latest-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #c0c0c0;
}

/* Promotion Card */
.page-index-latest-promotions__promo-card {
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    border: 1px solid #007BFF;
}

.page-index-latest-promotions__promo-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 40%; /* Limit image width */
}

.page-index-latest-promotions__promo-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-index-latest-promotions__promo-details {
    flex: 2;
    min-width: 400px;
}

.page-index-latest-promotions__promo-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Lists */
.page-index-latest-promotions__ordered-list,
.page-index-latest-promotions__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #c0c0c0;
}

.page-index-latest-promotions__ordered-list li,
.page-index-latest-promotions__unordered-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-index-latest-promotions__ordered-list li strong {
    color: #FFD700;
}

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

.page-index-latest-promotions__grid-item {
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #3a3a3a;
}

.page-index-latest-promotions__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: #007BFF;
}

.page-index-latest-promotions__grid-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-index-latest-promotions__grid-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-latest-promotions__grid-description {
    font-size: 1em;
    color: #c0c0c0;
    margin-bottom: 20px;
}

.page-index-latest-promotions__read-more {
    display: inline-block;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-latest-promotions__read-more:hover {
    color: #4da3ff;
    text-decoration: underline;
}

/* FAQ Section */
.page-index-latest-promotions__faq {
    margin-top: 40px;
}

.page-index-latest-promotions__faq-item {
    background-color: #2a2a2a;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #3a3a3a;
}

.page-index-latest-promotions__faq-question {
    font-size: 1.3em;
    color: #007BFF;
    padding: 20px;
    cursor: pointer;
    position: relative;
    margin: 0;
    background-color: #333333;
    transition: background-color 0.3s ease;
}

.page-index-latest-promotions__faq-question:hover {
    background-color: #444444;
}

.page-index-latest-promotions__faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

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

.page-index-latest-promotions__faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background-color: #2a2a2a;
    color: #c0c0c0;
}

.page-index-latest-promotions__faq-answer.open {
    max-height: 200px; /* Adjust as needed, will be overridden by JS for dynamic height */
    padding: 20px;
}

.page-index-latest-promotions__faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-index-latest-promotions__final-cta-section {
    text-align: center;
    padding: 60px 0;
    background-color: #222222;
    margin-top: 60px;
    border-radius: 15px;
    border: 1px solid #007BFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index-latest-promotions__main-title {
        font-size: 2.8em;
    }
    .page-index-latest-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-index-latest-promotions__promo-card {
        flex-direction: column;
    }
    .page-index-latest-promotions__promo-image-wrapper {
        max-width: 100%;
    }
    .page-index-latest-promotions__promo-details {
        min-width: unset;
        text-align: center;
    }
    .page-index-latest-promotions__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-index-latest-promotions__cta-button--large {
        font-size: 1.2em;
        padding: 15px 30px;
    }
    .page-index-latest-promotions__secondary-cta-button {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .page-index-latest-promotions__main-title {
        font-size: 2.2em;
    }
    .page-index-latest-promotions__section-title {
        font-size: 2em;
    }
    .page-index-latest-promotions__sub-title {
        font-size: 1.5em;
    }
    .page-index-latest-promotions__hero-section {
        padding: 60px 0;
    }
    .page-index-latest-promotions__cta-button,
    .page-index-latest-promotions__secondary-cta-button {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-latest-promotions__main-title {
        font-size: 1.8em;
    }
    .page-index-latest-promotions__section-title {
        font-size: 1.8em;
    }
    .page-index-latest-promotions__promo-title {
        font-size: 1.5em;
    }
    .page-index-latest-promotions__faq-question {
        font-size: 1.1em;
    }
}