/* style/promotions.css */

/* General page styling */
.page-promotions {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* #F2FFF6 */
    background-color: var(--background-color); /* #08160F from shared */
    line-height: 1.6;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--text-main-color); /* #F2FFF6 */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-promotions__section-description {
    font-size: 1.1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    background-color: var(--deep-green-color); /* #0A4B2C */
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding as body handles header offset */
}

.page-promotions__hero-image {
    width: 100%;
    max-height: 675px; /* Adjust as needed for visual balance */
    object-fit: cover;
    display: block;
    margin-bottom: 40px; /* Space between image and text content */
}

.page-promotions__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    color: var(--text-main-color); /* #F2FFF6 */
}

.page-promotions__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -1px;
}

.page-promotions__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary-color); /* #A7D9B8 */
    margin-bottom: 30px;
    line-height: 1.5;
}

/* CTA Buttons */
.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* For mobile responsiveness */
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box; /* For mobile responsiveness */
    overflow: hidden; /* For mobile responsiveness */
}

.page-promotions__cta-buttons--centered {
    margin-top: 40px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-claim {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
    max-width: 100%; /* For mobile responsiveness */
    width: auto; /* Default width */
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--gold-color); /* #F2C14E */
    color: var(--deep-green-color); /* #0A4B2C */
}

.page-promotions__btn-claim {
    background: var(--glow-color); /* #57E38D */
    color: var(--deep-green-color); /* #0A4B2C */
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    font-weight: 600;
}

.page-promotions__btn-claim:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 80px 0;
    background-color: var(--background-color); /* #08160F */
}

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

.page-promotions__feature-card {
    background-color: var(--card-bg-color); /* #11271B */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color); /* #F2FFF6 */
}

.page-promotions__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: var(--deep-green-color); /* #0A4B2C */
    padding: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__feature-title {
    font-size: 1.5em;
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__feature-text {
    font-size: 1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
}

/* Current Offers Section */
.page-promotions__current-offers-section {
    padding: 80px 0;
    background-color: var(--deep-green-color); /* #0A4B2C */
}

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

.page-promotions__offer-card {
    background-color: var(--card-bg-color); /* #11271B */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color); /* #F2FFF6 */
    display: flex;
    flex-direction: column;
}

.page-promotions__offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__offer-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__offer-title {
    font-size: 1.3em;
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__offer-title a {
    color: var(--gold-color); /* #F2C14E */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__offer-title a:hover {
    color: var(--glow-color); /* #57E38D */
}

.page-promotions__offer-description {
    font-size: 0.95em;
    color: var(--text-secondary-color); /* #A7D9B8 */
    margin-bottom: 20px;
    flex-grow: 1;
}

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

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: var(--background-color); /* #08160F */
}

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

.page-promotions__step-card {
    background-color: var(--card-bg-color); /* #11271B */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-main-color); /* #F2FFF6 */
    position: relative;
    padding-top: 60px;
}

.page-promotions__step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--glow-color); /* #57E38D */
    color: var(--deep-green-color); /* #0A4B2C */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__step-title {
    font-size: 1.4em;
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__step-text {
    font-size: 1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
}

.page-promotions__step-text a {
    color: var(--glow-color); /* #57E38D */
    text-decoration: underline;
}

.page-promotions__step-text a:hover {
    color: var(--gold-color); /* #F2C14E */
}

/* Terms and Conditions Section */
.page-promotions__terms-conditions-section {
    padding: 80px 0;
    background-color: var(--deep-green-color); /* #0A4B2C */
}

.page-promotions__terms-list {
    list-style: disc inside;
    color: var(--text-secondary-color); /* #A7D9B8 */
    max-width: 800px;
    margin: 40px auto;
    padding-left: 20px;
}

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

.page-promotions__read-more-cta {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: var(--background-color); /* #08160F */
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-promotions__faq-item {
    background-color: var(--card-bg-color); /* #11271B */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-main-color); /* #F2FFF6 */
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--gold-color); /* #F2C14E */
    cursor: pointer;
    background-color: var(--card-bg-color); /* #11271B */
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: var(--deep-green-color); /* #0A4B2C */
}

/* For details tag */
.page-promotions__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-promotions__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--glow-color); /* #57E38D */
    margin-left: 15px;
}

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

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

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


/* Join Us Section */
.page-promotions__join-us-section {
    padding: 80px 0;
    background-color: var(--deep-green-color); /* #0A4B2C */
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__hero-image {
        max-height: 500px;
    }
}

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