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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    background: #333;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

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

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffd700;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* 轮播图样式 */
.hero {
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 400px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

/* 联系表单样式 */
.contact-form {
    padding: 4rem 2rem;
    background: #f4f4f4;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

textarea {
    height: 150px;
    resize: vertical;
}

button[type="submit"] {
    background: #333;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #555;
}

/* 通用容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 关于我们部分样式 */
.about-section {
    padding: 6rem 0;
    background: #fff;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
}

/* 服务部分样式 */
.services-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-card i {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

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

/* 页脚样式 */
.footer {
    background: #333;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.8rem;
    color: #ccc;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

.footer-bottom p {
    color: #ccc;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section, .services-section, .contact-form {
    animation: fadeIn 1s ease-out;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .about-content, .footer-content {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        width: 100%;
    }
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 60px;
        right: 0;
        background: #333;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .burger {
        display: block;
    }
}

/* 滚动到顶部按钮 */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #333;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: background 0.3s;
}

.scroll-top:hover {
    background: #555;
}

.scroll-top i {
    font-size: 1.2rem;
}

/* 动画类 */
.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 服务卡片图标动画 */
.service-card i {
    transition: transform 0.3s ease;
}

/* 统计数字动画 */
.stat-item h3 {
    transition: transform 0.3s ease;
}

.stat-item:hover h3 {
    transform: scale(1.1);
}

/* 作品展示部分样式 */
.portfolio-section {
    padding: 6rem 0;
    background: #fff;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #333;
    background: transparent;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 25px;
}

.filter-btn.active, .filter-btn:hover {
    background: #333;
    color: #fff;
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-overlay h3 {
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.portfolio-overlay p {
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.3s 0.1s;
}

.portfolio-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border: 2px solid #fff;
    border-radius: 25px;
    transform: translateY(20px);
    transition: all 0.3s 0.2s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
}

.portfolio-link:hover {
    background: #fff;
    color: #333;
}

/* 新闻部分样式 */
.news-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    position: relative;
}

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

.news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 0.5rem;
    text-align: center;
    border-radius: 4px;
}

.news-date .day {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    margin-bottom: 1rem;
    color: #333;
}

.news-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #666;
}

/* 客户评价部分样式 */
.testimonials-section {
    padding: 6rem 0;
    background: #fff;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-item {
    padding: 2rem;
    text-align: center;
}

.testimonial-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #333;
    margin-bottom: 0.3rem;
}

.author-info p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.prev-testimonial, .next-testimonial {
    background: #333;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.prev-testimonial:hover, .next-testimonial:hover {
    background: #555;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #333;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-content {
        padding: 1.5rem;
    }
}

/* 团队部分样式 */
.team-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    gap: 1rem;
    transition: bottom 0.3s;
}

.team-member:hover .member-social {
    bottom: 0;
}

.member-social a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.member-social a:hover {
    color: #ffd700;
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.member-info .position {
    color: #666;
    font-weight: bold;
    margin-bottom: 1rem;
}

.member-info .description {
    color: #666;
    line-height: 1.6;
}

/* 价格方案部分样式 */
.pricing-section {
    padding: 6rem 0;
    background: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #333;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    color: #333;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    color: #333;
    font-weight: bold;
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.price .period {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    margin-right: 0.5rem;
}

.pricing-features .fa-check {
    color: #28a745;
}

.pricing-features .fa-times {
    color: #dc3545;
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.pricing-btn:hover {
    background: #555;
}

/* FAQ部分样式 */
.faq-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.faq-toggle {
    color: #666;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .faq-question h3 {
        font-size: 1rem;
    }
} 