/* style/promotions.css */

/* Custom Colors */
: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 {
    background-color: var(--color-background); /* #08160F */
    color: var(--color-text-main); /* #F2FFF6 */
    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;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for large screens */
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions__hero-content {
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--color-gold); /* #F2C14E */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.15rem;
    color: var(--color-text-secondary); /* #A7D9B8 */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient-start); /* #2AD16F */
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%); /* #13994A */
    color: var(--color-text-main); /* #F2FFF6 */
    border: 2px solid var(--color-button-gradient-start);
    box-shadow: 0 0 15px var(--color-glow); /* #57E38D */
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--color-glow);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--color-primary); /* #11A84E */
    border: 2px solid var(--color-primary);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-main); /* #F2FFF6 */
    transform: translateY(-3px);
}

.page-promotions__section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--color-gold); /* #F2C14E */
    margin-bottom: 40px;
    font-weight: 600;
}

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

.page-promotions__card {
    background-color: var(--color-card-bg); /* #11271B */
    border: 1px solid var(--color-border); /* #2E7A4E */
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--color-text-main); /* #F2FFF6 */
}

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

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

.page-promotions__card-title {
    font-size: 1.5rem;
    color: var(--color-primary); /* #11A84E */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__card-description {
    font-size: 1rem;
    color: var(--color-text-secondary); /* #A7D9B8 */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    background: var(--color-button-gradient-start); /* #2AD16F */
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%); /* #13994A */
    color: var(--color-text-main); /* #F2FFF6 */
    border: none;
    width: 100%;
    max-width: 200px;
}

.page-promotions__card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 10px var(--color-glow);
}

.page-promotions__text-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    background-color: var(--color-card-bg); /* #11271B */
    border: 1px solid var(--color-border); /* #2E7A4E */
    border-radius: 12px;
    padding: 30px;
    color: var(--color-text-main); /* #F2FFF6 */
}

.page-promotions__text-block p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--color-text-secondary); /* #A7D9B8 */
}

.page-promotions__text-block .page-promotions__btn-primary,
.page-promotions__text-block .page-promotions__btn-secondary {
    margin-top: 20px;
    width: auto;
    max-width: 250px;
}

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

.page-promotions__faq-item {
    background-color: var(--color-card-bg); /* #11271B */
    border: 1px solid var(--color-border); /* #2E7A4E */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--color-text-main); /* #F2FFF6 */
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary); /* #11A84E */
    list-style: none; /* For details summary */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-promotions__faq-question::marker {
    display: none; /* Hide default marker for Firefox */
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--color-text-secondary); /* #A7D9B8 */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: 30px;
    }
    .page-promotions__section {
        margin: 50px auto;
    }
    .page-promotions__card-title {
        font-size: 1.3rem;
    }
}

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

    .page-promotions__hero-section {
        padding: 10px 15px 40px;
    }

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

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

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .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: 12px 20px;
    }

    .page-promotions__section,
    .page-promotions__card-grid,
    .page-promotions__text-block,
    .page-promotions__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    .page-promotions__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__card {
        padding: 20px;
    }

    .page-promotions__card-image {
        height: 180px;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
    }

    .page-promotions__text-block {
        padding: 25px;
    }

    .page-promotions__text-block .page-promotions__btn-primary,
    .page-promotions__text-block .page-promotions__btn-secondary {
        max-width: 100%;
        width: 100%;
    }

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

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

    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }
    .page-promotions__hero-description {
        font-size: 0.95rem;
    }
}