/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* 英雄区域 */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.hero-image-placeholder svg {
    width: 200px;
    height: 200px;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.hero-image-placeholder p {
    font-size: 1.2rem;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 4rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

/* 关于我们 */
.about {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
}

.image-placeholder {
    width: 100%;
    height: 260px;
    background: var(--bg-light);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
    transition: all 0.3s;
}

.image-placeholder:hover {
    border-color: var(--primary-color);
    background: #f0f4ff;
}

.image-placeholder svg {
    width: 120px;
    height: 120px;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--text-light);
    font-size: 1rem;
}

.company-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.info-item:hover {
    background: #f0f4ff;
    transform: translateX(5px);
}

.info-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.company-description {
    line-height: 1.8;
}

.company-description p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

/* 经营范围 */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card.featured h3 {
    color: white;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.service-image-placeholder {
    width: 100%;
    height: 180px;
    background: var(--bg-light);
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
    margin-top: 1rem;
    transition: all 0.3s;
}

.service-image-placeholder:hover {
    border-color: var(--primary-color);
    background: #f0f4ff;
}

.service-image-placeholder svg {
    width: 60px;
    height: 60px;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.service-image-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.service-card-image-only {
    padding: 0;
    overflow: hidden;
}

.service-full-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    display: block;
}

.service-full-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: var(--bg-light);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
    transition: all 0.3s;
}

.service-full-image-placeholder:hover {
    border-color: var(--primary-color);
    background: #f0f4ff;
}

.service-full-image-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-full-image-placeholder p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 其他服务 */
.additional-services {
    padding: 3rem 0;
    background: var(--bg-white);
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.service-tag {
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border-radius: 2rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.service-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 联系我们 */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-image {
    position: relative;
}

.contact-image-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
}

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    color: white;
}

.footer-text {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-copyright {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-icp {
    opacity: 0.6;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-icp span {
    color: white;
}

.icp-separator {
    opacity: 0.4;
}

.footer-icp a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-icp a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        grid-column: span 1;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-list {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .nav-brand .brand-text {
        display: none;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.contact-item,
.info-item {
    animation: fadeInUp 0.6s ease-out;
}

