/* style/promotions.css */

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

.page-promotions {
    color: var(--color-text-main); /* Default text color for the page, assuming dark background */
    background-color: var(--color-background);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden;
    background-color: var(--color-deep-green);
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    max-width: 1920px;
    display: block;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 8px;
}

.page-promotions__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
    color: var(--color-text-main);
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.page-promotions__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--color-card-bg);
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
    margin-left: 15px;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-promotions__bg-section {
    background-color: var(--color-background);
    padding: 60px 0;
}

.page-promotions__dark-bg {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

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

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-promotions__text-block {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

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

.page-promotions__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--color-text-main);
}

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

.page-promotions__feature-image, .page-promotions__promo-image, .page-promotions__step-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-promotions__feature-title, .page-promotions__promo-title, .page-promotions__step-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.page-promotions__promo-title a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__promo-title a:hover {
    color: var(--color-glow);
}

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

.page-promotions__promo-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.page-promotions__step-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.page-promotions__step-text a:hover {
    color: var(--color-glow);
}

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

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

.page-promotions__faq-item {
    margin-bottom: 15px;
    text-align: left;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    color: var(--color-text-main);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: var(--color-deep-green);
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-gold);
    list-style: none;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-promotions__faq-qtext {
    flex-grow: 1;
}

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

.page-promotions__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    border-top: 1px solid var(--color-border);
}

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

/* Final CTA Section */
.page-promotions__cta-final-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-deep-green) 0%, var(--color-background) 100%);
}

.page-promotions__text-main {
    color: var(--color-gold);
}

.page-promotions__text-secondary {
    color: var(--color-text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-section {
        padding: 40px 15px;
    }
    .page-promotions__hero-image {
        margin-bottom: 20px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-promotions__description {
        font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-promotions__feature-grid, .page-promotions__promo-grid, .page-promotions__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .page-promotions__btn-primary, .page-promotions__btn-secondary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    .page-promotions__btn-secondary {
        margin-left: 10px;
    }
    .page-promotions__card {
        padding: 20px;
    }
}

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

    .page-promotions__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }
    .page-promotions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-promotions__description {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }
    .page-promotions__container,
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__feature-grid, .page-promotions__promo-grid, .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__feature-image, .page-promotions__promo-image, .page-promotions__step-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Buttons */
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        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; /* Reset margin for single column */
        margin-bottom: 15px; /* Add vertical spacing */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 0; /* Gap handled by margin-bottom on buttons */
    }
    .page-promotions__cta-buttons a:last-child {
        margin-bottom: 0;
    }

    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-section {
        padding: 20px 10px;
        padding-top: 10px !important;
    }
    .page-promotions__main-title {
        font-size: clamp(1.5rem, 10vw, 2.2rem);
    }
    .page-promotions__description {
        font-size: clamp(0.85rem, 4.5vw, 1rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-promotions__btn-primary, .page-promotions__btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}