/* style/promotions.css */

/* Variables and Base Styles */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

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

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

.page-promotions__section {
    padding: 60px 0;
    position: relative;
}

.page-promotions__section-title {
    font-size: 38px;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-promotions__section-description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image slightly for text contrast */
}

.page-promotions__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: 48px;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-promotions__hero-description {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #FFFFFF;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-promotions__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__card-title {
    font-size: 24px;
    color: var(--gold-color);
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-promotions__card-text {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 0 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: block;
    text-align: center;
    background: var(--button-gradient);
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 0 0 12px 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.page-promotions__card-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Product Promotions Grid */
.page-promotions__product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__product-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-promotions__product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-promotions__product-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__product-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__product-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-right: 10px;
    margin-top: 10px;
}

.page-promotions__product-button:last-child {
    margin-right: 0;
}

.page-promotions__product-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-1px);
}

/* Other Rewards List */
.page-promotions__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__list-title {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__list-text {
    font-size: 16px;
    color: var(--text-secondary);
}

/* How-To-Claim Steps */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__step-number {
    width: 60px;
    height: 60px;
    background-color: var(--gold-color);
    color: var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-promotions__step-title {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__step-text {
    font-size: 16px;
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-promotions__step-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #FFFFFF;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promotions__step-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-1px);
}

/* Terms & Conditions List */
.page-promotions__bullet-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__bullet-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__bullet-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__bullet-text {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.page-promotions__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: var(--primary-color);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid transparent;
}

.page-promotions__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: '−';
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 16px;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

/* Remove default details marker */
.page-promotions__faq-item summary {
    list-style: none;
}
.page-promotions__faq-item summary::-webkit-details-marker {
    display: none;
}

/* Why Choose Section */
.page-promotions__reasons-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__reason-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.page-promotions__reason-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__reason-title {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__reason-text {
    font-size: 16px;
    color: var(--text-secondary);
    flex-grow: 1;
}

.page-promotions__final-cta {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: var(--deep-green);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--gold-color);
}

.page-promotions__final-cta-text {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: 500;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 42px;
    }
    .page-promotions__hero-description {
        font-size: 18px;
    }
    .page-promotions__section-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__hero-content {
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 18px;
    }
    .page-promotions__cta-button--large {
        padding: 15px 35px;
        font-size: 20px;
    }
    .page-promotions__section-title {
        font-size: 28px;
    }
    .page-promotions__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-promotions__cards-grid,
    .page-promotions__product-grid,
    .page-promotions__steps-grid,
    .page-promotions__reasons-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__card-title,
    .page-promotions__product-title,
    .page-promotions__list-title,
    .page-promotions__step-title,
    .page-promotions__bullet-title,
    .page-promotions__reason-title {
        font-size: 20px;
    }

    .page-promotions__card-text,
    .page-promotions__product-text,
    .page-promotions__list-text,
    .page-promotions__step-text,
    .page-promotions__bullet-text,
    .page-promotions__reason-text {
        font-size: 15px;
    }

    .page-promotions__card-image,
    .page-promotions__product-image {
        height: 180px;
    }
    
    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__hero-image-wrapper,
    .page-promotions__cards-grid,
    .page-promotions__card,
    .page-promotions__product-grid,
    .page-promotions__product-card,
    .page-promotions__steps-grid,
    .page-promotions__step-card,
    .page-promotions__reasons-list,
    .page-promotions__reason-item,
    .page-promotions__faq-list,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    /* Buttons responsiveness */
    .page-promotions__cta-button,
    .page-promotions__card-button,
    .page-promotions__product-button,
    .page-promotions__step-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .page-promotions__product-content {
        align-items: center;
    }
    .page-promotions__product-button {
        margin-bottom: 10px !important; /* Spacing for stacked buttons */
    }
    .page-promotions__product-button:last-child {
        margin-bottom: 0 !important;
    }
    .page-promotions__final-cta-text {
        font-size: 18px;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 28px;
    }
    .page-promotions__cta-button {
        font-size: 16px;
        padding: 10px 20px;
    }
    .page-promotions__cta-button--large {
        font-size: 18px;
        padding: 12px 25px;
    }
    .page-promotions__section-title {
        font-size: 24px;
    }
    .page-promotions__hero-image {
        height: 300px;
    }
}