/* ========== 苏迪纺织 - 最终统一样式 - 熊大 ========== */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.8;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 40px;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #4A4A4A;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #0066CC;
}

/* Banner */
.hero {
    height: 450px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 85px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: #4A4A4A;
    margin-bottom: 12px;
    letter-spacing: 6px;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 6px;
}

.hero-en {
    font-size: 14px;
    color: #0066CC;
    font-weight: 600;
    letter-spacing: 3px;
}

/* 区块通用 */
section {
    padding: 70px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 55px;
    color: #4A4A4A;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0066CC;
    margin: 15px auto 0;
}

/* 产品 */
.products {
    background: #fafafa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-card h3 {
    font-size: 20px;
    color: #4A4A4A;
    text-align: center;
    padding: 16px;
    font-weight: 600;
}

.product-card p {
    text-align: center;
    color: #888;
    font-size: 14px;
    padding-bottom: 16px;
}

/* 企业理念 */
.company-values {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
}

.value-icon {
    font-size: 50px;
    margin-bottom: 16px;
}

.value-title {
    font-size: 22px;
    color: #0066CC;
    margin-bottom: 10px;
    font-weight: 600;
}

.value-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* 关于我们 */
.about {
    background: #ffffff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    line-height: 2.1;
    color: #666;
    margin-bottom: 35px;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 52px;
    font-weight: 700;
    color: #0066CC;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 询盘表单 */
.inquiry {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-form {
    max-width: 550px;
    margin: 0 auto;
    background: #ffffff;
    padding: 45px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 45px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4A4A4A;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #FAFAFA;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066CC;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A4A4A' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.btn-submit {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0052A3 0%, #004080 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,102,204,0.4);
}

/* 联系我们 */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.contact-label {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.contact-item p {
    font-size: 16px;
    color: #4A4A4A;
    line-height: 1.7;
}

.contact-item a {
    color: #4A4A4A;
    text-decoration: none;
}

.contact-item a:hover {
    color: #0066CC;
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.85);
    padding: 35px 0;
    text-align: center;
}

.footer p {
    font-size: 13px;
    margin: 5px 0;
    line-height: 1.7;
}

.footer-en {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin-top: 8px;
}

/* ========== 手机端优化 ========== */

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        padding: 16px 20px;
    }
    
    .logo {
        margin-bottom: 14px;
    }
    
    .logo img {
        height: 55px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 6px 8px;
    }
    
    .hero {
        height: 320px;
        margin-top: 130px;
        padding: 20px 16px;
    }
    
    .hero-content h1 {
        font-size: 28px;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-en {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 16px;
    }
    
    .product-image {
        height: 240px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 16px;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .contact-form {
        padding: 30px 22px;
        margin: 0 16px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    
    .footer {
        padding: 25px 16px;
    }
    
    .footer p {
        font-size: 12px;
    }
}

/* 大屏优化 */
@media (min-width: 1400px) {
    .nav {
        padding: 25px 60px;
    }
    
    .logo img {
        height: 80px;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .product-grid,
    .values-grid {
        max-width: 1200px;
    }
}
