/*
 * About Us Page Styles (page-ve-chung-toi.php)
 * Hero, Journey, Values, Clients, Booking sections
 */

/* Container padding for About page - similar to news page */
.about-hero-section .container,
.journey-section .container,
.values-section .container,
.clients-section .container,
.about-booking-section .container {
    max-width: 1400px;
    padding: 0 40px;
}

@media (max-width: 1400px) {
    .about-hero-section .container,
    .journey-section .container,
    .values-section .container,
    .clients-section .container,
    .about-booking-section .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Hero Section */
.about-hero-section {
    padding: 140px 0 0;
    background: var(--primary-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-hero-left {
    text-align: left;
}

.about-hero-right {
    text-align: left;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
    color: var(--text-light);
}

.about-hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    margin: 0;
    color: var(--text-light);
}

.about-hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 4rem;
    border-radius: 10px;
    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Journey Section */
.journey-section {
    padding: 80px 0;
    background: #fff;
}

.journey-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.journey-left {
    padding-right: 2rem;
}

.journey-right {
    position: relative;
}

.journey-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.journey-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.journey-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    text-align: left;
}

.journey-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.journey-text p {
    margin-bottom: 1.5rem;
}

.journey-text p:last-child {
    margin-bottom: 0;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
}

.values-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--primary-red);
}

.value-icon i {
    font-size: 3rem;
    line-height: 1;
    display: block;
}

.value-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.value-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background: #fff;
}

.clients-header {
    text-align: center;
    margin-bottom: 4rem;
}

.clients-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.client-logo {
    padding: 2rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Booking Section */
.about-booking-section {
    padding: 80px 0;
    background: #fff;
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.booking-info {
    max-width: 100%;
}

.booking-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.booking-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.booking-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.booking-detail-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.booking-detail-item p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.view-map-link,
.contact-link {
    color: var(--primary-red);
    text-decoration: underline;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.view-map-link:hover,
.contact-link:hover {
    color: #e67722;
}

.social-media {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
}

.social-icon i {
    font-size: 1.2rem;
    line-height: 1;
}

.social-icon:hover {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
}

.social-icon.facebook i {
    font-size: 1.2rem;
}

.social-icon.tiktok i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-description {
        font-size: 1.1rem;
    }
    
    .about-hero-image {
        margin-top: 3rem;
    }
    
    .journey-title,
    .values-title,
    .clients-title,
    .booking-title {
        font-size: 2rem;
    }
    
    .booking-content {
        gap: 3rem;
    }
    
    .values-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-hero-section .container,
    .journey-section .container,
    .values-section .container,
    .clients-section .container,
    .about-booking-section .container {
        padding: 0 20px;
    }
    
    .about-hero-section {
        padding: 100px 0 40px;
    }
    
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-hero-left,
    .about-hero-right {
        text-align: left;
    }
    
    .about-hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .about-hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .about-hero-image {
        margin-top: 2rem;
        border-radius: 12px;
    }
    
    .journey-section,
    .values-section,
    .clients-section,
    .about-booking-section {
        padding: 50px 0;
    }
    
    .journey-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .journey-left {
        padding-right: 0;
        order: 2;
    }
    
    .journey-right {
        order: 1;
    }
    
    .journey-title,
    .values-title,
    .clients-title,
    .booking-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .journey-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .values-header {
        margin-bottom: 2.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .value-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .value-icon i {
        font-size: 2.5rem;
    }
    
    .value-item h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .value-item p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .clients-header {
        margin-bottom: 2.5rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .client-logo {
        padding: 1rem;
        min-height: 80px;
    }
    
    .client-logo img {
        max-height: 50px;
    }
    
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-description {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }
    
    .booking-details {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .about-hero-section .container,
    .journey-section .container,
    .values-section .container,
    .clients-section .container,
    .about-booking-section .container {
        padding: 0 16px;
    }
    
    .about-hero-section {
        padding: 80px 0 30px;
    }
    
    .about-hero-content {
        gap: 1.5rem;
    }
    
    .about-hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .about-hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .about-hero-image {
        margin-top: 1.5rem;
        border-radius: 10px;
    }
    
    .journey-section,
    .values-section,
    .clients-section {
        padding: 40px 0;
    }
    
    .journey-content {
        gap: 2rem;
    }
    
    .journey-title,
    .values-title,
    .clients-title {
        font-size: 1.35rem;
        margin-bottom: 1.25rem;
    }
    
    .journey-text {
        font-size: 0.9rem;
    }
    
    .journey-text p {
        margin-bottom: 1rem;
    }
    
    .values-header {
        margin-bottom: 2rem;
    }
    
    .values-grid {
        gap: 1.25rem;
    }
    
    .value-item {
        padding: 1.25rem;
    }
    
    .value-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .value-icon i {
        font-size: 2rem;
    }
    
    .value-item h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }
    
    .value-item p {
        font-size: 0.85rem;
    }
    
    .clients-header {
        margin-bottom: 2rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .client-logo {
        padding: 0.75rem;
        min-height: 70px;
    }
    
    .client-logo img {
        max-height: 40px;
    }
    
    .booking-title {
        font-size: 1.35rem;
    }
    
    .booking-description {
        font-size: 0.9rem;
    }
    
    .booking-details {
        gap: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon i {
        font-size: 1.1rem;
    }
}

/* Form Error Styles */
.booking-form input.error,
.booking-form select.error,
.booking-form textarea.error {
    border-color: #ef4444;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Fade In Animation for About Page */
.about-hero-section.fade-in-up,
.journey-section.fade-in-up,
.values-section.fade-in-up,
.clients-section.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-hero-section.fade-in-up.animated,
.journey-section.fade-in-up.animated,
.values-section.fade-in-up.animated,
.clients-section.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Animation for Items inside sections */
.values-section .value-item.fade-in-up-item,
.clients-section .client-logo.fade-in-up-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When parent section is animated, children items also animate with stagger */
.values-section.animated .value-item.fade-in-up-item:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.values-section.animated .value-item.fade-in-up-item:nth-child(2) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.values-section.animated .value-item.fade-in-up-item:nth-child(3) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.values-section.animated .value-item.fade-in-up-item:nth-child(n+4) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.clients-section.animated .client-logo.fade-in-up-item:nth-child(1) {
    transition-delay: 0.05s;
    opacity: 1;
    transform: translateY(0);
}

.clients-section.animated .client-logo.fade-in-up-item:nth-child(2) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.clients-section.animated .client-logo.fade-in-up-item:nth-child(3) {
    transition-delay: 0.15s;
    opacity: 1;
    transform: translateY(0);
}

.clients-section.animated .client-logo.fade-in-up-item:nth-child(4) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.clients-section.animated .client-logo.fade-in-up-item:nth-child(5) {
    transition-delay: 0.25s;
    opacity: 1;
    transform: translateY(0);
}

.clients-section.animated .client-logo.fade-in-up-item:nth-child(6) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.clients-section.animated .client-logo.fade-in-up-item:nth-child(7) {
    transition-delay: 0.35s;
    opacity: 1;
    transform: translateY(0);
}

.clients-section.animated .client-logo.fade-in-up-item:nth-child(8) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.clients-section.animated .client-logo.fade-in-up-item:nth-child(9) {
    transition-delay: 0.45s;
    opacity: 1;
    transform: translateY(0);
}

.clients-section.animated .client-logo.fade-in-up-item:nth-child(10) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

.clients-section.animated .client-logo.fade-in-up-item:nth-child(n+11) {
    transition-delay: 0.55s;
    opacity: 1;
    transform: translateY(0);
}
