:root {
    --primary-color: #8d6e63;
    --secondary-color: #d4a574;
    --dark-color: #2b2d42;
    --light-color: #f8f4f0;
    --gray-color: #8a8a8a;
    --white-color: #ffffff;
    --font-family: 'Noto Sans SC', sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

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

/* 头部样式 */
.header {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

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

.logo img {
    width: 160px;
    height: auto;
}

.header-title {
    text-align: center;
    flex: 1;
    margin: 0 20px;
}

.header-contact {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-color);
}

.contact-item i {
    color: var(--primary-color);
}

/* 导航样式 */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.admin-login {
    margin-left: 20px;
}

.nav-item a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--primary-color);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

/* Banner样式 */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner .container {
    position: relative;
}

.banner-slider {
    position: relative;
    width: 130%;
    left: -15%;
    overflow: hidden;
}

.banner-item {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: none;
}

.banner-item.active {
    display: block;
    opacity: 1;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 500px;
    color: var(--white-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.banner-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-indicators button.active {
    background-color: white;
}

.banner-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.banner-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

/* 页面Banner */
.page-banner {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0;
    text-align: center;
}

.page-banner h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* 公司优势 */
.advantages {
    padding: 80px 0;
    background-color: var(--white-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    transition: var(--transition);
}

.advantage-item:hover .advantage-icon {
    background-color: var(--secondary-color);
    transform: rotate(360deg);
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.advantage-item p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* 产品预览 */
.product-preview {
    padding: 80px 0;
    background-color: var(--light-color);
}

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



.product-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-info p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* 产品分类 */
.product-categories {
    padding: 60px 0;
    background-color: var(--white-color);
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 25px;
    background-color: var(--light-color);
    border: 1px solid var(--gray-color);
    border-radius: 25px;
    color: var(--dark-color);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

/* 案例展示 */
.cases {
    padding: 80px 0;
    background-color: var(--white-color);
}

.case-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background-color: var(--light-color);
    border: 1px solid var(--gray-color);
    border-radius: 25px;
    color: var(--dark-color);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

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

/* 案例网格布局 */
.cases-grid {
    padding: 60px 0;
    background-color: var(--white-color);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.case-image {
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    position: relative;
    height: auto;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    position: absolute;
    top: 0;
    left: 0;
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.case-info p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.case-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.case-meta i {
    color: var(--primary-color);
}

.view-case {
    width: 100%;
    text-align: center;
}

/* 案例模态框 */
.case-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.case-modal.show {
    display: flex;
}

.case-modal-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-color);
    z-index: 10;
}

.close-modal:hover {
    color: var(--primary-color);
}

.case-gallery {
    margin-bottom: 30px;
}

.gallery-main {
    margin-bottom: 20px;
}

.gallery-main img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.gallery-thumbs img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.case-details h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.case-details p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.case-info p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--gray-color);
}

/* 设计服务 */
.design-services {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

.service-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

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

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-content p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gray-color);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background-color: var(--white-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding: 40px;
    /* background-color: var(--light-color); */
    border-radius: var(--border-radius);
}

.contact-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
    margin-bottom: 40px;
}

.contact-details li {
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--gray-color);
}

.contact-details li i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    padding: 40px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(141, 110, 99, 0.2);
}

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

/* 页脚 */
.footer {
    background-color: #2b2d42 !important;
    color: #ffffff !important;
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column ul.contact-info {
    align-self: flex-start;
    text-align: left;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    padding: 8px 0;
}

.footer-column ul li a {
    color: var(--white-color);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* 客户评价 */
.testimonials {
    padding: 80px 0;
    background-color: var(--white-color);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }
}

.testimonial-item {
    flex: 0 0 300px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-color);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--gray-color);
}

/* 客户评价图片横向布局 */
.testimonial-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .testimonial-images {
        flex-direction: column;
        align-items: center;
    }
}

.testimonial-image-item {
    flex: 0 0 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 产品详情模态框 */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.product-modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--gray-color);
    z-index: 10;
}

.close-modal:hover {
    color: var(--primary-color);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.product-detail-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-specs {
    margin-bottom: 30px;
}

.spec-item {
    padding: 10px 0;
    display: flex;
    gap: 20px;
}

.spec-label {
    font-weight: 500;
    color: var(--dark-color);
    min-width: 80px;
}

.spec-value {
    color: var(--gray-color);
}

.product-description {
    margin-bottom: 30px;
}

.product-description h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.product-description p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* 右下角联系信息弹窗 */
.contact-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999 !important;
}

