/* style/promotions.css */

/* Base styles for the page content */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #333; /* Dark text for general readability on light backgrounds */
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for the page */
}

/* Container for content width */
.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-promotions__hero-section {
    background: linear-gradient(135deg, #1A2E4E, #3A5F8C); /* Dark blue gradient */
    color: #ffffff; /* White text for dark background */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract_pattern,geometric,dark_blue_gold]'); /* Abstract background pattern */
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

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

.page-promotions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold accent for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.page-promotions__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #e0e0e0; /* Slightly off-white for body text */
}

/* General Section Styling */
.page-promotions__section-title {
    font-size: 2.5em;
    color: #1A2E4E; /* Main dark blue for section titles */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 60px;
    font-weight: bold;
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555;
}

/* Call to Action Buttons */
.page-promotions__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold accent for CTA */
    color: #1A2E4E; /* Dark blue text on gold */
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.page-promotions__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.page-promotions__cta-button--large {
    padding: 18px 45px;
    font-size: 1.4em;
}

/* Promotion List Section */
.page-promotions__promo-list-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-promotions__promo-card {
    background-color: #fefefe;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

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

.page-promotions__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-promotions__promo-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__promo-card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #1A2E4E;
    font-weight: bold;
}

.page-promotions__promo-card-title a {
    color: #1A2E4E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__promo-card-title a:hover {
    color: #FFD700;
}

.page-promotions__promo-card-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-buttons {
    display: flex;
    gap: 15px;
    margin-top: auto; /* Push buttons to the bottom */
}

.page-promotions__button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    flex: 1; /* Make buttons take equal width */
}

.page-promotions__button--primary {
    background-color: #FFD700;
    color: #1A2E4E;
    border: 1px solid #FFD700;
}

.page-promotions__button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #1A2E4E;
}

.page-promotions__button--secondary {
    background-color: transparent;
    color: #1A2E4E;
    border: 1px solid #1A2E4E;
}

.page-promotions__button--secondary:hover {
    background-color: #1A2E4E;
    color: #FFD700;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 60px 0;
    background-color: #f0f4f8; /* Light blue-gray background */
}

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

.page-promotions__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
}

.page-promotions__feature-title {
    font-size: 1.4em;
    color: #1A2E4E;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__feature-item p {
    color: #555;
    font-size: 0.95em;
}

/* How To Claim Section */
.page-promotions__how-to-claim-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-promotions__step-card {
    background-color: #fefefe;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: #1A2E4E;
    color: #FFD700;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
    font-size: 1.3em;
    color: #1A2E4E;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__step-card p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 25px;
}

.page-promotions__button--step {
    margin-top: auto; /* Push button to the bottom */
    width: 100%;
    background-color: #FFD700;
    color: #1A2E4E;
    border: 1px solid #FFD700;
    padding: 12px 15px;
    font-size: 1em;
    border-radius: 8px;
}

.page-promotions__button--step:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: #f0f4f8;
}

.page-promotions__faq-accordion {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-promotions__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-promotions__faq-question {
    font-size: 1.2em;
    color: #1A2E4E;
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    margin: 0;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

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

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

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    color: #666;
    font-size: 1em;
    display: block; /* Changed to block for initial state management with max-height */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    box-sizing: border-box;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 200px; /* This will be dynamically set by JS, but a fallback */
    padding-top: 0;
    padding-bottom: 20px;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1A2E4E, #3A5F8C);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract_pattern_dark,geometric,ok365_brand]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-promotions__final-cta-section > .page-promotions__container {
    position: relative;
    z-index: 1;
}

.page-promotions__final-cta-section .page-promotions__section-title {
    color: #FFD700;
    padding-top: 0;
    margin-bottom: 20px;
}

.page-promotions__final-cta-section .page-promotions__section-description {
    color: #e0e0e0;
    margin-bottom: 30px;
}

.page-promotions__final-cta-section a {
    color: #FFD700; /* For embedded links in paragraphs */
    text-decoration: underline;
}

.page-promotions__final-cta-section a:hover {
    color: #e6c200;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }

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

    .page-promotions__promo-grid,
    .page-promotions__feature-list,
    .page-promotions__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-title {
        font-size: 2.2em;
    }

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

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

    .page-promotions__promo-grid,
    .page-promotions__feature-list,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__promo-card-image {
        height: 180px;
    }

    .page-promotions__card-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

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

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

    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-promotions__section-title {
        font-size: 1.5em;
    }

    .page-promotions__promo-card-title {
        font-size: 1.3em;
    }

    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-promotions__faq-question::after {
        right: 20px;
    }

    .page-promotions__faq-answer {
        padding: 0 20px 15px;
    }
}