/* style/promotions.css */

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

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

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

.page-promotions__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px; /* Space between image and content */
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

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

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

.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-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--color-glow);
    color: var(--color-background);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-promotions__section-title {
    font-size: 2.5rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

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

.page-promotions__overview-section,
.page-promotions__types-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__benefits-section,
.page-promotions__faq-section,
.page-promotions__cta-bottom-section {
    padding: 40px 0;
}

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

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

.page-promotions__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-promotions__card-title {
    font-size: 1.8rem;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

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

.page-promotions__card-button {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: 2px solid transparent;
    padding: 10px 25px;
    border-radius: 40px;
    font-size: 0.95rem;
}

.page-promotions__card-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(87, 227, 141, 0.3);
}

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

.page-promotions__step-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--color-border);
}

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

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

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

.page-promotions__step-description a:hover {
    color: var(--color-gold);
}

.page-promotions__terms-list {
    list-style-type: disc;
    padding-left: 25px;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

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

.page-promotions__benefit-card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--color-border);
}

.page-promotions__benefit-title {
    font-size: 1.6rem;
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.page-promotions__benefit-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.page-promotions__faq-list {
    margin-top: 30px;
}

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

.page-promotions__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-text-main);
    background-color: var(--color-deep-green);
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    text-align: left;
    margin-right: 15px;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-gold);
}

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

.page-promotions__faq-answer {
    padding: 20px 25px;
    background-color: var(--color-card-bg);
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    border-top: 1px solid var(--color-divider);
}

.page-promotions__cta-bottom-section {
    text-align: center;
    padding-bottom: 60px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-image-wrapper {
        max-height: 60vh;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-promotions__description {
        font-size: 1.1rem;
    }
    .page-promotions__section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-image-wrapper {
        max-height: 50vh;
        margin-bottom: 30px;
    }
    .page-promotions__hero-content {
        padding: 0 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-promotions__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__card-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-promotions__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-promotions__text-block {
        font-size: 0.95rem;
    }
    .page-promotions__grid,
    .page-promotions__steps-grid,
    .page-promotions__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__card,
    .page-promotions__step-item,
    .page-promotions__benefit-card {
        padding: 20px;
    }
    .page-promotions__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__card-title {
        font-size: 1.5rem;
    }
    .page-promotions__card-description {
        font-size: 0.9rem;
    }
    .page-promotions__terms-list {
        padding-left: 20px;
        font-size: 0.95rem;
    }
    .page-promotions__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .page-promotions__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    .page-promotions__overview-section,
    .page-promotions__types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__benefits-section,
    .page-promotions__faq-section,
    .page-promotions__cta-bottom-section {
        padding: 30px 0;
    }
    /* Mobile specific image and container rules */
    .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__overview-section,
    .page-promotions__types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__benefits-section,
    .page-promotions__faq-section,
    .page-promotions__cta-bottom-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important;
    }
    .page-promotions__cta-buttons {
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-image-wrapper {
        max-height: 40vh;
    }
    .page-promotions__main-title {
        font-size: clamp(1.5rem, 10vw, 2.2rem);
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    .page-promotions__section-title {
        font-size: 1.5rem;
    }
    .page-promotions__card-title {
        font-size: 1.3rem;
    }
    .page-promotions__step-title,
    .page-promotions__benefit-title {
        font-size: 1.2rem;
    }
    .page-promotions__faq-item summary {
        font-size: 1rem;
    }
}