/* style/promotions.css */

/* Biến CSS */
:root {
    --page-promotions-primary-color: #007bff;
    --page-promotions-secondary-color: #28a745;
    --page-promotions-dark-text: #212529;
    --page-promotions-light-text: #ffffff;
    --page-promotions-light-bg: #f8f9fa;
    --page-promotions-gray-border: #dee2e6;
}

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

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

/* Hero Section */
.page-promotions__hero {
    background: linear-gradient(135deg, var(--page-promotions-primary-color) 0%, #0056b3 100%); /* Slightly darker blue for contrast */
    color: var(--page-promotions-light-text);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.page-promotions__hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__title {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--page-promotions-light-text);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-promotions__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-promotions__cta-button {
    display: inline-block;
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-light-text);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-promotions__cta-button:hover {
    background-color: #218838; /* Slightly darker green */
    transform: translateY(-2px);
}

/* General Section Styling */
.page-promotions__intro, .page-promotions__features, .page-promotions__how-to-claim, .page-promotions__why-choose, .page-promotions__cta-section, .page-promotions__detail-list {
    padding: 60px 0;
    background-color: var(--page-promotions-light-bg);
}

.page-promotions__section-heading {
    font-size: 2.5em;
    color: var(--page-promotions-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions__section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-promotions-secondary-color);
    border-radius: 2px;
}

.page-promotions__intro p, .page-promotions__why-choose p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Features Grid */
.page-promotions__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-promotions__feature-item {
    background-color: var(--page-promotions-light-text);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.page-promotions__feature-title {
    font-size: 1.4em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__feature-item p {
    font-size: 1em;
    color: var(--page-promotions-dark-text);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__link-button {
    display: inline-block;
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-light-text);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    border: none;
}

.page-promotions__link-button:hover {
    background-color: #0056b3; /* Darker blue */
}

/* How-To-Claim Section */
.page-promotions__how-to-claim {
    background-color: #e9f7ef; /* Light green background */
    padding: 80px 0;
}

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

.page-promotions__steps-list li {
    background-color: var(--page-promotions-light-text);
    border-left: 5px solid var(--page-promotions-secondary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__steps-list li strong {
    color: var(--page-promotions-primary-color);
    font-size: 1.1em;
    display: block;
    margin-bottom: 10px;
}

.page-promotions__cta-small {
    display: inline-block;
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-light-text);
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    border: none;
}

.page-promotions__cta-small:hover {
    background-color: #218838;
}

.page-promotions__content-image {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.page-promotions__why-choose .page-promotions__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__why-choose .page-promotions__list li {
    background-color: var(--page-promotions-light-text);
    border: 1px solid var(--page-promotions-gray-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    text-align: justify;
}

.page-promotions__why-choose .page-promotions__list li strong {
    color: var(--page-promotions-primary-color);
}

/* CTA Section */
.page-promotions__cta-section {
    background: linear-gradient(45deg, #007bff, #28a745); /* Gradient background */
    color: var(--page-promotions-light-text);
    text-align: center;
    padding: 80px 0;
}

.page-promotions__cta-section .page-promotions__section-heading {
    color: var(--page-promotions-light-text);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.page-promotions__cta-section .page-promotions__section-heading::after {
    background-color: var(--page-promotions-light-text);
}

.page-promotions__cta-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions__cta-button--secondary {
    background-color: var(--page-promotions-primary-color);
}

.page-promotions__cta-button--secondary:hover {
    background-color: #0056b3;
}

.page-promotions__cta-image {
    max-width: 90%;
    height: auto;
    margin-top: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Detail List / Promo Cards */
.page-promotions__detail-list {
    padding: 60px 0;
    background-color: var(--page-promotions-light-bg);
}

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

.page-promotions__promo-card {
    background-color: var(--page-promotions-light-text);
    border: 1px solid var(--page-promotions-gray-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-promotions__promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-promotions__card-title {
    font-size: 1.3em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
    color: #0056b3; /* Darker blue on hover */
}

.page-promotions__card-description {
    font-size: 0.95em;
    color: var(--page-promotions-dark-text);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__title {
        font-size: 2.5em;
    }
    .page-promotions__subtitle {
        font-size: 1.1em;
    }
    .page-promotions__section-heading {
        font-size: 2em;
    }
    .page-promotions__feature-grid, .page-promotions__steps-list, .page-promotions__promo-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__hero {
        padding: 60px 0;
    }
    .page-promotions__title {
        font-size: 2em;
    }
    .page-promotions__subtitle {
        font-size: 1em;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions__section-heading {
        font-size: 1.8em;
    }
    .page-promotions__intro p, .page-promotions__why-choose p, .page-promotions__steps-list li, .page-promotions__why-choose .page-promotions__list li, .page-promotions__card-description {
        font-size: 0.95em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .page-promotions__hero {
        padding: 40px 0;
    }
    .page-promotions__title {
        font-size: 1.8em;
    }
    .page-promotions__subtitle {
        font-size: 0.9em;
    }
    .page-promotions__section-heading {
        font-size: 1.6em;
    }
    .page-promotions__feature-grid, .page-promotions__steps-list, .page-promotions__promo-cards {
        grid-template-columns: 1fr;
    }
    .page-promotions__hero-image, .page-promotions__content-image, .page-promotions__cta-image {
        max-width: 100%;
    }
    .page-promotions__feature-item, .page-promotions__steps-list li, .page-promotions__why-choose .page-promotions__list li, .page-promotions__promo-card {
        padding: 20px;
    }
    .page-promotions__link-button, .page-promotions__cta-small {
        width: 100%;
        box-sizing: border-box;
    }
}