/* style/promotions.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#0a0a0a) */
}

/* Container for main content, centered with max-width */
.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles */
    letter-spacing: -0.02em;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0d0d0d; /* Slightly lighter than body for contrast */
}

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

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.page-promotions__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promotions__intro-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Call to Action Buttons */
.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

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

/* Specific color for login button if applicable */
.page-promotions__btn-login {
    background-color: #EA7C07;
    border-color: #EA7C07;
    color: #ffffff;
}

.page-promotions__btn-login:hover {
    background-color: #bf6606;
    border-color: #bf6606;
}

/* Section Backgrounds */
.page-promotions__dark-bg {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-promotions__light-bg {
    background-color: #0d0d0d;
    color: #f0f0f0;
}

/* Card Grid for Promotion Types */
.page-promotions__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-promotions__card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__card-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #26A9E0;
}

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

/* Numbered List for How-To Section */
.page-promotions__numbered-list {
    list-style: none;
    counter-reset: my-counter;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-promotions__numbered-list li {
    counter-increment: my-counter;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-promotions__numbered-list li::before {
    content: counter(my-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #26A9E0;
    font-size: 1.2em;
    width: 30px;
    text-align: right;
}

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

.page-promotions__numbered-list a:hover {
    color: #1e87b7;
}

/* Bullet List for Terms & Conditions */
.page-promotions__bullet-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-promotions__bullet-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.05em;
    color: #f0f0f0;
}

.page-promotions__bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #26A9E0;
    font-size: 1.2em;
}

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-item summary {
    list-style: none;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-promotions__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: #26A9E0;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 25px;
    text-align: center;
    color: #ffffff;
}

.page-promotions__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.05em;
    color: #f0f0f0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__section-title {
        font-size: 2.2em;
    }
    .page-promotions__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-promotions__intro-text {
        font-size: 1.2em;
    }
    .page-promotions__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__hero-section {
        padding: 40px 0;
        padding-top: 10px !important;
    }
    .page-promotions__hero-content {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-promotions__intro-text {
        font-size: 1em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .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: 12px 20px;
    }
    .page-promotions__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 1.4em;
    }
    .page-promotions__numbered-list,
    .page-promotions__bullet-list {
        margin: 20px auto;
        padding-left: 0;
    }
    .page-promotions__numbered-list li,
    .page-promotions__bullet-list li {
        font-size: 1em;
        padding-left: 30px;
    }
    .page-promotions__numbered-list li::before,
    .page-promotions__bullet-list li::before {
        left: 0;
        width: 25px;
    }
    .page-promotions__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px 15px;
    }

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

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-promotions__video-section {
        padding-top: 10px !important;
    }
}

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