/* style/index.css */

/* Biến CSS */
:root {
    --page-index-primary-color: #0A2240;
    --page-index-secondary-color: #FFD700;
    --page-index-text-light: #F8F8F8; /* Màu chữ sáng cho nền tối */
    --page-index-text-dark: #333333; /* Màu chữ tối cho nền sáng */
    --page-index-grey-light: #E0E0E0;
    --page-index-grey-medium: #6c7a8c;
    --page-index-white: #FFFFFF;
    --page-index-black: #000000;
}

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

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

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

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

.page-index-section-description {
    font-size: 1.1em;
    color: var(--page-index-text-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.page-index-highlight {
    color: var(--page-index-secondary-color);
}

.page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-index-btn-primary {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-btn-secondary {
    background-color: transparent;
    color: var(--page-index-secondary-color);
    border: 2px solid var(--page-index-secondary-color);
    margin-left: 15px;
}

.page-index-btn-secondary:hover {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-primary-color);
    transform: translateY(-2px);
}

.page-index-btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-index-btn-large {
    padding: 15px 35px;
    font-size: 1.2em;
}

.page-index-btn-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, var(--page-index-primary-color) 0%, #1a3a5e 100%);
    color: var(--page-index-white);
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.page-index-hero .page-index-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-index-hero-content {
    flex: 1;
    max-width: 600px;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index-hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-index-hero-actions .page-index-btn {
    margin-top: 10px;
}

.page-index-hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-index-about {
    padding: 80px 0;
    background-color: var(--page-index-white);
}

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

.page-index-feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-index-feature-title {
    font-size: 1.5em;
    color: var(--page-index-primary-color);
    margin-bottom: 15px;
}

.page-index-feature-item p {
    color: var(--page-index-text-dark);
    font-size: 1em;
}

/* Products Section */
.page-index-products {
    padding: 80px 0;
    background-color: var(--page-index-grey-light);
}

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

.page-index-product-item {
    background-color: var(--page-index-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-index-product-item h3 {
    font-size: 1.4em;
    color: var(--page-index-primary-color);
    margin: 20px 15px 10px 15px;
}

.page-index-product-item p {
    color: var(--page-index-text-dark);
    padding: 0 15px 20px 15px;
    font-size: 0.95em;
}

.page-index-product-item .page-index-btn {
    margin-bottom: 20px;
}

/* Promotions CTA Section */
.page-index-promotions-cta {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-white);
    padding: 60px 0;
    text-align: center;
}

.page-index-promotions-cta .page-index-section-title {
    color: var(--page-index-white);
}

.page-index-promotions-cta .page-index-section-title::after {
    background-color: var(--page-index-secondary-color);
}

.page-index-promotions-cta .page-index-section-description {
    color: var(--page-index-text-light);
    margin-bottom: 40px;
}

.page-index-promotions-cta .page-index-btn {
    margin-top: 20px;
}

/* App Download Section */
.page-index-app-download {
    padding: 80px 0;
    background-color: var(--page-index-white);
}

.page-index-app-download .page-index-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-index-app-content {
    flex: 1;
    max-width: 600px;
}

.page-index-app-title {
    font-size: 2.5em;
    color: var(--page-index-primary-color);
    margin-bottom: 20px;
}

.page-index-app-description {
    font-size: 1.1em;
    color: var(--page-index-text-dark);
    margin-bottom: 30px;
}

.page-index-app-buttons .page-index-btn {
    margin-right: 15px;
    margin-bottom: 15px;
    min-width: 180px;
}

.page-index-app-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-app-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.page-index-why-choose {
    padding: 80px 0;
    background-color: var(--page-index-grey-light);
}

.page-index-why-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 800px;
}

.page-index-why-list li {
    background-color: var(--page-index-white);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: var(--page-index-text-dark);
    display: flex;
    align-items: center;
}

.page-index-list-icon {
    width: 25px;
    height: 25px;
    margin-right: 15px;
    min-width: 25px;
}

/* Detail Pages Section */
.page-index-detail-pages {
    padding: 80px 0;
    background-color: var(--page-index-white);
}

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

.page-index-detail-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-detail-title {
    font-size: 1.4em;
    color: var(--page-index-primary-color);
    margin-bottom: 15px;
}

.page-index-detail-title a {
    text-decoration: none;
    color: inherit;
}

.page-index-detail-title a:hover {
    color: var(--page-index-secondary-color);
}

.page-index-detail-description {
    font-size: 1em;
    color: var(--page-index-text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* CTA Bottom Section */
.page-index-cta-bottom {
    background: linear-gradient(90deg, var(--page-index-secondary-color) 0%, #e6c200 100%);
    color: var(--page-index-primary-color);
    padding: 80px 0;
    text-align: center;
}

.page-index-cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--page-index-primary-color);
}

.page-index-cta-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: var(--page-index-primary-color);
}

.page-index-cta-bottom .page-index-btn-primary {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-cta-bottom .page-index-btn-primary:hover {
    background-color: #051428;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero .page-index-container,
    .page-index-app-download .page-index-container {
        flex-direction: column;
        text-align: center;
    }

    .page-index-hero-content,
    .page-index-app-content {
        max-width: 100%;
    }

    .page-index-hero-image-wrapper,
    .page-index-app-image-wrapper {
        margin-top: 40px;
    }

    .page-index-hero-title {
        font-size: 2.8em;
    }

    .page-index-hero-description {
        font-size: 1.1em;
    }

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

    .page-index-cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        padding: 60px 0;
        min-height: auto;
    }

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

    .page-index-hero-description {
        font-size: 1em;
    }

    .page-index-hero-actions .page-index-btn {
        margin-left: 0;
        margin-right: 10px;
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .page-index-hero-actions .page-index-btn:last-child {
        margin-bottom: 0;
    }

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

    .page-index-section-description {
        font-size: 1em;
    }

    .page-index-app-buttons .page-index-btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page-index-app-buttons .page-index-btn:last-child {
        margin-bottom: 0;
    }

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

    .page-index-cta-description {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-index-container {
        padding: 0 15px;
    }

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

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

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