/* style/promotions.css */

/* Custom Colors */
:root {
    --promotions-bg-color: #08160F;
    --promotions-card-bg: #11271B;
    --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;
    --promotions-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the promotions page */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--promotions-text-main); /* Default text color for the page content */
    background-color: var(--promotions-bg-color); /* Page background from custom color */
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom for spacing */
}

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

.page-promotions__section-title {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    color: var(--promotions-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-promotions__text-block {
    color: var(--promotions-text-secondary);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    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;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.page-promotions__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem); /* Responsive H1 font size */
    color: var(--promotions-gold-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

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

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

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

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

.page-promotions__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    color: var(--promotions-text-main);
    transform: translateY(-3px);
}

/* Why Choose Us Section */
.page-promotions__why-choose-us {
    background-color: var(--promotions-deep-green);
    padding: 80px 0;
}

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

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

.page-promotions__feature-icon {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

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

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

/* Promotion Types Section */
.page-promotions__promotion-types {
    padding: 80px 0;
}

.page-promotions__type-category {
    margin-bottom: 60px;
}

.page-promotions__type-title {
    font-size: clamp(1.6rem, 2.2vw, 2.5rem);
    color: var(--promotions-glow-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(87, 227, 141, 0.3);
}

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

.page-promotions__offer-card {
    background-color: var(--promotions-card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--promotions-border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-promotions__offer-image {
    width: 100%;
    height: auto;
    max-height: 200px; /* Ensure images are not too tall */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-promotions__offer-name {
    font-size: 1.3rem;
    color: var(--promotions-gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__offer-desc {
    color: var(--promotions-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__offer-card .page-promotions__btn-primary {
    width: 100%;
    max-width: 200px;
    margin-top: auto; /* Push button to bottom */
}

/* How To Claim Section */
.page-promotions__how-to-claim {
    background-color: var(--promotions-deep-green);
    padding: 80px 0;
}

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

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

.page-promotions__step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--promotions-glow-color);
    margin-bottom: 15px;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--promotions-deep-green);
    border: 2px solid var(--promotions-glow-color);
}

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

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

.page-promotions__center-cta {
    text-align: center;
    margin-top: 50px;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
    padding: 80px 0;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 25px;
}

.page-promotions__terms-list li {
    background-color: var(--promotions-card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--promotions-border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-promotions__term-heading {
    font-size: 1.2rem;
    color: var(--promotions-gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__terms-list p {
    color: var(--promotions-text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: var(--promotions-deep-green);
    padding: 80px 0;
}

.page-promotions__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-promotions__faq-item {
    background-color: var(--promotions-card-bg);
    border: 1px solid var(--promotions-border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-promotions__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--promotions-gold-color);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.2);
}

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

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

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--promotions-glow-color);
}

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

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

/* Conclusion CTA Section */
.page-promotions__conclusion-cta {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-image-wrapper {
        max-height: 500px;
    }
}

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

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

    .page-promotions__hero-image-wrapper {
        max-height: 400px;
        margin-bottom: 30px;
    }

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

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

    .page-promotions__description {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
    }

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

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-promotions__text-block {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-promotions__feature-icon,
    .page-promotions__offer-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__feature-item,
    .page-promotions__offer-card,
    .page-promotions__step-item,
    .page-promotions__terms-list li,
    .page-promotions__faq-item {
        padding: 20px;
    }

    .page-promotions__type-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 30px;
    }

    .page-promotions__offer-name,
    .page-promotions__feature-title,
    .page-promotions__step-title {
        font-size: 1.2rem;
    }

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

    .page-promotions__faq-toggle {
        font-size: 1.5rem;
    }

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

    .page-promotions__faq-answer p {
        font-size: 0.95rem;
    }

    .page-promotions__why-choose-us,
    .page-promotions__promotion-types,
    .page-promotions__how-to-claim,
    .page-promotions__terms-conditions,
    .page-promotions__faq-section,
    .page-promotions__conclusion-cta {
        padding: 50px 0;
    }
}