/* style/promotions.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --background-dark: #08160F;
    --card-background: #11271B;
    --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); /* Default text color for the page */
    background-color: var(--background-dark); /* Ensure contrast with text-main */
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    background-color: var(--deep-green);
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

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

.page-promotions__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    z-index: 1;
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--gold-color);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

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

.page-promotions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-main);
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-promotions__paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

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

.page-promotions__category-item {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-promotions__category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color) inset;
}

.page-promotions__category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.page-promotions__category-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__category-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-promotions__small-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 30px;
}

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

.page-promotions__step-item {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    position: relative;
}

.page-promotions__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--button-gradient);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid var(--glow-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.page-promotions__step-title {
    font-size: 1.3rem;
    color: var(--gold-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-promotions__step-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid var(--border-color);
}

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

.page-promotions__large-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}

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

.page-promotions__feature-item {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-promotions__feature-title {
    font-size: 1.3rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.page-promotions__why-choose-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 50px auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--glow-color);
}

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

.page-promotions__faq-item {
    background-color: var(--card-background);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--text-main);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: rgba(var(--primary-color), 0.1);
}

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

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--gold-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-section {
        padding: 10px 15px 50px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    }
    .page-promotions__content-area {
        padding: 50px 15px;
    }
}

@media (max-width: 768px) {
    /* Mobile image responsive adaptation - MUST be included */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions video,
    .page-promotions__video {
        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__categories-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__why-choose-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-final-section,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-promotions__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Mobile button responsive adaptation - MUST be included */
    .page-promotions__cta-button,
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        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;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .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-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        overflow: hidden !important;
    }

    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-promotions__intro-text {
        font-size: 1rem;
    }
    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .page-promotions__category-grid,
    .page-promotions__steps-container,
    .page-promotions__feature-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__step-number {
        top: -15px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        font-size: 0.95rem;
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-section {
        padding: 10px 10px 30px;
    }
    .page-promotions__content-area {
        padding: 40px 10px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .page-promotions__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
}