/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text for dark background */
    background-color: #0A2E36; /* Main dark background color */
    line-height: 1.6;
    padding-bottom: 50px;
}

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

.page-promotions__highlight {
    color: #E0B34C; /* Auxiliary color for highlights */
    font-weight: bold;
}

/* Buttons */
.page-promotions__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-promotions__btn--primary {
    background-color: #E0B34C; /* Auxiliary color for primary buttons */
    color: #0A2E36; /* Dark text for light button */
    box-shadow: 0 4px 15px rgba(224, 179, 76, 0.4);
}

.page-promotions__btn--primary:hover {
    background-color: #C79D3B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 179, 76, 0.6);
}

.page-promotions__btn--secondary {
    background-color: transparent;
    color: #E0B34C; /* Auxiliary color for secondary button text */
    border: 2px solid #E0B34C;
    padding: 10px 23px;
}

.page-promotions__btn--secondary:hover {
    background-color: #E0B34C;
    color: #0A2E36;
    transform: translateY(-2px);
}

.page-promotions__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

/* Hero Section */
.page-promotions__hero {
    background: linear-gradient(135deg, #0A2E36 0%, #1a4f5c 100%); /* Gradient background */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transform: scale(1.1);
}

.page-promotions__hero .page-promotions__container {
    position: relative;
    z-index: 1;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff; /* White text for hero title */
    line-height: 1.2;
}

.page-promotions__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #ccc; /* Slightly lighter text for subtitle */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styles */
.page-promotions__section {
    padding: 60px 0;
}

.page-promotions__section--intro {
    background-color: #0A2E36;
}

.page-promotions__section--types {
    background-color: #123d47; /* Slightly lighter dark background */
}

.page-promotions__section--details {
    background-color: #0A2E36;
}

.page-promotions__section--why-choose {
    background-color: #123d47;
}

.page-promotions__section--faq {
    background-color: #0A2E36;
}

.page-promotions__section--cta {
    background-color: #0A2E36;
    text-align: center;
    padding: 80px 0;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #E0B34C; /* Auxiliary color for section titles */
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-promotions__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #E0B34C;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Type Cards (Ưu đãi Phổ biến) */
.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__type-card {
    background-color: #1a4f5c; /* Darker shade for cards */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(224, 179, 76, 0.2);
}

.page-promotions__type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__type-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #E0B34C);
}

.page-promotions__card-title {
    font-size: 1.6em;
    color: #E0B34C;
    margin-bottom: 15px;
}

.page-promotions__type-card p {
    color: #c0c0c0;
    font-size: 0.95em;
}

/* Promotion List (Chi tiết các Chương trình Ưu đãi Hiện có) */
.page-promotions__promotion-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__promotion-item {
    background-color: #1a4f5c;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(224, 179, 76, 0.2);
}

.page-promotions__item-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-promotions__item-title a {
    color: #E0B34C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__item-title a:hover {
    color: #fff;
}

.page-promotions__item-description {
    color: #c0c0c0;
    margin-bottom: 25px;
    font-size: 1.05em;
}

.page-promotions__item-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

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

.page-promotions__feature-item {
    background-color: #0A2E36;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(224, 179, 76, 0.1);
}

.page-promotions__feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 3px #E0B34C);
}

.page-promotions__feature-title {
    font-size: 1.4em;
    color: #E0B34C;
    margin-bottom: 15px;
}

.page-promotions__feature-item p {
    color: #b0b0b0;
    font-size: 0.9em;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    background-color: #1a4f5c;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(224, 179, 76, 0.1);
}

.page-promotions__faq-question {
    font-size: 1.3em;
    color: #E0B34C;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-promotions__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #E0B34C;
    transition: transform 0.3s ease;
}

.page-promotions__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-promotions__faq-answer {
    color: #c0c0c0;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-promotions__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

/* CTA Section */
.page-promotions__cta-note {
    color: #aaa;
    font-size: 0.9em;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }

    .page-promotions__hero-subtitle {
        font-size: 1.1em;
    }

    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__grid, .page-promotions__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-promotions__promotion-item {
        padding: 25px;
    }

    .page-promotions__item-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero {
        padding: 80px 0;
    }

    .page-promotions__hero-title {
        font-size: 2.2em;
    }

    .page-promotions__hero-subtitle {
        font-size: 1em;
    }

    .page-promotions__section {
        padding: 40px 0;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
    }

    .page-promotions__grid, .page-promotions__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__item-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-promotions__btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }

    .page-promotions__hero-subtitle {
        font-size: 0.9em;
    }

    .page-promotions__section-title {
        font-size: 1.5em;
    }

    .page-promotions__type-card, .page-promotions__promotion-item, .page-promotions__feature-item, .page-promotions__faq-item {
        padding: 20px;
    }

    .page-promotions__card-title, .page-promotions__feature-title, .page-promotions__faq-question {
        font-size: 1.2em;
    }

    .page-promotions__item-title {
        font-size: 1.4em;
    }
}