/* style/promotions.css */

/* Base Styles for page-promotions */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    height: 700px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(184, 0, 0, 0.7), rgba(255, 215, 0, 0.4));
    z-index: 2;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background-color: #FFD700;
    color: #B80000;
    border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
    background-color: #B80000;
    color: #FFD700;
    border-color: #B80000;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
    background-color: #FFD700;
    color: #B80000;
}

/* Latest Promotions Section */
.page-promotions__latest-promotions-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Darker background for contrast */
    color: #ffffff;
}

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

.page-promotions__promotion-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-promotions__card-text {
    font-size: 0.95em;
    color: #e0e0e0;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-promotions__btn-small {
    display: inline-block;
    padding: 10px 20px;
    background-color: #B80000;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-promotions__btn-small:hover {
    background-color: #FFD700;
    color: #B80000;
}

/* Categories Section */
.page-promotions__categories-section {
    padding: 80px 0;
    background-color: #121212;
    color: #ffffff;
}

.page-promotions__categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.page-promotions__category-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.page-promotions__category-item:hover {
    background-color: rgba(255, 215, 0, 0.15);
}

.page-promotions__category-title {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-promotions__category-title a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions__category-title a:hover {
    color: #ffffff;
}

.page-promotions__category-text {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333333;
}

.page-promotions__how-to-claim-section .page-promotions__section-title {
    color: #B80000;
}

.page-promotions__how-to-claim-section .page-promotions__section-description {
    color: #555555;
}

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

.page-promotions__step-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__step-icon {
    font-size: 2.5em;
    color: #B80000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__step-title {
    font-size: 1.3em;
    color: #333333;
    margin-bottom: 10px;
}

.page-promotions__step-text {
    font-size: 0.95em;
    color: #666666;
}

.page-promotions__step-text a {
    color: #B80000;
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__step-text a:hover {
    text-decoration: underline;
}

.page-promotions__guide-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Terms Section */
.page-promotions__terms-section {
    padding: 80px 0;
    background-color: #B80000;
    color: #ffffff;
}

.page-promotions__terms-section .page-promotions__section-title {
    color: #ffffff;
}

.page-promotions__terms-section .page-promotions__section-description {
    color: #f0f0f0;
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05em;
}

.page-promotions__terms-list li {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-promotions__terms-list li a {
    color: #FFD700;
    text-decoration: underline;
}

.page-promotions__terms-list li a:hover {
    color: #ffffff;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #121212;
    color: #ffffff;
}

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #FFD700;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: rgba(255, 215, 0, 0.15);
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-promotions__faq-answer p {
    color: #e0e0e0;
    font-size: 1em;
    margin-bottom: 0;
}

.page-promotions__faq-answer a {
    color: #FFD700;
    text-decoration: underline;
}

/* CTA Section */
.page-promotions__cta-section {
    padding: 60px 0;
    background-color: #B80000;
    color: #ffffff;
    text-align: center;
}

.page-promotions__cta-section .page-promotions__section-title {
    color: #ffffff;
    margin-bottom: 15px;
}

.page-promotions__cta-section .page-promotions__section-description {
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 3em;
    }
    .page-promotions__hero-description {
        font-size: 1.2em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions__hero-section {
        height: 600px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-promotions__promotions-grid,
    .page-promotions__categories-list,
    .page-promotions__steps-container {
        grid-template-columns: 1fr;
    }

    .page-promotions__promotion-card,
    .page-promotions__category-item,
    .page-promotions__step-item,
    .page-promotions__faq-item {
        margin-left: 15px;
        margin-right: 15px;
    }

    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__latest-promotions-section,
    .page-promotions__categories-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-promotions__hero-cta-buttons,
    .page-promotions__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
    }

    .page-promotions__faq-answer {
        padding: 0 15px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 15px 25px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-description {
        font-size: 0.9em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__card-title {
        font-size: 1.2em;
    }
    .page-promotions__faq-question {
        font-size: 1em;
    }
}