/* ==================== 基础重置与全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== 工具类 ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* ==================== 标题样式 ==================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2ecc71);
}

.section-title p {
    color: #7f8c8d;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, #3498db, #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: #34495e;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 73, 94, 0.4);
}

.section-action {
    text-align: center;
    margin-top: 40px;
}

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

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

/* Logo 样式 */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

/* Logo 扫光动画 */
.logo-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 100%
    );
    animation: logoShine 2s infinite ease-in-out;
}

@keyframes logoShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 联系信息 */
.contact-info {
    display: flex;
    align-items: center;
    color: #3498db;
    font-weight: 600;
    font-size: 18px;
}

.contact-info i {
    margin-right: 10px;
    font-size: 24px;
}

/* 导航菜单 */
nav ul {
    display: flex;
}

nav li {
    margin-left: 25px;
}

nav a {
    color: #2c3e50;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #3498db;
}

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

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: #2c3e50;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==================== Hero Banner 区域 ==================== */
.hero-banner {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    overflow: hidden;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.banner-background:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(41, 128, 185, 0.85) 0%,
        rgba(39, 174, 96, 0.85) 100%
    );
    z-index: 1;
}

.banner-background:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    z-index: 2;
}

.banner-background .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.banner-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 3;
    position: relative;
}

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

.banner-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.banner-content .highlight {
    color: #f1c40f;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ==================== 服务项目 ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.service-item {
    background: white;
    border-radius: 10px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-item p {
    color: #7f8c8d;
    line-height: 1.7;
}

/* ==================== 搬家案例 ==================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.case-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px 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.5s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-item h4 {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    color: #2c3e50;
}

/* ==================== 搬家方案 ==================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.solution-image {
    height: 200px;
    overflow: hidden;
}

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

.solution-content {
    padding: 25px;
}

.solution-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.solution-content p {
    color: #7f8c8d;
    line-height: 1.7;
}

/* ==================== 核心优势 ==================== */
.advantages-section {
    position: relative;
    overflow: hidden;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.advantage-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.advantage-card:hover:before {
    transform: scaleX(1);
}

.advantage-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 25px rgba(52, 152, 219, 0.4);
}

.advantage-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.advantage-card p {
    color: #7f8c8d;
    line-height: 1.7;
    font-size: 16px;
}

.advantage-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #3498db;
    font-size: 18px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

/* ==================== 客户展示 ==================== */
.clients-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.client-logo {
    flex: 0 0 calc(20% - 20px);
    min-width: 150px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* ==================== 常见问题 ==================== */
.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-column {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #2c3e50;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
    position: relative;
}

.faq-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #3498db, #2ecc71);
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ecf0f1;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.faq-item p {
    color: #7f8c8d;
    line-height: 1.7;
}

/* ==================== Footer 底部 ==================== */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    position: relative;
}

.back-to-top {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.back-to-top a {
    display: block;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.footer-links {
    padding: 40px 0;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #bdc3c7;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding: 20px 0;
    background: #1a252f;
    border-top: 1px solid #34495e;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-info,
.footer-icp {
    color: #95a5a6;
    font-size: 14px;
}

.footer-info a,
.footer-icp a {
    color: #3498db;
}

/* ==================== 底部浮动联系栏（移动端） ==================== */
.bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.bottom-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
    color: white;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.bottom-bar .contact-btn {
    background: #2ecc71;
}

.bottom-bar .move-btn {
    background: #3498db;
}

.bottom-bar a:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* ==================== 响应式设计 ==================== */

/* 平板端 (≤992px) */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo,
    .contact-info {
        margin-bottom: 15px;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    nav li {
        margin: 0 10px 10px;
    }

    .banner-content h1 {
        font-size: 2.8rem;
    }

    .banner-content h2 {
        font-size: 1.7rem;
    }
}

/* 手机端 (≤768px) */
@media (max-width: 768px) {
    /* 头部导航 */
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .logo,
    .contact-info {
        margin-bottom: 0;
    }

    .contact-info {
        font-size: 16px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 18px;
    }

    /* 移动端菜单 */
    .mobile-menu-btn {
        display: flex;
        position: absolute;
        right: 20px;
        top: 25px;
    }

    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav li {
        margin: 0;
        border-bottom: 1px solid #ecf0f1;
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }

    /* Banner */
    .hero-banner {
        height: calc(60vh - 10px);
        min-height: 390px;
    }

    .banner-content h1 {
        font-size: 2.2rem;
    }

    .banner-content h2 {
        font-size: 1.4rem;
    }

    .banner-content p {
        font-size: 1.1rem;
    }

    .banner-buttons .btn-secondary {
        display: none;
    }

    /* 通用区域 */
    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 30px;
    }

    /* 服务网格 */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-grid .service-item:nth-child(5) {
        display: none;
    }

    /* 案例网格 */
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* 优势网格 */
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* 客户展示 */
    .client-logo {
        flex: 0 0 calc(33.333% - 20px);
    }

    .clients-slider .client-logo:nth-child(5) {
        display: none;
    }

    /* Footer */
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    /* 底部浮动栏 */
    .bottom-bar {
        display: flex;
    }

    body {
        padding-bottom: 60px;
    }
}

/* 小屏手机端 (≤576px) */
@media (max-width: 576px) {
    .hero-banner {
        height: calc(60vh - 130px);
        min-height: 390px;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }

    .banner-content h2 {
        font-size: 1.2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .banner-buttons {
        flex-direction: column;
        align-items: center;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantage-card {
        padding: 30px 20px;
    }

    .client-logo {
        flex: 0 0 calc(50% - 20px);
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo a {
        gap: 8px;
    }
}