/* style/about-company-history.css */

/* Biến CSS cho màu sắc và font */
:root {
    --page-about-company-history-primary-color: #0A192F;
    --page-about-company-history-secondary-color: #FFD700;
    --page-about-company-history-text-light: #F0F0F0;
    --page-about-company-history-text-dark: #333333;
    --page-about-company-history-bg-dark: #0A192F;
    --page-about-company-history-bg-light: #1A2E44; /* Slightly lighter dark for contrast */
    --page-about-company-history-accent-color: #FFD700;
    --page-about-company-history-button-hover: #E0B700;
}

.page-about-company-history {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-about-company-history-text-light); /* Default text color for dark background */
    background-color: var(--page-about-company-history-bg-dark);
}

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

/* Hero Section */
.page-about-company-history__hero-section {
    background: linear-gradient(135deg, var(--page-about-company-history-primary-color) 0%, #1A2E44 100%);
    color: var(--page-about-company-history-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--page-about-company-history-accent-color);
}

.page-about-company-history__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-about-company-history-accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-about-company-history__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-about-company-history__cta-button {
    display: inline-block;
    background-color: var(--page-about-company-history-accent-color);
    color: var(--page-about-company-history-primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-about-company-history__cta-button:hover {
    background-color: var(--page-about-company-history-button-hover);
    transform: translateY(-3px);
}

/* Content Sections */
.page-about-company-history__content-section {
    padding: 80px 0;
}

.page-about-company-history__section--dark {
    background-color: var(--page-about-company-history-bg-dark);
    color: var(--page-about-company-history-text-light);
}

.page-about-company-history__section--light {
    background-color: var(--page-about-company-history-bg-light);
    color: var(--page-about-company-history-text-light);
}

.page-about-company-history__section-title {
    font-size: 2.8em;
    color: var(--page-about-company-history-accent-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.page-about-company-history__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-about-company-history-accent-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.page-about-company-history__text-block {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: justify;
}

.page-about-company-history__text-block p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-about-company-history__image-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.page-about-company-history__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease;
}

.page-about-company-history__image:hover {
    transform: scale(1.02);
}

/* Milestone Grid */
.page-about-company-history__milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.page-about-company-history__milestone-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-left: 5px solid var(--page-about-company-history-accent-color);
}

.page-about-company-history__milestone-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-about-company-history__milestone-year {
    font-size: 1.8em;
    color: var(--page-about-company-history-accent-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about-company-history__milestone-item p {
    font-size: 1em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* CTA Section */
.page-about-company-history__cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(45deg, var(--page-about-company-history-primary-color), #2A405A);
    border-top: 5px solid var(--page-about-company-history-accent-color);
    border-bottom: 5px solid var(--page-about-company-history-accent-color);
}

.page-about-company-history__cta-title {
    font-size: 3em;
    color: var(--page-about-company-history-accent-color);
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-about-company-history__cta-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-about-company-history__cta-button--primary {
    background-color: var(--page-about-company-history-accent-color);
    color: var(--page-about-company-history-primary-color);
    font-size: 1.2em;
    padding: 18px 35px;
}

.page-about-company-history__cta-button--primary:hover {
    background-color: var(--page-about-company-history-button-hover);
    transform: translateY(-4px);
}

.page-about-company-history__cta-button--secondary {
    background-color: transparent;
    border: 2px solid var(--page-about-company-history-accent-color);
    color: var(--page-about-company-history-accent-color);
    font-size: 1.2em;
    padding: 16px 33px;
}

.page-about-company-history__cta-button--secondary:hover {
    background-color: var(--page-about-company-history-accent-color);
    color: var(--page-about-company-history-primary-color);
    transform: translateY(-4px);
}

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

    .page-about-company-history__hero-subtitle {
        font-size: 1.2em;
    }

    .page-about-company-history__section-title {
        font-size: 2.2em;
    }

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

    .page-about-company-history__cta-title {
        font-size: 2.5em;
    }

    .page-about-company-history__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-about-company-history__hero-section,
    .page-about-company-history__content-section,
    .page-about-company-history__cta-section {
        padding: 60px 0;
    }

    .page-about-company-history__hero-title {
        font-size: 2.2em;
    }

    .page-about-company-history__hero-subtitle {
        font-size: 1em;
    }

    .page-about-company-history__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }

    .page-about-company-history__text-block {
        font-size: 1em;
    }

    .page-about-company-history__milestone-year {
        font-size: 1.5em;
    }

    .page-about-company-history__cta-title {
        font-size: 2em;
    }

    .page-about-company-history__cta-button,
    .page-about-company-history__cta-button--primary,
    .page-about-company-history__cta-button--secondary {
        font-size: 1em;
        padding: 12px 25px;
    }

    .page-about-company-history__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-about-company-history__hero-section,
    .page-about-company-history__content-section,
    .page-about-company-history__cta-section {
        padding: 40px 0;
    }
    .page-about-company-history__hero-title {
        font-size: 1.8em;
    }
    .page-about-company-history__hero-subtitle {
        font-size: 0.9em;
    }
    .page-about-company-history__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
    .page-about-company-history__milestone-grid {
        grid-template-columns: 1fr;
    }
    .page-about-company-history__milestone-item {
        padding: 20px;
    }
    .page-about-company-history__cta-title {
        font-size: 1.6em;
    }
    .page-about-company-history__cta-description {
        font-size: 0.9em;
    }
    .page-about-company-history__cta-button,
    .page-about-company-history__cta-button--primary,
    .page-about-company-history__cta-button--secondary {
        width: 100%;
        box-sizing: border-box;
    }
}