/* style/promotions.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark-1: var(--dark-background-1, #0d0d00); /* Assuming shared.css defines --dark-background-1 */
    --background-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark-1);
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-promotions__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--background-dark-1));
    color: var(--text-light);
    overflow: hidden;
}

.page-promotions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

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

.page-promotions__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: var(--background-dark-1);
}

.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(--background-dark-1);
}

.page-promotions__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__overview-section,
.page-promotions__guide-section,
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-promotions__overview-section .page-promotions__section-title,
.page-promotions__guide-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__overview-section .page-promotions__text-block,
.page-promotions__guide-section .page-promotions__text-block,
.page-promotions__faq-section .page-promotions__text-block {
    color: var(--text-dark);
}

.page-promotions__types-section,
.page-promotions__terms-section,
.page-promotions__cta-section {
    padding: 80px 0;
    background-color: var(--background-dark-1);
    color: var(--text-light);
}

.page-promotions__image-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.page-promotions__image-full-width {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

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

.page-promotions__card {
    background-color: var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

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

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

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

.page-promotions__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-promotions__card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
    color: var(--primary-color);
}

.page-promotions__card-description {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-promotions__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

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

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

.page-promotions__guide-item p {
    color: var(--text-dark);
}

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

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

.page-promotions__btn-full-width {
    width: 100%;
    max-width: 400px;
    margin: 40px auto 0;
    display: block;
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
    color: var(--text-light);
}

.page-promotions__terms-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

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

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

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

.page-promotions__faq-item {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: var(--secondary-color);
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

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

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Ensure enough height for content */
    padding: 20px 25px;
}

.page-promotions__faq-answer p {
    margin-bottom: 0;
    color: var(--text-dark);
}

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

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

.page-promotions__cta-section .page-promotions__cta-group {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 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: 80px 0;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__overview-section,
    .page-promotions__guide-section,
    .page-promotions__faq-section,
    .page-promotions__types-section,
    .page-promotions__terms-section,
    .page-promotions__cta-section {
        padding: 50px 0;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__image-full-width,
    .page-promotions__card-image,
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__image-wrapper,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__overview-section,
    .page-promotions__types-section,
    .page-promotions__guide-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section,
    .page-promotions__card-grid,
    .page-promotions__hero-cta-group,
    .page-promotions__cta-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-promotions__card-grid {
        gap: 20px;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
    }
    .page-promotions__faq-title {
        font-size: 1.1em;
    }
    .page-promotions__faq-answer {
        padding: 0 20px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px;
    }
    .page-promotions__guide-item {
        padding: 20px;
    }
    .page-promotions__guide-step-title {
        font-size: 1.2em;
    }
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-promotions__cta-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__card-image {
        height: 200px;
    }
}