/* 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 15px;
}

.page-khuyen-mai__hero {
    background: linear-gradient(135deg, #FFD700 0%, #DC143C 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.page-khuyen-mai__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

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

.page-khuyen-mai__hero > * {
    position: relative;
    z-index: 2;
}

.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.5);
    color: #ffffff;
}

.page-khuyen-mai__brand {
    color: #FFD700;
}

.page-khuyen-mai__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    color: #f0f0f0;
}

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

.page-khuyen-mai__btn--primary {
    background-color: #FFD700;
    color: #333;
    border: 2px solid #FFD700;
}

.page-khuyen-mai__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

.page-khuyen-mai__btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-khuyen-mai__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.page-khuyen-mai__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-khuyen-mai__section {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai__section:nth-child(even) {
    background-color: #fefefe;
}

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

.page-khuyen-mai__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555;
}

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

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

.page-khuyen-mai__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-khuyen-mai__card-description {
    color: #666;
    margin-bottom: 25px;
}

.page-khuyen-mai__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-khuyen-mai__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-khuyen-mai__list-item {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai__list-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-khuyen-mai__list-description {
    color: #555;
    margin-bottom: 15px;
}

.page-khuyen-mai__btn--link {
    background: none;
    border: none;
    color: #DC143C;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
    margin-top: 10px;
}

.page-khuyen-mai__btn--link:hover {
    color: #a00d2c;
    text-decoration: none;
}

.page-khuyen-mai__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-khuyen-mai__step-item {
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-khuyen-mai__step-number {
    background-color: #DC143C;
    color: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(220, 20, 60, 0.4);
}

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

.page-khuyen-mai__step-description {
    color: #666;
}

.page-khuyen-mai__step-description a {
    color: #DC143C;
    text-decoration: none;
    font-weight: bold;
}

.page-khuyen-mai__step-description a:hover {
    text-decoration: underline;
}

.page-khuyen-mai__terms-list {
    list-style: disc inside;
    color: #555;
    max-width: 900px;
    margin: 30px auto;
    padding-left: 20px;
}

.page-khuyen-mai__terms-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-khuyen-mai__callout {
    text-align: center;
    font-style: italic;
    color: #DC143C;
    margin-top: 30px;
    font-size: 1.1em;
}

.page-khuyen-mai__grid--features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    text-align: center;
}

.page-khuyen-mai__feature-item {
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-khuyen-mai__feature-item:hover {
    transform: translateY(-5px);
}

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

.page-khuyen-mai__feature-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-khuyen-mai__feature-description {
    color: #666;
}

.page-khuyen-mai__faq .page-khuyen-mai__container {
    max-width: 900px;
}

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

.page-khuyen-mai__accordion-header {
    background-color: #FFD700;
    color: #333;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-khuyen-mai__accordion-header:hover, .page-khuyen-mai__accordion-header.active {
    background-color: #e6c200;
}

.page-khuyen-mai__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

.page-khuyen-mai__accordion-content {
    padding: 0 25px;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-khuyen-mai__accordion-content.open {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px;
}

.page-khuyen-mai__accordion-content p {
    margin: 0;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-khuyen-mai__hero {
        padding: 60px 0;
    }
    .page-khuyen-mai__hero-title {
        font-size: 2.5em;
    }
    .page-khuyen-mai__hero-description {
        font-size: 1em;
    }
    .page-khuyen-mai__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-khuyen-mai__section-title {
        font-size: 2em;
    }
    .page-khuyen-mai__section-intro {
        font-size: 0.95em;
    }
    .page-khuyen-mai__grid {
        grid-template-columns: 1fr;
    }
    .page-khuyen-mai__steps {
        grid-template-columns: 1fr;
    }
    .page-khuyen-mai__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-khuyen-mai__hero-title {
        font-size: 2em;
    }
    .page-khuyen-mai__hero-description {
        font-size: 0.9em;
    }
    .page-khuyen-mai__btn {
        margin: 5px;
    }
    .page-khuyen-mai__section-title {
        font-size: 1.8em;
    }
    .page-khuyen-mai__card-title {
        font-size: 1.5em;
    }
    .page-khuyen-mai__step-title {
        font-size: 1.3em;
    }
}