/* 全局样式重置 */
* {
    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: #f5f5f5;
}

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

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

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.separator {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #3498db;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #3498db;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled .navbar {
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    color: #3498db;
}

.company-tagline {
    font-size: 16px;
    color: #7f8c8d;
    margin-left: 10px;
}

header.scrolled .company-name {
    color: #3498db;
}

header.scrolled .company-tagline {
    color: #7f8c8d;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

header.scrolled .nav-menu a {
    color: #333;
}

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

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

.nav-menu a:hover {
    color: #3498db;
}

header.scrolled .nav-menu a:hover {
    color: #3498db;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
}

header.scrolled .mobile-menu-btn {
    color: #333;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 999;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0 20px;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: #3498db;
    padding-left: 10px;
}

/* 英雄区域 - 轮播 */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide:nth-child(1) {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.hero-slide:nth-child(2) {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.hero-slide:nth-child(3) {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.hero-content {
    max-width: 600px;
    color: white;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    text-align: right;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 轮播控制按钮 */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.slider-control {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-control:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* 轮播指示器 */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.indicator {
    width: 15px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    width: 45px;
    border-radius: 10px;
}

/* 关于我们 */
.about {
    padding: 120px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 16px;
    color: #7f8c8d;
}

/* 服务项目 */
.services {
    padding: 120px 0;
    background-color: #f8f9fa;
}

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

.service-item {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

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

.service-item p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.8;
}

/* 回收流程 */
.process {
    padding: 120px 0;
    background-color: white;
}

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

.process-step {
    display: flex;
    gap: 20px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.step-number {
    font-size: 36px;
    font-weight: 700;
    color: #3498db;
    width: 60px;
    height: 60px;
    background-color: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* 为什么选择我们 */
.why-us {
    padding: 120px 0;
    background-color: #f8f9fa;
}

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

.why-us-item {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.why-us-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.why-us-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 36px;
}

.why-us-item h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.why-us-item p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.8;
}

/* 回收资质 */
.qualifications {
    padding: 120px 0;
    background-color: #f8f9fa;
}

.qualifications-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.qualification-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.qualification-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.qualification-image {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.qualification-image img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    border-radius: 5px;
}

.qualification-info {
    flex: 2;
    padding: 20px;
}

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

.qualification-info p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* 客户案例 */
.case-studies {
    padding: 120px 0;
    background-color: white;
}

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

.case-study-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-study-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-study-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study-content {
    padding: 30px;
}

.case-study-content h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.case-study-content p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* 联系我们 */
.contact {
    padding: 120px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-text p {
    font-size: 16px;
    color: #7f8c8d;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 5px rgba(52, 152, 219, 0.1);
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo .company-name {
    color: white;
}

.footer-logo .company-tagline {
    color: #bdc3c7;
}

.footer-logo p {
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

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

.footer-links li,
.footer-contact li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #bdc3c7;
}

.footer-contact i {
    color: #3498db;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .services-grid,
    .process-steps,
    .why-us-content,
    .case-studies-slider,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .services-grid,
    .process-steps,
    .why-us-content,
    .case-studies-slider,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 30px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .service-item,
    .why-us-item {
        padding: 30px 20px;
    }
    
    .contact-item,
    .process-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}