/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #333;
    background-color: #f8fafc;
    line-height: 1.6;
}

/* 导航栏样式 */
#navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#navbar .logo {
    display: flex;
    align-items: center;
}

#navbar .logo img {
    height: 40px;
    margin-right: 10px;
}

#navbar .logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

#navbar .nav-links {
    display: flex;
    list-style: none;
}

#navbar .nav-links li {
    margin-left: 2rem;
}

#navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

#navbar .nav-links a:hover {
    color: #ff6b00;
}

#navbar .menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 首页横幅样式 */
#home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 86, 219, 0.8), rgba(15, 23, 42, 0.7));
    z-index: 1;
}

#home .content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

#home h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

#home p {
    font-size: 1.2rem;
    color: #f1f1f1;
    max-width: 800px;
    margin: 0 auto 2rem;
}

#home .btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #ff6b00;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

#home .btn:hover {
    background-color: #e55a00;
    transform: translateY(-3px);
}

#home .btn-outline {
    background-color: transparent;
    border: 2px solid white;
}

#home .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#home .scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* 通用区块样式 */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background-color: #ff6b00;
    margin: 0 auto;
}

.section-title p {
    max-width: 800px;
    margin: 1.5rem auto 0;
    color: #666;
}

/* 关于我们样式 */
#about {
    background-color: white;
}

#about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

#about .about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#about .about-item {
    display: flex;
    align-items: flex-start;
}

#about .about-icon {
    background-color: rgba(26, 86, 219, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

#about .about-icon i {
    color: #1a56db;
    font-size: 1.5rem;
}

#about .about-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#about .about-text p {
    color: #666;
}

#about .about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 业务范围样式 */
#service {
    background-color: #f8fafc;
}

#service .services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

#service .service-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#service .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#service .service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(26, 86, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

#service .service-icon i {
    color: #1a56db;
    font-size: 1.5rem;
}

#service .service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#service .service-card p {
    color: #666;
}

/* 团队介绍样式 */
#team {
    background-color: white;
}

#team .team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

#team .team-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#team .team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#team .team-image {
    position: relative;
    overflow: hidden;
}

#team .team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#team .team-card:hover .team-image img {
    transform: scale(1.1);
}

#team .team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#team .team-card:hover .team-overlay {
    opacity: 1;
}

#team .team-social {
    display: flex;
    gap: 1rem;
}

#team .team-social a {
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#team .team-social a:hover {
    background-color: #ff6b00;
    transform: translateY(-3px);
}

#team .team-info {
    padding: 1.5rem;
}

#team .team-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#team .team-info p {
    color: #1a56db;
    font-weight: 500;
    margin-bottom: 1rem;
}

#team .team-info .description {
    color: #666;
    font-size: 0.9rem;
}

#team .team-overview {
    margin-top: 4rem;
    text-align: center;
}

#team .team-overview img {
    max-width: 800px;
    margin: 0 auto 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#team .team-overview p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* 发展愿景样式 */
#vision {
    background-color: #f8fafc;
}

#vision .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

#vision .vision-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#vision .vision-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#vision .vision-item {
    display: flex;
}

#vision .vision-number {
    width: 40px;
    height: 40px;
    background-color: #1a56db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

#vision .vision-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#vision .vision-text p {
    color: #666;
}

#vision .mission {
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid #1a56db;
}

#vision .mission h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#vision .mission p {
    color: #666;
    font-style: italic;
}

/* 页脚样式 */
footer {
    background-color: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

footer .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

footer .footer-logo img {
    height: 40px;
    margin-right: 10px;
}

footer .footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

footer .footer-about p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

footer .footer-social {
    display: flex;
    gap: 1rem;
}

footer .footer-social a {
    color: #94a3b8;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

footer .footer-social a:hover {
    color: white;
    background-color: #ff6b00;
}

footer .footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ff6b00;
}

footer .footer-links {
    list-style: none;
}

footer .footer-links li {
    margin-bottom: 0.8rem;
}

footer .footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: #ff6b00;
}

footer .footer-contact {
    list-style: none;
}

footer .footer-contact li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

footer .footer-contact i {
    color: #ff6b00;
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

footer .footer-contact span {
    color: #94a3b8;
}

footer .footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

footer .footer-bottom p {
    color: #94a3b8;
}

/* 动画效果 */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    #about .container,
    #vision .container {
        grid-template-columns: 1fr;
    }
    
    #about .about-image,
    #vision .vision-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    #navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(15, 23, 42, 0.95);
        padding: 1rem 0;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    #navbar .nav-links.active {
        display: flex;
    }
    
    #navbar .nav-links li {
        margin: 0;
        padding: 0.8rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    #navbar .nav-links li:last-child {
        border-bottom: none;
    }
    
    #navbar .menu-toggle {
        display: block;
    }
    
    #home h1 {
        font-size: 2.5rem;
    }
    
    #home p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    #about .about-item,
    #vision .vision-item {
        flex-direction: column;
    }
    
    #about .about-icon,
    #vision .vision-number {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: flex-start;
    }
}

@media (max-width: 640px) {
    #home h1 {
        font-size: 2rem;
    }
    
    #home .btn {
        display: block;
        margin: 0.5rem auto;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    #service .services,
    #team .team-members {
        grid-template-columns: 1fr;
    }
}
