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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

/* 通用按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #8b5a2b;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #6b4423;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: #8b5a2b;
    border: 2px solid #8b5a2b;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-secondary:hover {
    background-color: #8b5a2b;
    color: white;
}

.btn-small {
    display: inline-block;
    padding: 8px 16px;
    background-color: #8b5a2b;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-small:hover {
    background-color: #6b4423;
}

.btn-outline {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    color: #8b5a2b;
    border: 1px solid #8b5a2b;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-outline:hover {
    background-color: #8b5a2b;
    color: white;
}

/* 通用标题样式 */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
    color: #333;
}

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

/* Navigation Bar Styles */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5a2b 0%, #6b4423 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo-icon:hover {
    transform: rotate(5deg) scale(1.05);
}

.logo-icon::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 2px;
}

.logo-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.logo h1 {
    color: #8b5a2b;
    font-size: 24px;
    margin: 0;
    transition: color 0.3s ease;
}

.logo a:hover h1 {
    color: #6b4423;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #8b5a2b;
}

.nav-menu ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8b5a2b;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页横幅 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-placeholder.jpg') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 公司简介 */
.about-section {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 产品展示 */
.products-section {
    padding: 100px 0;
    background-color: #f9f6f1; /* 更温暖的背景色 */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px; /* 稍微大一点的圆角 */
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* 更柔和的阴影 */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.product-image {
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 270px; /* 稍微高一点的图片 */
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #3a3a3a;
    font-weight: 500;
}

.product-description {
    margin-bottom: 20px;
    color: #777;
    flex-grow: 1;
    line-height: 1.7;
    font-size: 15px;
}

.product-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
}

.tag {
    background-color: #8b5a2b;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.tag.hot {
    background-color: #d35400;
}

/* 产品中心页面样式 */
.product-categories {
    padding: 35px 0;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
}

.category-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
}

.category-item {
    margin: 0 12px 12px;
}

.category-item a {
    text-decoration: none;
    color: #666;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: block;
    font-weight: 500;
}

.category-item a:hover,
.category-item.active a {
    background-color: #8b5a2b;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 90, 43, 0.2);
}

.products-list {
    padding: 60px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: #8b5a2b;
    color: white;
    border-color: #8b5a2b;
}

/* 联系我们 */
.contact-section {
    padding: 100px 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info .contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.contact-item p {
    color: #666;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #8b5a2b;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
}

.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: #8b5a2b;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
}

/* 关于我们页面样式 */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/page-header-placeholder.jpg') center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
}

.about-company {
    padding: 100px 0;
    background-color: white;
}

.about-company-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-company-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.about-company-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.about-company-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 发展历程 */
.history-section {
    padding: 100px 0;
    background-color: #f8f8f8;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #8b5a2b;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-year {
    width: 100px;
    padding: 10px;
    background-color: #8b5a2b;
    color: white;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    color: #666;
}

/* 团队介绍 */
.team-section {
    padding: 100px 0;
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background-color: #f8f8f8;
    padding: 30px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.position {
    color: #8b5a2b;
    font-weight: bold;
    margin-bottom: 15px;
}

.member-info p {
    color: #666;
}

/* 企业价值观 */
.values-section {
    padding: 100px 0;
    background-color: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #8b5a2b;
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.value-item p {
    color: #666;
}

/* 联系我们页面样式 */
.contact-details {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #8b5a2b;
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.contact-card p {
    color: #666;
    margin-bottom: 5px;
}

.contact-form-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.form-header p {
    color: #666;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-group.checkbox-group {
    display: flex;
    align-items: center;
}

.form-group.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox-group label {
    margin-bottom: 0;
}

.contact-form button {
    width: 100%;
    margin-top: 20px;
}

.map-section {
    padding: 80px 0;
    background-color: white;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    color: #666;
}

.map-placeholder p {
    margin-bottom: 10px;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .about-content,
    .about-company-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image,
    .about-company-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-grid,
    .team-grid,
    .values-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        margin-bottom: 15px;
        margin-right: 0;
        width: auto;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-actions {
        flex-direction: column;
    }
}