/* style/khuyen-mai.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --dark-background: #1a1a1a; /* Dark background for sections */
    --light-text: #ffffff;
    --dark-text: #333333;
    --border-color: #e0e0e0;
    --card-background: #2a2a2a;
    --button-hover-color: #ccac00;
    --faq-question-bg: #333333;
    --faq-answer-bg: #444444;
}

.page-khuyen-mai {
    font-family: 'Arial', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: #f4f4f4;
}

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

.page-khuyen-mai section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-khuyen-mai .section-title {
    font-size: 36px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
    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: var(--primary-color);
    border-radius: 2px;
}

.page-khuyen-mai .section-text {
    font-size: 18px;
    text-align: justify;
    margin-bottom: 15px;
    color: var(--dark-text);
}

/* Hero Banner Specific Styles */
.page-khuyen-mai .hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
    min-height: 400px;
    background-color: var(--dark-background);
}

.page-khuyen-mai .hero-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-khuyen-mai .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.6;
}

.page-khuyen-mai .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.page-khuyen-mai .hero-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-khuyen-mai .hero-description {
    font-size: 22px;
    color: var(--light-text);
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-khuyen-mai .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
}

.page-khuyen-mai .cta-button:hover {
    background: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--secondary-color);
}

/* Section Intro */
.page-khuyen-mai .section-intro {
    background-color: #ffffff;
}

/* Promo Grid */
.page-khuyen-mai .section-promo-types {
    background-color: var(--dark-background);
    color: var(--light-text);
}

.page-khuyen-mai .section-promo-types .section-title {
    color: var(--primary-color);
}

.page-khuyen-mai .promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.page-khuyen-mai .promo-card {
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-khuyen-mai .promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-khuyen-mai .card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-khuyen-mai .promo-card .card-title {
    font-size: 24px;
    color: var(--primary-color);
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-khuyen-mai .promo-card .card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-khuyen-mai .promo-card .card-title a:hover {
    color: var(--secondary-color);
}

.page-khuyen-mai .card-text {
    font-size: 16px;
    color: #cccccc;
    padding: 0 20px;
    flex-grow: 1;
}

.page-khuyen-mai .card-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin: 20px;
    align-self: flex-start;
    transition: background-color 0.3s ease;
    border: 1px solid var(--primary-color);
}

.page-khuyen-mai .card-button:hover {
    background: var(--primary-color);
    color: var(--dark-text);
}

/* How To Claim Section */
.page-khuyen-mai .section-how-to-claim {
    background-color: #ffffff;
}

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

.page-khuyen-mai .steps-list li {
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
    color: var(--dark-text);
}

.page-khuyen-mai .steps-list li strong {
    color: var(--secondary-color);
}

.page-khuyen-mai .steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: var(--dark-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai .steps-list li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-khuyen-mai .steps-list li a:hover {
    text-decoration: underline;
}

/* Terms Section */
.page-khuyen-mai .section-terms {
    background-color: var(--dark-background);
    color: var(--light-text);
}

.page-khuyen-mai .section-terms .section-title {
    color: var(--primary-color);
}

.page-khuyen-mai .section-terms .section-text {
    color: #cccccc;
}

.page-khuyen-mai .terms-list {
    list-style: disc;
    padding-left: 25px;
    color: #cccccc;
}

.page-khuyen-mai .terms-list li {
    margin-bottom: 10px;
    font-size: 17px;
}

.page-khuyen-mai .terms-list li strong {
    color: var(--primary-color);
}

/* Why Choose Section */
.page-khuyen-mai .section-why-choose {
    background-color: #ffffff;
}

.page-khuyen-mai .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.page-khuyen-mai .feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-khuyen-mai .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai .feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-khuyen-mai .feature-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-khuyen-mai .feature-text {
    font-size: 16px;
    color: var(--dark-text);
}

/* Tips Section */
.page-khuyen-mai .section-tips {
    background-color: var(--dark-background);
    color: var(--light-text);
}

.page-khuyen-mai .section-tips .section-title {
    color: var(--primary-color);
}

.page-khuyen-mai .section-tips .section-text {
    color: #cccccc;
}

.page-khuyen-mai .tips-list {
    list-style: disc;
    padding-left: 25px;
    color: #cccccc;
}

.page-khuyen-mai .tips-list li {
    margin-bottom: 10px;
    font-size: 17px;
}

.page-khuyen-mai .tips-list li strong {
    color: var(--primary-color);
}

/* FAQ Section */
.page-khuyen-mai .section-faq {
    background-color: #ffffff;
}

.page-khuyen-mai .faq-list {
    margin-top: 30px;
}

.page-khuyen-mai .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-khuyen-mai .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--faq-question-bg);
    color: var(--light-text);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-khuyen-mai .faq-question:hover {
    background: #4a4a4a;
}

.page-khuyen-mai .faq-question h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.page-khuyen-mai .faq-question h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-khuyen-mai .faq-question h3 a:hover {
    text-decoration: underline;
}

.page-khuyen-mai .faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    background: var(--faq-answer-bg);
    color: #cccccc;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Enough to contain content */
    padding: 20px 25px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page-khuyen-mai .faq-answer p {
    margin: 0;
    font-size: 16px;
}

.page-khuyen-mai .faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-khuyen-mai .faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-khuyen-mai .hero-title {
        font-size: 40px;
    }
    .page-khuyen-mai .hero-description {
        font-size: 20px;
    }
    .page-khuyen-mai .cta-button {
        padding: 15px 35px;
        font-size: 18px;
    }
    .page-khuyen-mai .section-title {
        font-size: 30px;
    }
    .page-khuyen-mai .promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-khuyen-mai .feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-khuyen-mai .feature-title {
        font-size: 20px;
    }
    .page-khuyen-mai .faq-question h3 {
        font-size: 18px;
    }
    .page-khuyen-mai .faq-toggle {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .page-khuyen-mai section {
        padding: 40px 0;
    }
    .page-khuyen-mai .hero-content {
        padding: 60px 15px;
    }
    .page-khuyen-mai .hero-title {
        font-size: 32px;
    }
    .page-khuyen-mai .hero-description {
        font-size: 18px;
    }
    .page-khuyen-mai .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-khuyen-mai .section-title {
        font-size: 26px;
    }
    .page-khuyen-mai .section-text, .page-khuyen-mai .steps-list li, .page-khuyen-mai .terms-list li, .page-khuyen-mai .feature-text, .page-khuyen-mai .tips-list li, .page-khuyen-mai .faq-answer p {
        font-size: 16px;
    }
    .page-khuyen-mai .promo-grid {
        grid-template-columns: 1fr;
    }
    .page-khuyen-mai .feature-grid {
        grid-template-columns: 1fr;
    }
    .page-khuyen-mai .faq-question {
        padding: 15px 20px;
    }
    .page-khuyen-mai .faq-question h3 {
        font-size: 16px;
    }
    .page-khuyen-mai .faq-toggle {
        font-size: 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-khuyen-mai .hero-title {
        font-size: 28px;
    }
    .page-khuyen-mai .hero-description {
        font-size: 16px;
    }
    .page-khuyen-mai .cta-button {
        padding: 10px 25px;
        font-size: 14px;
    }
    .page-khuyen-mai .section-title {
        font-size: 22px;
    }
    .page-khuyen-mai .steps-list li {
        padding-left: 35px;
    }
    .page-khuyen-mai .steps-list li::before {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}