/* ========================================= */
/* HYDRERGY 联系我们页面专用样式文件 */
/* ========================================= */
/* 作者：HYDRERGY 开发团队 */
/* 创建时间：2025年1月 */
/* 用途：联系我们页面专用样式，包含页面标题、联系信息、联系表单等 */
/* 适用页面：contact.html */

/* ========================================= */
/* 页面标题区域样式 */
/* ========================================= */
/* 页面头部：渐变背景，居中对齐，上下内边距 */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); /* 浅灰渐变背景 */
    padding: 60px 0 40px; /* 上内边距60px，下内边距40px */
    text-align: center; /* 文字居中对齐 */
}

/* 页面主标题：大字体，深色文字，底部间距 */
.page-header h1 {
    font-size: 36px; /* 字体大小36px */
    color: #333; /* 深色文字 */
    margin-bottom: 15px; /* 底部间距15px */
    font-weight: 600; /* 字体粗细600 */
}

/* 页面描述文字：中等字体，灰色文字，限制宽度，居中显示 */
.page-header p {
    font-size: 18px; /* 字体大小18px */
    color: #666; /* 灰色文字 */
    max-width: 600px; /* 最大宽度600px */
    margin: 0 auto; /* 水平居中 */
    line-height: 1.6; /* 行高1.6 */
}

/* ========================================= */
/* 联系信息区域样式 */
/* ========================================= */
.contact-info-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

/* 联系方式样式 */
.contact-methods h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
    border-bottom: 3px solid #007bff;
    padding-bottom: 10px;
}

.contact-item-large {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item-large:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 24px;
    margin-right: 15px;
    margin-top: 5px;
    min-width: 40px;
}

.contact-details h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    margin-bottom: 5px;
    line-height: 1.5;
}

.contact-details a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 联系表单样式 */
.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
    border-bottom: 3px solid #007bff;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.submit-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 快速链接区域 */
.quick-links-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.quick-links-section h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
    font-weight: 600;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.quick-link-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.quick-link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.quick-link-item img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.quick-link-item:hover img {
    transform: scale(1.1);
}

.quick-link-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.quick-link-item p {
    color: #007bff;
    font-weight: 500;
    margin: 0;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .page-header {
        padding: 40px 0 30px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .contact-info-section {
        padding: 50px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .contact-methods h2,
    .contact-form-container h2 {
        font-size: 24px;
    }
    
    .quick-links-section {
        padding: 50px 0;
    }
    
    .quick-links-section h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .contact-item-large {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .contact-icon {
        font-size: 20px;
        min-width: 35px;
    }
    
    .contact-details h3 {
        font-size: 16px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .submit-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}