/* style/index-kv999-brand-story.css */

/* Biến CSS cho màu sắc */
:root {
    --kv999-primary-color: #CC0000;
    --kv999-secondary-color: #FFD700;
    --kv999-text-dark: #333333;
    --kv999-text-light: #FFFFFF;
    --kv999-background-light: #f5f5f5;
    --kv999-background-dark: #1a1a1a;
}

/* Reset cơ bản và font chữ */
.page-index-kv999-brand-story {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--kv999-text-dark);
    background-color: var(--kv999-background-light);
}

/* Hero Section */
.page-index-kv999-brand-story__hero-section {
    position: relative;
    height: 500px; /* Chiều cao cố định cho hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--kv999-text-light);
}

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

.page-index-kv999-brand-story__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.7), rgba(255, 215, 0, 0.5));
    z-index: 2;
}

.page-index-kv999-brand-story__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.page-index-kv999-brand-story__title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: var(--kv999-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-index-kv999-brand-story__cta-button {
    display: inline-block;
    background-color: var(--kv999-secondary-color);
    color: var(--kv999-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;
    border: none;
    cursor: pointer;
}

.page-index-kv999-brand-story__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-index-kv999-brand-story__cta-button--outline {
    background-color: transparent;
    color: var(--kv999-secondary-color);
    border: 2px solid var(--kv999-secondary-color);
    margin-left: 20px;
}

.page-index-kv999-brand-story__cta-button--outline:hover {
    background-color: var(--kv999-secondary-color);
    color: var(--kv999-primary-color);
}

/* General Section Styling */
.page-index-kv999-brand-story__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-kv999-brand-story__section:nth-of-type(even) {
    background-color: var(--kv999-background-dark);
    color: var(--kv999-text-light);
}

.page-index-kv999-brand-story__section:nth-of-type(even) .page-index-kv999-brand-story__section-title,
.page-index-kv999-brand-story__section:nth-of-type(even) .page-index-kv999-brand-story__description,
.page-index-kv999-brand-story__section:nth-of-type(even) p,
.page-index-kv999-brand-story__section:nth-of-type(even) h3 {
    color: var(--kv999-text-light);
}

.page-index-kv999-brand-story__section:nth-of-type(even) .highlight {
    color: var(--kv999-secondary-color);
}

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

.page-index-kv999-brand-story__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--kv999-primary-color);
}

