/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    background-color: #fff;
}

.container {
    width: 100%;
  
    margin: 0 auto;
    padding: 0 20px;
}

.section-headline {
    text-align: center;
    margin-bottom: 50px;
}

.section-headline h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-headline h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #f3652a;
}

.section-headline p {
    font-size: 16px;
    color: #666;
}

/* 预加载器 */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff url('../images/logo/preloader.gif') no-repeat center center;
    z-index: 9999;
}

/* 导航栏 */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(36, 35, 39, 0.95);
    z-index: 1000;
    transition: all 0.3s ease;
}

#header.sticky {
    background-color: rgba(36, 35, 39, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    flex: 1;
}

.logo img {
    height: 50px;
}

.main-nav {
    flex: 2;
}

#nav {
    display: flex;
    justify-content: center;
    list-style: none;
}

#nav li {
    margin: 0 15px;
}

#nav li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

#nav li a:hover {
    color: #f3652a;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(36, 35, 39, 0.98);
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu ul li {
    margin: 15px 0;
}

.mobile-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
}

/* 轮播图 */
.slider-area {
    position: relative;
    height: 800px;
    overflow: hidden;
    margin-top: 90px;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

.slide-content h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 18px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

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

.slider-controls button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* 环境展示 */
.banner-area {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.banner-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

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

/* 技术展示 */
.Technology-area {
    padding: 80px 0;
    background-color: #fff;
}

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

.Technology-item {
    background-color: #f8f8f8;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.Technology-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.Technology-content {
    padding: 20px;
}

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

.Technology-content p {
    color: #666;
    line-height: 1.6;
}

/* 服务价格 */
.service-area {
    padding: 80px 0;
    background-color: #f6f6f6;
}

.service-content {
    display: flex;
    margin-bottom: 50px;
}

.service-images {
    flex: 1;
    position: relative;
    margin-right: 30px;
}

.service-images img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.service-images:hover img {
    transform: scale(1.05);
}

.overly-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overly-text h4 {
    font-size: 18px;
    margin: 0;
}

.btn-service {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background-color: #f3652a;
    border-color: #f3652a;
}

.service-table {
    flex: 1;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.service-table table {
    width: 100%;
    border-collapse: collapse;
}

.service-table th,
.service-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.service-table th {
    background-color: #333;
    color: #fff;
    font-weight: 600;
}

.service-table tr:hover {
    background-color: #f5f5f5;
}

/* 作品展示 */
.portfolio-area {
    padding: 80px 0;
    background-color: #fff;
}

.project-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #fff;
    border: 1px solid #f3652a;
    color: #f3652a;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #f3652a;
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    transition: bottom 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-overlay h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    font-size: 14px;
    color: #ddd;
}

/* 团队介绍 */
.team-area {
    padding: 80px 0;
    background-color: #f8f8f8;
    background-image: url('../images/background/bg2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.team-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.team-item {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    width: 300px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.team-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.team-item p {
    margin-bottom: 10px;
    color: #666;
}

/* 设计理念 */
.blog-area {
    padding: 80px 0;
    background-color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.blog-item {
    background-color: #f8f8f8;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.blog-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.blog-meta {
    margin-bottom: 15px;
    font-size: 12px;
    color: #999;
}

.blog-meta span {
    margin-right: 15px;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
}

/* 页脚 */
.footer-area {
    padding: 40px 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.copyright {
    text-align: center;
}

.copyright p {
    margin: 0;
    font-size: 14px;
}

.copyright a {
    color: #f3652a;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* 回到顶部按钮 */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #f3652a;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#back-to-top.active {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: #e05a24;
}