/* style/promotions.css */

/* Variables */
:root {
    --page-promotions-primary-color: #003366;
    --page-promotions-secondary-color: #FFCC00;
    --page-promotions-text-light: #ffffff;
    --page-promotions-text-dark: #333333;
    --page-promotions-background-light: #f8f9fa;
    --page-promotions-card-bg: #ffffff;
    --page-promotions-border-color: #e0e0e0;
}

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

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

.page-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-promotions__section-description {
    font-size: 1.1em;
    color: var(--page-promotions-text-dark);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-promotions__hero {
    background: linear-gradient(135deg, var(--page-promotions-primary-color) 0%, #0a4f91 100%); /* Slightly lighter blue for gradient */
    padding: 100px 0;
    color: var(--page-promotions-text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-promotions-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.page-promotions__hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

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

/* Buttons */
.page-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;
    cursor: pointer;
    text-align: center;
    border: none;
}

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

.page-promotions__btn--primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

.page-promotions__btn--secondary {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-text-light);
    border: 2px solid var(--page-promotions-secondary-color);
}

.page-promotions__btn--secondary:hover {
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

.page-promotions__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Intro Section */
.page-promotions__intro {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: var(--page-promotions-card-bg);
}

.page-promotions__intro p {
    max-width: 900px;
    margin: 20px auto;
    font-size: 1.05em;
    color: var(--page-promotions-text-dark);
}

/* Featured Offers Grid */
.page-promotions__featured-offers {
    background-color: var(--page-promotions-background-light);
}

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

.page-promotions__offer-card {
    background-color: var(--page-promotions-card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.page-promotions__offer-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__offer-title {
    font-size: 1.5em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

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

/* How To Claim Section */
.page-promotions__how-to-claim {
    background-color: var(--page-promotions-card-bg);
}

.page-promotions__steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-promotions__steps li {
    position: relative;
    padding: 20px 0 20px 60px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--page-promotions-border-color);
    font-size: 1.1em;
    color: var(--page-promotions-text-dark);
}

.page-promotions__steps li:last-child {
    border-bottom: none;
}

.page-promotions__steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3em;
    box-shadow: 0 2px 10px rgba(255, 204, 0, 0.3);
}

.page-promotions__steps strong {
    color: var(--page-promotions-primary-color);
    display: block;
    margin-bottom: 5px;
    font-size: 1.2em;
}

/* Why Choose Section */
.page-promotions__why-choose {
    background-color: var(--page-promotions-background-light);
}

.page-promotions__benefits-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-promotions__benefits-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--page-promotions-text-dark);
}

.page-promotions__benefits-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    color: var(--page-promotions-secondary-color);
}

.page-promotions__benefits-list strong {
    color: var(--page-promotions-primary-color);
}

/* FAQ Section */
.page-promotions__faq {
    background-color: var(--page-promotions-card-bg);
}

.page-promotions__faq-item {
    background-color: var(--page-promotions-background-light);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-promotions__faq-answer {
    font-size: 1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.page-promotions__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
}

/* Call to Action Section */
.page-promotions__cta {
    background: linear-gradient(135deg, var(--page-promotions-secondary-color) 0%, #ffdf66 100%);
    padding: 80px 0;
    color: var(--page-promotions-primary-color);
    text-align: center;
}

.page-promotions__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--page-promotions-primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-promotions__cta-description {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__hero-subtitle {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__offer-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-promotions__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero {
        padding: 80px 0;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-subtitle {
        font-size: 1em;
    }
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__offer-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__steps li,
    .page-promotions__benefits-list li {
        padding-left: 45px;
        font-size: 1em;
    }
    .page-promotions__steps li::before {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }
    .page-promotions__cta-title {
        font-size: 2em;
    }
    .page-promotions__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-subtitle {
        font-size: 0.9em;
    }
    .page-promotions__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__offer-title {
        font-size: 1.3em;
    }
    .page-promotions__faq-question {
        font-size: 1.1em;
    }
    .page-promotions__cta-title {
        font-size: 1.8em;
    }
}