/* style/promotions.css */

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

.page-promotions {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Default text color for dark body background */
    background-color: var(--background-color); /* Ensure consistency with body background */
}

.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;
    box-sizing: border-box;
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    box-sizing: border-box;
    color: var(--text-main-color);
}

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

.page-promotions__description {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

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

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

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

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

.page-promotions__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    color: var(--text-main-color);
}

.page-promotions__section {
    padding: 80px 20px;
    text-align: center;
    box-sizing: border-box;
}

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

.page-promotions__light-bg {
    background-color: #111D16; /* A slightly lighter dark green for contrast */
    color: var(--text-main-color);
}

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

.page-promotions__section-title {
    font-size: 2.5rem;
    color: var(--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: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

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

.page-promotions__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
    color: var(--text-main-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-promotions__card-title {
    font-size: 1.6rem;
    color: var(--gold-color);
    padding: 20px 25px 10px;
}

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

.page-promotions__card-button {
    margin: 0 25px 25px;
    width: calc(100% - 50px);
    text-align: center;
}

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

.page-promotions__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-main-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-icon {
    width: 60px;
    height: 60px;
    background: var(--button-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-main-color);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__step-text {
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

.page-promotions__center-cta {
    margin-top: 60px;
}

.page-promotions__list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 50px auto;
    text-align: left;
}

.page-promotions__list-item {
    background-color: var(--card-bg);
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__faq-item details > summary {
    list-style: none;
}

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

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

.page-promotions__faq-question:hover {
    background-color: #1a4d33;
}

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

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

.page-promotions__cta-bottom {
    background-color: #111D16; /* A slightly lighter dark green for contrast */
    padding-bottom: 100px;
}

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

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

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

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

    .page-promotions__text-block {
        font-size: 1rem;
    }

    .page-promotions__card-title {
        font-size: 1.4rem;
    }

    .page-promotions__card-text {
        font-size: 0.95rem;
    }

    .page-promotions__step-title {
        font-size: 1.2rem;
    }

    .page-promotions__step-text {
        font-size: 0.95rem;
    }
}

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

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

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

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

    .page-promotions__description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        margin: 0 auto; /* Center buttons */
    }

    .page-promotions__section {
        padding: 50px 15px;
    }

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

    .page-promotions__text-block {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

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

    .page-promotions__card {
        margin: 0 auto;
        width: 100%;
        max-width: 400px; /* Optional: limit card width on small screens */
    }

    .page-promotions__card-image {
        height: 200px;
    }

    .page-promotions__card-title {
        font-size: 1.2rem;
        padding: 15px 20px 8px;
    }

    .page-promotions__card-text {
        font-size: 0.9rem;
        padding: 0 20px 15px;
    }

    .page-promotions__card-button {
        margin: 0 20px 20px;
        width: calc(100% - 40px);
    }

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

    .page-promotions__step-item {
        padding: 25px;
    }

    .page-promotions__list {
        margin: 30px auto;
    }

    .page-promotions__list-item {
        padding: 12px 15px;
        margin-bottom: 10px;
        font-size: 0.95rem;
    }

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

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

    /* Mobile image, video, button 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__cta-buttons,
    .page-promotions__center-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    .page-promotions__video-section {
        padding-top: 10px !important;
    }
}

/* Ensure images don't have filters */
.page-promotions img {
    filter: none;
}