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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header-fixed {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: #10b981;
    font-size: 28px;
    font-weight: bold;
}

.subtitle {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav a:hover {
    color: #10b981;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #10b981;
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

/* 主横幅 */
.hero {
    margin-top: 80px;
    padding: 120px 20px;
    text-align: center;
    color: white;
}

.hero-marketing {
    background: linear-gradient(135deg, #667eea 0%, #10b981 100%);
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 14px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #fff;
    color: #10b981;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #10b981;
}

/* 章节标题 */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #10b981 100%);
    border-radius: 2px;
}

/* 关于我们 - 现代风格 */
.about-modern {
    padding: 80px 20px;
    background: #f9fafb;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.about-main h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.about-main p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.highlight {
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.highlight strong {
    display: block;
    font-size: 18px;
    color: #10b981;
    margin-bottom: 10px;
}

.highlight p {
    color: #666;
    font-size: 14px;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.info-card h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #10b981;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 10px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li span {
    color: #333;
    font-weight: 500;
}

/* 服务项目 - 详细版 */
.services-detailed {
    padding: 80px 20px;
    background: white;
}

.service-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.category {
    background: #f9fafb;
    border-radius: 10px;
    overflow: hidden;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #10b981 100%);
    color: white;
}

.category-icon {
    font-size: 50px;
}

.category-header h3 {
    font-size: 24px;
}

.category-body {
    padding: 40px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-detail {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-detail h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-detail p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-detail ul {
    list-style: none;
    padding-left: 0;
}

.service-detail li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #666;
}

.service-detail li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* 作品展示 */
.portfolio {
    padding: 80px 20px;
    background: #f9fafb;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    color: #666;
}

.filter-btn:hover {
    border-color: #10b981;
    color: #10b981;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #10b981 100%);
    color: white;
    border-color: transparent;
}

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

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
}

.portfolio-image {
    height: 300px;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* 客户评价 */
.testimonials {
    padding: 80px 20px;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
    background: #f9fafb;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #10b981 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.author-info p {
    color: #666;
    font-size: 14px;
}

/* 联系我们 - 现代风格 */
.contact-modern {
    padding: 80px 20px;
    background: #f9fafb;
}

.contact-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-modern h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.contact-info-modern > p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.contact-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

.contact-form-modern form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.input-group {
    position: relative;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    background: transparent;
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #999;
    transition: all 0.3s;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #10b981;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: #10b981;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #10b981 100%);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* 底部 - 全面版 */
.footer-comprehensive {
    background: #1f2937;
    color: white;
    padding: 60px 20px 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-about p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    padding: 8px 15px;
    background: #374151;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #10b981;
    color: white;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #10b981;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    margin: 10px 0;
    color: #9ca3af;
}

.beian a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.beian a:hover {
    color: #10b981;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav ul {
        gap: 10px;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .contact-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