.page-index-kv999-brand-story__description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-kv999-brand-story__section p {
    font-size: 1.05em;
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-index-kv999-brand-story__section p strong {
    color: var(--kv999-primary-color);
}

.page-index-kv999-brand-story__section:nth-of-type(even) p strong {
    color: var(--kv999-secondary-color);
}

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

/* About Us Section */
.page-index-kv999-brand-story__about-us .page-index-kv999-brand-story__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-index-kv999-brand-story__about-us .page-index-kv999-brand-story__text-content {
    flex: 2;
}

.page-index-kv999-brand-story__about-us .page-index-kv999-brand-story__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-index-kv999-brand-story__image-small {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Milestones Section */
.page-index-kv999-brand-story__milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-index-kv999-brand-story__milestone-item {
    background-color: var(--kv999-primary-color);
    color: var(--kv999-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.page-index-kv999-brand-story__milestone-item:hover {
    transform: translateY(-5px);
}

.page-index-kv999-brand-story__milestone-item h3 {
    color: var(--kv999-secondary-color);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.page-index-kv999-brand-story__milestone-item p {
    font-size: 1em;
    color: var(--kv999-text-light);
}

.page-index-kv999-brand-story__full-width-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Values Section */
.page-index-kv999-brand-story__values {
    background-color: var(--kv999-background-light);
}

.page-index-kv999-brand-story__value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-index-kv999-brand-story__value-item {
    background-color: var(--kv999-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-kv999-brand-story__value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-index-kv999-brand-story__value-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(10%) sepia(90%) saturate(6000%) hue-rotate(340deg) brightness(80%) contrast(100%); /* Màu đỏ */
}

.page-index-kv999-brand-story__value-item h3 {
    color: var(--kv999-primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-index-kv999-brand-story__value-item p {
    color: var(--kv999-text-dark);
    font-size: 0.95em;
}

/* Commitment Section */
.page-index-kv999-brand-story__commitment-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-bottom: 60px;
}

.page-index-kv999-brand-story__commitment-content--reverse {
    flex-direction: row-reverse;
}

.page-index-kv999-brand-story__text-block {
    flex: 1;
}

.page-index-kv999-brand-story__text-block h3 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--kv999-primary-color);
}

.page-index-kv999-brand-story__commitment:nth-of-type(even) .page-index-kv999-brand-story__text-block h3 {
    color: var(--kv999-secondary-color);
}

.page-index-kv999-brand-story__image-block {
    flex: 1;
    min-width: 400px;
}

.page-index-kv999-brand-story__image-large {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Call to Action Final */
.page-index-kv999-brand-story__cta-final {
    background-color: var(--kv999-primary-color);
    color: var(--kv999-text-light);
    padding: 80px 0;
}

.page-index-kv999-brand-story__cta-final .page-index-kv999-brand-story__section-title {
    color: var(--kv999-text-light);
}

.page-index-kv999-brand-story__cta-final .page-index-kv999-brand-story__description {
    color: var(--kv999-text-light);
}

.page-index-kv999-brand-story__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-index-kv999-brand-story__cta-button.page-index-kv999-brand-story__cta-button--secondary {
    background-color: var(--kv999-primary-color);
    color: var(--kv999-secondary-color);
    border: 2px solid var(--kv999-secondary-color);
}

.page-index-kv999-brand-story__cta-button.page-index-kv999-brand-story__cta-button--secondary:hover {
    background-color: var(--kv999-secondary-color);
    color: var(--kv999-primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-kv999-brand-story__hero-content {
        padding: 0 15px;
    }
    .page-index-kv999-brand-story__title {
        font-size: 2.8em;
    }
    .page-index-kv999-brand-story__subtitle {
        font-size: 1.2em;
    }
    .page-index-kv999-brand-story__about-us .page-index-kv999-brand-story__content-wrapper,
    .page-index-kv999-brand-story__commitment-content {
        flex-direction: column;
        text-align: center;
    }
    .page-index-kv999-brand-story__about-us .page-index-kv999-brand-story__image-wrapper,
    .page-index-kv999-brand-story__image-block {
        min-width: unset;
        width: 100%;
    }
    .page-index-kv999-brand-story__commitment-content--reverse {
        flex-direction: column;
    }
    .page-index-kv999-brand-story__text-block h3 {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-index-kv999-brand-story__hero-section {
        height: 400px;
    }
    .page-index-kv999-brand-story__title {
        font-size: 2.2em;
    }
    .page-index-kv999-brand-story__subtitle {
        font-size: 1em;
    }
    .page-index-kv999-brand-story__section-title {
        font-size: 2em;
    }
    .page-index-kv999-brand-story__milestone-grid,
    .page-index-kv999-brand-story__value-grid {
        grid-template-columns: 1fr;
    }
    .page-index-kv999-brand-story__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-kv999-brand-story__cta-button--outline {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .page-index-kv999-brand-story__hero-section {
        height: 350px;
    }
    .page-index-kv999-brand-story__title {
        font-size: 1.8em;
    }
    .page-index-kv999-brand-story__subtitle {
        font-size: 0.9em;
    }
    .page-index-kv999-brand-story__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-kv999-brand-story__section-title {
        font-size: 1.8em;
    }
    .page-index-kv999-brand-story__milestone-item h3 {
        font-size: 1.5em;
    }
    .page-index-kv999-brand-story__value-item h3 {
        font-size: 1.3em;
    }
    .page-index-kv999-brand-story__text-block h3 {
        font-size: 1.5em;
    }
}