/* style/promotions-latest-offers.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-promotions-latest-offers {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for the page, as body background is dark #121212 */
}

/* Sections with brand primary color background */
.page-promotions-latest-offers__dark-bg {
    background-color: #121212; /* Matching body background for consistency */
    color: #ffffff;
}

/* Sections with light background (e.g., cards, specific content blocks) */
.page-promotions-latest-offers__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

/* Text contrast fix for dark background */
.page-promotions-latest-offers__text-contrast-fix {
    color: #ffffff;
}

/* Hero Section */
.page-promotions-latest-offers__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
}

.page-promotions-latest-offers__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3;
}

.page-promotions-latest-offers__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-promotions-latest-offers__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions-latest-offers__hero-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* Call to Action Buttons */
.page-promotions-latest-offers__btn-primary,
.page-promotions-latest-offers__btn-secondary,
.page-promotions-latest-offers__video-cta,
.page-promotions-latest-offers__cta-button,
.page-promotions-latest-offers__contact-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-promotions-latest-offers__btn-primary,
.page-promotions-latest-offers__video-cta,
.page-promotions-latest-offers__cta-button {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-promotions-latest-offers__btn-primary:hover,
.page-promotions-latest-offers__video-cta:hover,
.page-promotions-latest-offers__cta-button:hover {
    background-color: #1a8ccb;
    transform: translateY(-2px);
}

.page-promotions-latest-offers__btn-secondary,
.page-promotions-latest-offers__contact-button {
    background-color: #ffffff;
    color: #26A9E0; /* Primary brand color */
    border: 2px solid #26A9E0;
}

.page-promotions-latest-offers__btn-secondary:hover,
.page-promotions-latest-offers__contact-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Video Section */
.page-promotions-latest-offers__video-section {
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
}

.page-promotions-latest-offers__video-container {
    width: 100%;
    max-width: 1000px; /* Max width for video content */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-promotions-latest-offers__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #000; /* Fallback for video area */
    width: 100%; /* Ensure width is 100% on desktop too */
    max-width: 100%;
    box-sizing: border-box;
}

.page-promotions-latest-offers__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Ensure video is a block element */
    cursor: pointer; /* Indicate it's clickable */
}

.page-promotions-latest-offers__video-description {
    font-size: 1em;
    margin-bottom: 30px;
}

/* Content Area General */
.page-promotions-latest-offers__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-promotions-latest-offers__section-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #26A9E0; /* Brand color for titles on light background */
}

.page-promotions-latest-offers__dark-bg .page-promotions-latest-offers__section-title {
    color: #ffffff; /* White for titles on dark background */
}

.page-promotions-latest-offers__text-block {
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.7;
    text-align: justify;
}

.page-promotions-latest-offers__text-link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-promotions-latest-offers__text-link:hover {
    color: #1a8ccb;
}

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

.page-promotions-latest-offers__card,
.page-promotions-latest-offers__step-card {
    background-color: #f8f9fa; /* Light background for cards */
    color: #333333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px; /* Ensure padding for content below image */
}

.page-promotions-latest-offers__card:hover,
.page-promotions-latest-offers__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions-latest-offers__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #e0e0e0;
}

.page-promotions-latest-offers__card-title,
.page-promotions-latest-offers__step-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #26A9E0;
    margin: 20px 20px 10px 20px;
}

.page-promotions-latest-offers__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-promotions-latest-offers__card-title a:hover {
    text-decoration: underline;
}

.page-promotions-latest-offers__card-description,
.page-promotions-latest-offers__step-description {
    font-size: 1em;
    color: #555555;
    padding: 0 20px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions-latest-offers__card .page-promotions-latest-offers__btn-secondary,
.page-promotions-latest-offers__step-card .page-promotions-latest-offers__btn-primary {
    margin: 0 20px;
    width: calc(100% - 40px);
}

/* Benefits List */
.page-promotions-latest-offers__benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions-latest-offers__benefit-item {
    background-color: #f0f8ff; /* Light blue background for list items */
    border-left: 5px solid #26A9E0;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: #333333;
    font-size: 1.05em;
}

.page-promotions-latest-offers__benefit-item strong {
    color: #26A9E0;
}

/* Terms List */
.page-promotions-latest-offers__terms-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 30px;
    color: #f0f0f0;
}

.page-promotions-latest-offers__terms-item {
    margin-bottom: 10px;
    font-size: 1em;
}

/* FAQ Section */
.page-promotions-latest-offers__faq-list {
    margin-top: 30px;
}

.page-promotions-latest-offers__faq-item {
    background-color: #f8f9fa;
    color: #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-promotions-latest-offers__faq-item summary {
    list-style: none; /* Hide default marker for details tag */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #e9f7ff; /* Lighter blue for summary */
    color: #26A9E0;
    border-bottom: 1px solid #d0e9fa;
    transition: background-color 0.3s ease;
}

.page-promotions-latest-offers__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-promotions-latest-offers__faq-item summary:hover {
    background-color: #d0e9fa;
}

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

.page-promotions-latest-offers__faq-item[open] .page-promotions-latest-offers__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions-latest-offers__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
    background-color: #ffffff;
}

/* Contact Section */
.page-promotions-latest-offers__contact-section {
    text-align: center;
    padding: 60px 20px;
}

.page-promotions-latest-offers__contact-button {
    margin: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-latest-offers__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-promotions-latest-offers__section-title {
        font-size: 1.8em;
    }
    .page-promotions-latest-offers__hero-content {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .page-promotions-latest-offers__hero-section,
    .page-promotions-latest-offers__video-section,
    .page-promotions-latest-offers__content-area,
    .page-promotions-latest-offers__cta-section,
    .page-promotions-latest-offers__contact-section {
        padding-left: 15px;
        padding-right: 15px;
    }

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

    /* Mobile video adaptation */
    .page-promotions-latest-offers video,
    .page-promotions-latest-offers__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-latest-offers__video-section,
    .page-promotions-latest-offers__video-container,
    .page-promotions-latest-offers__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-promotions-latest-offers__video-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    /* Mobile button adaptation */
    .page-promotions-latest-offers__btn-primary,
    .page-promotions-latest-offers__btn-secondary,
    .page-promotions-latest-offers a[class*="button"],
    .page-promotions-latest-offers 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-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Add some space between stacked buttons */
    }

    .page-promotions-latest-offers__cta-buttons,
    .page-promotions-latest-offers__button-group,
    .page-promotions-latest-offers__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

    .page-promotions-latest-offers__promotions-grid,
    .page-promotions-latest-offers__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions-latest-offers__card-image {
        height: 200px;
    }

    .page-promotions-latest-offers__hero-section {
        padding: 40px 15px;
    }

    .page-promotions-latest-offers__main-title {
        font-size: 2em;
    }

    .page-promotions-latest-offers__section-title {
        font-size: 1.6em;
    }

    .page-promotions-latest-offers__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-promotions-latest-offers__faq-answer {
        padding: 15px 20px;
    }
    .page-promotions-latest-offers__contact-button {
        margin: 5px 0;
    }
    .page-promotions-latest-offers__contact-section .page-promotions-latest-offers__btn-secondary {
        width: auto !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}