/* style/promotions.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

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

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

.page-promotions__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-promotions__section-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__dark-section {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-promotions__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
    text-align: center;
    padding: 20px 0;
}

.page-promotions__main-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__description {
    font-size: 18px;
    color: var(--color-text-main);
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-promotions__cta-buttons {
    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: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient-start);
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
    transform: translateY(-3px);
}

.page-promotions__small-btn {
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 20px;
}

/* Intro Section */
.page-promotions__intro-section {
    padding: 80px 0;
}

.page-promotions__intro-section .page-promotions__section-title {
    color: #333333;
}

.page-promotions__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-promotions__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-promotions__text-block {
    flex: 1;
    font-size: 17px;
    color: #555555;
}

.page-promotions__text-block p {
    margin-bottom: 15px;
}

.page-promotions__text-block strong {
    color: #333333;
}

.page-promotions__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Offers Section */
.page-promotions__offers-section {
    padding: 80px 0;
}

.page-promotions__offers-section .page-promotions__section-title {
    color: var(--color-text-main);
}

.page-promotions__offers-section .page-promotions__section-description {
    color: var(--color-text-secondary);
}

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

.page-promotions__card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

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

.page-promotions__card-text {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Terms Section */
.page-promotions__terms-section {
    padding: 80px 0;
}

.page-promotions__terms-section .page-promotions__section-title {
    color: #333333;
}

.page-promotions__terms-section .page-promotions__section-description,
.page-promotions__terms-list li,
.page-promotions__read-more-text {
    color: #555555;
    font-size: 17px;
}

.page-promotions__terms-list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 30px;
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
}

.page-promotions__terms-list strong {
    color: #333333;
}

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

.page-promotions__why-choose-section .page-promotions__section-title {
    color: var(--color-text-main);
}

.page-promotions__advantage-list {
    list-style: none;
    padding: 0;
}

.page-promotions__advantage-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%232AD16F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--color-text-main);
    font-size: 17px;
}

.page-promotions__advantage-list strong {
    color: var(--color-gold);
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
}

.page-promotions__faq-section .page-promotions__section-title {
    color: #333333;
}

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

.page-promotions__faq-item {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #fcfcfc;
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}

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

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: '−';
}

.page-promotions__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    color: #555555;
    line-height: 1.7;
}

.page-promotions__faq-answer p {
    margin-bottom: 0;
}

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

/* Conclusion Section */
.page-promotions__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__conclusion-section .page-promotions__section-title {
    color: var(--color-text-main);
}

.page-promotions__conclusion-section .page-promotions__description {
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-image-wrapper {
        margin-bottom: 30px;
    }
    .page-promotions__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-promotions__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-promotions__text-block, .page-promotions__image-block {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__hero-section,
    .page-promotions__intro-section,
    .page-promotions__offers-section,
    .page-promotions__terms-section,
    .page-promotions__why-choose-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section {
        padding: 40px 0;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important;
    }

    .page-promotions__hero-image {
        border-radius: 5px;
    }

    .page-promotions__hero-content {
        padding: 10px 0;
    }

    .page-promotions__main-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .page-promotions__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

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

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

    .page-promotions__section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .page-promotions__section-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .page-promotions__text-block,
    .page-promotions__terms-list li,
    .page-promotions__read-more-text,
    .page-promotions__advantage-list li,
    .page-promotions__faq-answer {
        font-size: 15px;
    }

    .page-promotions__card-image {
        height: 180px;
    }

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

    .page-promotions__card-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .page-promotions__card-text {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Containers for images */
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-image-wrapper,
    .page-promotions__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions__grid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__faq-list {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-section {
        padding: 30px 0;
    }
    .page-promotions__main-title {
        font-size: 26px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        font-size: 15px;
        padding: 10px 15px;
    }
    .page-promotions__grid {
        grid-template-columns: 1fr;
    }
}