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

/* main sytle*/
html,body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7em;
}
a{
    color:#333;
    text-decoration: none;

}
h1,h2,h3{
    padding-bottom: 20px;
}
p{
    margin: 10px 0;
}

/* utility classes */
.container{
    margin: 0 auto;
    max-width: 1100px;
    overflow: hidden;
    padding: 0 10px;
}

/* navbar */
#navbar {
    background-color: #333;
    color:#fff;
    overflow:auto;
    position: sticky;
    top: 0;
    z-index: 1000;
}
#navbar a{
    color: #fff;
}
#navbar h1{
    float: left;
    padding-top: 20px;
    font-size: 28px;
    font-weight: bold;
}
#navbar ul{
    float: right;
    list-style: none;
}

#navbar ul li{
    float: left;
}
#navbar ul li a{
    display: block;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease;
}
#navbar ul li a:hover,
#navbar ul li a.current{
    background-color: #444;
    color: #f7c08a;
}

/* showcase */
#showcase{
    background: url('../img/01.jpg') no-repeat center center/cover;
    height: 600px;
}
#showcase #showcase-content{
    color: #fff;
    text-align: center;
    padding-top: 170px;
}

#showcase #showcase-content h1{
    font-size: 60px;
    line-height: normal;
}
.text-primary{
    color: #f7c08a;
    padding-left: 20px;
}

#showcase #showcase-content p{
    font-size: 20px;
    line-height: 30px;

}

/*showcase-bottom*/
#showcase-bottom{
    background: url('../img/05.jpg') no-repeat center center/cover;
    height: 600px;
}
#showcase-bottom #showcase-content{
    color: #fff;
    text-align: center;
    padding-top: 170px;
}

#showcase-bottom #showcase-content h1{
    font-size: 60px;
    line-height: normal;
}

#showcase-bottom #showcase-content p{
    font-size: 20px;
    line-height: 30px;
    padding-bottom: 20px;
}




.btn{
    background-color: #333;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}
.btn:hover{
    background-color: #f7c08a;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-primary{
    background-color: #f7c08a;
    color: #333;
}

.btn-primary:hover{
    background-color: #333;
    color: #fff;
}

/*  home-info   */
#home-info{
    height: 400px;
}
#home-info .info-img{
    background: url('../img/02.jpg') no-repeat center center/cover; 
    float: left;
    width: 50%;
    height: 400px;
}
#home-info .info-content{
    float:right;
    width: 50%;
    text-align: center;
    height: 100%;
    padding:50px 30px;
    overflow: hidden;
}

.bk-dark{
    background-color:#444;
    color: #fff;
}

#home-info .info-content p{
    padding-bottom: 10px;
}
#btn-light{
    background: #f4f4f4;
    color: #333;
}

#btn-light:hover{
    background-color: #f7c08a;
}


/* features */

.box{
    float: left;
    width: 33.3%;
    text-align: center;
    padding: 50px;
}



.bg-light{
    background: #f4f4f4;
    color: #333;

}
.bg-primary{
    background-color: #f7c08a;
    color: #333;
}

#main-footer{
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 30px;
}
#clr{
    clear: both;
}

/* 间距类 */
.py{
    padding: 10px 0;
}
.py-large{
    padding: 50px 0;
}

/* 文本对齐 */
.text-center{
    text-align: center;
}

/* 标题样式 */
.section-title{
    font-size: 36px;
    margin-top: 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

/* 英雄区样式 */
#about-hero{
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/01.jpg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.hero-title{
    font-size: 60px;
    font-weight: bold;
    line-height: normal;
}

.hero-subtitle{
    font-size: 20px;
    line-height: 30px;
    opacity: 0.9;
}

/* 关于内容布局 */
.about-content{
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

#about-info .info-left{
    flex: 1;
    padding: 0;
}

#about-info .info-right{
    flex: 1;
    padding: 0;
}

.info-text{
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.info-image img{
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-image img:hover{
    transform: scale(1.02);
}

/* 团队理念样式 */
#team-philosophy{
    background: #333;
    color: #fff;
    margin-top: 10px;
}

.philosophy-content{
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.founder-message{
    font-size: 24px;
    margin-bottom: 20px;
    color: #f7c08a;
    font-weight: bold;
}

.philosophy-text{
    font-size: 18px;
    line-height: 1.8;
    font-style: italic;
}

/* 合作邀约样式 */

.invitation-content{
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.invitation-text{
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 案例网格布局 */
#case{
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../img/04.jpg') no-repeat center center/cover;
    padding: 80px 0;
    color: #fff;
    margin-top: 0;
}

#case .section-title{
    color: #fff;
}

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

.case-item{
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.case-item:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.case-image img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-info{
    padding: 20px;
}

.case-info h3{
    font-size: 20px;
    margin-bottom: 10px;
    color: #f7c08a;
}

.case-info p{
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* 响应式设计 */
@media(max-width: 768px){
    .about-content{
        flex-direction: column;
        text-align: center;
    }
    
    #about-info .info-left,
    #about-info .info-right{
        width: 100%;
    }
    
    .hero-title{
        font-size: 40px;
    }
    
    .section-title{
        font-size: 28px;
    }
    
    .case-grid{
        grid-template-columns: 1fr;
    }
}

/* contact_us */
#contact-form h1.l-heading {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    padding: 20px 0;
}

#contact-form p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #999;
}
#contact-form .from-group{
    margin-bottom: 20px;
}
#contact-form label{
    display: block;
    margin-bottom: 5px;
}

#contact-form input{
    width: 100%;
    padding: 10px;
    border: 1px #ddd solid;

}

#contact-form textarea{
    height: 300px;
    width: 100%;
    border: 1px #ddd solid;
}

/* 错误提示样式 */
.error {
    color: #dc3545;  /* 红色错误提示 */
    font-size: 0.9rem;
    margin-top: 0.3rem;
    margin-bottom: 0;
}

/* 保持输入框焦点样式 */
input:focus, textarea:focus {
    outline: 2px solid #f7c08a;
    border-color: #f7c08afa;
    background-color: #fff;
}

/* 禁用自动填充背景色 */
input:-webkit-autofill, 
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

