/* style/promotions.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-on-dark: #FFFFFF;
    --text-on-light: #333333;
    --btn-register-bg: #C30808;
    --btn-register-text: #FFFF00;
    --body-bg: #121212; /* Inherited from shared.css, used for context */
}

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

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
    box-sizing: border-box;
}

.page-promotions__hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    color: var(--text-on-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    color: var(--text-on-dark);
    margin-bottom: 40px;
}

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

/* Buttons */
.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, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-promotions__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-on-dark);
    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-on-dark);
}

/* Section Titles and Text */
.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--text-on-dark);
    text-align: center;
    margin-bottom: 30px;
    margin-top: 60px;
}

.page-promotions__section-text {
    font-size: 1.1em;
    color: var(--text-on-dark);
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__introduction-section,
.page-promotions__terms-section,
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

.page-promotions__dark-section {
    background-color: var(--primary-color);
    color: var(--text-on-dark);
    padding: 60px 0;
}

.page-promotions__dark-section .page-promotions__section-title,
.page-promotions__dark-section .page-promotions__section-text,
.page-promotions__dark-section .page-promotions__feature-title,
.page-promotions__dark-section .page-promotions__feature-description {
    color: var(--text-on-dark);
}

/* Promo Grid */
.page-promotions__promo-grid-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

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

.page-promotions__promo-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark bg */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__promo-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: var(--text-on-dark);
}

.page-promotions__promo-card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions__promo-card-description {
    font-size: 1em;
    color: var(--text-on-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-promotions__vip-item {
    text-align: center;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: var(--text-on-dark);
}

.page-promotions__vip-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__vip-item-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-promotions__vip-item-description {
    font-size: 1em;
    color: var(--text-on-dark);
}

/* Terms Section */
.page-promotions__terms-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

.page-promotions__term-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    color: var(--text-on-dark);
}

.page-promotions__term-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions__term-description {
    font-size: 1em;
    color: var(--text-on-dark);
}

.page-promotions__terms-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions__terms-section a:hover {
    color: darken(var(--primary-color), 10%);
}

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 60px 0;
}

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

.page-promotions__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: var(--text-on-dark);
}

.page-promotions__feature-image {
    width: 100%;
    max-width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__feature-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-promotions__feature-description {
    font-size: 1em;
    color: var(--text-on-dark);
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

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

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 3em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-promotions__section-text {
        font-size: 1em;
    }
    .page-promotions__promo-grid,
    .page-promotions__vip-features,
    .page-promotions__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promo-card-image {
        height: 200px;
    }
    .page-promotions__promo-card-title {
        font-size: 1.5em;
    }
    .page-promotions__vip-icon {
        width: 80px;
        height: 80px;
    }
    .page-promotions__feature-image {
        max-width: 200px;
        height: 150px;
    }
    .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__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-promotions__cta-buttons a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-section {
        height: 400px;
    }
    .page-promotions__hero-title {
        font-size: 2em;
    }
    .page-promotions__hero-description {
        font-size: 0.9em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
}