/* style/promotions.css */

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

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative; /* Not absolute, to flow below image */
    z-index: 1;
    padding: 20px;
    background: rgba(8, 22, 15, 0.8); /* Slightly transparent background for readability */
    border-radius: 10px;
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    color: var(--promotions-gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__description {
    font-size: 1.1em;
    color: var(--promotions-text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* General Section Styling */
.page-promotions__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--promotions-gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

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

.page-promotions__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--promotions-glow-color);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-promotions__card-text {
    color: var(--promotions-text-secondary);
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to take available space */
}

/* Step-by-Step Guide */
.page-promotions__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-promotions__step-item {
    background-color: var(--promotions-card-bg);
    border: 1px solid var(--promotions-border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-image {
    width: 100%;
    height: 180px; /* Consistent image height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

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

/* Terms and Conditions */
.page-promotions__terms-conditions {
    background-color: var(--promotions-deep-green);
    border-radius: 10px;
    padding: 40px 30px;
    margin-top: 60px;
    text-align: left;
}

.page-promotions__terms-conditions .page-promotions__section-title {
    color: var(--promotions-gold-color);
    margin-bottom: 30px;
}

.page-promotions__terms-conditions .page-promotions__section-title::after {
    background: var(--promotions-gold-color);
}

.page-promotions__terms-conditions .page-promotions__text-block {
    text-align: left;
    color: var(--promotions-text-main);
    margin-bottom: 20px;
}

.page-promotions__list {
    list-style: disc;
    padding-left: 30px;
    color: var(--promotions-text-main);
    margin-bottom: 30px;
}

.page-promotions__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-promotions__list-item strong {
    color: var(--promotions-gold-color);
}

/* FAQ Section */
.page-promotions__faq-section {
    margin-top: 60px;
    text-align: center;
}

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

.page-promotions__faq-item {
    background-color: var(--promotions-card-bg);
    border: 1px solid var(--promotions-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--promotions-glow-color);
}

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

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

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

.page-promotions__faq-question::marker { /* For Firefox */
    display: none;
}

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

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

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

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

/* Final CTA Section */
.page-promotions__final-cta {
    text-align: center;
    padding-bottom: 80px;
}

.page-promotions__cta-buttons--center {
    margin-top: 40px;
}

/* Buttons */
.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: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%; /* Ensure button adapts to container */
}

.page-promotions__btn-primary {
    background: var(--promotions-button-gradient-start); /* Fallback */
    background: linear-gradient(180deg, var(--promotions-button-gradient-start) 0%, var(--promotions-button-gradient-end) 100%);
    color: var(--promotions-text-main); /* White text for primary button */
    border: 2px solid var(--promotions-button-gradient-start);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6), 0 0 15px var(--promotions-glow-color);
    filter: brightness(1.1);
}

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

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

.page-promotions__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--promotions-gold-color);
    color: var(--promotions-background); /* Dark text on gold hover */
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4), 0 0 15px var(--promotions-gold-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }

    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__card-grid,
    .page-promotions__step-by-step {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .page-promotions__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles header offset, small top padding */
    }
    
    .page-promotions__hero-image-wrapper,
    .page-promotions__hero-image,
    .page-promotions__image-content,
    .page-promotions__card-image,
    .page-promotions__step-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Ensure images are fully responsive */
        box-sizing: border-box !important;
        display: block !important;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__terms-conditions,
    .page-promotions__faq-list,
    .page-promotions__cta-buttons,
    .page-promotions__step-by-step {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__hero-content {
        padding: 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
    }

    .page-promotions__description {
        font-size: 1em;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-promotions__text-block {
        font-size: 0.95em;
    }

    .page-promotions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .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;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__card-image {
        height: 160px; /* Adjust height for mobile */
    }

    .page-promotions__step-image {
        height: 150px; /* Adjust height for mobile */
    }

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

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

/* Ensure no filter is used on images */
.page-promotions img {
    filter: none !important;
}