/* ========================================
   广西河池代妈代怀代母助孕汽车零部件商行
   自定义样式文件 - custom.css
   ======================================== */

/* 联系方式栏样式 */
.xp-contact-bar {
    background: #2c3e50;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}
.xp-contact-bar a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
}
.xp-contact-bar a:hover {
    color: #f39c12;
}
.xp-contact-bar i {
    margin-right: 5px;
    color: #f39c12;
}

/* Logo文字样式 */
.xp-logo-text {
    font-size: 14px;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}
.xp-logo-text:hover {
    color: #e67e22;
}

/* 服务卡片样式 */
.xp-service-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.xp-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}
.xp-service-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}
.xp-service-card h3 a {
    color: #2c3e50;
    text-decoration: none;
}
.xp-service-card h3 a:hover {
    color: #f39c12;
}

/* 历史记录样式 */
.xp-history-item {
    border-left: 3px solid #f39c12;
    padding-left: 20px;
    margin-bottom: 25px;
}
.xp-history-item h4 {
    color: #f39c12;
    margin-bottom: 10px;
}

/* 统计框样式 */
.xp-stats-box {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}
.xp-stats-box h3 {
    font-size: 36px;
    color: #f39c12;
    margin-bottom: 10px;
}

/* 品牌列表样式 */
.xp-brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}
.xp-brand-item {
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
}

/* 产品卡片样式 */
.xp-product-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.xp-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}
.xp-product-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
}
.xp-product-card .xp-icon {
    font-size: 48px;
    color: #f39c12;
    margin-bottom: 15px;
}

/* 特性框样式 */
.xp-feature-box {
    background: #fff;
    padding: 30px;
    border-left: 4px solid #f39c12;
    margin-bottom: 25px;
}
.xp-feature-box h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* 联系信息框样式 */
.xp-contact-info-box {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}
.xp-contact-info-box i {
    font-size: 48px;
    color: #f39c12;
    margin-bottom: 15px;
}
.xp-contact-info-box h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* 联系表单样式 */
.xp-contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.xp-contact-form input,
.xp-contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.xp-contact-form .btn {
    background: #f39c12;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
}

/* 画廊网格样式 */
.xp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.xp-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.xp-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.xp-gallery-item:hover img {
    transform: scale(1.1);
}
.xp-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.xp-gallery-item:hover .xp-gallery-overlay {
    opacity: 1;
}
.xp-gallery-overlay p {
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* 服务详情样式 */
.xp-service-detail {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}
.xp-service-detail h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 10px;
}
.xp-service-detail p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .xp-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .xp-gallery-grid {
        grid-template-columns: 1fr;
    }
}
