/* style/promotions.css */
.page-promotions {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Ensure body background is respected */
}

/* Header offset for main content */
.page-promotions__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first content section */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    color: #ffffff; /* Text on hero image overlay */
    background-color: #26A9E0; /* Fallback background for hero */
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 2;
}

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

.page-promotions__main-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-promotions__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-promotions__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%; /* Ensure button doesn't overflow */
}

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

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

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

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

.page-promotions__section {
    padding: 60px 0;
    text-align: center;
    background-color: #ffffff; /* Default light background */
    color: #333333; /* Default dark text */
}

.page-promotions__why-choose-us {
    background-color: #f9f9f9;
}

.page-promotions__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-promotions__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

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

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

.page-promotions__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-promotions__feature-icon {
    width: 200px; /* Display size, matches min requirement */
    height: 200px; /* Display size, matches min requirement */
    margin-bottom: 20px;
    object-fit: cover; /* Use cover for content images */
    border-radius: 8px; /* Soften edges */
}

.page-promotions__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-promotions__feature-text {
    color: #555555;
}

.page-promotions__types-of-promotions {
    background-color: #f0f8ff; /* Light blue background */
}

.page-promotions__promo-category {
    margin-bottom: 60px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__category-title {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 15px;
    text-align: center;
}

.page-promotions__category-text {
    font-size: 1.1em;
    color: #444444;
    margin-bottom: 20px;
    max-width: 800px;
    text-align: center;
}

.page-promotions__category-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

.page-promotions__how-to-claim {
    background-color: #ffffff;
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-promotions__step-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-promotions__step-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-promotions__step-text {
    color: #555555;
}

.page-promotions__step-text a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-promotions__important-note {
    font-style: italic;
    color: #777777;
    margin-top: 30px;
}

.page-promotions__current-promotions {
    background-color: #f0f8ff;
}

.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.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

.page-promotions__card-content {
    padding: 20px;
}

.page-promotions__card-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-promotions__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-promotions__card-title a:hover {
    text-decoration: underline;
}

.page-promotions__card-description {
    color: #555555;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.page-promotions__card-button {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    font-size: 1em;
}

.page-promotions__faq {
    background-color: #ffffff;
}

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

.page-promotions__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #e6f7ff; /* Lighter brand blue for summary */
    border-bottom: 1px solid #e0e0e0;
    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:hover {
    background-color: #d9edf7; /* Slightly darker on hover */
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: "−"; /* Change content on open (JS will handle this) */
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.page-promotions__cta-final {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 80px 0;
}

.page-promotions__cta-final .page-promotions__section-title {
    color: #ffffff;
}

.page-promotions__cta-final .page-promotions__section-description {
    color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 2.5em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Mobile image and video responsive rules */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__container,
    .page-promotions__promo-category,
    .page-promotions__promo-card,
    .page-promotions__faq-list,
    .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 !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-promotions__cta-group,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-promotions__cta-group {
        flex-direction: column;
    }

    .page-promotions__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset is applied */
    }
    .page-promotions__main-title {
        font-size: 2em;
    }
    .page-promotions__intro-text {
        font-size: 1em;
    }
    .page-promotions__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__cta-button {
        width: 100%;
        padding: 12px 20px;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-description {
        font-size: 1em;
    }
    .page-promotions__features-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__feature-icon {
        min-width: 200px !important;
        min-height: 200px !important;
        width: 100% !important; /* Ensure it scales */
        height: auto !important;
    }
    .page-promotions__category-title {
        font-size: 1.5em;
    }
    .page-promotions__category-text {
        font-size: 0.95em;
    }
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__promo-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 1.1em;
    }
    .page-promotions__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }
}

/* Ensure no filter on images */
.page-promotions img {
    filter: none;
}