/* 上门服务页面样式 */

/* 强制亮色模式，防止黑白灰色显示 */
html {
    color-scheme: light;
    -webkit-filter: none !important;
    filter: none !important;
}

body {
    color-scheme: light;
    /* 用 none 而不是 grayscale(0%)：后者视觉相同，但会让 body 变成
       containing block，使登录弹窗等 position: fixed 元素失去视口定位 */
    -webkit-filter: none !important;
    filter: none !important;
}

/* 图标确保彩色显示 */
i,
.fas,
.fab,
.far {
    color-scheme: light !important;
    -webkit-filter: grayscale(0%) !important;
    filter: grayscale(0%) !important;
}

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 服务介绍区域 */
.service-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.service-intro h2 {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 1.5rem;
}

.service-intro p {
    font-size: 1.1rem;
    color: #4a4a6a;
    line-height: 1.8;
}

/* 服务项目网格 */
.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

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

.service-item-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.service-item-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #1a1a2e;
}

.service-item-content p {
    color: #4a4a6a;
    line-height: 1.6;
}

/* 预约方式区域 */
.booking-section {
    padding: 80px 0;
}

.booking-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.booking-method {
    text-align: center;
    padding: 50px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

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

.booking-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.booking-method h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.booking-method > p {
    color: #4a4a6a;
    margin-bottom: 20px;
}

/* 二维码容器 */
.qrcode-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.qrcode {
    width: 250px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.qrcode-placeholder {
    width: 250px;
    height: 250px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    text-align: center;
    color: #4a4a6a;
}

.placeholder-text i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.placeholder-text .small {
    font-size: 0.85rem;
    margin-top: 1rem;
    line-height: 1.6;
}

.service-contact {
    color: #3b82f6;
    font-weight: 600;
    margin-top: 15px;
}

/* 电话号码 */
.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #3b82f6;
    margin: 20px 0;
}

.phone-number i {
    color: #60a5fa;
}

/* 服务流程区域 */
.process-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.process-step p {
    color: #4a4a6a;
    line-height: 1.6;
}

/* 服务优势区域 */
.advantage-section {
    padding: 80px 0;
}

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

.advantage {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 12px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.advantage:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.advantage h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.advantage p {
    color: #4a4a6a;
    line-height: 1.6;
}

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

    .service-intro h2 {
        font-size: 2rem;
    }

    .service-items,
    .booking-methods,
    .process-steps,
    .advantages {
        grid-template-columns: 1fr;
    }

    .service-item,
    .booking-method,
    .process-step,
    .advantage {
        padding: 30px 20px;
    }

    .qrcode,
    .qrcode-placeholder {
        width: 200px;
        height: 200px;
    }

    .phone-number {
        font-size: 1.4rem;
    }
}
