/* 联系我们页面专属样式 */
.contact-hero {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                url('../images/contact-bg.jpg') center/cover;
    color: #2c3e50;
    text-align: center;
    padding: 5rem 2rem;
    margin-bottom: 3rem;
    border: 2px solid #e8f4fc;
    border-radius: 15px;
}

.contact-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2980b9;
}

.contact-hero p {
    font-size: 1.5rem;
    color: #555;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #fafdfe;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
    border: 1px solid #e8f4fc;
}

.contact-info h3 {
    color: #2980b9;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 6px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e8f4fc;
    transform: translateX(5px);
}

.info-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 30px;
    color: #3498db;
}

.info-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #555;
    margin: 0.2rem 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
    border: 1px solid #e8f4fc;
}

.contact-form h3 {
    color: #2980b9;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3);
}

.map-section {
    padding: 3rem 2rem;
    background: #fafdfe;
}

.map-section h3 {
    text-align: center;
    color: #2980b9;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                #e8f4fc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    border: 2px dashed #3498db;
}

.map-info h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.map-info p {
    margin: 0.5rem 0;
    color: #555;
}

.map-info {
    text-align: center;
}

.map-info h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.map-info p {
    margin: 0.5rem 0;
    color: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-hero {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .contact-hero h2 {
        font-size: 1.8rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info h3, .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 0.8rem;
        font-size: 1.8rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    .map-section {
        padding: 2rem 1rem;
    }
    
    .map-section h3 {
        font-size: 1.6rem;
    }
    
    .map-placeholder {
        height: 250px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .contact-hero h2 {
        font-size: 1.6rem;
    }
    
    .contact-info h3, .contact-form h3 {
        font-size: 1.3rem;
    }
    
    .info-item h4 {
        font-size: 1.1rem;
    }
    
    .map-section h3 {
        font-size: 1.4rem;
    }
    
    .map-placeholder {
        height: 200px;
    }
}