/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for the page content, contrasting with body #121212 */
    background-color: transparent; /* Main content background will be handled by sections */
}

/* Section base styles */
.page-promotions__section {
    padding: 60px 20px;
    margin-bottom: 0; /* Remove default margin */
    box-sizing: border-box;
}

/* Container for content width limitation */
.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for mobile */
    box-sizing: border-box;
}

/* Headings */
.page-promotions__heading {
    font-size: 2.5em;
    color: #ffffff; /* Default for dark sections */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-promotions__sub-heading {
    font-size: 1.8em;
    color: #ffffff; /* Default for dark sections */
    text-align: center;
    margin-top: 40px;
    margin-bottom: 25px;
}

.page-promotions__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffffff; /* Default for dark sections */
}

/* Highlighted text */
.page-promotions__highlight {
    color: #FFFF00; /* Yellow for highlights */
    font-weight: bold;
}

/* Links */
.page-promotions__link {
    color: #FFFF00; /* Yellow for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Crucial for responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-promotions__btn-primary {
    background-color: #017439; /* Brand primary color */
    color: #ffffff; /* White text for contrast */
    border: 2px solid #017439;
}

.page-promotions__btn-primary:hover {
    background-color: #005f2e; /* Slightly darker green */
    border-color: #005f2e;
}

.page-promotions__btn-secondary {
    background-color: #ffffff; /* White background */
    color: #017439; /* Brand primary color text for contrast */
    border: 2px solid #017439;
}

.page-promotions__btn-secondary:hover {
    background-color: #f0f0f0; /* Slightly off-white */
    border-color: #005f2e;
}

/* Specific button styles for Register/Login */
.page-promotions__hero-cta .page-promotions__btn-primary,
.page-promotions__guide-cta .page-promotions__btn-primary,
.page-promotions__conclusion-cta .page-promotions__btn-primary {
    background-color: #C30808; /* Red for Register/Login */
    color: #FFFF00; /* Yellow text */
    border-color: #C30808;
}

.page-promotions__hero-cta .page-promotions__btn-primary:hover,
.page-promotions__guide-cta .page-promotions__btn-primary:hover,
.page-promotions__conclusion-cta .page-promotions__btn-primary:hover {
    background-color: #a30606; /* Darker red */
    border-color: #a30606;
}

.page-promotions__guide-cta .page-promotions__btn-secondary {
    background-color: #ffffff; /* White background */
    color: #017439; /* Brand green text */
    border-color: #017439;
}

.page-promotions__guide-cta .page-promotions__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #005f2e;
}

/* --- Section Specific Styles --- */

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 100px 0;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
    min-height: 600px;
    background-color: #017439; /* Brand primary color for hero background */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 15px;
    color: #ffffff;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-promotions__hero-cta {
    margin-top: 30px;
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make background image subtle */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

/* Overview Section */
.page-promotions__overview {
    background-color: #1a1a1a; /* Darker background for contrast with light sections, but still dark */
    color: #ffffff;
}

.page-promotions__overview .page-promotions__heading,
.page-promotions__overview .page-promotions__paragraph {
    color: #ffffff;
}

/* Main Types Section */
.page-promotions__main-types {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-promotions__main-types .page-promotions__heading,
.page-promotions__main-types .page-promotions__sub-heading,
.page-promotions__main-types .page-promotions__paragraph {
    color: #ffffff;
}

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

.page-promotions__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark green */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff; /* Light text for dark background */
}

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

.page-promotions__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-promotions__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to take available space */
    color: #ffffff;
}

.page-promotions__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.page-promotions__list-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #ffffff; /* Light text for dark background */
}

.page-promotions__list-item::before {
    content: '✓';
    color: #FFFF00; /* Yellow checkmark */
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* VIP Program Section */
.page-promotions__vip-program {
    background-color: #1a1a1a; /* Darker background for contrast with light sections, but still dark */
    color: #ffffff;
}

.page-promotions__vip-program .page-promotions__heading,
.page-promotions__vip-program .page-promotions__paragraph {
    color: #ffffff;
}

.page-promotions__vip-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-promotions__vip-text {
    flex: 1;
    text-align: left;
}

.page-promotions__vip-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-promotions__vip-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Terms and Conditions Section */
.page-promotions__terms {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-promotions__terms .page-promotions__heading,
.page-promotions__terms .page-promotions__paragraph {
    color: #ffffff;
}

/* Guide Section */
.page-promotions__guide {
    background-color: #1a1a1a; /* Darker background for contrast with light sections, but still dark */
    color: #ffffff;
}

.page-promotions__guide .page-promotions__heading,
.page-promotions__guide .page-promotions__paragraph {
    color: #ffffff;
}

.page-promotions__ordered-list {
    list-style: decimal;
    padding-left: 20px;
    margin-top: 20px;
    color: #ffffff;
}

.page-promotions__ordered-list .page-promotions__list-item {
    margin-bottom: 15px;
    padding-left: 0;
    position: relative;
    color: #ffffff;
}

.page-promotions__ordered-list .page-promotions__list-item::before {
    content: none; /* Remove default checkmark */
}

.page-promotions__guide-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* FAQ Section */
.page-promotions__faq {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-promotions__faq .page-promotions__heading {
    color: #ffffff;
}

.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark green */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

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

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

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

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Plus to X */
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #ffffff;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to reveal content */
    padding: 15px 25px;
}

.page-promotions__faq-answer .page-promotions__paragraph {
    margin-bottom: 0;
    color: #ffffff;
}

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

.page-promotions__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}