/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.navbar-brand h1 {
    font-size: 24px;
    font-weight: 700;
    color: #0066cc;
    display: flex;
    align-items: center;
    justify-self: center;
}
.navbar-brand h1 img {
    margin-right: 10px;
    width: 30px;
}
.navbar-nav ul {
    display: flex;
    list-style: none;
}

.navbar-nav li {
    margin-left: 30px;
}

.navbar-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: #0066cc;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    color: #0066cc;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* 通用部分样式 */
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
    font-size: 16px;
}

/* 服务介绍 */
.services {
    padding: 100px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(208px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #e6f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-item p {
    color: #666;
    font-size: 14px;
}

/* 热门推荐 */
.recommendations {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.recommendation-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.recommendation-image {
    height: 200px;
    overflow: hidden;
}

.recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommendation-item:hover .recommendation-image img {
    transform: scale(1.05);
}

.recommendation-content {
    padding: 20px;
}

.recommendation-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.recommendation-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.recommendation-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.recommendation-content li {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: #0066cc;
}

/* 媒体覆盖 */
.media {
    padding: 100px 0;
    background-color: white;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.media-item {
    background-color: #f9f9f9;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: #e6f3ff;
}

.media-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 服务详情 */
.service-details {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-detail-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-detail-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-detail-item p {
    color: #666;
    font-size: 14px;
}

/* 案例展示 */
.cases {
    padding: 100px 0;
    background-color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.case-content p {
    color: #666;
    font-size: 14px;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

.about-text ul {
    list-style: none;
    margin-top: 20px;
}

.about-text li {
    margin-bottom: 10px;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.about-text li:before {
    content: "•";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact-content {
    margin-top: 50px;
    text-align: center;
}

.contact-info {
    display: inline-block;
    text-align: left;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    margin-bottom: 15px;
    color: #666;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #ccc;
    font-size: 14px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-contact h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #444;
    color: #ccc;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-bottom a {
	margin-right:20px;
	color:#fff;
	text-decoration:none;
}
.footer-bottom .img {
	width: 18px;
	margin-right:8px;
}
.footer-bottom .mps {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .navbar-nav.active {
        max-height: 300px;
    }

    .navbar-nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .navbar-nav li {
        margin: 10px 0;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .services,
    .recommendations,
    .media,
    .service-details,
    .cases,
    .about,
    .contact {
        padding: 80px 0;
    }

    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }
	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .services-grid,
    .recommendations-grid,
    .media-grid,
    .service-details-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item,
.recommendation-item,
.media-item,
.service-detail-item,
.case-item {
    animation: fadeIn 0.6s ease-out;
}

.service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.service-item:nth-child(4) {
    animation-delay: 0.4s;
}

.service-item:nth-child(5) {
    animation-delay: 0.5s;
}

.recommendation-item:nth-child(1) {
    animation-delay: 0.1s;
}

.recommendation-item:nth-child(2) {
    animation-delay: 0.2s;
}

.recommendation-item:nth-child(3) {
    animation-delay: 0.3s;
}

.recommendation-item:nth-child(4) {
    animation-delay: 0.4s;
}

.recommendation-item:nth-child(5) {
    animation-delay: 0.5s;
}

.case-item:nth-child(1) {
    animation-delay: 0.1s;
}

.case-item:nth-child(2) {
    animation-delay: 0.2s;
}

.case-item:nth-child(3) {
    animation-delay: 0.3s;
}

.contact {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  text-align: center;
  transition: all 300ms ease-in-out;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.contact-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background-color: #f0edff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-icon img {
  max-width: 60px;
  max-height: 60px;
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 1rem;
}

.contact-card p {
  font-size: 1.125rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.contact-hours {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* 响应式联系我们 */
@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}
