/* Global Styles */
:root {
    --primary-color: #2e2e2e;
    --secondary-color: #cccccc;
    --accent-color: #f02c2c;
    --light-color: #f5f5f5;
    --dark-color: #1a1a1a;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
    background-color: var(--light-color);
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 0;
}

.text-cn {
    display: none; /* Chinese text hidden by default */
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: var(--light-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--light-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.language-toggle {
    display: flex;
    align-items: center;
}

.language-toggle button {
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.language-toggle button.active {
    color: var(--accent-color);
    font-weight: 700;
}

.language-toggle button:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--light-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('image/Hero banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.cta-button:hover {
    background-color: #f02c2c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.6);
}

/* About Section */
.about {
    background-color: var(--light-color);
}

.about h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Brand Promise Section */
.promise {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 5rem 0;
}

.promise h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.promise-item {
    text-align: center;
    padding: 2.5rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.promise-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.promise-item i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 44, 44, 0.7));
}

.promise-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.promise-item p {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 900px;
}

.testimonial-item {
    display: flex;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.testimonial-image {
    flex: 0 0 200px;
    margin-right: 2rem;
}

.testimonial-image img {
    border-radius: 10px;
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.car-model {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--accent-color);
}

.carousel-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--accent-color);
}

/* FAQ Section */
.faq {
    background-color: var(--primary-color);
    color: #ffffff;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.faq-question i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .faq-item.active .faq-answer {
        max-height: 220px;
    }
}

.faq-item.active .faq-question {
    background-color: rgba(240, 44, 44, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: #ffffff;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--primary-color);
}

.info-item a {
    color: var(--primary-color);
}

.info-item a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--light-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 60px;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-social a {
    color: var(--light-color);
    font-size: 1.5rem;
    margin-left: 1.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    font-size: 32px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .testimonial-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimonial-image {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .promise-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, .footer-info, .footer-social {
        margin-bottom: 1.5rem;
    }
    
    .footer-social a {
        margin: 0 0.75rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        max-width: 90%;
        margin: 0 auto 2rem;
        font-size: 0.85rem;
        line-height: 1.4;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .promise-item {
        padding: 1.5rem;
    }
    
    .testimonial-image {
        flex: 0 0 150px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
}

/* Animated Text Section */
.animated-text-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e5ec 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.animated-text-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 30s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.text-animation-container {
    text-align: center;
    padding: 3rem;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 
        20px 20px 60px rgba(0, 0, 0, 0.05),
        -20px -20px 60px rgba(255, 255, 255, 0.8);
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-animation-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        25px 25px 70px rgba(0, 0, 0, 0.07),
        -25px -25px 70px rgba(255, 255, 255, 0.9);
}

.animated-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    animation: showup 8s infinite;
    opacity: 0;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #333, #777);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.animated-title:hover {
    background: linear-gradient(45deg, var(--accent-color), #f06060);
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.05);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

.animated-description-container {
    position: relative;
    width: 100%;
    height: 3rem;
    overflow: hidden;
    margin-top: 1rem;
}

.animated-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: #555;
    position: absolute;
    white-space: nowrap;
    left: 0;
    width: 0;
    overflow: hidden;
    animation: slidein 8s infinite 4s, reveal 8s infinite 4s;
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.animated-description::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: line-move 8s infinite 4s;
}

@keyframes slidein {
    0% { left: -100%; }
    20% { left: 0; }
    80% { left: 0; }
    100% { left: 100%; }
}

@keyframes reveal {
    0% { width: 0; }
    20% { width: 100%; }
    80% { width: 100%; }
    100% { width: 0; }
} 