/* style/promotions.css */

/* Custom Colors */
:root {
    --promotions-primary-color: #11A84E;
    --promotions-secondary-color: #22C768;
    --promotions-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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 {
    background-color: var(--promotions-background); /* Assumed dark body background */
    color: var(--promotions-text-main);
}

.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 padding-top handles header offset */
    background-color: var(--promotions-deep-green);
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 20px;
    margin-top: -150px; /* Adjust to layer content over the image lower part */
    color: var(--promotions-text-main);
}

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

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

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

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

.page-promotions__btn-primary {
    background: var(--promotions-button-gradient);
    color: var(--promotions-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--promotions-glow-color);
    border: 2px solid var(--promotions-glow-color);
}

.page-promotions__btn-secondary:hover {
    background-color: rgba(var(--promotions-glow-color), 0.1);
    transform: translateY(-2px);
}

.page-promotions__section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions__dark-section {
    background-color: var(--promotions-background);
    color: var(--promotions-text-main);
}

.page-promotions__dark-section a {
    color: var(--promotions-glow-color);
    text-decoration: underline;
}

.page-promotions__dark-section a:hover {
    color: var(--promotions-gold-color);
}

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--promotions-gold-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-promotions__light-bg-text {
    color: var(--promotions-deep-green);
}

.page-promotions__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--promotions-text-secondary);
    text-align: justify;
}

.page-promotions__text-block a {
    color: var(--promotions-glow-color);
    text-decoration: underline;
}

.page-promotions__text-block a:hover {
    color: var(--promotions-gold-color);
}

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

.page-promotions__card {
    background-color: var(--promotions-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    color: var(--promotions-text-main);
    border: 1px solid var(--promotions-border-color);
}

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

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

.page-promotions__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--promotions-gold-color);
    padding: 20px 20px 10px;
}

.page-promotions__card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--promotions-text-secondary);
    padding: 0 20px 20px;
}

.page-promotions__card-text a {
    color: var(--promotions-glow-color);
    text-decoration: underline;
}

.page-promotions__card-text a:hover {
    color: var(--promotions-gold-color);
}

.page-promotions__card .page-promotions__btn-primary {
    display: block;
    margin: 0 20px 20px;
    width: auto; /* Allow button to fit content, but max-width 100% will handle overflow */
}

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

.page-promotions__list,
.page-promotions__numbered-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.page-promotions__list-item {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: var(--promotions-text-secondary);
}

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

.page-promotions__list-item::before {
    content: '•';
    color: var(--promotions-glow-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0;
}

.page-promotions__numbered-list .page-promotions__list-item::before {
    content: counter(list-item) '.';
    counter-increment: list-item;
    color: var(--promotions-glow-color);
    font-weight: 700;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

.page-promotions__faq-list {
    margin-top: 40px;
    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;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--promotions-text-main);
    cursor: pointer;
    background-color: var(--promotions-deep-green);
    border-bottom: 1px solid var(--promotions-border-color);
}

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

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--promotions-glow-color);
    margin-left: 15px;
}

.page-promotions__faq-answer {
    padding: 0 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--promotions-text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
    max-height: 500px; /* Sufficiently large for content */
    padding: 20px;
}

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

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: none;
}

/* Details element specific styling */
.page-promotions__faq-item summary {
    list-style: none;
}

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

.page-promotions__cta-section {
    padding: 80px 20px;
    background-color: var(--promotions-deep-green);
}

.page-promotions__cta-section .page-promotions__container {
    background-color: var(--promotions-card-bg);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--promotions-border-color);
}

.page-promotions__cta-section .page-promotions__section-title {
    color: var(--promotions-gold-color);
    margin-bottom: 25px;
}

.page-promotions__cta-section .page-promotions__description,
.page-promotions__cta-section .page-promotions__text-block {
    color: var(--promotions-text-secondary);
    margin-bottom: 40px;
    font-size: 1.15rem;
}

.page-promotions__cta-section .page-promotions__text-block a {
    color: var(--promotions-glow-color);
    text-decoration: underline;
}

.page-promotions__cta-section .page-promotions__text-block a:hover {
    color: var(--promotions-gold-color);
}

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__hero-content {
        margin-top: -80px;
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-promotions__description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        margin-bottom: 25px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        margin: 0 auto; /* Center buttons when stacked */
    }
    .page-promotions__section {
        padding: 40px 15px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-promotions__text-block {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
    }
    .page-promotions__promotions-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-promotions__card-title {
        font-size: 1.3rem;
    }
    .page-promotions__card-text {
        font-size: 0.9rem;
    }
    .page-promotions__list-item {
        font-size: 1rem;
        padding-left: 25px;
    }
    .page-promotions__list-item::before {
        font-size: 1.3rem;
    }
    .page-promotions__faq-question {
        font-size: 1.05rem;
        padding: 15px;
    }
    .page-promotions__faq-toggle {
        font-size: 1.3rem;
    }
    .page-promotions__faq-answer {
        padding: 15px;
    }
    .page-promotions__cta-section {
        padding: 60px 15px;
    }
    .page-promotions__cta-section .page-promotions__container {
        padding: 30px;
    }
    .page-promotions__cta-section .page-promotions__text-block {
        font-size: 1rem;
    }

    /* 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-image-wrapper,
    .page-promotions__hero-content,
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-promotions__hero-image-wrapper,
    .page-promotions__hero-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-promotions__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-content {
        margin-top: -60px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-promotions__description {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
    .page-promotions__faq-question {
        font-size: 1rem;
    }
}