/* style/khuyen-mai.css */
.page-khuyen-mai {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

.page-khuyen-mai__hero {
    background: linear-gradient(135deg, #FFD700 0%, #000080 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-khuyen-mai__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: page-khuyen-mai-pulse 5s infinite alternate;
}

.page-khuyen-mai__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: page-khuyen-mai-pulse 6s infinite reverse alternate;
}

@keyframes page-khuyen-mai-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

.page-khuyen-mai__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai__hero-title .highlight {
    color: #FFD700;
    text-shadow: none;
}

.page-khuyen-mai__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #eee;
}

.page-khuyen-mai__hero-actions .page-khuyen-mai__btn {
    margin: 0 10px;
}

.page-khuyen-mai__section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai__section:nth-of-type(odd) {
    background-color: #fefefe;
}

.page-khuyen-mai__section-title {
    font-size: 2.5em;
    color: #000080;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-khuyen-mai__section-title .highlight {
    color: #FFD700;
}

.page-khuyen-mai__section-subtitle {
    font-size: 1.1em;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuyen-mai__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-khuyen-mai__btn--primary {
    background-color: #FFD700;
    color: #000080;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-khuyen-mai__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-khuyen-mai__btn--secondary {
    background-color: #000080;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(0, 0, 128, 0.4);
}

.page-khuyen-mai__btn--secondary:hover {
    background-color: #000066;
    color: #fff;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 128, 0.6);
}

.page-khuyen-mai__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 20px;
}

.page-khuyen-mai__grid {
    display: grid;
    gap: 30px;
}

.page-khuyen-mai__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-khuyen-mai__feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #fefefe;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-khuyen-mai__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-khuyen-mai__card-title {
    font-size: 1.5em;
    color: #000080;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-khuyen-mai__feature-card p {
    color: #555;
    font-size: 1em;
}

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

.page-khuyen-mai__promo-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-khuyen-mai__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.page-khuyen-mai__promo-description {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.page-khuyen-mai__promo-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: #444;
    font-size: 0.9em;
}

.page-khuyen-mai__promo-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.page-khuyen-mai__promo-features li::before {
    content: '✔';
    color: #FFD700;
    position: absolute;
    left: 0;
    top: 0;
}

.page-khuyen-mai__promo-content .page-khuyen-mai__btn {
    margin-top: auto;
    align-self: flex-start;
}

.page-khuyen-mai__detail-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.page-khuyen-mai__detail-card {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #FFD700;
}

.page-khuyen-mai__detail-card .page-khuyen-mai__card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-khuyen-mai__detail-card .page-khuyen-mai__card-title a {
    color: #000080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-khuyen-mai__detail-card .page-khuyen-mai__card-title a:hover {
    color: #FFD700;
}

.page-khuyen-mai__detail-description {
    color: #555;
    margin-bottom: 20px;
}

.page-khuyen-mai__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-khuyen-mai__steps-list li {
    margin-bottom: 25px;
    padding-left: 70px;
    position: relative;
}

.page-khuyen-mai__steps-list li::before {
    counter-increment: step-counter;
    content: "Bước " counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #000080;
    color: #FFD700;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 2px 10px rgba(0, 0, 128, 0.3);
}

.page-khuyen-mai__steps-list h4 {
    font-size: 1.3em;
    color: #000080;
    margin-bottom: 10px;
}

.page-khuyen-mai__steps-list p {
    color: #555;
}

.page-khuyen-mai__steps-list p a {
    color: #000080;
    text-decoration: underline;
}

.page-khuyen-mai__steps-list p a:hover {
    color: #FFD700;
}

.page-khuyen-mai__cta-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.page-khuyen-mai__cta-bottom p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 25px;
    font-weight: 500;
}

.page-khuyen-mai__faqs .page-khuyen-mai__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-khuyen-mai__faq-item {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-khuyen-mai__faq-question {
    font-size: 1.2em;
    color: #000080;
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.page-khuyen-mai__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-khuyen-mai__faq-question.active {
    background-color: #f5f5f5;
}

.page-khuyen-mai__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-khuyen-mai__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-khuyen-mai__faq-answer p {
    padding-bottom: 20px;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-khuyen-mai__hero-title {
        font-size: 2.8em;
    }
    .page-khuyen-mai__section-title {
        font-size: 2em;
    }
    .page-khuyen-mai__grid--3-cols {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-khuyen-mai__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-khuyen-mai__hero {
        padding: 60px 0;
    }
    .page-khuyen-mai__hero-title {
        font-size: 2.2em;
    }
    .page-khuyen-mai__hero-description {
        font-size: 1em;
    }
    .page-khuyen-mai__section {
        padding: 40px 0;
    }
    .page-khuyen-mai__section-title {
        font-size: 1.8em;
    }
    .page-khuyen-mai__hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .page-khuyen-mai__hero-actions .page-khuyen-mai__btn {
        margin: 0;
        width: 80%;
        max-width: 300px;
        align-self: center;
    }
    .page-khuyen-mai__steps-list li {
        padding-left: 0;
        text-align: center;
    }
    .page-khuyen-mai__steps-list li::before {
        position: static;
        margin-bottom: 15px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .page-khuyen-mai__hero-title {
        font-size: 1.8em;
    }
    .page-khuyen-mai__section-title {
        font-size: 1.5em;
    }
    .page-khuyen-mai__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-khuyen-mai__promo-card {
        flex-direction: column;
    }
    .page-khuyen-mai__promo-image {
        height: 180px;
    }
}