/* style/khuyn-mi.css */
.page-khuyn-mi {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light backgrounds */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background */
}

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

.page-khuyn-mi h1, .page-khuyn-mi h2, .page-khuyn-mi h3 {
    color: #CC0000; /* Main brand color for headings */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-khuyn-mi h1 {
    font-size: 2.8em;
    text-align: center;
    color: #FFD700; /* Gold for main hero title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-khuyn-mi h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    color: #CC0000; /* Ensure H2 is main brand color */
}

.page-khuyn-mi h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    border-radius: 2px;
}

.page-khuyn-mi h3 {
    font-size: 1.6em;
    color: #CC0000;
}

.page-khuyn-mi p {
    margin-bottom: 15px;
    color: #555555;
}

.page-khuyn-mi ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555555;
}

.page-khuyn-mi ul li {
    margin-bottom: 8px;
}

.page-khuyn-mi a {
    color: #CC0000; /* Main brand color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-khuyn-mi a:hover {
    color: #990000; /* Darker red on hover */
    text-decoration: underline;
}

/* Buttons */
.page-khuyn-mi__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
    margin: 10px 10px 10px 0;
    white-space: nowrap;
}

.page-khuyn-mi__btn--primary {
    background-color: #CC0000; /* Main brand color */
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.4);
}

.page-khuyn-mi__btn--primary:hover {
    background-color: #990000; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(204, 0, 0, 0.6);
}

.page-khuyn-mi__btn--secondary {
    background-color: transparent;
    color: #CC0000;
    border: 2px solid #CC0000;
    box-shadow: 0 2px 5px rgba(204, 0, 0, 0.2);
}

.page-khuyn-mi__btn--secondary:hover {
    background-color: #CC0000;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(204, 0, 0, 0.4);
}

/* Hero Section */
.page-khuyn-mi__hero {
    background: linear-gradient(135deg, #CC0000, #FFD700);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-khuyn-mi__hero-content {
    text-align: center;
    color: #FFFFFF;
    max-width: 800px;
    z-index: 1;
    padding: 20px;
    position: relative; /* To ensure it's above the image */
}

.page-khuyn-mi__hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-khuyn-mi__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    filter: none; /* Ensure no color filters */
}


/* General Section Styling */
.page-khuyn-mi__section {
    padding: 60px 0;
    background-color: #FFFFFF;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.page-khuyn-mi__section:nth-of-type(even) {
    background-color: #fdfdfd;
}

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

.page-khuyn-mi__card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.page-khuyn-mi__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no color filters */
}

.page-khuyn-mi__card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #CC0000;
}

.page-khuyn-mi__card h3 a {
    color: #CC0000;
}

/* Promo List */
.page-khuyn-mi__promo-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.page-khuyn-mi__promo-item {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi__promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-khuyn-mi__promo-image {
    width: 250px;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 10px 0 0 10px;
    filter: none; /* Ensure no color filters */
}

.page-khuyn-mi__promo-content {
    padding: 25px;
    flex-grow: 1;
}

.page-khuyn-mi__promo-content h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #CC0000;
}

.page-khuyn-mi__promo-content h3 a {
    color: #CC0000;
}

/* VIP Program */
.page-khuyn-mi__vip-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-khuyn-mi__vip-image {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    filter: none; /* Ensure no color filters */
}

.page-khuyn-mi__vip-text {
    flex: 1;
    min-width: 300px;
}

/* Download App */
.page-khuyn-mi__download-app {
    background-color: #FFD700; /* Auxiliary color background */
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
    text-align: center;
}

.page-khuyn-mi__download-app h2 {
    color: #CC0000; /* Main color for heading */
    text-shadow: none;
}

.page-khuyn-mi__download-app h2::after {
    background-color: #CC0000;
}

.page-khuyn-mi__download-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-khuyn-mi__download-text {
    max-width: 500px;
    text-align: left;
}

.page-khuyn-mi__download-text p {
    color: #333333;
}

.page-khuyn-mi__download-image {
    width: 300px;
    height: auto;
    object-fit: contain;
    filter: none; /* Ensure no color filters */
}

.page-khuyn-mi__small-text {
    font-size: 0.9em;
    color: #666666;
    margin-top: 15px;
}

/* FAQ Section */
.page-khuyn-mi__faq {
    background-color: #fefefe;
}

.page-khuyn-mi__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-khuyn-mi__faq-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
    color: #CC0000;
}

.page-khuyn-mi__faq-item p {
    color: #555555;
}

/* Bottom CTA */
.page-khuyn-mi__cta-bottom {
    background: linear-gradient(45deg, #FFD700, #CC0000); /* Gradient from gold to red */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.page-khuyn-mi__cta-bottom h2 {
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-khuyn-mi__cta-bottom h2::after {
    background-color: #FFFFFF;
}

.page-khuyn-mi__cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-khuyn-mi h1 {
        font-size: 2.5em;
    }
    .page-khuyn-mi h2 {
        font-size: 2em;
    }
    .page-khuyn-mi__promo-item {
        flex-direction: column;
        text-align: center;
    }
    .page-khuyn-mi__promo-image {
        width: 100%;
        height: 200px;
        border-radius: 10px 10px 0 0;
    }
    .page-khuyn-mi__promo-content {
        padding: 20px;
    }
    .page-khuyn-mi__vip-content {
        flex-direction: column;
        text-align: center;
    }
    .page-khuyn-mi__vip-image {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    .page-khuyn-mi__download-content {
        flex-direction: column;
    }
    .page-khuyn-mi__download-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-khuyn-mi__hero {
        padding: 60px 0;
        min-height: 400px;
    }
    .page-khuyn-mi h1 {
        font-size: 2em;
    }
    .page-khuyn-mi__hero-content p {
        font-size: 1em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.8em;
    }
    .page-khuyn-mi__section {
        padding: 40px 0;
    }
    .page-khuyn-mi__card-grid {
        grid-template-columns: 1fr;
    }
    .page-khuyn-mi__download-app {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-khuyn-mi h1 {
        font-size: 1.8em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.5em;
    }
    .page-khuyn-mi h3 {
        font-size: 1.2em;
    }
    .page-khuyn-mi__btn {
        padding: 10px 20px;
        font-size: 0.9em;
        margin: 8px 5px 8px 0;
    }
    .page-khuyn-mi__container {
        padding: 0 15px;
    }
}