/* style/promotions.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm padding-top cho main hoặc các section đầu tiên. */

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

.page-promotions {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: 'Arial', sans-serif;
}

.page-promotions__section {
    padding: 60px 20px;
    position: relative;
}

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

.page-promotions__section-title {
    font-size: 3em;
    font-weight: bold;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-promotions__sub-title {
    font-size: 2em;
    font-weight: bold;
    color: var(--color-secondary);
    margin-top: 40px;
    margin-bottom: 20px;
}

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

.page-promotions__text-block a {
    color: var(--color-gold);
    text-decoration: underline;
}

.page-promotions__list,
.page-promotions__numbered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.page-promotions__numbered-list {
    list-style-type: decimal;
}

.page-promotions__list-item {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 1.05em;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background: var(--btn-gradient);
    color: var(--color-text-main);
    border: none;
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px var(--color-glow);
}

.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);
    box-shadow: 0 0 15px var(--color-glow);
}

.page-promotions__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
    min-width: 200px;
}

.page-promotions__btn-huge {
    padding: 20px 40px;
    font-size: 1.3em;
    min-width: 250px;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* body đã có padding-top cho header */
    padding-bottom: 60px;
    background-color: var(--color-background);
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    margin-top: -150px; /* Kéo nội dung lên trên ảnh một chút */
    background: rgba(8, 22, 15, 0.85); /* Nền tối nhẹ để chữ nổi bật */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--color-border);
}

.page-promotions__hero-title {
    font-size: clamp(2.5em, 5vw, 3.8em);
    font-weight: 900;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.page-promotions__hero-description {
    font-size: 1.2em;
    line-height: 1.7;
    color: var(--color-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Overview Section */
.page-promotions__overview-section {
    background-color: var(--color-background);
}

/* Promo Types Section */
.page-promotions__promo-types {
    background-color: var(--color-background);
}

.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: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5), 0 0 20px var(--color-glow);
}

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

.page-promotions__promo-card-title {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--color-gold);
    padding: 20px 20px 10px;
    line-height: 1.3;
}

.page-promotions__promo-card-description {
    font-size: 1em;
    color: var(--color-text-secondary);
    padding: 0 20px 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn-primary {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

/* Guide Section */
.page-promotions__guide-section {
    background-color: var(--color-background);
}

/* Why Choose Us Section */
.page-promotions__why-choose-us {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
    text-align: center;
}

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

.page-promotions__why-choose-us .page-promotions__text-block {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-promotions__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.page-promotions__feature-item {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4), 0 0 10px var(--color-glow);
}

.page-promotions__feature-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__feature-description {
    font-size: 1em;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

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

/* FAQ Section */
.page-promotions__faq-section {
    background-color: var(--color-background);
}

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

.page-promotions__faq-item {
    background-color: var(--color-card-bg);
    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 5px 20px rgba(0,0,0,0.3), 0 0 10px var(--color-glow);
    border-color: var(--color-gold);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-card-bg);
    position: relative;
    user-select: none;
    list-style: none;
}

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

.page-promotions__faq-question::marker {
    display: none;
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--color-gold);
}

.page-promotions__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-secondary);
    transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
    padding: 0 20px 20px;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

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

/* Final CTA Section */
.page-promotions__final-cta {
    background-color: var(--color-deep-green);
    text-align: center;
    padding: 80px 20px;
}

.page-promotions__final-cta .page-promotions__section-title {
    color: var(--color-text-main);
    margin-bottom: 30px;
}

.page-promotions__final-cta .page-promotions__text-block {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.2em;
}

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

    .page-promotions__section-title {
        font-size: 2.5em;
    }

    .page-promotions__sub-title {
        font-size: 1.8em;
    }

    .page-promotions__hero-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
}

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

    .page-promotions__container {
        padding: 0 10px;
    }

    .page-promotions__hero-section {
        padding-bottom: 40px;
    }

    .page-promotions__hero-image-wrapper {
        max-height: 400px;
    }

    .page-promotions__hero-content {
        margin-top: -80px;
        padding: 25px 15px;
        border-radius: 8px;
    }

    .page-promotions__hero-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-promotions__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-promotions__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .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__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__promo-card-image {
        height: 180px;
    }

    .page-promotions__promo-card-title {
        font-size: 1.5em;
    }

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

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

    .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }

    .page-promotions__final-cta {
        padding: 60px 15px;
    }

    .page-promotions__final-cta .page-promotions__text-block {
        font-size: 1.05em;
    }

    /* Mobile image responsiveness */
    .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-image-wrapper,
    .page-promotions__promo-card,
    .page-promotions__feature-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-promotions__hero-content,
    .page-promotions__cta-wrapper,
    .page-promotions__hero-cta-group {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-promotions__video-section {
        padding-top: 10px !important;
    }

    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .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-buttons {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__sub-title {
        font-size: 1.5em;
    }

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

    .page-promotions__hero-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }

    .page-promotions__promo-card-title {
        font-size: 1.3em;
    }

    .page-promotions__promo-card-description {
        font-size: 0.95em;
    }

    .page-promotions__faq-question {
        font-size: 1em;
    }
}