/* style/promotions.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-login: #EA7C07;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

.page-promotions {
    background-color: var(--bg-light); /* Light background for content area to ensure dark text readability */
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0d0d0d; /* Dark background for hero section */
    color: var(--text-light);
}

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

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center; /* Ensures image content is central */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 40px auto 0 auto; /* Margin top to separate from image */
    padding: 0 20px;
}

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

.page-promotions__description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    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(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.page-promotions__section {
    padding: 60px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

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

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

.page-promotions__text-block {
    font-size: 1.05rem;
    margin-bottom: 25px;
    text-align: justify;
}

.page-promotions__highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.page-promotions__inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-promotions__inline-link:hover {
    color: darken(var(--primary-color), 10%);
    text-decoration: underline;
}

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

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

.page-promotions__promo-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;
    display: block;
}

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

.page-promotions__card-description {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    width: 100%;
}

.page-promotions__card-features li {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.page-promotions__card-features li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 0.95rem;
    margin-top: auto; /* Push button to bottom */
}

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

.page-promotions__promo-item {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.page-promotions__promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__item-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-promotions__item-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__item-description {
    font-size: 0.95rem;
    color: var(--text-dark);
    flex-grow: 1;
    text-align: justify;
}

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

.page-promotions__vip-benefit-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

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

.page-promotions__step-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.page-promotions__step-number {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(var(--primary-color), 0.3);
}

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

.page-promotions__step-description {
    font-size: 0.95rem;
    color: var(--text-dark);
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__faq-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

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

.page-promotions__faq-item {
    background-color: var(--secondary-color);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-promotions__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
    background-color: #f0f0f0;
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--primary-color);
}

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

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

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    }

    .page-promotions__hero-image {
        max-height: 300px;
    }

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

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

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

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__section {
        padding: 40px 0;
    }

    .page-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-promotions__text-block {
        font-size: 0.95rem;
    }

    .page-promotions__promo-cards,
    .page-promotions__promo-grid,
    .page-promotions__vip-benefits-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-promotions__card-image,
    .page-promotions__item-image {
        height: 150px;
    }

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

    .page-promotions__card-description,
    .page-promotions__item-description,
    .page-promotions__step-description {
        font-size: 0.9rem;
    }

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

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

    .page-promotions__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* Ensure all images are responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-content {
        margin-top: 20px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 9vw, 2.2rem);
    }

    .page-promotions__description {
        font-size: 0.9rem;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 10px 15px;
        font-size: 0.95rem;
    }

    .page-promotions__section-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }
}