/* style/promotions.css */
/* Base styles for the promotions page, ensuring contrast with body background */
.page-promotions {
    background-color: #08160F; /* Background color */
    color: #F2FFF6; /* Text Main for general content on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
    box-sizing: border-box;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
    overflow: hidden; /* Ensure content doesn't overflow */
    box-sizing: border-box;
    text-align: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    filter: brightness(0.6); /* Slightly darken image for text readability */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
    color: #F2FFF6; /* Main text color */
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #F2C14E; /* Gold for main title */
}

.page-promotions__subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    color: #A7D9B8; /* Secondary text color */
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding for mobile */
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    text-align: center;
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main for button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: #2AD16F; /* Green for secondary button text */
    border: 2px solid #2AD16F;
}

.page-promotions__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
}

.page-promotions__btn-primary--large,
.page-promotions__btn-secondary--large {
    padding: 18px 40px;
    font-size: 1.1rem;
    min-width: 200px;
}

/* General Section Styling */
.page-promotions__section {
    padding: 60px 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-promotions__section--featured {
    background-color: #0A4B2C; /* Deep Green for featured section */
}

.page-promotions__section--guide {
    background-color: #08160F; /* Background color for guide section */
}

.page-promotions__section--faq {
    background-color: #11271B; /* Card BG for FAQ section */
}

.page-promotions__section--terms {
    background-color: #0A4B2C; /* Deep Green for terms section */
}

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

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold for section titles */
}

.page-promotions__section-description {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    max-width: 800px;
    margin: 0 auto 40px;
    color: #A7D9B8; /* Secondary text color */
}

/* Promotion Cards Grid */
.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    color: #F2FFF6; /* Main text color for card */
    border: 1px solid #2E7A4E; /* Border color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card images */
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-promotions__card-title a {
    color: #F2C14E; /* Gold for card title links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
    color: #57E38D; /* Glow color on hover */
}

.page-promotions__card-text {
    font-size: 0.95rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 6px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    align-self: flex-start; /* Align button to start of flex container */
}

.page-promotions__btn-small:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

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

.page-promotions__step-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #2E7A4E; /* Border color */
}

.page-promotions__step-icon {
    width: 100px; /* Display size for visual balance */
    height: 100px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(42, 209, 111, 0.1); /* Light green background for icon area */
    border-radius: 50%;
    overflow: hidden; /* Ensure image fits */
}

.page-promotions__step-icon img {
    width: 100%; /* Image fills icon container */
    height: 100%;
    object-fit: contain;
    min-width: 200px; /* Actual image placeholder size */
    min-height: 200px;
}

.page-promotions__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E; /* Gold for step titles */
}

.page-promotions__step-text {
    font-size: 0.95rem;
    color: #A7D9B8; /* Secondary text color */
}

.page-promotions__cta-center {
    margin-top: 60px;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-promotions__faq-item {
    background-color: #08160F; /* Background color for FAQ item */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
    background-color: #11271B; /* Card BG when open */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2FFF6; /* Main text color for question */
    cursor: pointer;
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    list-style: none; /* Remove default marker for details summary */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2AD16F; /* Green for toggle icon */
    line-height: 1;
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    color: #A7D9B8; /* Secondary text color for answer */
    line-height: 1.5;
}

/* Terms Section */
.page-promotions__terms-list {
    list-style: disc;
    padding-left: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #A7D9B8; /* Secondary text color */
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-section {
        padding-bottom: 40px;
        min-height: 450px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3.5rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-promotions__card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 15px 40px;
        min-height: 350px;
    }
    .page-promotions__hero-image {
        min-height: 250px;
    }
    .page-promotions__hero-content {
        padding: 20px 0;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        margin-bottom: 15px;
    }
    .page-promotions__subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 30px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-small,
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-promotions__section {
        padding: 40px 15px;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 15px;
    }
    .page-promotions__section-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    .page-promotions__grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__card-image {
        height: 160px;
    }
    .page-promotions__card-content {
        padding: 20px;
    }
    .page-promotions__card-title {
        font-size: 1.2rem;
    }
    .page-promotions__card-text {
        font-size: 0.9rem;
    }
    .page-promotions__step-card {
        padding: 25px;
    }
    .page-promotions__step-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    .page-promotions__step-title {
        font-size: 1.1rem;
    }
    .page-promotions__step-text {
        font-size: 0.85rem;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.85rem;
    }
    .page-promotions__terms-list {
        padding-left: 25px;
        font-size: 0.9rem;
    }

    /* Images and Videos Responsive */
    .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,
    .page-promotions__hero-section,
    .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; /* Ensure no overflow */
    }
    .page-promotions__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}