/* ====== contact.css - 独享CSS部分 - 联系页面 ====== */
/* 页面标题区域 */
.page-header {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(230, 240, 255, 0.95) 100%), url('/template/giaxi/images/10.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
}

.page-header p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 联系内容区域 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* 联系信息卡片 */
.contact-info-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 102, 204, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.contact-info-section:hover:before {
    transform: scaleX(1);
}

.contact-info-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.2);
}

.contact-info-section h3 {
    font-size: 1.8rem;
    margin-bottom: 35px;
    color: var(--dark-color);
    text-align: left;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* 联系列表 */
.contact-list {
    list-style: none;
    text-align: left;
}

.contact-list li {
    margin-bottom: 30px;
    padding-left: 60px;
    position: relative;
}

.contact-list i {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    background: rgba(0, 160, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 160, 233, 0.2);
    transition: var(--transition);
}

.contact-list li:hover i {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.contact-list h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.contact-list p, .contact-list a {
    font-size: 1.1rem;
    color: var(--gray-color);
    line-height: 1.6;
}

.contact-list a:hover {
    color: var(--primary-color);
}

/* 微信二维码区域 */
.wechat-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border: 1px solid rgba(0, 102, 204, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.wechat-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.wechat-section:hover:before {
    transform: scaleX(1);
}

.wechat-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.2);
}

.wechat-section h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.wechat-section p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.wechat-qr {
    max-width: 300px;
    margin: 0 auto 30px;
}

.wechat-qr img {
    width: 100%;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 204, 0.2);
    background: white;
    padding: 15px;
    transition: var(--transition);
}

.wechat-section:hover .wechat-qr img {
    transform: scale(1.05);
}

.wechat-note {
    background: rgba(0, 102, 204, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--gray-color);
    border: 1px solid rgba(0, 102, 204, 0.1);
    margin-top: 20px;
}

/* 工作时间卡片 */
.hours-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 102, 204, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hours-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.hours-section:hover:before {
    transform: scaleX(1);
}

.hours-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.2);
}

.hours-section h3 {
    font-size: 1.8rem;
    margin-bottom: 35px;
    color: var(--dark-color);
    text-align: left;
    position: relative;
    padding-bottom: 15px;
}

.hours-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hours-list {
    list-style: none;
    text-align: left;
}

.hours-list li {
    margin-bottom: 25px;
    padding-left: 60px;
    position: relative;
}

.hours-list i {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    background: rgba(0, 160, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 160, 233, 0.2);
    transition: var(--transition);
}

.hours-list li:hover i {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.hours-list h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.hours-list p {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* 社交媒体联系链接 */
.social-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.social-contact a:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.3);
}

.social-contact a.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    border-color: #25D366;
}

.social-contact a.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    border-color: #0088cc;
}

.social-contact a.email {
    background: linear-gradient(135deg, #ea4335 0%, #d14836 100%);
    border-color: #ea4335;
}

.social-contact a.wechat {
    background: linear-gradient(135deg, #09bb07 0%, #08a206 100%);
    border-color: #09bb07;
}

/* 响应式调整 - 联系页面独享部分 */
@media (max-width: 1200px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-header h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .page-header {
        padding: 150px 0 80px;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
    
    .page-header p {
        font-size: 1.3rem;
    }
    
    .contact-info-section, .wechat-section, .hours-section {
        padding: 40px 35px;
    }
    
    .contact-list li, .hours-list li {
        padding-left: 55px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .page-header p {
        font-size: 1.2rem;
    }
    
    .contact-info-section, .wechat-section, .hours-section {
        padding: 35px 30px;
    }
    
    .contact-list li, .hours-list li {
        padding-left: 50px;
        margin-bottom: 25px;
    }
    
    .contact-list i, .hours-list i {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .wechat-qr {
        max-width: 250px;
    }
    
    .social-contact a {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-info-section, .wechat-section, .hours-section {
        padding: 30px 25px;
    }
    
    .contact-list h4, .hours-list h4 {
        font-size: 1.2rem;
    }
    
    .contact-list p, .contact-list a, .hours-list p {
        font-size: 1rem;
    }
    
    .wechat-qr {
        max-width: 220px;
    }
}