@charset "utf-8";
:root {
    --primary: #be002f;
    --primary-light: #F8F1E5;
    --primary-dark: #8c1a16;
    --secondary: #D4A76A;
    --accent: #CD1318;
    --text-dark: #2c3e50;
    --text-medium: #666666;
    --text-light: #999999;
    --background: #FFFFFF;
    --background-alt: #f8f9fa;
    --border: #E2E8F0;
    --shadow: 0 4px 6px rgba(154, 31, 28, 0.05);
    --shadow-hover: 0 10px 15px rgba(154, 31, 28, 0.1);
    --radius: 8px;
}
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 line-height: 1.6;
 font-family: 'Helvetica Neue', Arial, sans-serif;
}

a {
    color: #333333; /* 主色深红作为默认链接颜色 */
    text-decoration: none; /* 去掉下划线 */
    transition: all 0.3s ease; /* 平滑过渡效果 */
    font-weight: 500; /* 中等字体粗细 */
}

a:hover {
    color: #be002f; /* 更亮的红色作为悬停色 */
    text-decoration: underline; /* 悬停时显示下划线 */
    text-decoration-thickness: 2px; /* 下划线粗细 */
    text-underline-offset: 3px; /* 下划线偏移 */
}
a.btn {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}
/* 标题样式 - 深红色系 */

h1, h2, h3, h4, h5, h6 {
    text-align: center;  /* 这已经使H1居中了 *//
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1); /* 微妙的文字阴影 */
}

h1 {
    text-align: center; /* 确保居中 */
	font-weight: 300;
    font-size: 2.5rem;
    letter-spacing: 1px;
    color: #be002f;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.8rem; /* 基准 */
    margin-bottom: 1.75rem;
}

h3 {
    font-size: 1.75rem; /* 逐渐减小 */
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

h6 {
    font-size: 1rem; /* 最小 */
    margin-bottom: 0.75rem;
}

	
.ColorBottom {
    border-bottom: 2px solid #be002f;
    padding-bottom: 11px;
}

    /* 全局容器 */
.container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
.container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    min-height: 50vh;
}
.container-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    min-height: 50vh;
    /* 动态计算底部内边距 */
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
}
        /* 导航栏 */
        .navbar {
            background-color: #f8f9fa;
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        .logo {
            width: 120px;
        }

        /* 桌面端导航链接 */
        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: #2c3e50;
            text-decoration: none;
            font-size: 1rem;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: #be002f;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-links a:hover {
            color: #be002f;
        }

        .nav-links a:hover::after {
            width: 100%;
        }


        /* 移动端菜单按钮 */
        .menu-toggle {
            display: none;
            cursor: pointer;
            padding: 1rem;
        }

        .menu-toggle span {
            display: block;
            width: 25px;
            height: 2px;
            background: #2c3e50;
            margin: 5px 0;
            transition: all 0.3s ease;
        }

        /* 移动端菜单 */
        .mobile-menu {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: #f8f9fa;
            padding: 1rem 0;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 1000;
        }

        .mobile-menu a {
            width: 100%;
            text-align: center;
            padding: 1rem 0;
            color: #2c3e50;
            text-decoration: none;
            font-size: 1rem;
            transition: background 0.3s ease;
        }

        .mobile-menu a:hover {
            background: #e9ecef;
        }

        /* 移动端样式 */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .menu-toggle {
                display: block;
            }

            .mobile-menu.active {
                display: flex;
            }

            /* 菜单按钮动画 */
            .menu-toggle.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }

            .menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }

            .menu-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(5px, -5px);
            }
        }
.ShopCase {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    max-width: 1200px;
    overflow: hidden;
    border: 1px solid #e0d6c2;
}

.contd {
    padding: 30px 50px;
}


hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4a76a, transparent);
    margin: 30px 0;
}

strong {
    color: #2c3e50;
    font-weight: bold;
}



.images {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 0;
}

.images img {
    max-width: 48%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.images img:hover {
    transform: scale(1.02);
}
#nav {
    padding: 8px 5%;
    font-size: 0.9rem;
    color: #666666; 
    background-color: #FFFFFF; 
    border-bottom: 1px solid #E6E6E6; 
    margin-bottom: 20px;
}

#nav a {
    color: #666666; 
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 2px 5px;
    border-radius: 3px;
}

#nav a:hover {
    color: #999;
    background-color: rgba(255,255,255,0.15); 
    text-decoration: none;
}


/* 当前页面名称样式 */
#nav > :last-child {
    color: #999; 
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}



@media (max-width: 768px) {
    .company-intro {
        grid-template-columns: 1fr; /* 移动端单列显示 */
    }

    .intro-item {
        padding: 15px;
    }

    .intro-item h2 {
        font-size: 1.3rem;
    }

    .intro-item p {
        font-size: 0.95rem;
    }
}
   .contd2 {
        padding: 20px;
    }
    
    .about-us-images img {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    #nav {
        padding: 12px 5%;
        font-size: 0.85rem;
    }
    

}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 0px solid #fff;
    color: #999;
    font-size: 0.8rem;
}

/* 平板设备 */
@media (max-width: 768px) {
    .copyright {
        padding-top: 25px;
        font-size: 0.75rem;
    text-align: center;
    }
}

/* 移动设备 */
@media (max-width: 480px) {
    .copyright {
        padding-top: 20px;
        font-size: 0.7rem;
        line-height: 1.4; /* 增加行高便于阅读 */
    text-align: center;
    }
}

/* 小屏手机 */
@media (max-width: 320px) {
    .copyright {
        padding-top: 15px;
        font-size: 0.65rem;
        line-height: 1.5;
    text-align: center;
    }
}