.contact-popup .popup-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.contact-popup .popup-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-popup .popup-content {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background-color: transparent !important;
    border: none !important;
    border-radius: 8px;
    box-shadow: none !important;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999 !important;
}

.contact-popup .popup-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-popup .popup-content h4 {
    font-size: 18px;
    color: #d4a574 !important;
    margin-bottom: 15px;
    text-align: center;
}

.contact-popup .popup-content ul {
    list-style: none;
}

.contact-popup .popup-content ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff !important;
}

.contact-popup .popup-content ul li i {
    color: #d4a574 !important;
    width: 20px;
    text-align: center;
}

.contact-popup .popup-content ul li a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-popup .popup-content ul li a:hover {
    color: #d4a574 !important;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .banner-content h2 {
        font-size: 36px;
    }
    
    .banner-content p {
        font-size: 18px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white-color);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }
    
    .banner {
        height: 500px;
    }
    
    .banner-content {
        left: 5%;
        max-width: 90%;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid,
    .products-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 400px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .advantages,
    .product-preview,
    .cases,
    .design-services,
    .contact {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-top {
        gap: 30px;
    }
}

/* 材质分类与环保标准页面样式 */

/* 我们可以做什么 */
.what-we-do-section {
    padding: 60px 0;
    background-color: var(--white-color);
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.what-we-do-item {
    text-align: center;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.what-we-do-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.what-we-do-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.what-we-do-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.what-we-do-item p {
    line-height: 1.6;
    color: var(--gray-color);
}

/* 材质分类展示区 */
.materials-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

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

.material-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.material-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.material-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.material-item:hover .material-image img {
    transform: scale(1.05);
}

.material-info {
    padding: 25px;
}

.material-info h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.material-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--gray-color);
}

.eco-standard,
.applicable-scene {
    margin-bottom: 20px;
}

.eco-standard h5,
.applicable-scene h5 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eco-tags,
.scene-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.eco-tag,
.scene-tag {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* 工艺分类展示区 */
.crafts-section {
    padding: 60px 0;
    background-color: var(--white-color);
}

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

.craft-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.craft-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.craft-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.craft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.craft-item:hover .craft-image img {
    transform: scale(1.05);
}

.craft-info {
    padding: 25px;
}

.craft-info h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.craft-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--gray-color);
}

.applicable-material {
    margin-bottom: 20px;
}

.applicable-material h5 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.material-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.material-tag {
    background-color: var(--white-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--primary-color);
}

/* 环保标准说明区 */
.eco-standard-section {
    padding: 60px 0;
    background-color: var(--light-color);
    color: var(--dark-color);
}

.eco-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.eco-level-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.eco-level-item:hover {
    background-color: var(--white-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.eco-level-header {
    margin-bottom: 20px;
}

.eco-level-header h4 {
    font-size: 24px;
    color: var(--primary-color);
}

.eco-value {
    margin-bottom: 15px;
}

.eco-value .value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.eco-value .unit {
    font-size: 18px;
    color: var(--gray-color);
}

.eco-description {
    line-height: 1.6;
    color: var(--gray-color);
}

.eco-standard-note {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.eco-standard-note h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.eco-standard-note p {
    line-height: 1.6;
    color: var(--gray-color);
    margin-bottom: 10px;
}

/* 案例详情 */
.case-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.case-modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    width: 95%;
    max-width: 95%;
    height: 95vh;
    max-height: 95vh;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-color);
    z-index: 10;
}

.close-modal:hover {
    color: var(--primary-color);
}

.case-detail {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.case-detail-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: 100%;
}

.main-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    flex: 1;
    min-height: 0;
}

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

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    justify-content: center;
}

.thumbnail-images img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.case-detail-info {
    display: none;
}

/* 板材色板链接 */
.materials-links-section {
    padding: 40px 0;
    background-color: var(--white-color);
}

.materials-links {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.materials-links p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.materials-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.materials-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 材质对比区 */
.materials-comparison {
    padding: 60px 0;
    background-color: var(--light-color);
}

.comparison-table {
    margin-top: 40px;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table tr:hover {
    background-color: rgba(141, 110, 99, 0.05);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .materials-grid,
    .crafts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .eco-levels {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .materials-grid,
    .crafts-grid {
        grid-template-columns: 1fr;
    }
    
    .eco-levels {
        grid-template-columns: 1fr;
    }
    
    .material-info,
    .craft-info {
        padding: 20px;
    }
    
    .material-info h4,
    .craft-info h4 {
        font-size: 18px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px;
        font-size: 14px;
    }
}