/* ===== 价格查询区域专用样式 ===== */
/* 专注于解决图片居中和文字可见性问题 */

/* 价格查询区域容器 */
.price-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
    position: relative;
}

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

/* 区域标题 */
.price-section .section-header {
    margin-bottom: 60px;
}

.price-section .section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.price-section .section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 价格图片容器 - 核心居中解决方案 */
.price-image-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* 图片链接 */
.price-image-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    height: 100%;
}

/* 图片样式 - 确保居中 */
.price-image-link img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 图片覆盖层 - 确保文字可见 */
.price-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 86, 179, 0.1) 0%,
        rgba(0, 86, 179, 0.3) 30%,
        rgba(0, 86, 179, 0.6) 60%,
        rgba(0, 86, 179, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 40px;
    box-sizing: border-box;
}

/* 覆盖层内容 - 文字居中 */
.overlay-content {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 600px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.overlay-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.overlay-content p {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 价格链接按钮 */
.price-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    color: #0056b3;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    margin: 0 auto;
}

.price-link-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* 悬停效果 */
.price-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.price-image-container:hover .price-image-link img {
    transform: scale(1.05);
}

.price-image-container:hover .price-overlay {
    opacity: 1;
}

.price-link-btn:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.price-link-btn:hover i {
    transform: translateX(5px);
}

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

/* 平板设备 (768px - 992px) */
@media (max-width: 992px) {
    .price-section {
        padding: 60px 0;
    }
    
    .price-section .section-header h2 {
        font-size: 32px;
    }
    
    .price-section .section-header p {
        font-size: 17px;
    }
    
    .price-image-container {
        max-width: 800px;
    }
    
    .overlay-content {
        padding: 25px;
    }
    
    .overlay-content h3 {
        font-size: 28px;
    }
    
    .overlay-content p {
        font-size: 17px;
    }
    
    .price-link-btn {
        padding: 13px 26px;
        font-size: 17px;
        min-width: 160px;
    }
}

/* 大手机设备 (576px - 768px) */
@media (max-width: 768px) {
    .price-section {
        padding: 50px 0;
    }
    
    .price-section .section-header {
        margin-bottom: 40px;
    }
    
    .price-section .section-header h2 {
        font-size: 28px;
    }
    
    .price-section .section-header p {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .price-image-container {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .price-overlay {
        padding: 30px;
    }
    
    .overlay-content {
        padding: 20px;
    }
    
    .overlay-content h3 {
        font-size: 24px;
    }
    
    .overlay-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .price-link-btn {
        padding: 12px 24px;
        font-size: 16px;
        min-width: 140px;
    }
    
    .price-link-btn i {
        font-size: 18px;
    }
}

/* 小手机设备 (≤576px) */
@media (max-width: 576px) {
    .price-section {
        padding: 40px 0;
    }
    
    .price-section .section-header h2 {
        font-size: 24px;
    }
    
    .price-section .section-header p {
        font-size: 15px;
    }
    
    .price-overlay {
        padding: 20px;
    }
    
    .overlay-content {
        padding: 15px;
    }
    
    .overlay-content h3 {
        font-size: 20px;
    }
    
    .overlay-content p {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .price-link-btn {
        padding: 10px 20px;
        font-size: 15px;
        min-width: 120px;
    }
    
    .price-link-btn i {
        font-size: 16px;
    }
}

/* 超小手机设备 (≤375px) */
@media (max-width: 375px) {
    .price-section .section-header h2 {
        font-size: 22px;
    }
    
    .price-section .section-header p {
        font-size: 14px;
    }
    
    .overlay-content h3 {
        font-size: 18px;
    }
    
    .overlay-content p {
        font-size: 14px;
    }
    
    .price-link-btn {
        padding: 8px 16px;
        font-size: 14px;
        min-width: 100px;
    }
}