/* style/about-us-development-history.css */

/* Biến CSS cho màu sắc */
:root {
    --page-789bet-primary-color: #0A0A0A;
    --page-789bet-accent-color: #FFD700;
    --page-789bet-text-light: #FFFFFF;
    --page-789bet-text-dark: #333333;
    --page-789bet-bg-light: #F8F8F8;
    --page-789bet-bg-dark: #1A1A1A;
}

.page-about-us-development-history {
    font-family: 'Arial', sans-serif;
    color: var(--page-789bet-text-dark);
    line-height: 1.6;
    background-color: var(--page-789bet-bg-light);
}

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

/* Hero Section */
.page-about-us-development-history__hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--page-789bet-text-light);
    overflow: hidden;
}

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

.page-about-us-development-history__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), var(--page-789bet-primary-color) 80%);
    z-index: 2;
}

.page-about-us-development-history__hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
}

.page-about-us-development-history__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: var(--page-789bet-accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about-us-development-history__hero-subtitle {
    font-size: 1.5em;
    font-weight: 300;
    color: var(--page-789bet-text-light);
}

/* Intro Section */
.page-about-us-development-history__intro {
    background-color: var(--page-789bet-primary-color);
    padding: 60px 0;
    text-align: center;
    color: var(--page-789bet-text-light);
}

.page-about-us-development-history__intro-text {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto;
}

.page-about-us-development-history__intro-text strong {
    color: var(--page-789bet-accent-color);
}

/* Timeline Section */
.page-about-us-development-history__timeline {
    padding: 80px 0;
    background-color: var(--page-789bet-bg-light);
}

.page-about-us-development-history__section-title {
    font-size: 2.8em;
    color: var(--page-789bet-primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.page-about-us-development-history__section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--page-789bet-accent-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.page-about-us-development-history__timeline-item {
    display: flex;
    margin-bottom: 80px;
    position: relative;
}

.page-about-us-development-history__timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-about-us-development-history__timeline-item::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--page-789bet-accent-color);
    top: 0;
    bottom: -80px; /* Extend line below last item */
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.page-about-us-development-history__timeline-item:last-child::before {
    bottom: 0; /* Stop line at the last item */
}

.page-about-us-development-history__timeline-content {
    background-color: var(--page-789bet-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 48%; /* Adjust width for content */
    position: relative;
    z-index: 1;
    border-left: 5px solid var(--page-789bet-accent-color);
}

.page-about-us-development-history__timeline-item:nth-child(even) .page-about-us-development-history__timeline-content {
    border-left: none;
    border-right: 5px solid var(--page-789bet-accent-color);
    margin-left: 4%; /* Space from center line */
}

.page-about-us-development-history__timeline-item:nth-child(odd) .page-about-us-development-history__timeline-content {
    margin-right: 4%; /* Space from center line */
}

.page-about-us-development-history__timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--page-789bet-accent-color);
    border-radius: 50%;
    top: 30px;
    z-index: 2;
    border: 3px solid var(--page-789bet-bg-light);
}

.page-about-us-development-history__timeline-item:nth-child(odd) .page-about-us-development-history__timeline-content::after {
    right: -52px; /* Position circle on the right side of content box */
}

.page-about-us-development-history__timeline-item:nth-child(even) .page-about-us-development-history__timeline-content::after {
    left: -52px; /* Position circle on the left side of content box */
}

.page-about-us-development-history__timeline-year {
    font-size: 1.8em;
    color: var(--page-789bet-accent-color);
    margin-bottom: 15px;
}

.page-about-us-development-history__timeline-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-789bet-text-dark);
}

.page-about-us-development-history__timeline-content strong {
    color: var(--page-789bet-primary-color);
}

.page-about-us-development-history__timeline-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Call to Action Section */
.page-about-us-development-history__cta {
    background-color: var(--page-789bet-primary-color);
    padding: 80px 0;
    text-align: center;
    color: var(--page-789bet-text-light);
}

.page-about-us-development-history__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--page-789bet-accent-color);
}

.page-about-us-development-history__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about-us-development-history__cta-button {
    display: inline-block;
    background-color: var(--page-789bet-accent-color);
    color: var(--page-789bet-primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--page-789bet-accent-color);
}

.page-about-us-development-history__cta-button:hover {
    background-color: var(--page-789bet-text-light);
    color: var(--page-789bet-primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about-us-development-history__hero-title {
        font-size: 2.8em;
    }
    .page-about-us-development-history__hero-subtitle {
        font-size: 1.2em;
    }
    .page-about-us-development-history__timeline-item {
        flex-direction: column;
        align-items: center;
    }
    .page-about-us-development-history__timeline-item:nth-child(even) {
        flex-direction: column;
    }
    .page-about-us-development-history__timeline-content {
        max-width: 100%;
        margin: 0;
        border-right: none;
        border-left: 5px solid var(--page-789bet-accent-color);
    }
    .page-about-us-development-history__timeline-item::before {
        left: 20px;
        transform: translateX(0);
    }
    .page-about-us-development-history__timeline-content::after {
        left: -35px;
        top: 30px;
    }
    .page-about-us-development-history__timeline-item:nth-child(even) .page-about-us-development-history__timeline-content {
        margin-left: 0;
        border-left: 5px solid var(--page-789bet-accent-color);
        border-right: none;
    }
    .page-about-us-development-history__timeline-item:nth-child(even) .page-about-us-development-history__timeline-content::after {
        left: -35px;
    }
}

@media (max-width: 768px) {
    .page-about-us-development-history__hero {
        height: 350px;
    }
    .page-about-us-development-history__hero-title {
        font-size: 2.2em;
    }
    .page-about-us-development-history__hero-subtitle {
        font-size: 1em;
    }
    .page-about-us-development-history__section-title {
        font-size: 2em;
    }
    .page-about-us-development-history__intro,
    .page-about-us-development-history__timeline,
    .page-about-us-development-history__cta {
        padding: 40px 0;
    }
    .page-about-us-development-history__cta-title {
        font-size: 2.2em;
    }
    .page-about-us-development-history__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-about-us-development-history__hero-title {
        font-size: 1.8em;
    }
    .page-about-us-development-history__hero-subtitle {
        font-size: 0.9em;
    }
    .page-about-us-development-history__timeline-year {
        font-size: 1.5em;
    }
    .page-about-us-development-history__timeline-content p {
        font-size: 1em;
    }
    .page-about-us-development-history__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}