/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* 全局样式 */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --transition-speed: 0.3s;
}

body {
    color: var(--light-color);
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    transition: background-color var(--transition-speed);
}

.navbar.scrolled {
    background-color: rgba(26, 26, 46, 0.95);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
    letter-spacing: 1px;
}

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

.nav-link {
    color: var(--light-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-speed);
}

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

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 区块样式 */
.section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.section-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-color); /* 修改为浅色主题色 */
    font-weight: 500; /* 增加字体粗细提高可读性 */
    max-width: 800px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.section.active .section-title,
.section.active .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.highlight {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 视差背景样式 */
.parallax {
    position: relative;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: translateZ(0);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s, box-shadow var(--transition-speed);
}

.section.active .btn {
    opacity: 1;
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 关于我们区块样式 */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-top: 2rem;
}

.about-text {
    flex: 1;
    padding-right: 2rem;
    text-align: left;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.active .about-text p {
    opacity: 1;
    transform: translateX(0);
}

.about-text p:nth-child(1) {
    transition-delay: 0.3s;
}

.about-text p:nth-child(2) {
    transition-delay: 0.5s;
}

.about-image {
    flex: 1;
    text-align: right;
}

.about-image img {
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

.section.active .about-image img {
    opacity: 1;
    transform: translateX(0);
}

.team-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.active .stat-item {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:nth-child(1) {
    transition-delay: 0.9s;
}

.stat-item:nth-child(2) {
    transition-delay: 1.1s;
}

.stat-item:nth-child(3) {
    transition-delay: 1.3s;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

/* 行业区块样式 */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-top: 2rem;
}

.industry-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    opacity: 0;
    transform: translateY(30px);
}

.section.active .industry-card {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:nth-child(1) {
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.industry-card:nth-child(2) {
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.industry-card:nth-child(3) {
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

.industry-card:nth-child(4) {
    transition: opacity 0.8s ease 0.9s, transform 0.8s ease 0.9s;
}

.industry-card:nth-child(5) {
    transition: opacity 0.8s ease 1.1s, transform 0.8s ease 1.1s;
}

.industry-card:nth-child(6) {
    transition: opacity 0.8s ease 1.3s, transform 0.8s ease 1.3s;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.industry-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.industry-card p {
    color: var(--gray-color);
    line-height: 1.5;
}

/* 作品展示区块样式 */
#works {
    background-color: #f8f9fa;
}

#works .section-title,
#works .section-subtitle {
    color: #333333;
}

.works-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.works-grid {
    display: flex;
    transition: transform 0.3s ease;
}

.work-item {
    min-width: 300px; /* 默认宽度 */
    margin-right: 20px;
    flex-shrink: 0;
}

/* 响应式设计 - 不同分辨率下的作品宽度 */
@media (max-width: 1200px) {
    .work-item {
        min-width: 250px;
    }
}

@media (max-width: 992px) {
    .work-item {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .works-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    .work-item {
        min-width: auto;
        margin-right: 0;
    }
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.scroll-btn:hover {
    opacity: 1;
    background-color: white;
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .works-grid {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .work-item {
        min-width: auto;
        margin-right: 0;
    }

    .scroll-btn {
        display: none;
    }
}

.work-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.active .work-item {
    opacity: 1;
    transform: translateY(0);
}

.work-item:nth-child(1) {
    transition-delay: 0.3s;
}

.work-item:nth-child(2) {
    transition-delay: 0.6s;
}

.work-item:nth-child(3) {
    transition-delay: 0.9s;
}

.work-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.work-item:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

.work-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.work-overlay p {
    color: var(--gray-color);
}

/* 联系我们区块样式 */
#contact {
    background-color: var(--light-color); /* 与精选作品背景一致 */
}

#contact .section-title,
#contact .section-subtitle,
#contact .info-item p {
    color: #000; /* 字体颜色改为黑色 */
}

.contact-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.contact-info {
    flex: none;
    padding: 2rem;
    text-align: center;
}

.social-links {
    margin-top: 2rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color var(--transition-speed);
}

.social-link:hover {
    background-color: var(--primary-color);
}

.section.active .contact-form,
.section.active .contact-info {
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-align: left;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.social-links {
    display: flex;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    margin-right: 1rem;
    text-decoration: none;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* 页脚样式 */
.footer {
    background-color: var(--dark-color);
    padding: 2rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--gray-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-image {
        padding: 0;
        margin-bottom: 2rem;
        width: 100%;
    }

    .about-image img {
        width: 100%;
    }

    .contact-form {
        margin-right: 0;
        margin-bottom: 2rem;
        width: 100%;
    }

    .industries-grid,
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0px;
        right: -100%;
        flex-direction: column;
        background-color: rgba(26, 26, 46, 0.95);
        width: 100%;
        height: calc(100vh - 0px);
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: right var(--transition-speed);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .menu-btn {
        display: block;
        z-index: 1000;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .team-stats {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 1.5rem;
    }

    .industries-grid,
    .works-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .section {
        min-height: 100vh;
        height: auto;
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
    }

    .about-content,
    .contact-container {
        padding: 0;
    }

    .industry-card,
    .work-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-form,
    .contact-info {
        padding: 1.5rem;
        width: 100%;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    input,
    textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .parallax-bg {
        background-attachment: scroll;
        transform: none !important;
    }

    /* 修复移动端视差内容重叠问题 */
    .section-content {
        padding: 2rem 5%;
        justify-content: center;
        min-height: calc(100vh - 160px);
    }

    /* 修复首页内容偏上问题 */
    #home .section-content {
        padding-top: 80px;
    }

    .work-overlay {
        padding: 1rem;
    }

    .work-overlay h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-container,
    .contact-form,
    .contact-info {
        padding: 1rem;
    }
}
/* 公司介绍 */
#about {
    background-color: #ffffff;
}

#about .section-title,
#about .section-subtitle,
#about p,
#about h3,
#about .stat-item p {
    color: #333333;
}

#about .stat-item i {
    color: var(--primary-color);
}

/* 客户展示区域样式 */
#clients {
    position: relative;
    overflow: hidden;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.client-item {
    flex: 0 0 auto; /* 取消百分比宽度，使用固定像素 */
    width: 120px; /* 默认宽度 */
    height: 120px; /* 默认高度 - 与宽度保持一致 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px 20px; /* 水平和垂直间距 */
}

.client-item img {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* 圆形效果 */
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-item:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .client-item {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 992px) {
    .client-item {
        width: 90px;
        height: 90px;
    }
}

.section.active .contact-form,
.section.active .contact-info {
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-align: left;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.social-links {
    display: flex;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    margin-right: 1rem;
    text-decoration: none;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* 页脚样式 */
.footer {
    background-color: var(--dark-color);
    padding: 2rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--gray-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-image {
        padding: 0;
        margin-bottom: 2rem;
        width: 100%;
    }

    .about-image img {
        width: 100%;
    }

    .contact-form {
        margin-right: 0;
        margin-bottom: 2rem;
        width: 100%;
    }

    .industries-grid,
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0px;
        right: -100%;
        flex-direction: column;
        background-color: rgba(26, 26, 46, 0.95);
        width: 100%;
        height: calc(100vh - 0px);
        justify-content: center;
        align-items: center;
        transition: right var(--transition-speed);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .menu-btn {
        display: block;
        z-index: 1000;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .team-stats {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 1.5rem;
    }

    .industries-grid,
    .works-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .section {
        min-height: 100vh;
        height: auto;
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
    }

    .about-content,
    .contact-container {
        padding: 0;
    }

    .industry-card,
    .work-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-form,
    .contact-info {
        padding: 1.5rem;
        width: 100%;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    input,
    textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .parallax-bg {
        background-attachment: scroll;
        transform: none !important;
    }

    /* 修复移动端视差内容重叠问题 */
    .section-content {
        padding: 2rem 5%;
        justify-content: center;
        min-height: calc(100vh - 160px);
    }

    /* 修复首页内容偏上问题 */
    #home .section-content {
        padding-top: 80px;
    }

    .work-overlay {
        padding: 1rem;
    }

    .work-overlay h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-container,
    .contact-form,
    .contact-info {
        padding: 1rem;
    }
}
/* 公司介绍 */
#about {
    background-color: #f8f9fa;
}

#about .section-title,
#about .section-subtitle,
#about p,
#about h3,
#about .stat-item p {
    color: #333333;
}

#about .stat-item i {
    color: var(--primary-color);
}