/* style/promotions.css */

/* Base styles for the page */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text on dark body background */
    background-color: #121212; /* Inherited from body, but good to define for sections */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.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: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

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

.page-promotions__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Main brand color */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-promotions__hero-button,
.page-promotions__cta-button,
.page-promotions__btn-primary {
    display: inline-block;
    background-color: #FFD700; /* Main brand color */
    color: #121212; /* Dark text on bright button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promotions__hero-button:hover,
.page-promotions__cta-button:hover,
.page-promotions__btn-primary:hover {
    background-color: #e0b800; /* Slightly darker gold on hover */
    color: #ffffff;
}

.page-promotions__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #FFD700; /* Main brand color */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid #FFD700;
    cursor: pointer;
}

.page-promotions__btn-secondary:hover {
    background-color: #FFD700;
    color: #121212;
}

/* General Section Styles */
.page-promotions__section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for sections */
    text-align: center;
}

.page-promotions__section:nth-of-type(even) {
    background-color: #222222; /* Alternate section background for visual separation */
}

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

.page-promotions__heading {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 30px;
}

.page-promotions__paragraph {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__paragraph--note {
    font-style: italic;
    font-size: 0.95em;
    color: #cccccc;
    margin-top: 30px;
}

.page-promotions__paragraph a {
    color: #FFD700;
    text-decoration: none;
}

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

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

.page-promotions__feature-item {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-promotions__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

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

.page-promotions__feature-description {
    color: #cccccc;
    font-size: 1em;
}

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

.page-promotions__card {
    background-color: #2a2a2a;
    border-radius: 8-px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-promotions__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

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

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

.page-promotions__card-description {
    color: #cccccc;
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    background-color: #8B0000; /* Auxiliary brand color */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-promotions__card-button:hover {
    background-color: #6a0000; /* Slightly darker red on hover */
}

/* How-To-Claim Section */
.page-promotions__steps-list {
    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: #2a2a2a;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.page-promotions__step-number {
    font-size: 2em;
    font-weight: bold;
    color: #FFD700;
    flex-shrink: 0;
}

.page-promotions__step-content {
    flex-grow: 1;
}

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

.page-promotions__step-description {
    color: #cccccc;
    font-size: 1em;
}

.page-promotions__step-description a {
    color: #FFD700;
    text-decoration: none;
}

.page-promotions__step-description a:hover {
    text-decoration: underline;
}

/* Terms Section */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.page-promotions__terms-item {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__terms-subtitle {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-promotions__terms-description {
    color: #cccccc;
    font-size: 1em;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
    text-align: left;
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #8B0000; /* Auxiliary brand color */
    color: #ffffff;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-question h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1em; /* Override default h3 size */
}

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

.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;
    color: #cccccc;
    background-color: #3a3a3a; /* Slightly different background for answer */
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 20px 25px;
}

.page-promotions__faq-answer p {
    margin: 0;
    padding-bottom: 10px; /* Adjust as needed */
}

.page-promotions__faq-answer a {
    color: #FFD700;
    text-decoration: none;
}

.page-promotions__faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-promotions__cta {
    background-color: #8B0000; /* Auxiliary brand color for a strong CTA */
    color: #ffffff;
    padding: 80px 0;
}

.page-promotions__cta .page-promotions__heading {
    color: #FFD700;
}

.page-promotions__cta .page-promotions__paragraph {
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }

    .page-promotions__heading {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

    .page-promotions__hero-title {
        font-size: 2em;
    }

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

    .page-promotions__heading {
        font-size: 1.8em;
    }

    .page-promotions__paragraph {
        font-size: 1em;
    }

    .page-promotions__features-grid,
    .page-promotions__promo-cards,
    .page-promotions__steps-list {
        grid-template-columns: 1fr;
    }

    .page-promotions__container {
        padding: 0 15px; /* Add side padding for mobile */
    }

    /* Images responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Image containers responsive */
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__feature-item,
    .page-promotions__promo-cards,
    .page-promotions__steps-list,
    .page-promotions__terms-list,
    .page-promotions__faq-list,
    .page-promotions__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no overflow */
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Special override for container padding to avoid double padding if section also has it */
    .page-promotions__section > .page-promotions__container,
    .page-promotions__hero-section > .page-promotions__hero-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }


    /* Buttons responsive */
    .page-promotions__hero-button,
    .page-promotions__cta-button,
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__card-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px !important; /* Adjust padding for smaller screens */
        font-size: 1em !important;
        margin-bottom: 10px; /* Space out stacked buttons */
    }

    /* Button groups responsive */
    .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;
      display: flex; /* Ensure flex for wrapping */
      flex-direction: column; /* Stack buttons vertically by default */
    }

    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 0 20px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__heading {
        font-size: 1.6em;
    }
    .page-promotions__hero-section {
        height: 400px;
    }
    .page-promotions__section {
        padding: 40px 0;
    }
}

/* Ensure contrast for links within paragraphs */
.page-promotions p a, .page-promotions li a {
    color: #FFD700;
    text-decoration: underline;
}

.page-promotions p a:hover, .page-promotions li a:hover {
    color: #e0b800;
}