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

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

.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: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-align: justify;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 10px 0 60px 0;
    overflow: hidden;
    text-align: center;
    background-color: var(--main-bg);
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7);
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-top: 80px; /* Offset for header */
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: var(--gold-color);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    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 {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-promotions__cta-button--small {
    padding: 12px 25px;
    font-size: 1em;
}

/* Intro Section */
.page-promotions__intro-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    color: var(--text-main);
}

/* Types Section */
.page-promotions__types-section {
    padding: 60px 0;
    background-color: var(--deep-green);
    color: var(--text-main);
}

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

.page-promotions__promotion-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
}

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

.page-promotions__card-content {
    padding: 20px;
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

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

.page-promotions__card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promotions__card-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Guide Section */
.page-promotions__guide-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    color: var(--text-main);
}

.page-promotions__guide-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-promotions__guide-list li {
    margin-bottom: 30px;
    position: relative;
    padding-left: 60px;
}

.page-promotions__guide-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__guide-step-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

/* Benefits Section */
.page-promotions__benefits-section {
    padding: 60px 0;
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-promotions__benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-promotions__benefits-list li {
    display: flex;
    align-items: flex-start;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-promotions__benefit-icon {
    font-size: 2em;
    margin-right: 15px;
    color: var(--gold-color);
}

.page-promotions__benefits-list p {
    color: var(--text-secondary);
    font-size: 1em;
}

.page-promotions__benefits-list strong {
    color: var(--text-main);
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    color: var(--text-main);
}

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

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider-color);
}

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

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

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

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    margin-left: 10px;
    color: var(--gold-color);
}

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

.page-promotions__faq-answer {
    padding: 15px 20px;
    color: var(--text-secondary);
    font-size: 1em;
}

/* Conclusion Section */
.page-promotions__conclusion-section {
    padding: 60px 0;
    background-color: var(--deep-green);
    color: var(--text-main);
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-promotions__hero-content {
        margin-top: 40px;
    }

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

    .page-promotions__hero-description {
        font-size: 1.1em;
    }

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        min-height: 400px;
        padding-bottom: 40px;
    }

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

    .page-promotions__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

    .page-promotions__hero-description {
        font-size: 1em;
    }

    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-promotions__text-block,
    .page-promotions__card-description,
    .page-promotions__guide-list li p,
    .page-promotions__benefits-list p,
    .page-promotions__faq-answer {
        font-size: 0.95em;
    }

    .page-promotions__grid-cards {
        grid-template-columns: 1fr;
    }

    .page-promotions__guide-list li {
        padding-left: 50px;
    }

    .page-promotions__guide-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }

    .page-promotions__guide-step-title {
        font-size: 1.2em;
    }

    .page-promotions__benefits-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-promotions__benefit-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .page-promotions__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    
    /* Mobile image responsiveness */
    .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-section,
    .page-promotions__intro-section,
    .page-promotions__types-section,
    .page-promotions__guide-section,
    .page-promotions__benefits-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section,
    .page-promotions__promotion-card,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button responsiveness */
    .page-promotions__cta-button,
    .page-promotions__card-button {
      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;
      text-align: center;
    }

    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
      display: flex;
      flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-section {
        min-height: 350px;
    }

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

    .page-promotions__hero-description {
        font-size: 0.9em;
    }

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

/* Ensure contrast for main text on card-bg */
.page-promotions__card-bg {
    background-color: var(--card-bg);
    color: var(--text-main);
}

/* Ensure contrast for main text on dark-bg */
.page-promotions__dark-bg {
    background-color: var(--main-bg);
    color: var(--text-main);
}

/* Ensure contrast for main text on deep-green */
.page-promotions__dark-section {
    background-color: var(--deep-green);
    color: var(--text-main);
}

/* Specific text colors for better readability on various backgrounds */
.page-promotions p, .page-promotions li {
    color: var(--text-secondary);
}

.page-promotions strong {
    color: var(--text-main);
}

.page-promotions__section-title,
.page-promotions__card-title,
.page-promotions__guide-step-title {
    color: var(--gold-color);
}

.page-promotions__cta-button,
.page-promotions__card-button {
    color: var(--text-main);
}

.page-promotions__faq-qtext {
    color: var(--text-main);
}

.page-promotions__faq-toggle {
    color: var(--gold-color);
}