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

:root {
    --page-primary-color: #0A203C;
    --page-secondary-color: #FFD700;
    --page-text-light: #f0f0f0;
    --page-text-dark: #333;
    --page-background-dark: #1a1a2e;
    --page-background-light: #f8f8f8;
    --page-accent-color: #e0b300; /* Darker shade of secondary for text on light background */
    --page-dark-accent: #071626; /* Darker shade of primary for contrast */
}

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

.page-index-latest-promotions .highlight {
    color: var(--page-secondary-color);
}

.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-primary-color) 0%, var(--page-dark-accent) 100%);
    color: var(--page-text-light);
    padding: 100px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--page-secondary-color);
}

.page-index-latest-promotions-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions-hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.page-index-latest-promotions-hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* General 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-primary-color);
}

.page-index-latest-promotions-section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--page-text-light);
    position: relative;
    padding-bottom: 15px;
}

.page-index-latest-promotions-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-secondary-color);
    border-radius: 2px;
}

.page-index-latest-promotions-subtitle {
    font-size: 1.8em;
    color: var(--page-secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.page-index-latest-promotions p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-text-light);
    opacity: 0.9;
}

/* Buttons */
.page-index-latest-promotions-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
}

.page-index-latest-promotions-btn-primary {
    background-color: var(--page-secondary-color);
    color: var(--page-primary-color);
    border: 2px solid var(--page-secondary-color);
}

.page-index-latest-promotions-btn-primary:hover {
    background-color: var(--page-accent-color);
    border-color: var(--page-accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-index-latest-promotions-btn-secondary {
    background-color: transparent;
    color: var(--page-secondary-color);
    border: 2px solid var(--page-secondary-color);
}

.page-index-latest-promotions-btn-secondary:hover {
    background-color: var(--page-secondary-color);
    color: var(--page-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

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

.page-index-latest-promotions-card {
    background-color: var(--page-dark-accent);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-index-latest-promotions-card-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-latest-promotions-card-title {
    font-size: 1.6em;
    color: var(--page-secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-latest-promotions-card-description {
    font-size: 1em;
    color: var(--page-text-light);
    margin-bottom: 25px;
    text-align: center;
    opacity: 0.8;
}

/* Lists */
.page-index-latest-promotions-list {
    list-style-type: none;
    padding: 0;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
}

.page-index-latest-promotions-list li {
    background-color: var(--page-primary-color);
    margin-bottom: 15px;
    padding: 18px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    color: var(--page-text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    border-left: 5px solid var(--page-secondary-color);
}

.page-index-latest-promotions-list li:last-child {
    margin-bottom: 0;
}

.page-index-latest-promotions-list li strong {
    color: var(--page-secondary-color);
    margin-right: 10px;
    flex-shrink: 0;
}

.page-index-latest-promotions-benefits-list {
    list-style-type: none;
    padding: 0;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.page-index-latest-promotions-benefits-list li {
    background-color: var(--page-dark-accent);
    padding: 18px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    color: var(--page-text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--page-secondary-color);
    position: relative;
}

.page-index-latest-promotions-benefits-list li::before {
    content: '✅';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: var(--page-secondary-color);
    display: none; /* Hide default for custom styling */
}

/* Inline Images */
.page-index-latest-promotions-image-inline {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* App Download Section */
.page-index-latest-promotions-app-download {
    background: linear-gradient(135deg, var(--page-dark-accent) 0%, var(--page-primary-color) 100%);
    padding: 80px 0;
}

.page-index-latest-promotions-app-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-index-latest-promotions-app-text {
    max-width: 600px;
}

.page-index-latest-promotions-app-text .page-index-latest-promotions-section-title {
    text-align: left;
}

.page-index-latest-promotions-app-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--page-secondary-color);
}

/* FAQ Section */
.page-index-latest-promotions-faq-item {
    background-color: var(--page-primary-color);
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--page-secondary-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-latest-promotions-faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-secondary-color);
    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 {
    font-size: 1em;
    color: var(--page-text-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
}

.page-index-latest-promotions-faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    opacity: 1;
    padding-top: 15px;
}

/* Conclusion Section */
.page-index-latest-promotions-conclusion {
    padding-bottom: 80px;
}

.page-index-latest-promotions-conclusion p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-latest-promotions-hero-title {
        font-size: 3em;
    }
    .page-index-latest-promotions-section-title {
        font-size: 2em;
    }
    .page-index-latest-promotions-app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-index-latest-promotions-app-text .page-index-latest-promotions-section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-index-latest-promotions-hero-title {
        font-size: 2.5em;
    }
    .page-index-latest-promotions-hero-description {
        font-size: 1em;
    }
    .page-index-latest-promotions-section {
        padding: 40px 0;
    }
    .page-index-latest-promotions-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-index-latest-promotions-subtitle {
        font-size: 1.5em;
    }
    .page-index-latest-promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-index-latest-promotions-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-latest-promotions-card {
        padding: 25px;
    }
    .page-index-latest-promotions-list li,
    .page-index-latest-promotions-benefits-list li {
        font-size: 1em;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-index-latest-promotions-hero-title {
        font-size: 2em;
    }
    .page-index-latest-promotions-section-title {
        font-size: 1.5em;
    }
    .page-index-latest-promotions p {
        font-size: 0.95em;
    }
    .page-index-latest-promotions-btn {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .page-index-latest-promotions-container {
        padding: 0 15px;
    }
    .page-index-latest-promotions-faq-question {
        font-size: 1.1em;
    }
    .page-index-latest-promotions-faq-answer {
        font-size: 0.9em;
    }
}