/* style/index.css */

/* Biến CSS */
:root {
    --page-index-primary-color: #1A2E40;
    --page-index-accent-color: #FFD700;
    --page-index-text-light: #F0F2F5;
    --page-index-text-dark: #333333;
    --page-index-bg-light: #ffffff;
    --page-index-bg-dark: #1A2E40;
}

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

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

.page-index-section {
    padding: 80px 0;
    text-align: center;
}

.page-index-section:nth-of-type(even) {
    background-color: #f9f9f9;
}

.page-index-section-title {
    font-size: 2.8em;
    color: var(--page-index-primary-color);
    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-accent-color);
    border-radius: 2px;
}

.page-index-section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: #666;
}

/* Hero Section */
.page-index-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: var(--page-index-text-light);
}

.page-index-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-index-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 46, 64, 0.8), rgba(255, 215, 0, 0.4));
    z-index: 2;
}

.page-index-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-index-hero-title {
    font-size: 4em;
    margin-bottom: 20px;
    color: var(--page-index-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: var(--page-index-text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-index-btn-primary {
    background-color: var(--page-index-accent-color);
    color: var(--page-index-primary-color);
    border: 2px solid var(--page-index-accent-color);
}

.page-index-btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

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

.page-index-btn-secondary:hover {
    background-color: var(--page-index-text-light);
    color: var(--page-index-primary-color);
}

/* About Section */
.page-index-about .page-index-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-index-about .page-index-text-content {
    flex: 2;
}

.page-index-about .page-index-text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #555;
}

.page-index-about .page-index-image-content {
    flex: 1;
    min-width: 300px;
}

.page-index-about .page-index-img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.page-index-feature-item {
    background-color: var(--page-index-bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

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

.page-index-feature-item p {
    font-size: 1em;
    color: #666;
}

/* Journey Section */
.page-index-journey-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-index-step-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: var(--page-index-primary-color);
    color: var(--page-index-text-light);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: center;
}

.page-index-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--page-index-accent-color);
    color: var(--page-index-primary-color);
    border-radius: 50%;
    font-size: 2.5em;
    font-weight: bold;
    margin: 0 auto 25px auto;
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-index-step-title {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--page-index-text-light);
}

.page-index-step-item p {
    font-size: 1em;
    color: #ccc;
}

/* Detail Pages Section */
.page-index-detail-pages {
    background-color: #f0f2f5;
}

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

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

.page-index-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.page-index-detail-title a {
    color: var(--page-index-primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-index-detail-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--page-index-accent-color);
    color: var(--page-index-accent-color);
    background-color: transparent;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto;
}

.page-index-btn-outline:hover {
    background-color: var(--page-index-accent-color);
    color: var(--page-index-primary-color);
}

/* CTA Banner */
.page-index-cta-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: var(--page-index-text-light);
    padding: 0;
}

.page-index-cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-index-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 46, 64, 0.9), rgba(255, 215, 0, 0.6));
    z-index: 2;
}

.page-index-cta-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.page-index-cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--page-index-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-cta-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--page-index-text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-hero-title {
        font-size: 3.5em;
    }
    .page-index-hero-subtitle {
        font-size: 1.3em;
    }
    .page-index-about .page-index-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-index-about .page-index-image-content {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-index-journey-steps {
        flex-direction: column;
        align-items: center;
    }
    .page-index-step-item {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .page-index-section {
        padding: 60px 0;
    }
    .page-index-section-title {
        font-size: 2.2em;
        margin-bottom: 30px;
    }
    .page-index-hero {
        height: 60vh;
    }
    .page-index-hero-title {
        font-size: 2.5em;
    }
    .page-index-hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-feature-grid,
    .page-index-detail-grid {
        grid-template-columns: 1fr;
    }
    .page-index-cta-banner {
        height: 350px;
    }
    .page-index-cta-title {
        font-size: 2.2em;
    }
    .page-index-cta-subtitle {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-index-section {
        padding: 40px 0;
    }
    .page-index-section-title {
        font-size: 1.8em;
    }
    .page-index-hero {
        height: 50vh;
    }
    .page-index-hero-title {
        font-size: 1.8em;
    }
    .page-index-hero-subtitle {
        font-size: 0.9em;
    }
    .page-index-btn {
        padding: 10px 20px;
        font-size: 0.9em;
        margin: 5px;
    }
    .page-index-feature-icon {
        width: 60px;
        height: 60px;
    }
    .page-index-feature-title {
        font-size: 1.5em;
    }
    .page-index-step-number {
        width: 50px;
        height: 50px;
        font-size: 2em;
    }
    .page-index-step-title {
        font-size: 1.6em;
    }
    .page-index-detail-title {
        font-size: 1.3em;
    }
    .page-index-cta-banner {
        height: 300px;
    }
    .page-index-cta-title {
        font-size: 1.8em;
    }
    .page-index-cta-subtitle {
        font-size: 0.9em;
    }
}