/* style/promotions.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg: #11271B;
    --bg-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-promotions {
    background-color: var(--bg-color); /* From shared.css body, but ensure consistency */
    color: var(--text-main);
    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);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

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

.page-promotions__text-block--center {
    text-align: center;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: 10px; /* Small padding, body handles --header-offset */
    overflow: hidden;
    background-color: var(--deep-green);
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-promotions__main-title {
    font-size: clamp(32px, 5vw, 60px);
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(0,255,0,0.5);
}

.page-promotions__hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-promotions__cta-button--bottom {
    margin-top: 40px;
}

.page-promotions__cta-button--large {
    font-size: 22px;
    padding: 18px 35px;
}

/* Intro Section */
.page-promotions__intro-section {
    padding: 60px 0;
    background-color: var(--deep-green);
}

/* Promotion Types Section */
.page-promotions__types-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

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

.page-promotions__promotion-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.page-promotions__promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-promotions__card-title {
    font-size: 24px;
    color: var(--gold-color);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-promotions__card-text {
    font-size: 16px;
    color: var(--text-main);
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: block;
    text-align: center;
    padding: 12px 20px;
    margin: 0 20px 20px;
    background: var(--button-gradient);
    color: var(--text-main);
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-promotions__card-button:hover {
    opacity: 0.9;
}

/* Guide Section */
.page-promotions__guide-section {
    padding: 80px 0;
    background-color: var(--deep-green);
}

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

.page-promotions__guide-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__guide-step-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__guide-step-text {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-promotions__guide-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button-gradient);
    color: var(--text-main);
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-promotions__guide-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Terms Section */
.page-promotions__terms-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

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

.page-promotions__terms-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__terms-item-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__terms-item-text {
    font-size: 16px;
    color: var(--text-main);
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: var(--deep-green);
}

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

.page-promotions__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details summary */
}

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

.page-promotions__faq-question:hover {
    background-color: var(--deep-green);
}

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

.page-promotions__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    color: var(--text-main);
}

.page-promotions__faq-answer {
    padding: 20px;
    font-size: 16px;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

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

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.page-promotions__why-choose-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__why-choose-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-promotions__why-choose-item-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__why-choose-item-text {
    font-size: 16px;
    color: var(--text-main);
}

/* CTA Section */
.page-promotions__cta-section {
    padding: 60px 0;
    background: var(--deep-green);
    text-align: center;
}

.page-promotions__cta-container {
    max-width: 800px;
}

.page-promotions__cta-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions__cta-description {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 30px 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(28px, 4.5vw, 50px);
    }

    .page-promotions__hero-description {
        font-size: clamp(15px, 2.2vw, 18px);
    }

    .page-promotions__section-title {
        font-size: clamp(26px, 3.5vw, 38px);
    }

    .page-promotions__promotion-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__hero-section {
        min-height: 400px;
        padding: 10px 0; /* body handles --header-offset, this is decorative */
    }

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

    .page-promotions__main-title {
        font-size: clamp(24px, 6vw, 40px);
    }

    .page-promotions__hero-description {
        font-size: clamp(14px, 3vw, 16px);
    }

    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-promotions__cta-button--large {
        font-size: 18px;
        padding: 15px 30px;
    }

    .page-promotions__section-title {
        font-size: clamp(24px, 5vw, 32px);
    }

    .page-promotions__section-description {
        font-size: 16px;
    }

    .page-promotions__text-block {
        font-size: 15px;
    }

    .page-promotions__promotion-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__card-title,
    .page-promotions__guide-step-title,
    .page-promotions__terms-item-title,
    .page-promotions__why-choose-item-title {
        font-size: 20px;
    }

    .page-promotions__card-text,
    .page-promotions__guide-step-text,
    .page-promotions__terms-item-text,
    .page-promotions__faq-answer,
    .page-promotions__why-choose-item-text {
        font-size: 15px;
    }

    .page-promotions__faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .page-promotions__faq-toggle {
        font-size: 20px;
    }

    .page-promotions__intro-section,
    .page-promotions__types-section,
    .page-promotions__guide-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__why-choose-section,
    .page-promotions__cta-section {
        padding: 40px 0;
    }

    /* Mobile responsive for images */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile responsive for buttons */
    .page-promotions__cta-button,
    .page-promotions__card-button,
    .page-promotions__guide-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Container padding for content sections on mobile */
    .page-promotions__intro-section .page-promotions__container,
    .page-promotions__types-section .page-promotions__container,
    .page-promotions__guide-section .page-promotions__container,
    .page-promotions__terms-section .page-promotions__container,
    .page-promotions__faq-section .page-promotions__container,
    .page-promotions__why-choose-section .page-promotions__container,
    .page-promotions__cta-section .page-promotions__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}