/* style/promotions.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f8f8;
    --background-dark: #1a1a1a;
    --accent-login: #EA7C07;
    --gray-border: #e0e0e0;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default for light background sections */
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0;
    background-color: var(--background-dark);
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-promotions__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    max-width: 900px;
    width: 90%;
    color: var(--text-light);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-promotions__intro-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    max-width: 800px;
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-promotions__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-promotions__btn-tertiary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-promotions__btn-tertiary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

.page-promotions__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-promotions__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.page-promotions__dark-bg .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__section-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__promo-card,
.page-promotions__step-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

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

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

.page-promotions__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions__card-text {
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--background-dark);
    color: var(--text-light);
    box-sizing: border-box;
}

.page-promotions__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
}

.page-promotions__video-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    margin-bottom: 30px;
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
}

.page-promotions__video-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__btn-video-cta {
    background-color: var(--accent-login);
    border-color: var(--accent-login);
    color: var(--secondary-color);
}

.page-promotions__btn-video-cta:hover {
    background-color: darken(var(--accent-login), 10%);
    border-color: darken(var(--accent-login), 10%);
}

.page-promotions__important-notes-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
}

.page-promotions__important-notes-list li {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-light);
}

.page-promotions__important-notes-list li strong {
    color: var(--secondary-color);
}

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

.page-promotions__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-promotions__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    color: var(--primary-color);
}

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

.page-promotions__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: '−';
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

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

.page-promotions__cta-section {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
}

.page-promotions__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__cta-content .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__cta-content .page-promotions__section-description {
    color: var(--text-light);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        max-width: 80%;
    }
}

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

    .page-promotions__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-promotions__hero-content {
        position: static;
        transform: none;
        width: 100%;
        padding: 20px 15px;
        background-color: rgba(0, 0, 0, 0.6);
    }

    .page-promotions__hero-image-wrapper {
        position: relative;
        margin-bottom: -1px; /* Overlap slightly with content below */
    }

    .page-promotions__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-promotions__intro-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-tertiary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__content-area,
    .page-promotions__cta-section {
        padding: 40px 15px;
    }

    .page-promotions__section-title {
        font-size: 2rem;
    }

    .page-promotions__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-promotions__promotions-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .page-promotions__card-image {
        height: 180px;
    }

    .page-promotions__card-title {
        font-size: 1.3rem;
    }

    .page-promotions__video-section {
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0;
        overflow: hidden !important;
    }

    .page-promotions__video-wrapper {
        padding-bottom: 56.25% !important; /* 16:9 Aspect Ratio */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 8px;
    }

    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .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__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .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;
        overflow-x: hidden !important;
    }

    .page-promotions__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-promotions__faq-answer {
        padding: 0 20px 15px;
    }

    .page-promotions__important-notes-list li {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.8rem;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
    }

    .page-promotions__section-title {
        font-size: 1.8rem;
    }

    .page-promotions__card-title {
        font-size: 1.2rem;
    }
}