/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 70px;
}

/* 导航栏样式 */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: #333 !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #007bff !important;
}

.nav-link.active {
    color: #007bff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-banner {
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../网页素材/网页素材/banner.jpg') center/cover;
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 服务卡片样式 */
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-info {
    padding: 20px;
}

.service-info h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007bff;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-left: 10px;
}

/* 服务流程样式 */
.service-process {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px 20px;
    margin: 40px 0;
}

.process-steps {
    margin-top: 30px;
}

.step-item {
    text-align: center;
    margin-bottom: 30px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.1);
}

.step-item h6 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.step-item p {
    color: #666;
    font-size: 0.9rem;
}

/* 客户评价样式 */
.testimonials {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px 20px;
    margin: 40px 0;
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-header h6 {
    margin-bottom: 5px;
    color: white;
}

.testimonial-card p {
    margin: 15px 0;
    line-height: 1.6;
}

.rating {
    color: #ffd700;
}

.rating i {
    margin-right: 2px;
}

/* 云现场样式 */
.cloud-scene {
    background: #f8f9fa;
    padding: 80px 0;
}

.cloud-banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 15px;
    color: white;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.cloud-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-flow {
    margin: 60px 0;
}

.flow-step {
    text-align: center;
    position: relative;
}

.flow-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    transition: transform 0.3s ease;
}

.flow-icon:hover {
    transform: scale(1.1);
}

.flow-step::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -50px;
    font-size: 2rem;
    color: #007bff;
    transform: translateY(-50%);
}

.flow-step:last-child::after {
    display: none;
}

/* 测试服务样式 */
.test-services {
    padding: 80px 0;
}

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

.category-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.equipment-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.equipment-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.equipment-info {
    padding: 20px;
}

.equipment-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #007bff;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .flow-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .flow-step::after {
        content: '↓';
        top: auto;
        bottom: -30px;
        right: 50%;
        transform: translateX(50%);
    }

    .navbar-brand img {
        height: 30px;
    }

    .service-card img {
        height: 150px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 按钮样式 */
.btn {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
}

.btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
}

.btn-outline-primary:hover {
    background: #007bff;
    color: white;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
}