/* style/promotions.css */

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

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

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

.page-promotions__dark-section {
    background-color: var(--promotion-background);
    color: var(--promotion-text-main);
    padding: 60px 0;
}

.page-promotions__card {
    background-color: var(--promotion-card-bg);
    border: 1px solid var(--promotion-border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--promotion-text-main);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--promotion-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-promotions__main-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--promotion-gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__description,
.page-promotions__text-block {
    font-size: 18px;
    color: var(--promotion-text-secondary);
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__highlight {
    color: var(--promotion-gold-color);
    font-weight: bold;
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body handles padding-top, small decorative top padding here */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure min size */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.page-promotions__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    min-width: 180px; /* Minimum width for buttons */
    height: auto;
}

.page-promotions__btn-primary {
    background: var(--promotion-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(42, 209, 111, 0.6);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--promotion-gold-color);
    border: 2px solid var(--promotion-gold-color);
    box-shadow: 0 2px 8px rgba(242, 193, 78, 0.3);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--promotion-gold-color);
    color: var(--promotion-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 193, 78, 0.5);
}

.page-promotions__why-choose-us {
    padding: 80px 0;
}

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

.page-promotions__feature-title {
    font-size: 24px;
    color: var(--promotion-gold-color);
    margin-bottom: 15px;
    text-align: center;
}

.page-promotions__feature-text {
    font-size: 16px;
    color: var(--promotion-text-secondary);
    text-align: center;
}

.page-promotions__promotion-types {
    padding: 80px 0;
}

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

.page-promotions__promotion-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
    padding: 0;
}

.page-promotions__card-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    min-height: 200px; /* Ensure min size */
}

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

.page-promotions__card-title {
    font-size: 22px;
    color: var(--promotion-gold-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-promotions__card-title a {
    color: inherit;
    text-decoration: none;
}

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

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

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 16px;
    margin-top: auto; /* Push button to bottom */
}

.page-promotions__how-to-claim {
    padding: 80px 0;
}

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

.page-promotions__step-item {
    text-align: center;
}

.page-promotions__step-icon {
    background-color: var(--promotion-deep-green);
    color: var(--promotion-gold-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 20px auto;
    border: 2px solid var(--promotion-gold-color);
}

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

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

.page-promotions__step-text a {
    color: var(--promotion-gold-color);
    text-decoration: none;
}

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

.page-promotions__terms-conditions {
    padding: 80px 0;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__terms-item {
    background-color: var(--promotion-card-bg);
    border: 1px solid var(--promotion-border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 17px;
    color: var(--promotion-text-secondary);
    line-height: 1.5;
}

.page-promotions__terms-item strong {
    color: var(--promotion-gold-color);
}

.page-promotions__button-group {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.page-promotions__faq-section {
    padding: 80px 0;
}

.page-promotions__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__faq-item {
    margin-bottom: 15px;
    overflow: hidden;
    padding: 0; /* Override card padding for details structure */
}

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

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-promotions__faq-item:not([open]) .page-promotions__faq-question {
    border-radius: 12px;
}

.page-promotions__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
}

.page-promotions__faq-answer {
    padding: 20px 30px;
    font-size: 16px;
    color: var(--promotion-text-secondary);
    background-color: var(--promotion-card-bg);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.page-promotions__faq-answer p {
    margin: 0;
    text-align: left;
}

.page-promotions__faq-item details > summary {
    list-style: none;
}

.page-promotions__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-promotions__cta-section {
    padding: 80px 0;
    text-align: center;
}

/* General image responsiveness */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    .page-promotions__container {
        padding: 0 15px !important;
    }

    .page-promotions__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 30px;
    }

    .page-promotions__main-title {
        font-size: clamp(28px, 7vw, 48px);
    }

    .page-promotions__description,
    .page-promotions__text-block {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-promotions__hero-section {
        padding: 10px 0 40px 0 !important;
    }

    .page-promotions__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    .page-promotions__feature-grid,
    .page-promotions__promotion-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-promotions__card {
        padding: 20px;
        border-radius: 8px;
    }

    .page-promotions__card-image {
        height: 180px;
        min-height: 200px !important; /* Ensure min size for mobile */
    }

    .page-promotions__card-title {
        font-size: 20px;
    }

    .page-promotions__card-text {
        font-size: 15px;
    }

    .page-promotions__btn-small {
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-promotions__step-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-promotions__step-title {
        font-size: 22px;
    }

    .page-promotions__terms-list {
        margin-top: 30px;
    }

    .page-promotions__terms-item {
        font-size: 15px;
        padding: 15px;
    }

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

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

    /* Ensure all images are responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-image-wrapper,
    .page-promotions__promotion-card,
    .page-promotions__step-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-promotions__button-group {
        flex-direction: column;
        gap: 15px;
    }
}