/* style/promotions.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A202C; /* Dark Blue/Grey */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212;
    --bg-light: #f9f9f9;
    --border-color: #333;
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --card-bg-light: #ffffff;
}

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

/* Fixed header padding */
.page-promotions__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Desktop: Adjust based on actual header height */
    box-sizing: border-box;
}

.page-promotions__video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-promotions__video-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    object-fit: cover;
    pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-promotions__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.page-promotions__video-link:hover .page-promotions__video-overlay {
    opacity: 1;
}

.page-promotions__video-click-hint {
    color: var(--text-light);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.8); /* Using primary color with transparency */
    border-radius: 5px;
    white-space: nowrap;
}

.page-promotions__video-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.page-promotions__play-now-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color); /* Gold */
    color: var(--secondary-color); /* Dark text for contrast */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
}

.page-promotions__play-now-button:hover {
    background: #e0b800; /* Darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-promotions__play-now-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-promotions__title-section {
    background-color: var(--secondary-color); /* Dark background for title section */
    padding: 80px 20px;
    text-align: center;
    color: var(--text-light);
    box-sizing: border-box;
}

.page-promotions__title-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color); /* Gold H1 for impact */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__title-description {
    font-size: 1.15em;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color); /* Gold */
    color: var(--secondary-color); /* Dark text for contrast */
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button:hover {
    background: #e0b800; /* Darker gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__content-section {
    padding: 80px 20px;
    box-sizing: border-box;
}

.page-promotions__content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color); /* Gold */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-promotions__section-description {
    font-size: 1.05em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    opacity: 0.85;
}

.page-promotions__dark-bg {
    background-color: var(--secondary-color); /* Dark blue/grey */
    color: var(--text-light);
}

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

.page-promotions__promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-promotions__promotion-card {
    background: var(--card-bg-dark); /* Semi-transparent dark card */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-promotions__promotion-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: var(--primary-color); /* Gold */
    margin-bottom: 15px;
}

.page-promotions__card-text {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    opacity: 0.8;
}

.page-promotions__card-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color); /* Gold */
    color: var(--secondary-color); /* Dark text for contrast */
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9em;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-button:hover {
    background: #e0b800; /* Darker gold */
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.page-promotions__step-item {
    background: var(--card-bg-dark); /* Semi-transparent dark card */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__step-icon {
    width: 120px; /* Increased size for content image, not icon */
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--primary-color)); /* Subtle glow */
}

.page-promotions__step-title {
    font-size: 1.3em;
    color: var(--primary-color); /* Gold */
    margin-bottom: 10px;
}

.page-promotions__step-text {
    font-size: 0.95em;
    opacity: 0.8;
}

.page-promotions__reason-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.page-promotions__reason-list li {
    background: var(--card-bg-dark); /* Semi-transparent dark card */
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    font-size: 1.05em;
    line-height: 1.7;
    border-left: 5px solid var(--primary-color); /* Gold accent */
}

.page-promotions__reason-list li strong {
    color: var(--primary-color);
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 20px;
    box-sizing: border-box;
}

.page-promotions__faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--card-bg-light); /* Light background for FAQ items */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    color: var(--text-dark);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important; /* Ensure it expands */
    padding: 20px !important;
    opacity: 1;
    background: #f0f0f0;
    border-radius: 0 0 5px 5px;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-promotions__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-promotions__faq-question:active {
    background: #eeeeee;
}

.page-promotions__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
}

.page-promotions__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color); /* Gold toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    color: var(--secondary-color); /* Darker toggle when active */
    transform: rotate(45deg);
}

/* Brand Section */
.page-promotions__brand-section {
    padding: 80px 20px;
    box-sizing: border-box;
}

.page-promotions__brand-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__brand-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-promotions__brand-item {
    background: var(--card-bg-dark); /* Semi-transparent dark card */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__brand-icon {
    width: 150px; /* Large image, not icon */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); /* Gold glow */
}

.page-promotions__brand-item h3 {
    font-size: 1.6em;
    color: var(--primary-color); /* Gold */
    margin-bottom: 15px;
}

.page-promotions__brand-item p {
    font-size: 1em;
    opacity: 0.8;
}

/* Blog Section */
.page-promotions__blog-section {
    padding: 80px 20px;
    box-sizing: border-box;
}

.page-promotions__blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-promotions__blog-item {
    background: var(--card-bg-light); /* Light card for blog */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__blog-link {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
}

.page-promotions__blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-promotions__blog-item-title {
    font-size: 1.3em;
    margin: 20px 20px 10px 20px;
    color: var(--secondary-color); /* Dark title */
}

.page-promotions__blog-item-excerpt {
    font-size: 0.9em;
    margin: 0 20px 15px 20px;
    line-height: 1.5;
    color: #555;
}

.page-promotions__blog-item-date {
    display: block;
    font-size: 0.8em;
    color: #888;
    margin: 0 20px 20px 20px;
    text-align: right;
}

/* General responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions__video-section {
        padding-top: 10px !important; /* Mobile: Adjust based on mobile header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-promotions__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    
    .page-promotions__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 4px;
        overflow: hidden !important;
    }
    
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
        object-fit: contain;
    }
    
    .page-promotions__video-cta {
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .page-promotions__play-now-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 30px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__title-section,
    .page-promotions__content-section,
    .page-promotions__faq-section,
    .page-promotions__brand-section,
    .page-promotions__blog-section {
        padding: 40px 15px;
    }

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

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

    .page-promotions__title-description,
    .page-promotions__section-description,
    .page-promotions__card-text,
    .page-promotions__step-text,
    .page-promotions__reason-list li,
    .page-promotions__brand-item p,
    .page-promotions__blog-item-excerpt {
        font-size: 0.95em;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__cta-button {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px;
        font-size: 1em;
        white-space: normal;
        word-wrap: break-word;
    }

    .page-promotions__promotion-grid,
    .page-promotions__steps-grid,
    .page-promotions__brand-content,
    .page-promotions__blog-list {
        grid-template-columns: 1fr;
    }

    .page-promotions__promotion-card,
    .page-promotions__step-item,
    .page-promotions__brand-item,
    .page-promotions__blog-item {
        padding: 20px;
    }

    .page-promotions__promotion-image,
    .page-promotions__step-icon,
    .page-promotions__brand-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }

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

    .page-promotions__card-button {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal;
        word-wrap: break-word;
    }

    .page-promotions__faq-question {
        padding: 15px;
    }

    .page-promotions__faq-question h3 {
        font-size: 1em;
    }

    .page-promotions__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }

    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px !important;
    }

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

    /* Ensure all images are responsive */
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__video-overlay {
        opacity: 1; /* Always show hint on mobile */
        background: rgba(0, 0, 0, 0.5); /* Darker overlay */
    }
    .page-promotions__video-click-hint {
        font-size: 16px;
        padding: 8px 15px;
    }
}

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