/* style/promotions.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --background-color-light: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --border-color: #e0e0e0;
}

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

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

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 30px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-promotions__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions__main-title {
    font-size: clamp(2em, 3.5vw, 3em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

.page-promotions__subtitle {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-color-light);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-promotions__btn-secondary {
    background-color: var(--primary-color);
    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__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-promotions__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: inherit;
}

.page-promotions__promotions-list {
    padding: 60px 0;
}

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

.page-promotions__promotion-card {
    background-color: var(--secondary-color);
    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;
    color: var(--text-color-dark);
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
}

.page-promotions__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.page-promotions__card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-promotions__card-title a:hover {
    text-decoration: underline;
}

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

.page-promotions__card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-promotions__card-button:hover {
    background-color: #1e87b9; /* Slightly darker primary color */
}

.page-promotions__exclusive-offers {
    padding: 60px 0;
}

.page-promotions__offer-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-promotions__offer-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    color: var(--text-color-light);
}

.page-promotions__offer-item::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

.page-promotions__how-to-claim {
    padding: 60px 0;
}

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

.page-promotions__step-item {
    background-color: var(--secondary-color);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-color-dark);
}

.page-promotions__step-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-promotions__step-text {
    font-size: 1em;
}

.page-promotions__step-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__step-text a:hover {
    text-decoration: underline;
}

.page-promotions__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-promotions__faq-section {
    padding: 60px 0;
}

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-color-light);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
    list-style: none; /* For details summary */
}

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

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

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    font-weight: normal;
}

.page-promotions__faq-answer {
    padding: 15px 25px 25px 25px;
    font-size: 1em;
    line-height: 1.5;
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__cta-bottom {
    padding: 60px 0;
    text-align: center;
}

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

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__hero-section {
        padding: 10px 15px 40px 15px;
    }
    .page-promotions__hero-content {
        padding: 0 15px;
    }
    .page-promotions__main-title {
        font-size: 2em;
        line-height: 1.3;
    }
    .page-promotions__subtitle {
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-description {
        font-size: 0.95em;
    }
    .page-promotions__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__card-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__card-image {
        height: 200px;
    }
    .page-promotions__offer-item {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-promotions__step-title {
        font-size: 1.4em;
    }
    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-toggle {
        font-size: 1.2em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
        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-left: 15px;
        padding-right: 15px;
    }
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__video-section {
        padding-top: 10px !important;
    }
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}