/* style/khuyn-mi.css */
:root {
    --primary-color: #FFD700; /* Vàng kim */
    --secondary-color: #8B0000; /* Đỏ rượu */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f4f4;
    --bg-dark: #2a2a2a;
    --border-color: #e0e0e0;
}

.page-khuyn-mi {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.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: var(--secondary-color);
    text-align: center;
    margin-bottom: 25px;
}

.page-khuyn-mi h1 {
    font-size: 2.8em;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-khuyn-mi h2 {
    font-size: 2.2em;
    padding-top: 40px;
}

.page-khuyn-mi h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    text-align: left;
    margin-bottom: 15px;
}

.page-khuyn-mi p {
    margin-bottom: 15px;
    text-align: justify;
}

.page-khuyn-mi a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-khuyn-mi a:hover {
    color: var(--primary-color);
}

.page-khuyn-mi .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi .cta-button:hover {
    background-color: #FFC107; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi .cta-button.secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    margin-left: 15px;
}

.page-khuyn-mi .cta-button.secondary:hover {
    background-color: #A00000; /* Slightly darker red */
}

.page-khuyn-mi .cta-button.small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Hero Section */
.page-khuyn-mi-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #A00000 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-khuyn-mi-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-khuyn-mi-hero .hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-khuyn-mi-hero .hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-khuyn-mi-hero .hero-image {
    width: 100%;
    max-width: 800px;
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-khuyn-mi-hero .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Featured Promos Section */
.page-khuyn-mi-featured-promos {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-khuyn-mi-featured-promos h2 {
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.page-khuyn-mi-featured-promos p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-khuyn-mi .promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyn-mi .promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi .promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi .promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-khuyn-mi .promo-card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    padding: 0 15px;
    text-align: center;
}

.page-khuyn-mi .promo-card h3 a {
    color: var(--secondary-color);
}

.page-khuyn-mi .promo-card h3 a:hover {
    color: var(--primary-color);
}

.page-khuyn-mi .promo-card p {
    font-size: 0.95em;
    color: #555555;
    padding: 0 20px;
    margin-bottom: 25px;
}

.page-khuyn-mi .promo-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-khuyn-mi .promo-button:hover {
    background-color: #FFC107;
}

/* General Promo Detail Sections */
.page-khuyn-mi-new-members, .page-khuyn-mi-daily-cashback, .page-khuyn-mi-vip-program, .page-khuyn-mi-terms {
    padding: 60px 0;
}

.page-khuyn-mi-new-members, .page-khuyn-mi-vip-program {
    background-color: #fcfcfc;
}

.page-khuyn-mi-daily-cashback, .page-khuyn-mi-terms {
    background-color: var(--bg-light);
}

.page-khuyn-mi .promo-detail-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.page-khuyn-mi .promo-detail-item:last-child {
    margin-bottom: 0;
}

.page-khuyn-mi .promo-detail-item h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: left;
}

.page-khuyn-mi .promo-detail-item img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

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

.page-khuyn-mi-terms ul {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

/* FAQ Section */
.page-khuyn-mi-faq {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-khuyn-mi-faq h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-khuyn-mi-faq p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-khuyn-mi .faq-list {
    margin-top: 30px;
}

.page-khuyn-mi .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #3a3a3a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-khuyn-mi .faq-question:hover {
    background: #A00000;
}

.page-khuyn-mi .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-light);
    text-align: left;
}

.page-khuyn-mi .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-khuyn-mi .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background-color: #4a4a4a;
    color: #cccccc;
}

.page-khuyn-mi .faq-answer p {
    padding: 15px 0;
    margin: 0;
    text-align: justify;
}

.page-khuyn-mi .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 15px 25px;
}

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

/* Final CTA Section */
.page-khuyn-mi-cta-final {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary-color), #FFC107);
    text-align: center;
    color: var(--text-dark);
}

.page-khuyn-mi-cta-final h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-khuyn-mi-cta-final p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-khuyn-mi-cta-final .cta-buttons-final {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-khuyn-mi h1 {
        font-size: 2.2em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.8em;
    }
    .page-khuyn-mi h3 {
        font-size: 1.5em;
    }
    .page-khuyn-mi .promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-khuyn-mi-hero .container {
        flex-direction: column;
    }
    .page-khuyn-mi-hero .hero-image {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .page-khuyn-mi-hero {
        padding: 60px 0;
    }
    .page-khuyn-mi h1 {
        font-size: 1.8em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.6em;
    }
    .page-khuyn-mi h3 {
        font-size: 1.3em;
    }
    .page-khuyn-mi .promo-grid {
        grid-template-columns: 1fr;
    }
    .page-khuyn-mi .promo-card {
        margin: 0 auto;
        max-width: 350px;
    }
    .page-khuyn-mi .promo-detail-item {
        padding: 20px;
    }
    .page-khuyn-mi .faq-question {
        padding: 15px 20px;
    }
    .page-khuyn-mi .faq-answer {
        padding: 0 20px;
    }
    .page-khuyn-mi .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-khuyn-mi-cta-final .cta-buttons-final {
        flex-direction: column;
        gap: 15px;
    }
    .page-khuyn-mi .cta-button.secondary {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .page-khuyn-mi .container {
        padding: 0 15px;
    }
    .page-khuyn-mi-hero {
        padding: 40px 0;
    }
    .page-khuyn-mi h1 {
        font-size: 1.5em;
    }
    .page-khuyn-mi h2 {
        font-size: 1.4em;
    }
    .page-khuyn-mi h3 {
        font-size: 1.2em;
    }
    .page-khuyn-mi .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-khuyn-mi .promo-card img {
        height: 180px;
    }
}