﻿/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航栏 */
.navbar {
    background: #1a7c3e;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

/* Logo 图片 */
.logo img {
    height: 45px;
    width: auto;
    vertical-align: middle;
    border-radius: 5px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* 首页横幅 */
.hero {
    background: linear-gradient(135deg, #1a7c3e 0%, #2d9f5a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: #1a7c3e;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

/* 通用段落 */
.section {
    padding: 3rem 0;
}

.section-alt {
    background: #f9f9f9;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a7c3e;
}

.sub-title {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

/* 关于我们 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1rem;
}

.highlight {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.highlight a {
    color: #1a7c3e;
    text-decoration: none;
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.service-card li:before {
    content: "✓ ";
    color: #1a7c3e;
    font-weight: bold;
}

/* 价格表 */
.price-note {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.price-table th {
    background: #1a7c3e;
    color: white;
}

.price-table tr:hover {
    background: #f9f9f9;
}

/* 联系我们 */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-item h3 {
    color: #1a7c3e;
    margin-bottom: 1rem;
}

.phone {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.phone a {
    color: #1a7c3e;
    text-decoration: none;
}

/* 页脚 */
.footer {
    background: #1a7c3e;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer a {
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
.tagline {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .price-table {
        font-size: 0.9rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 0.5rem;
    }
}

/* 地图定位 */
.map-container {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
}

.map-desc {
    text-align: center;
    color: #666;
    margin-bottom: 1rem;
}

.map-info {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.map-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.map-info a {
    color: #1a7c3e;
    text-decoration: none;
    font-weight: bold;
}

/* 响应式设计 - 地图在手机端调整高度 */
@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}


/* 营业执照 */
.license-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.license-item {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.license-item h3 {
    color: #1a7c3e;
    margin-bottom: 1rem;
}

.license-item p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.license-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.license-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.license-image img:hover {
    transform: scale(1.02);
}

.img-hint {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #999;
}

/* 响应式 - 营业执照 */
@media (max-width: 768px) {
    .license-content {
        flex-direction: column;
    }
    
    .license-item,
    .license-image {
        min-width: 100%;
    }
}

/* 服务介绍 - 新增样式 */
.section-desc {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 服务优势 */
.advantages-section {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

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

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.advantage-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.advantage-item h4 {
    color: #1a7c3e;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.advantage-item p {
    color: #666;
    font-size: 0.95rem;
}

/* 服务流程 */
.process-section {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #1a7c3e;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 50px;
    margin-bottom: 1rem;
}

.process-step h4 {
    color: #1a7c3e;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.process-step p {
    color: #666;
    font-size: 0.95rem;
}

/* 响应式 - 服务优势 & 流程 */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ====== 保洁页面专用样式 ====== */

/* 页面横幅 */
.page-banner {
    background: linear-gradient(135deg, #1a7c3e, #2d9f5a);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,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>') bottom center no-repeat;
    background-size: cover;
    pointer-events: none;
}

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

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-banner h1 i {
    margin-right: 0.5rem;
}

.page-banner p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* 照片展示区 */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.photo-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.photo-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease;
}

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

.photo-caption {
    padding: 1.2rem;
    text-align: center;
    background: #f9f9f9;
    color: #555;
    font-size: 1rem;
    border-top: 3px solid #1a7c3e;
}

/* 搬家页面照片网格 */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.photo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.photo-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.photo-wrapper img:hover {
    transform: scale(1.05);
}

.photo-info {
    padding: 1.2rem;
    text-align: center;
    background: #f9f9f9;
    color: #555;
    font-size: 1rem;
    border-top: 3px solid #1a7c3e;
}

/* 搬家页面照片网格 */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.photo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.photo-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.photo-wrapper img:hover {
    transform: scale(1.05);
}

.photo-info {
    padding: 1.2rem;
    text-align: center;
    background: #f9f9f9;
    color: #555;
    font-size: 1rem;
    border-top: 3px solid #1a7c3e;
}

/* 照片上传提示 */
.photo-upload-hint {
    text-align: center;
    padding: 4rem 2rem;
    background: #f9f9f9;
    border-radius: 15px;
    border: 2px dashed #ccc;
}

.photo-upload-hint i {
    font-size: 4rem;
    color: #ccc;
    display: block;
    margin-bottom: 1rem;
}

.photo-upload-hint p {
    color: #999;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.photo-upload-hint .hint {
    font-size: 0.9rem;
    color: #bbb;
}

/* 服务价格标签 */
.service-price {
    background: linear-gradient(135deg, #1a7c3e, #4caf50);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-align: center;
    font-weight: bold;
    margin-top: 1.5rem;
    font-size: 1.05rem;
}

/* 联系按钮区 */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

.mt-3 {
    margin-top: 2rem;
}

/* 导航栏激活状态 */
.nav-links a.active,
.nav-links a:hover {
    opacity: 1;
    border-bottom: 2px solid white;
    padding-bottom: 3px;
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(26, 124, 62, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .photo-item img {
        height: 220px;
    }
    
    .contact-buttons a {
        display: block;
        margin: 0.5rem auto;
        max-width: 300px;
    }
}
