/* style/promotions.css */

/* Base styles for the promotions page content */
.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f8f8f8; /* Slightly off-white for sections */
    padding-bottom: 40px;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    background-color: #ffffff; /* Ensure light background for text content */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
}

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

.page-promotions__hero-content {
    position: relative; /* Ensure content is in normal flow */
    max-width: 900px;
    margin-top: 40px; /* Space between image and content */
    padding: 0 20px;
}

.page-promotions__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: #26A9E0; /* Brand color for H1 */
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-promotions__hero-description {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Section Titles */
.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-promotions__text-block {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #333333;
}

/* Intro Section */
.page-promotions__intro-section {
    background-color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-promotions__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__feature-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease;
    min-height: 200px; /* Ensure min height for card */
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
}

.page-promotions__feature-title {
    font-size: 1.4rem;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__feature-item p {
    font-size: 1rem;
    color: #555555;
}

/* Promotion Types Section */
.page-promotions__types-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

.page-promotions__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 450px; /* Ensure min height for card */
}

.page-promotions__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-promotions__promo-image {
    width: 100%;
    height: 225px; /* Fixed height for consistent card image */
    object-fit: cover;
    display: block;
}

.page-promotions__promo-card .page-promotions__card-title {
    font-size: 1.3rem;
    color: #26A9E0;
    padding: 20px 20px 10px 20px;
    font-weight: 600;
}

.page-promotions__promo-card .page-promotions__card-description {
    font-size: 1rem;
    color: #555555;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__card-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 12px 20px;
    background-color: #26A9E0;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 600;
    box-sizing: border-box;
}

.page-promotions__promo-card .page-promotions__card-button:hover {
    background-color: #1e87c0;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff; /* White text for brand color background */
    padding: 60px 0;
}

.page-promotions__how-to-claim-section .page-promotions__section-title {
    color: #ffffff;
}

.page-promotions__how-to-claim-section .page-promotions__text-block {
    color: #f0f0f0;
}

.page-promotions__claim-steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__step-item {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-align: left;
    min-height: 220px; /* Ensure min height for step item */
}

.page-promotions__step-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-promotions__step-item p {
    font-size: 1rem;
    color: #f0f0f0;
}

/* Terms and Conditions Section */
.page-promotions__terms-conditions-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__terms-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;
    min-height: 200px; /* Ensure min height for terms item */
}

.page-promotions__terms-heading {
    font-size: 1.4rem;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__terms-item p {
    font-size: 1rem;
    color: #555555;
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

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

.page-promotions__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.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-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: #26A9E0; /* FAQ question text in brand color */
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #26A9E0;
    margin-left: 15px;
    line-height: 1;
}

.page-promotions__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1rem;
    color: #555555;
    background-color: #fdfdfd;
}

/* Common Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}

.page-promotions__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-promotions__cta-buttons--center {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-promotions__hero-image-wrapper {
        max-height: 500px;
    }
    .page-promotions__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}

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

    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__hero-section {
        padding-top: 10px !important; /* body already handles offset */
        padding-bottom: 40px;
    }

    .page-promotions__hero-image-wrapper {
        max-height: 350px;
    }

    .page-promotions__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-top: 30px;
    }

    .page-promotions__hero-description {
        font-size: 1rem;
    }

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

    /* All images */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
    }

    /* All image containers */
    .page-promotions__hero-image-wrapper,
    .page-promotions__promo-card,
    .page-promotions__feature-item,
    .page-promotions__step-item,
    .page-promotions__terms-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-promotions__promo-card {
        min-height: auto; /* Allow height to adjust on mobile */
    }
    .page-promotions__feature-item,
    .page-promotions__step-item,
    .page-promotions__terms-item {
        min-height: auto;
        padding: 20px;
    }

    /* All video containers (if any) */
    .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,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All buttons */
    .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; /* Ensure padding for full-width buttons */
        padding-right: 15px;
    }

    /* Button containers */
    .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-wrap: wrap !important;
        gap: 10px;
    }
    .page-promotions__cta-buttons--center {
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    .page-promotions__section-title {
        padding-top: 30px;
        margin-bottom: 30px;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px 15px 20px;
    }
}