/* style/promotions.css */

/* General styles for the promotions page */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #26A9E0; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for body text */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom */
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a); /* Dark gradient background */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for hero image */
    margin-bottom: 30px;
}

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

.page-promotions__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: #FFFFFF;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.page-promotions__description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    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, color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-promotions__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

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

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

/* Intro Section */
.page-promotions__intro-section {
    padding: 60px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background */
}

/* Promotion Types Section */
.page-promotions__promotion-types {
    padding: 60px 0;
    background-color: #121212; /* Match body background */
}

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

.page-promotions__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff; /* Light text for card content */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-promotions__card-image {
    width: 100%;
    max-width: 400px; /* Constrain card image width */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
}

.page-promotions__card-title {
    font-size: 1.6em;
    color: #26A9E0; /* Brand primary color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__card-text {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 25px;
    flex-grow: 1; /* Make text block grow to push button to bottom */
}

/* Guide Section */
.page-promotions__guide-section {
    padding: 60px 0;
    background-color: #0d0d0d;
}

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

.page-promotions__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-promotions__step-text {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.page-promotions__important-notes {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-promotions__notes-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.page-promotions__notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-promotions__notes-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #e0e0e0;
    text-align: left;
}

.page-promotions__notes-list li strong {
    color: #FFFFFF;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: #121212;
}

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

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

.page-promotions__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-promotions__faq-qtext {
    flex-grow: 1;
    text-align: left;
    color: #26A9E0; /* Primary color for questions */
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFFFFF;
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    color: #e0e0e0;
    text-align: left;
}

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

/* Call to Action Section */
.page-promotions__call-to-action {
    padding: 60px 0;
    background-color: #0d0d0d;
    text-align: center;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

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

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

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-promotions__hero-section,
    .page-promotions__intro-section,
    .page-promotions__promotion-types,
    .page-promotions__guide-section,
    .page-promotions__faq-section,
    .page-promotions__call-to-action {
        padding: 40px 0;
    }

    .page-promotions__grid,
    .page-promotions__steps {
        grid-template-columns: 1fr;
    }

    .page-promotions__card,
    .page-promotions__step-item,
    .page-promotions__important-notes {
        padding: 20px;
    }

    .page-promotions__card-title,
    .page-promotions__step-title,
    .page-promotions__notes-title {
        font-size: 1.4em;
    }

    .page-promotions__card-image {
        max-width: 100%;
    }

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

    .page-promotions__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }
    
    /* Mobile image and video responsiveness */
    .page-promotions img {
      max-width: 100% !important;
      width: 100% !important; /* Added for strictness */
      height: auto !important;
      display: block !important;
    }
    
    .page-promotions video,
    .page-promotions__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .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: hidden !important; /* Ensure no overflow */
    }

    .page-promotions__video-section {
        padding-top: 10px !important; /* Small top padding for video section */
    }
    
    .page-promotions__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}