/* style/promotions.css */

/* Base Styles & Typography */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f5f5f5;
}

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

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

.page-promotions__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-promotions__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-promotions__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit;
    font-weight: bold;
}

.page-promotions__section-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    overflow: hidden;
    background-color: #26A9E0; /* Primary color background */
    color: #ffffff;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 600px;
    padding: 20px;
}

.page-promotions__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-promotions__description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

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

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* CTA Button */
.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background-color: #EA7C07; /* Login/CTA color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-promotions__btn-primary:hover {
    background-color: #d16b06;
    transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
    background-color: #e0f2f7;
    transform: translateY(-2px);
}

/* Grid Layouts */
.page-promotions__grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

/* Feature Card */
.page-promotions__feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    color: #333333;
    transition: transform 0.3s ease;
}

.page-promotions__feature-card:hover {
    transform: translateY(-10px);
}

.page-promotions__feature-card .page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-promotions__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-promotions__promo-card .page-promotions__card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-promotions__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
    color: inherit;
}

.page-promotions__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: inherit;
}

.page-promotions__card-button {
    margin-top: auto; /* Push button to bottom */
}

/* How-To-Claim Section */
.page-promotions__step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__step-item {
    background-color: #f0f0f0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.page-promotions__step-item:hover {
    background-color: #e8e8e8;
}

.page-promotions__step-icon {
    width: 60px;
    height: 60px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 20px;
}

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

.page-promotions__step-text {
    font-size: 1em;
    color: #555555;
}

.page-promotions__button-group {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Terms & Info Cards */
.page-promotions__info-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__info-card .page-promotions__card-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__info-card .page-promotions__card-text {
    font-size: 1em;
    line-height: 1.7;
}

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 900px;
    margin: 50px auto 0;
    text-align: left;
}

.page-promotions__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

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

/* Bottom CTA Section */
.page-promotions__cta-bottom {
    padding: 80px 0;
}

.page-promotions__cta-bottom .page-promotions__section-title {
    font-size: 3em;
    margin-bottom: 25px;
}

.page-promotions__cta-bottom .page-promotions__section-intro {
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        max-width: 500px;
    }
    .page-promotions__title {
        font-size: 2.8em;
    }
    .page-promotions__description {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-promotions__hero-content {
        max-width: 100%;
        text-align: center;
        padding: 20px 15px;
    }
    .page-promotions__title {
        font-size: 2.2em;
    }
    .page-promotions__description {
        font-size: 1em;
    }
    .page-promotions__hero-image-wrapper {
        position: relative;
        height: 250px;
        width: 100%;
        order: -1; /* Move image above content on mobile */
    }
    .page-promotions__hero-image {
        opacity: 0.6;
    }

    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-promotions__grid-3-cols, .page-promotions__grid-2-cols, .page-promotions__promo-grid, .page-promotions__step-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__feature-card, .page-promotions__promo-card, .page-promotions__step-item, .page-promotions__info-card {
        padding: 20px;
    }

    .page-promotions__card-title {
        font-size: 1.4em;
    }
    .page-promotions__card-text {
        font-size: 0.9em;
    }

    .page-promotions__step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
    .page-promotions__step-title {
        font-size: 1.3em;
    }

    .page-promotions__button-group {
        flex-direction: column;
        gap: 15px;
    }

    .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;
    }

    .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 img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }

    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-promotions__faq-answer {
        padding: 15px 20px;
    }

    .page-promotions__cta-bottom .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__cta-bottom .page-promotions__section-intro {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-promotions__title {
        font-size: 1.8em;
    }
    .page-promotions__description {
        font-size: 0.9em;
    }
    .page-promotions__section-title {
        font-size: 1.6em;
    }
    .page-promotions__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }
}