/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 导航栏 */
.navbar {
    background-color: #ff6b6b;
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
}

.logo p {
    font-size: 14px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.language-switch {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.language-switch a {
    text-decoration: none;
    color: white;
    font-size: 14px;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: white;
    padding: 80px 0;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 10px;
}

.btn-primary {
    background-color: #ff6b6b;
    color: white;
    box-shadow: 0 4px 6px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background-color: #ee5a5a;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background-color: #4ecdc4;
    color: white;
    box-shadow: 0 4px 6px rgba(78, 205, 196, 0.3);
}

.btn-secondary:hover {
    background-color: #3db8af;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(78, 205, 196, 0.4);
}

.hero-image {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 800px;
}

/* 产品分类 */
.product-categories {
    padding: 80px 0;
    background-color: #fff;
}

.product-categories h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8b195, #f67280, #c06c84, #6c5b7b);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-small:hover {
    background-color: white;
    transform: translateY(-2px);
}

/* 制造工艺 */
.craftsmanship {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.craftsmanship h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.step {
    background-color: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ff6b6b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 6px rgba(255, 107, 107, 0.3);
}

.step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.step p {
    font-size: 14px;
    color: #666;
}

/* 合作伙伴价值主张 */
.partnership {
    padding: 80px 0;
    background: linear-gradient(135deg, #96ceb4, #ffcc5c, #ff6f69, #d96459);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: white;
    text-align: center;
}

.partnership h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.partnership p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 客户评价 */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: ''\201C'';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 80px;
    color: rgba(255, 107, 107, 0.1);
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
    font-style: italic;
}

.client-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.client-info p {
    font-size: 14px;
    color: #999;
    font-style: normal;
    margin: 0;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.footer-section p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b6b;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    text-align: center;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .btn {
        margin: 10px 0;
    }
    
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .step {
        padding: 20px 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .step h3 {
        font-size: 16px;
    }
    
    .step p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .product-categories h2,
    .craftsmanship h2,
    .partnership h2,
    .testimonials h2 {
        font-size: 28px;
    }
    
    .category-card h3 {
        font-size: 20px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* 产品卡片 */
.product-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8b195, #f67280, #c06c84, #6c5b7b);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.product-card p {
    font-size: 14px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* 筛选器 */
.filter-container {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 8px 16px;
    border: 2px solid #ddd;
    border-radius: 20px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-option:hover,
.filter-option.active {
    border-color: #ff6b6b;
    background-color: #ff6b6b;
    color: white;
}

/* 地图样式 */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* 社交媒体图标 */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff6b6b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 107, 107, 0.3);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(255, 107, 107, 0.4);
}

/* 定制流程图 */
.custom-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0;
}

.flow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    margin: 20px;
    position: relative;
}

.flow-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 40px;
    height: 2px;
    background-color: #ff6b6b;
    transform: translateY(-50%);
}

.flow-step:last-child::after {
    display: none;
}

.flow-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ff6b6b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 6px rgba(255, 107, 107, 0.3);
}

.flow-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.flow-step p {
    font-size: 14px;
    color: #666;
}

/* 响应式导航 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-links {
        margin-top: 20px;
        width: 100%;
        justify-content: space-between;
    }
    
    .language-switch {
        margin-left: 0;
    }
}

/* 加载动画 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* 滚动动画 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}