/* style/khuyen-mai.css */
.page-khuyen-mai {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light grey for general text */
    background-color: #1A1A1A; /* Dark background */
    line-height: 1.6;
}

.page-khuyen-mai .highlight {
    color: #FFD700; /* Gold for highlights */
    font-weight: bold;
}

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

.page-khuyen-mai__hero {
    background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Deep red to gold gradient */
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-khuyen-mai__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-khuyen-mai__main-title {
    font-size: 3.2em;
    color: #FFFFFF; /* White for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-khuyen-mai__description {
    font-size: 1.15em;
    color: #F0F0F0;
    margin-bottom: 30px;
}

.page-khuyen-mai__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
}

.page-khuyen-mai__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Only for background image to ensure text readability, not changing color */
}

.page-khuyen-mai__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #8B0000; /* Deep red text on button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-khuyen-mai__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    color: #6a0000; /* Slightly darker red on hover */
    transform: translateY(-2px);
}

.page-khuyen-mai__section {
    padding: 60px 0;
    background-color: #282828; /* Slightly lighter dark for sections */
    margin-bottom: 20px;
    border-radius: 10px;
}

.page-khuyen-mai__section:nth-of-type(even) {
    background-color: #1A1A1A;
}

.page-khuyen-mai__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-khuyen-mai__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #8B0000; /* Deep red underline */
    border-radius: 2px;
}

.page-khuyen-mai__section p {
    font-size: 1.05em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #CCCCCC;
}

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

.page-khuyen-mai__promo-card {
    background-color: #333333; /* Darker card background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-khuyen-mai__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-khuyen-mai__promo-card-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-khuyen-mai__promo-card-title {
    font-size: 1.6em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
}

.page-khuyen-mai__promo-card-description {
    font-size: 0.95em;
    color: #B0B0B0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-khuyen-mai__promo-card-button {
    display: inline-block;
    background-color: #8B0000; /* Deep red button */
    color: #FFD700; /* Gold text on button */
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-khuyen-mai__promo-card-button:hover {
    background-color: #6a0000; /* Darker red on hover */
    color: #ffe066; /* Lighter gold on hover */
}

.page-khuyen-mai__list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
}

.page-khuyen-mai__list li {
    background-color: #333333;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai__list-item-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 10px;
    text-align: left;
}

.page-khuyen-mai__list li p {
    text-align: left;
    margin-bottom: 0;
    color: #B0B0B0;
}

.page-khuyen-mai__guide-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.page-khuyen-mai__step-card {
    background-color: #333333;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    flex: 1 1 calc(50% - 30px);
    min-width: 300px;
    text-align: left;
}

.page-khuyen-mai__step-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-khuyen-mai__step-card p {
    text-align: left;
    color: #B0B0B0;
    margin-bottom: 0;
}

.page-khuyen-mai__advantages-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left;
}

.page-khuyen-mai__advantages-list li {
    background-color: #333333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    font-size: 1.05em;
    color: #CCCCCC;
}

.page-khuyen-mai__advantage-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    filter: invert(80%) sepia(100%) saturate(2000%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Gold effect for icons */
}

.page-khuyen-mai__cta-button--large {
    font-size: 1.3em;
    padding: 18px 35px;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-khuyen-mai__main-title {
        font-size: 2.8em;
    }
    .page-khuyen-mai__section-title {
        font-size: 2.2em;
    }
    .page-khuyen-mai__promo-grid,
    .page-khuyen-mai__guide-steps,
    .page-khuyen-mai__advantages-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-khuyen-mai__hero {
        padding: 60px 15px;
    }
    .page-khuyen-mai__main-title {
        font-size: 2.2em;
    }
    .page-khuyen-mai__description {
        font-size: 1em;
    }
    .page-khuyen-mai__section {
        padding: 40px 0;
    }
    .page-khuyen-mai__section-title {
        font-size: 1.8em;
    }
    .page-khuyen-mai__promo-grid,
    .page-khuyen-mai__guide-steps,
    .page-khuyen-mai__advantages-list {
        grid-template-columns: 1fr;
    }
    .page-khuyen-mai__step-card {
        flex: 1 1 100%;
    }
    .page-khuyen-mai__promo-card-title,
    .page-khuyen-mai__list-item-title,
    .page-khuyen-mai__step-title {
        font-size: 1.4em;
    }
    .page-khuyen-mai__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-khuyen-mai__cta-button--large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
    .page-khuyen-mai__hero-image-wrapper {
        opacity: 0.1;
    }
}

@media (max-width: 480px) {
    .page-khuyen-mai__main-title {
        font-size: 1.8em;
    }
    .page-khuyen-mai__section-title {
        font-size: 1.6em;
    }
    .page-khuyen-mai__promo-card-title,
    .page-khuyen-mai__list-item-title,
    .page-khuyen-mai__step-title {
        font-size: 1.2em;
    }
    .page-khuyen-mai__hero {
        padding: 40px 10px;
    }
    .page-khuyen-mai__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}